.contact-header {
  min-height: 55vh;
  padding: 100px 24px 70px;
  background:
    radial-gradient(circle at 15% 20%, var(--pink-light) 0%, transparent 28%),
    radial-gradient(circle at 85% 25%, var(--blue-light) 0%, transparent 30%),
    radial-gradient(circle at 50% 90%, var(--green-light) 0%, transparent 35%),
    var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.contact-header h1 {
  font-family: var(--font-fun);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--green-dark);
  margin: 18px 0 22px;
  text-shadow:
    3px 3px 0 var(--pink-light),
    6px 6px 0 var(--blue-light);
}

.contact-header p {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.75;
  animation: floatContactBubble 5s ease-in-out infinite;
}

.bubble-one {
  width: 270px;
  height: 270px;
  background: var(--pink-light);
  left: 8%;
  top: 20%;
}

.bubble-two {
  width: 120px;
  height: 120px;
  background: var(--green-light);
  right: 10%;
  top: 25%;
  animation-delay: 1s;
}

.bubble-three {
  width: 110px;
  height: 110px;
  background: var(--green-light);
  right: 18%;
  bottom: 12%;
  animation-delay: 0.5s;
}

@keyframes floatContactBubble {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}


.contact-page-details {
  padding: 80px 24px;
}

.contact-details-wrap {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  text-align: center;
}

.contact-detail {
  position: relative;
  padding: 10px 8px 24px;
}

.contact-icon-soft {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--pink-light),
    var(--blue-light),
    var(--green-light)
  );
  box-shadow: 0 10px 22px rgba(47, 168, 102, 0.14);
  animation: softFloat 4s ease-in-out infinite;
}
.contact-detail:nth-child(2) .contact-icon-soft {
  animation-delay: 0.8s;
}
.contact-detail:nth-child(3) .contact-icon-soft {
  animation-delay: 1.2s;
}

.contact-detail-label {
  display: block;
  font-family: var(--font-fun);
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.contact-detail a,
.contact-detail p {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 700;
  text-decoration: none;
  margin: 0;
  overflow-wrap: anywhere;
  position: relative;
}

.contact-detail a:hover {
  color: var(--pink-dark);
  font-size: 1.2rem;
}

.contact-detail a:hover::after {
  opacity: 1;
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}


.map-section {
  padding-bottom: 50px;
  background:
    radial-gradient(circle at 10% 70%, var(--green-light) 0%, transparent 28%),
    radial-gradient(circle at 88% 95%, var(--pink-light) 0%, transparent 28%),
    var(--bg-main);
}

.map-section .section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.map-section .section-heading h2 {
  font-family: var(--font-fun);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--green-dark);
}

.map-section .section-heading p {
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.6;
  margin-top: 12px;
}

.map-wrap {
  max-width: 60%;
  margin: 0 auto;
  border-radius: 35px;
  overflow: hidden;
  border: 5px solid var(--bg-card);
  box-shadow: 0 18px 45px rgba(47, 168, 102, 0.18);
  position: relative;
}

.map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 25px;
  box-shadow: inset 0 0 0 4px rgba(47, 168, 102, 0.12);
  z-index: 2;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
}



@media (max-width: 850px) {
  .contact-details-wrap {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 420px;
  }
  .contact-detail-label {
    font-size: 1.5rem;
  }
  .contact-detail a,
  .contact-detail p {
    font-size: 1rem;
  }
  .contact-detail a:hover {
    color: var(--pink-dark);
    font-size: 1.05rem;
  }

  .contact-header {
    min-height: 50vh;
    padding: 80px 20px 60px;
  }
  .contact-header h1 {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }
  .contact-header p {
    font-size: 1rem;
  }
  .bubble-one {
    width: 150px;
    height: 150px;
    left: -20px;
    top: 5px;
  }
  .bubble-two {
    width: 60px;
    height: 60px;
    right: 5%;
    top: 20%;
  }
  .bubble-three {
    width: 70px;
    height: 70px;
    right: 8%;
    bottom: 8%;
  }

  .map-wrap {
    border-radius: 25px;
    border-width: 6px;
    max-width: 90%;
  }
  .map-wrap iframe {
    height: 420px;
  }
}


