/* ================= GLOBAL ================= */
.csd-btn{
  display:inline-block;
  padding:14px 30px;
  border-radius:40px;
  text-decoration:none;
  font-weight:600;
  transition:all .3s ease;
}

.csd-btn-primary{
  background:#1564B0;
  color:#fff;
}
.csd-btn-primary:hover{
  background:#003f85;
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.csd-btn-secondary{
  background:#fff;
  color:#0B2A4A;
}
.csd-btn-secondary:hover{
  background:#f2f2f2;
  transform:translateY(-3px);
}

/* ================= HERO ================= */
.csd-construction-hero{
  position:relative;
  height:100vh;
  background-size:cover;
  background-position:center;
  background-attachment:fixed; /* ✅ Parallax */
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-align:center;
  overflow:hidden;
}

.csd-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65));
}

.csd-hero-content{
  position:relative;
  z-index:2;
  animation:fadeInUp 1s ease forwards;
}

.csd-hero-content h1{
  font-size:56px;
  margin-bottom:20px;
  font-weight:700;
}

.csd-hero-content p{
  font-size:20px;
  margin-bottom:30px;
  opacity:.9;
}

/* ================= INTRO ================= */
.csd-construction-intro{
  text-align:center;
  padding:80px 20px 40px;
}

.csd-section-head h2{
  font-size:36px;
  margin-bottom:15px;
}

.csd-section-head p{
  max-width:700px;
  margin:0 auto;
  color:#666;
}

/* ================= SERVICES ================= */
.csd-construction-services{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  margin:80px auto;
}

.csd-service-card{
  background:#fff;
  padding:40px 30px;
  border-radius:16px;
  box-shadow:0 15px 35px rgba(0,0,0,.06);
  transition:all .4s ease;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.csd-service-card::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#0B2A4A,#1564B0);
  transition:.4s;
}

.csd-service-card:hover::before{
  left:0;
}

.csd-service-card:hover{
  transform:translateY(-12px);
  box-shadow:0 25px 45px rgba(0,0,0,.12);
}

.csd-service-card .icon{
  font-size:45px;
  margin-bottom:20px;
}

/* ================= PROJECT ================= */
.csd-project-showcase{
  background:#f4f7fb;
  padding:100px 0;
}

.csd-project-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.csd-project-item{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 15px 35px rgba(0,0,0,.08);
  transition:.4s;
}

.csd-project-item:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.csd-project-thumb img{
  width:100%;
  height:250px;
  object-fit:cover;
  transition:.4s;
}

.csd-project-item:hover img{
  transform:scale(1.05);
}

.csd-project-info{
  padding:25px;
}

.csd-project-info h4{
  margin-bottom:10px;
}

.csd-project-info a{
  color:#1564B0;
  font-weight:600;
  text-decoration:none;
}

/* ================= WHY ================= */
.csd-why-premium{
  background:#002244;
  color:#fff;
  padding:100px 0;
  text-align:center;
}

.csd-why-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
  margin-top:50px;
}

.csd-why-grid div{
  background:rgba(255,255,255,.05);
  padding:30px;
  border-radius:12px;
  transition:.3s;
}

.csd-why-grid div:hover{
  background:rgba(255,255,255,.12);
  transform:translateY(-8px);
}

/* ================= CTA ================= */
.csd-construction-cta{
  background:linear-gradient(135deg,#0B2A4A,#1564B0);
  color:#fff;
  padding:100px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.csd-construction-cta h2{
  font-size:36px;
  margin-bottom:15px;
}

.csd-construction-cta p{
  margin-bottom:30px;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width:992px){

  .csd-hero-content h1{
    font-size:42px;
  }

  .csd-section-head h2{
    font-size:30px;
  }

}

@media (max-width:768px){

  .csd-construction-hero{
    background-attachment:scroll; /* ✅ Fix mobile parallax issue */
    height:85vh;
  }

  .csd-hero-content h1{
    font-size:32px;
  }

  .csd-hero-content p{
    font-size:16px;
  }

  .csd-construction-services{
    gap:20px;
  }

  .csd-project-thumb img{
    height:200px;
  }

  .csd-construction-cta h2{
    font-size:26px;
  }

}

@media (max-width:480px){

  .csd-btn{
    padding:12px 22px;
    font-size:14px;
  }

  .csd-hero-content h1{
    font-size:26px;
  }

}