/* ================= HERO ================= */
/* ======================================
   CAR PARKING SAFETY NETS HERO
====================================== */

#carparking-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

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

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

/* container */
.carparking-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: carparking-slide-in 1s ease-out forwards;
}

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

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

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

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

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

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

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

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

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

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

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





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

.carpark-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: #fbc02d;
  color: #111;
}

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


/* ================= INTRO ================= */
.carpark-intro{
  background-color: #e8edea;
}
.carpark-intro h2 {
  color:#1f2a3a;
  font-weight: 700;
  margin-bottom: 20px;
}

.carpark-intro p {
  color: black;
  line-height: 1.7;
}

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

.carpark-points li {
  color:black;
  margin-bottom: 10px;
}


/* ================= BENEFITS ================= */
.carpark-benefits {
  background: #f2f2f2;
  padding: 80px 0;
}

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

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

.benefit-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}
.carpark-benefits {
  text-align: center; /* center the heading */
}

.carpark-benefits h2 {
  position: relative;
  display: inline-block;
}

.carpark-benefits h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 80px;   /* small underline */
  height: 4px;
  background-color: #1f2a3a; /* change color if needed */
  border-radius: 2px;
}


/* ================= CONTACT ================= */
.carpark-contact{
  background-color: #d3dad8;
}
.carpark-contact input,
.carpark-contact textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

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

.carpark-contact button {
  background: orange;
  color: #111;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
}
.carpark-contact {
  text-align: center; /* centers the heading */
}

.carpark-contact h2 {
  position: relative;
  display: inline-block;
}

.carpark-contact h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 50px;   /* small underline */
  height: 3px;
  background-color: #1f2a3a; /* change color if needed */
  border-radius: 2px;
}


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





/* ======================================
   CAR PARKING HERO MOBILE FIX
====================================== */

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

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

@media (max-width: 768px) {

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

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

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

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

  .carparking-btn {
    width: 100%;
  }
}


/* 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);
}
