:root {
  --primary: #2f4f4f;
  --accent: #d4af37;
  --light: #f4f4f4;
  --dark: #1a1a1a;
}
h1, h2, h3, h4, h5, h6 {
    text-align: center;
  }
  p {
    text-align: center;
  }
  #outreach li,
  #services li {
    text-align: center;
    list-style-position: inside; /* Optional: keeps bullets aligned */
  }
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--dark);
}

.map-container {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


header {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
}
#home {
    background: url('images/excavators.jpeg') center/cover no-repeat;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
  }

  .video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: black;
  }
  
  .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.6);
  }
  
  .video-overlay {
    position: relative;
    z-index: 1;
    color: white;
    padding: 0 20px;
  }
  
  .video-overlay h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
  }
  
  .video-overlay p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  }
  
  
  #home h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  #home p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: auto;
  }
  .about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .about-box {
    background: white;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .about-box:hover {
    transform: translateY(-5px);
  }
  
  .about-box h3 {
    margin-top: 0;
    color: var(--primary);
  }

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}
#gallery {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .gallery-box {
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .gallery-box:hover {
    transform: translateY(-5px);
  }
  
  .gallery-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
  }
  #services, #outreach {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .grid-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .info-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .info-box:hover {
    transform: translateY(-5px);
  }

section {
  margin-bottom: 3rem;
}

h2 {
  color: var(--primary);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .gallery-box {
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .gallery-box:hover {
    transform: translateY(-5px);
  }
  
  .gallery-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
  }
  #products {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  #products .gallery-box p {
    margin: 0;
    padding: 0.8rem;
    font-weight: 500;
    font-size: 1rem;
    background-color: #fff;
    border-top: 1px solid #ddd;
    border-radius: 0 0 12px 12px;
  }

footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
  
  @media (max-width: 1024px) {
    .about-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 600px) {
    .about-grid {
      grid-template-columns: 1fr;
    }
    @media (max-width: 1024px) {
        .gallery-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      
      @media (max-width: 600px) {
        .gallery-grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 600px) {
        #services {
          padding: 2rem 1rem;
          text-align: center;
        }
      
        .grid-boxes {
          display: grid;
          grid-template-columns: 1fr; /* One column layout for small screens */
          gap: 1rem;
          margin-top: 1.5rem;
        }
      
        .info-box {
          padding: 1.2rem;
          font-size: 1rem;
          border-radius: 10px;
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }
      
        .info-box:hover {
          transform: none; /* Disable hover effect on touch devices */
        }
      }
}}