
/* =====================================
   CONTACT PAGE GLOBAL
===================================== */

.contact-page {
  width: 100%;
  overflow: hidden;
  background: #fffdf8;
  color: #17462f;
}

.contact-page * {
  box-sizing: border-box;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.contact-label {
  display: inline-block;
  color: #4f97ac;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
}

/* =====================================
   HERO
===================================== */

.contact-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  padding: 100px 10%;
  background:
    linear-gradient(
      90deg,
      rgba(8, 39, 25, 0.96),
      rgba(8, 39, 25, 0.75),
      rgba(8, 39, 25, 0.25)
    ),
    url("/programs/1.jpeg") center/cover no-repeat;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(8, 39, 25, 0.2),
    transparent
  );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.contact-hero-content > span {
  color: #b7dfe7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 4px;
}

.contact-hero h1 {
  color: white;
  font-size: clamp(45px, 6vw, 72px);
  line-height: 1.15;
  margin: 28px 0;
}

.contact-hero h1 em {
  color: #b7dfe7;
  font-weight: 500;
}

.contact-hero-content p {
  color: #e0e9e2;
  font-size: 15px;
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 35px;
}

.contact-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 16px 26px;
  background: #4f97ac;
  color: #102f36;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: 0.3s ease;
}

.contact-hero-btn:hover {
  background: white;
  transform: translateY(-4px);
}

.contact-hero-btn span {
  font-size: 20px;
}

/* =====================================
   INTRODUCTION
===================================== */

.contact-intro {
  max-width: 850px;
  margin: auto;
  padding: 100px 25px 65px;
  text-align: center;
}

.contact-intro h2 {
  color: #17462f;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.3;
  margin-bottom: 22px;
}

.contact-intro h2 em {
  color: #4f97ac;
}

.contact-intro p {
  max-width: 700px;
  margin: auto;
  color: #718077;
  font-size: 14px;
  line-height: 2;
}

/* =====================================
   CONTACT CARDS
===================================== */

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 40px 8% 110px;
  max-width: 1500px;
  margin: auto;
}

.contact-card {
  padding: 35px 25px;
  background: white;
  border: 1px solid #e8eee6;
  box-shadow: 0 8px 30px rgba(23, 70, 47, 0.05);
  transition: 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(23, 70, 47, 0.12);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: #e8f3f6;
  color: #3d8296;
  font-size: 27px;
  margin-bottom: 25px;
}

.whatsapp-icon {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.floating-whatsapp .whatsapp-icon {
  width: 34px;
  height: 34px;
}

.contact-card > span {
  color: #3d8296;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-card h3 {
  color: #17462f;
  font-size: 22px;
  margin: 15px 0;
}

.contact-card p {
  min-height: 90px;
  color: #718077;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 25px;
}

.contact-card-link {
  display: inline-block;
  color: #17462f;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.contact-card-link:hover {
  color: #4f97ac;
}

.featured-contact {
  background: #17462f;
  border-color: #17462f;
}

.featured-contact .contact-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #b7dfe7;
}

.featured-contact > span {
  color: #b7dfe7;
}

.featured-contact h3,
.featured-contact .contact-card-link {
  color: white;
}

.featured-contact p {
  color: #d2dfd5;
}

.featured-contact .contact-card-link:hover {
  color: #b7dfe7;
}

/* =====================================
   LOCATION
===================================== */

.contact-location {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 65px;
  align-items: center;
  padding: 100px 10%;
  background: #f3f6ef;
}

.location-content h2 {
  color: #17462f;
  font-size: clamp(34px, 4vw, 47px);
  line-height: 1.3;
  margin-bottom: 25px;
}

.location-content h2 em {
  color: #4f97ac;
}

.location-content > p {
  color: #718077;
  font-size: 14px;
  line-height: 2;
  margin-bottom: 30px;
}

.location-address {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.location-address > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #17462f;
  color: #b7dfe7;
  font-size: 24px;
}

.location-address strong {
  color: #17462f;
  font-size: 11px;
  letter-spacing: 1px;
}

.location-address p {
  color: #718077;
  font-size: 13px;
  margin-top: 8px;
}

.location-map-btn {
  display: inline-block;
  padding: 16px 25px;
  background: #17462f;
  color: white;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  transition: 0.3s ease;
}

.location-map-btn:hover {
  background: #4f97ac;
  color: #102f36;
}

.location-map {
  height: 420px;
  border: 8px solid white;
  box-shadow: 0 15px 40px rgba(23, 70, 47, 0.1);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =====================================
   CLOSING SECTION
===================================== */

.contact-closing {
  padding: 100px 8%;
  text-align: center;
  background: #17462f;
}

.contact-closing > span {
  color: #b7dfe7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 4px;
}

.contact-closing h2 {
  max-width: 800px;
  margin: 25px auto;
  color: white;
  font-size: clamp(35px, 4vw, 50px);
  line-height: 1.3;
}

.contact-closing h2 em {
  color: #b7dfe7;
}

.contact-closing p {
  max-width: 650px;
  margin: 0 auto 35px;
  color: #d2dfd5;
  font-size: 14px;
  line-height: 1.9;
}

.contact-closing a {
  display: inline-block;
  padding: 16px 28px;
  background: #4f97ac;
  color: #102f36;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  transition: 0.3s ease;
}

.contact-closing a:hover {
  background: white;
  transform: translateY(-4px);
}

/* =====================================
   FLOATING WHATSAPP BUTTON
===================================== */

.floating-whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 27px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1100px) {
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 6%;
    padding-right: 6%;
  }

  .contact-location {
    gap: 35px;
    padding: 80px 7%;
  }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 650px) {
  .contact-hero {
    min-height: 540px;
    padding: 80px 7%;
    background-position: center;
  }

  .contact-hero h1 {
    font-size: 42px;
  }

  .contact-hero-content p {
    font-size: 13px;
  }

  .contact-intro {
    padding: 75px 7% 35px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    padding: 30px 7% 75px;
  }

  .contact-card p {
    min-height: auto;
  }

  .contact-location {
    grid-template-columns: 1fr;
    padding: 75px 7%;
  }

  .location-map {
    height: 320px;
  }

  .contact-closing {
    padding: 75px 7%;
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}
