/* ================= HERO ================= */
/* ======================================
   BUILDING SAFETY NETS HERO
====================================== */
#building-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: linear-gradient(90deg, #a49e87 100%);
}

/* overlay */
.building-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}

/* container */
.building-hero-container {
  position: relative;
  z-index: 2;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: 900px;
  width: 100%;
  padding: 75px 20px 0;

  opacity: 0;
  transform: translateX(-40px);
  animation: building-slide-in 1s ease-out forwards;
}

/* Section Heading */
.building-intro h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2e3e;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Paragraph Text */
.building-intro p {
  font-size: 15.5px;
  color: #1f2e3e;
  line-height: 1.7;
  margin-bottom: 15px;
}






/* animation */
@keyframes building-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* title */
.building-hero-title {
  font-size: 2.6rem;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
}

/* text */
.building-hero-text {
  font-size: 1.1rem;
  color: #f1f1f1;
  line-height: 1.6;
}

/* buttons */
.building-hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

/* button base */
.building-btn {
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

/* call button */
.building-btn-call {
  background: rgb(216,216,123);
  color: black;
}

.building-btn-call:hover {
  background: rgb(229,229,99);
  transform: translateY(-2px);
}

/* whatsapp */
.building-btn-whatsapp {
  background: #52a76e;
  color: white;
}

.building-btn-whatsapp:hover {
  background: #307149;
  transform: translateY(-2px);
}

/* responsive */
@media (max-width:768px){
  #building-hero{height:260px;}
  .building-hero-title{font-size:2rem;}
}

@media (max-width:480px){
  #building-hero{height:230px;}
  .building-hero-title{font-size:1.7rem;}
}






.building-hero {
  background: #004d40;
  color: rgb(176, 37, 37);
  padding: 120px 0 80px;
  margin-top: 80px;
}

.building-hero h1 {
  font-size: 42px;
  font-weight: 700;
}

.building-hero p {
  max-width: 700px;
  margin: 15px auto 30px;
  opacity: 0.9;
}

.hero-buttons a {
  padding: 12px 28px;
  margin: 10px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.hero-call {
  background: #f57c00;
  color: white;
}

.hero-whatsapp {
  background: #25d366;
  color: white;
}


/* ================= INTRO ================= */
.building-intro h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.building-intro p {
  color: #0e0e0e;
  font-weight: 400;
  line-height: 1.7;
}

.building-img {
  width: 100%;
  border-radius: 10px;
  
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.building-points li {
  margin-bottom: 10px;
}


/* ================= FEATURE CARDS ================= */
.building-features {
  background: #e2d9d9;
  padding: 80px 0;
}

.feature-card {
  background: #89b299;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}
.building-features h2 {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: #1a1a1a;
}

/* center underline */
.building-features h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;

  width: 100px;          /* small line */
  height: 3px;
  background: #1f2e3e;  /* your theme color */
  border-radius: 2px;
}


/* ================= CONTACT ================= */
.building-contact {
  background: #f1f2f2;   /* very light grey */
}
.building-contact input,
.building-contact textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.building-contact textarea {
  height: 120px;
}

.building-contact button {
  background: #f57c00;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
}


/* ================= MOBILE RESPONSIVE ================= */
/* @media (max-width: 768px) {
  .building-hero h1 {
    font-size: 28px;
  }
  .building-hero {
    padding: 90px 0 60px;
  }
} */



@media (max-width: 768px) {

  #building-hero {
    min-height: 65vh;   /* ✅ reduced height */
    padding: 70px 15px 40px;  /* ✅ less spacing */
  }

  .building-hero-title {
    font-size: 20px;   /* ✅ smaller heading */
    line-height: 1.3;
  }

  .building-hero-text {
    font-size: 13px;   /* ✅ compact text */
    line-height: 1.5;
  }

  .building-hero-buttons {
    gap: 10px;
  }

  .building-btn {
    padding: 10px;
    font-size: 14px;
  }

}

  .building-btn {
    width: 100%;                   /* ✅ FULL WIDTH BUTTONS */
    text-align: center;
  }
  @media (max-width: 768px) {

  .building-hero-title {
    font-size: 24px;  /* 🔥 same as 2nd image */
  }

  .building-hero-text {
    font-size: 14px;
  }

  .building-btn {
    width: 100%;
    padding: 14px;   /* 🔥 same height */
    font-size: 15px;
  }

}


/* ======================================
   BUILDING HERO MOBILE FIX (FINAL)
====================================== */

#building-hero {
  min-height: 420px !important;
  height: auto !important;
  padding: 100px 0 60px !important;
}

.building-hero-container {
  padding-top: 0 !important;
}

@media (max-width: 768px) {

  #building-hero {
    min-height: 500px !important;
    padding: 120px 20px 80px !important;
  }

  .building-hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .building-hero-text {
    font-size: 0.95rem;
    margin-top: 10px;
  }

  .building-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .building-btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}



/* Scroll To Top Button */

.scroll-top{
  position: fixed;
  right: 25px;
  bottom: 20px; /* above whatsapp button */
  width: 45px;
  height: 45px;
  background: #1b7f5b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.scroll-top:hover{
  background:#145c43;
}

.scroll-top.show{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}
