*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}

body{
  background:#f3f3f3;
  color:#111;
}

/* SERVICE COLOR THEMES */

.buildings{
  background:linear-gradient(135deg,#051F20,#235347,#DBF0DD);
}

.irrigation{
  background:linear-gradient(135deg,#011023,#527FB0,#C2E8FF);
}

.mining{
  background:linear-gradient(135deg,#472825,#D3A880,#FFF4E2);
}

.roads{
  background:linear-gradient(135deg,#522566,#AD74C3,#F8EDFB);
}

.drainage{
  background:linear-gradient(135deg,#728156,#B6C99C,#E8F4DC);
}

.solar{
  background:linear-gradient(135deg,#3566b8,#7C9FC9,#C2E8FF);
}

.container{
  width:95%;
  max-width:1400px;
  margin:auto;
}

.section{
  padding: 40px 0;
}

.logo-box{
  display:flex;
  align-items:center;
  gap:8px;
}

.logo{
  width:55px;
  height:55px;
  object-fit:contain;
}

.company-name{
  font-size:18px;
  font-weight:600;
  color:#111;
}

.header{
  background:#fff;
  border-bottom:1px solid #ddd;
  padding:8px 0;
  position:relative;  
  z-index:1000;
}

.nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.menu {
  list-style:none;
  display:flex;
  gap:30px;
}

.menu li {
  list-style:none;
}

.menu a {
  text-decoration:none;
  color:#111;
  font-weight:600;
}

.hamburger {
  display:none;
  font-size:26px;
  cursor:pointer;
}

.menu a.active{
  background:#16a34a;
  color:#fff;
  padding:8px 18px;
  border-radius:6px;
}

.menu a:hover{
  color:#16a34a;
}

.hero img{
  width:100%;
  height: clamp(350px, 60vh, 650px);
  object-fit:cover;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  align-items:stretch;
}

.grid-4 h3{
  margin-bottom:5px;
  font-size:20px;
}

.grid-4 p{
  line-height:1.2;
  font-size:14px;
  text-align: justify;
}

.icon-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.icon {
  font-size: 20px;
  color: #5b3ea8;
  display: block;
  margin-bottom: 5px;
}

.service{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:80px;
  min-height:300px;
}

.service.reverse{
  flex-direction:row-reverse;
}

.text{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.text h2{
  font-size:34px;
  margin-bottom:5px;
}

.text p{
  font-size:14px;
  line-height:1.5;
  max-width:500px;
}

.image{
  flex:1;
  display:flex;
  justify-content:center;
}

.image img{
  width:100%;
  max-width:550px;
  height:350px;
  object-fit:cover;
  border-radius:0;
  box-shadow:0;
}

.service-image img{
  width:100%;
  max-width:550px;
  height:350px;                 /* same height as project */
  object-fit:cover;
  border-radius:16px;
  transition:all 0.4s ease;
}

.service-image img:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.8),
    0 0 40px rgba(255,255,255,0.25);
}

.btn{
  display:inline-block;
  margin-top:30px;
  padding:12px 30px;
  border:2px solid #16a34a;
  color:#16a34a;
  text-decoration:none;
  transition:.3s;
}

.btn.light{
  border:2px solid #fff;
  color:#fff;
}

.btn:hover{
  background:#16a34a;
  color:#fff;
}

.projects{
  position:relative;
  overflow:hidden;
  background:linear-gradient(
    135deg,
    #f8f3e8 0%,
    #efe6d6 40%,
    #e4d2b8 70%,
    #d6c0a1 100%
  );
  color:#2c2c2c;
}


.projects .container{
  position:relative;
  z-index:1;
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:15px;
  margin-top:25px;
}

.project-grid-3x3{
  grid-template-columns:repeat(3,1fr);
}

.project-item{
  display:flex;
  flex-direction:column;
  position:relative;
  border-radius:16px;
  transition:all 0.4s ease;
}

.project-item img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:16px;
  transition:all 0.4s ease;
  border:3px solid transparent;
}

.project-item:hover{
  transform:translateY(-12px) scale(1.02);
}

.project-item:hover img{
  transform:translateY(-10px) scale(1.02);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.8),
    0 0 40px rgba(255,255,255,0.25);
} 

.project-name {
  font-size: 14px;
  color: #16a34a;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.contact{
  display:flex;
  gap:50px;
  align-items:stretch;
  justify-content:center;
  flex-wrap:nowrap;
}

.contact-form{
  flex:1;
  max-width:450px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.contact-form input,
.contact-form textarea{
  padding:15px;
  border:none;
  border-bottom:1px solid #ccc;
  background:transparent;
}

.contact-form button{
  background:#16a34a;
  color:#fff;
  padding:15px;
  border:none;
  border-radius:40px;
  cursor:pointer;
}

.map{
  flex:1;
  max-width:450px;
}

.map iframe{
  width:100%;
  height:400px;
  border:0;
}

footer{
  background:#000;
  color:#fff;
  text-align:center;
  padding:20px;
}

.hero{
  position:relative;
  height:50vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#000;
}

.bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.video-dark{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  color:#ffffff;
}

.hero-content h1{
  font-size:clamp(50px,7vw,80px);
  font-weight:800;
  letter-spacing:4px;
}

.hero-content p{
  margin-top:20px;
  font-size:20px;
  color:#e0e0e0;
}

.services-header{
  text-align:center;
  font-size:clamp(32px,4vw,44px);
  color:#000;
  font-weight:700;
  margin:20px 0;
}

.center{
  text-align:center;
}

.buildings,
.irrigation,
.mining,
.roads,
.drainage,
.solar{
  color:#fff;
}

.buildings .btn,
.irrigation .btn,
.mining .btn,
.roads .btn,
.drainage .btn,
.solar .btn{
  border:2px solid #fff;
  color:#fff;
}

.buildings .btn:hover,
.irrigation .btn:hover,
.mining .btn:hover,
.roads .btn:hover,
.drainage .btn:hover,
.solar .btn:hover{
  background:#fff;
  color:#000;
}

/* CONTACT HEADING */

#contact{
  padding-top:100px;
}

.contact-heading{
  text-align:center;
  font-size:clamp(40px,5vw,60px);
  font-weight:700;
  letter-spacing:4px;
  margin-bottom:60px;
  color:#111;
}

/* Optional premium underline */
.contact-heading::after{
  content:"";
  display:block;
  width:80px;
  height:4px;
  background:#16a34a;
  margin:15px auto 0;
  border-radius:2px;
}

@media (max-width: 1024px) {
  .service,
  .service.reverse,
  .about-grid,
  .vision-grid,
  .contact {
    flex-direction: column;
    text-align: center;
  }

  .image img,
  .about-image img,
  .vision-right img {
    height: auto;
    max-width: 100%;
  }

  .text {
    align-items: center;
  }

  .grid-4,
  .project-grid-3x3{
    grid-template-columns: repeat(2,1fr);
  }

  .section {
    padding: 60px 0;
  }

  .text h2 {
    font-size: clamp(28px, 5vw, 36px);
  }

  .company-name {
    font-size: 16px;
  }

  .container {
    width: 90%;
  }

  .contact {
    gap: 30px;
  }

  .contact-heading {
    font-size: clamp(28px, 5vw, 40px);
  }

  .company-name{
    font-size:14px;
  }

  .logo{
    width:40px;
  }
}

/* ================= MOBILE NAV ONLY ================= */

@media (max-width:768px){

  .section{
    padding: 20px 0;
  }

    .grid-4{
    grid-template-columns: repeat(2,1fr);
  }

  .project-grid-3x3{
    grid-template-columns: 1fr;
  }

  .hero-content h1{
    font-size:clamp(28px, 8vw, 42px);
    letter-spacing:1px;
    line-height:1.2;
  }

  .hero-content p{
    font-size:14px;
    padding:0 15px;
  }

  .hamburger{
    display:block;
  }

  .menu{
    position:absolute;
    top:100%;
    right:15px;      /* move to right side */
    left:auto;       /* remove left */
    width:220px;     /* small box */
    background:rgba(255,255,255,0.95);  /* slight transparency */
    backdrop-filter:blur(10px);
    flex-direction:column;
    padding:20px;
    gap:20px;
    display:none;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    z-index:9999;
  }

  .menu.active{
    display:flex;
  }

   .service-image img{
    box-shadow:
      0 20px 60px rgba(0,0,0,0.4);
      transition:transform 0.4s ease, box-shadow 0.4s ease;
  }

  .service-image:active img{
  transform:scale(1.02);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6);
}

 .image img,
  .about-image img{
    height:auto;         /* remove fixed height */
    max-width:100%;
  }
}