/*
Theme Name: Healthy Children 
Theme URI: 
Author: Antigravity
Author URI: 
Description: A healthy and vibrant WordPress theme for pediatric clinics.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthy-children
*/

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Montserrat:wght@500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #00b8e0;
  --secondary-color: #ff7b9c;
  --font-main: 'Nunito', sans-serif;

  --teal-main: var(--primary-color);
  --teal-hover: #00a8bc;
  --bg-green: #e3ffd4;
  --bg-cyan: #ebfbf9;
  --card-green: #a9e38f;
  --btn-cyan: var(--primary-color);
  --white: #ffffff;
  --text-dark: #1f3541;
  --text-muted: #495b68;
  --radius-lg: 32px;
  --radius-md: 16px;
  --shadow: 0 12px 40px rgba(0, 195, 218, 0.08);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--bg-green);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
}

/* ══════════════════════════════════════════
   HEADER & NAVIGATION
══════════════════════════════════════════ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 100;
  padding-left: 5%;
}

.header-logo {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.logo-badge {
  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /*animation: rotateLogo 20s linear infinite;*/
}

.logo-badge svg.circle-text-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.logo-center {
  width: 60px;
  height: 60px;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.header-nav {
  background: var(--teal-main);
  padding: 12px 60px;
  border-bottom-left-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header-nav.nav-scrolled {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  border-radius: 0 0 20px 20px;
  padding: 10px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  gap: 45px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.hero-wrapper {
  background: var(--bg-green);
  padding: 160px 8% 100px;
  display: flex;
  align-items: center;
  min-height: 85vh;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-content .cursive-title {
  font-family: 'Dancing Script', cursive;
  font-size: 64px;
  color: var(--teal-main);
  font-weight: 700;
  display: block;
  margin-top: -10px;
}

.hero-images {
  flex: 1.5;
  position: relative;
  height: 500px;
}

.hero-image-single-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-single-container .hero-image-mask {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-image-single-container .hero-image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}


.hero-image-single-container .accent-circle-blue {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #00c3da;
  border-radius: 50%;
  top: -20px;
  right: 5%;
  z-index: 1;
}

.hero-image-single-container .accent-leaf-green {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #a5e297;
  border-radius: 50px 50px 0 50px;
  bottom: -40px;
  left: 0;
  z-index: 3;
}

.hero-images-grid {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.img-mask-1 {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 85%;
  border-radius: 120px 120px 40px 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-mask-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-mask-2 {
  position: absolute;
  left: 20%;
  top: 10%;
  width: 30%;
  height: 35%;
  border-radius: 60px 40px 60px 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-mask-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-mask-3 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  height: 45%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-mask-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Removed old blob accents */

/* ══════════════════════════════════════════
   CONTENT SECTIONS (ABOUT & PARENTS)
══════════════════════════════════════════ */
.main-content-flow {
  background: var(--bg-cyan);
  padding: 80px 5%;
}

.info-section {
  display: flex;
  background: var(--white);
  border-radius: 70px;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
  position: relative;
  align-items: stretch;
  padding: 100px;
}

.info-image {
  flex: 0 0 45%;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 90px 30px 30px 30px;
}

.info-text {
  flex: 1;
  padding: 19px 40px 60px 82px;
  position: relative;
  z-index: 10;
}

.info-text h2 {
  color: var(--teal-main);
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 40px;
}

.info-text p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.btn-cyan {
  display: inline-block;
  background: var(--btn-cyan);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  margin-top: 10px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-cyan:hover {
  opacity: 0.8;
}

.info-text {
  position: relative;
}

.accent-corner {
  position: absolute;
  top: -50px;
  right: -25px;
  left: auto;
  width: 65px;
  height: 65px;
  background: var(--card-green);
  border-radius: 0 67px 0 0;
  z-index: 2;
}

.parents-section .info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 90px 30px 150px 30px;
}



/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */
.services-section {
  text-align: center;
  margin: 80px 0 150px;
}

.services-section h2 {
  color: var(--teal-main);
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 40px;
}

.services-row {
  display: flex;
  justify-content: center;
  /*gap: 30px;*/
  gap: 4%;
  flex-wrap: wrap;
}

.service-item {
  /*width: calc(20% - 24px);
  min-width: 140px;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-link-wrapper {
  text-decoration: none;
  display: block;
}

.service-link-wrapper:hover .service-box {
  transform: translateY(-5px);
}

.service-link-wrapper:hover h3 {
  color: #00c3da;
  /* Specific Cyan */
}

.service-box {
  background: var(--card-green);
  border-radius: 12px;
  width: 225px;
  height: 225px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.2s;
}

.service-box svg {
  /*width: 86px; height: 86px;*/
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  /*padding: 10px;
  border: 1px solid var(--white);
  border-radius: 50%;*/
}

.service-item h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* ══════════════════════════════════════════
   APPOINTMENT SECTION
══════════════════════════════════════════ */
.appointment-section {
  background: var(--bg-green);
  padding: 80px 12%;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.appt-left {
  flex: 0.8;
}

.appt-left h2 {
  color: var(--teal-main);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 40px;
}

.quick-contacts {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 9.5%;
  box-shadow: var(--shadow-sm);
}

.quick-contacts h3 {
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-line svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-dark);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.appt-form-card {
  flex: 1.7;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.appt-form-card h3 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.input-group {
  position: relative;
}

.input-group input,
.input-group textarea {
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #edf1f2;
  padding: 12px 15px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: var(--text-dark);
}

.input-group textarea {
  resize: vertical;
  height: 100px;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--teal-main);
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 12px;
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer-features {
  background: var(--teal-main);
  padding: 30px 2%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.feat-col {
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 25px;
  font-weight: 600;
  gap: 12px;
}

.feat-col svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
}

.site-footer {
  background: #fdfdfd;
  padding: 60px 7% 20px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 9%;
  padding: 0 5%;
  margin-bottom: 40px;
}

.f-brand h4 {
  color: var(--teal-main);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.f-logo {
  width: 40px;
  height: 40px;
  border: 2px solid var(--teal-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.f-logo svg {
  width: 24px;
  height: 24px;
}

.f-contact-info {
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-contact-info div {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.f-contact-info svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dark);
  fill: none;
  flex-shrink: 0;
}

.f-menu-col h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}

.f-menu-col ul {
  list-style: none;
}

.f-menu-col ul li {
  margin-bottom: 8px;
}

.f-menu-col ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
}

.f-menu-col ul a:hover {
  color: var(--teal-main);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5% 0;
  font-size: 15px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  background: var(--teal-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

/* ══════════════════════════════════════════
   RESPONSIVE DESIGN
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-wrapper {
    flex-direction: column;
    padding-top: 160px;
    height: auto;
  }

  .hero-images {
    width: 100%;
    height: 400px;
    margin-top: 40px;
  }

  .info-section {
    flex-direction: column;
  }

  .info-image {
    width: 100%;
    height: 250px;
  }

  .info-text {
    padding: 40px;
  }

  .service-item {
    width: calc(33.333% - 14px);
  }

  .appointment-section {
    flex-direction: column;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content .cursive-title {
    font-size: 48px;
  }

  .service-item {
    width: calc(50% - 15px);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-images {
    height: 300px;
  }

  .service-item {
    width: 100%;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
  }

  .header-nav {
    display: none;
    /* Fallback for extreme mobile */
  }
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
   (Handled by GSAP + these base styles)
══════════════════════════════════════════ */
.reveal-on-scroll,
section:not(.no-reveal),
.hero-content,
.service-card,
.footer-column {
  opacity: 0;
  transform: translateY(30px);
}

/* Lenis Recommended CSS */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ══════════════════════════════════════════
   PARENT RESOURCES PAGE
   ══════════════════════════════════════════ */
.parent-resources-wrapper {
  overflow: hidden;
}

.parent-hero-section {
  background: var(--bg-green);
  padding: 160px 8% 100px;
  display: flex;
  align-items: center;
  min-height: 85vh;
}

.hero-text-side {
  flex: 1;
  padding-right: 40px;
}

.hero-text-side .cursive-title {
  font-family: 'Dancing Script', cursive;
  font-size: 110px;
  color: var(--teal-main);
  line-height: 1;
}

.hero-visual-side {
  flex: 1.5;
  position: relative;
  height: 500px;
}

.visual-grid {
  position: relative;
  width: 100%;
  height: 100%;
}

.accent-circle-blue {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #00c3da;
  border-radius: 50%;
  top: 50px;
  left: 20%;
  z-index: 1;
}

.accent-leaf-green {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #a5e297;
  border-radius: 50px 50px 0 50px;
  top: 40%;
  left: 15%;
  z-index: 2;
}

.img-box {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.circle-img {
  width: 200px;
  height: 300px;
  border-radius: 100px;
  top: 80px;
  left: 35%;
  z-index: 3;
  border: 8px solid #f2fff4;
}

.large-right-img {
  width: 45%;
  height: 90%;
  right: 0;
  top: 0;
  border-radius: 120px 40px 120px 40px;
  z-index: 2;
}

.bottom-mid-img {
  width: 50%;
  height: 45%;
  left: 18%;
  bottom: -10px;
  border-radius: 150px 30px 150px 30px;
  z-index: 4;
  border: 8px solid #f2fff4;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-single-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-single-visual .main-banner-img {
  width: 100%;
  height: auto;
  overflow: hidden;
  z-index: 2;
}

.hero-single-visual .main-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Flow */
.parent-main-flow {
  background: #ffffff;
  padding: 100px 5% 100px;
}

.content-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.content-accent-top {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #a5e297;
  border-radius: 40px 40px 0 0;
  top: -40px;
  left: 40%;
}

.split-layout {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.image-col {
  flex: 1;
  padding-right: 0;
}

.image-col img {
  width: 100%;
  border-radius: 80px 30px 80px 30px;
  box-shadow: var(--shadow);
}

.text-col {
  flex: 1.2;
  margin-left: -100px;
  margin-top: 200px;
  position: relative;
  z-index: 10;
}

.content-card {
  background: #f4fbfc;
  padding: 100px 80px;
  border-radius: 0 0 100px 0;
  box-shadow: 0 20px 50px rgba(0, 195, 218, 0.05);
}

.content-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Custom Footer Features adjust for this page */
.parent-resources-wrapper .footer-features {
  margin-top: 80px;
}

/* Responsive */
@media (max-width: 1024px) {
  .parent-hero-section {
    flex-direction: column;
    padding-top: 140px;
  }

  .hero-visual-side {
    width: 100%;
    height: 400px;
  }

  .hero-text-side .cursive-title {
    font-size: 80px;
    margin-bottom: 30px;
  }

  .split-layout {
    flex-direction: column;
  }

  .text-col {
    margin-left: 0;
    margin-top: -50px;
    width: 100%;
  }

  .content-card {
    padding: 40px;
    border-radius: 30px;
  }
}

/* ══════════════════════════════════════════
   CONTACT US PAGE
   ══════════════════════════════════════════ */
.contact-us-wrapper {
  overflow: hidden;
}

.contact-hero-section {
  background: var(--bg-green);
  padding: 160px 8% 100px;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 85vh;
}

.contact-hero-section .hero-text-side .cursive-title {
  font-size: 110px;
  line-height: 1;
  color: var(--primary-color);
  /* Cyan color */
}

.contact-main-flow {
  background: #f2fbfb;
  /* Very pale cyan */
  padding: 150px 5% 120px;
  position: relative;
}

.contact-main-flow .content-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.contact-main-flow .split-layout {
  display: flex;
  align-items: center;
}

.contact-main-flow .image-col {
  flex: 0 0 450px;
  position: relative;
  z-index: 2;
}

.contact-main-flow .image-col img {
  width: 100%;
  border-radius: 50px 50px 50px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-main-flow .content-accent-top {
  position: absolute;
  top: -60px;
  left: 400px;
  width: 40px;
  height: 40px;
  background: #b6e39d;
  border-radius: 0 20px 0 20px;
  z-index: 3;
}

.contact-card-container {
  background: #ffffff;
  border-radius: 0 0 100px 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
  display: flex;
  padding: 80px 80px 80px 180px;
  /* Large left padding to accommodate overlap */
  gap: 80px;
  flex: 1;
  margin-left: -150px;
  /* Overlap image */
  z-index: 1;
}

.contact-info-col {
  flex: 1;
}

.contact-info-col h3 {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 14px;
  color: #495b68;
}

.contact-line svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-form-col {
  flex: 1.2;
}

.contact-form-col h3 {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-form-col input,
.contact-form-col textarea {
  width: 100%;
  background: #f4f6f7;
  border: none;
  border-radius: 12px;
  padding: 18px 25px;
  margin-bottom: 15px;
  font-family: inherit;
  font-size: 14px;
}

.contact-form-col textarea {
  height: 100px;
}

.contact-form-col .btn-cyan {
  margin-top: 10px;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .contact-main-flow .split-layout {
    flex-direction: column;
    align-items: center;
  }

  .contact-main-flow .image-col {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin-bottom: -50px;
  }

  .contact-card-container {
    margin-left: 0;
    padding: 80px 40px 40px;
    width: 100%;
    border-radius: 40px;
  }

  .contact-main-flow .content-accent-top {
    left: auto;
    right: 10%;
  }
}

/* Form Response Styles */
.form-response {
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.form-response.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-response.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}