/* 1. Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Navbar Desktop Styles (Default) */
.navbar {
    background-color: #fef8d3;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    display: block;
}

/* FIX: Desktop Flex for links */
.nav-links {
    display: flex;
    /* Horizontal on desktop */
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #265a34;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #000;
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #265a34;
    cursor: pointer;
}

.mobile-cta {
    display: none;
    /* Hidden on desktop */
}

.btn-primary {
    background-color: #265a34;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* 3. Mobile Logic (Max-width 992px) */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
        /* Hide desktop button */
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        /* Vertical on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fef8d3;
        text-align: center;

        /* Hide state */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease-in-out;
        padding: 0;
        gap: 0;
        /* Remove gap for vertical stacking */
    }

    /* Active class triggered by JS */
    .nav-links.active {
        max-height: 600px;
        opacity: 1;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a,
    .dropdown-item {
        padding: 15px 0;
        width: 100%;
        display: block;
    }

    .mobile-cta {
        display: block;
        margin-top: 10px;
    }
}












.arrow {
    font-size: 12px;
    margin-left: 4px;
}

/* Hamburger Toggle */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    color: #265a34;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile CTA visibility */
.mobile-cta {
    display: none;
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
        /* Hide original CTA on mobile */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        /* Sits right under the navbar */
        left: 0;
        width: 100%;
        background-color: #fef8d3;
        flex-direction: column;
        padding: 40px 0;
        gap: 25px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);

        /* Hidden state */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Shown state when JS triggers .active */
    .nav-links.active {
        max-height: 500px;
        padding: 40px 0;
    }

    .mobile-cta {
        display: block;
        margin-top: 10px;
    }
}

.btn-primary {
    background-color: #265a34;
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 40px 0 100px 0;
    background-color: #fffdf2;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 44px;
    color: #265a34;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    max-width: 480px;
}

.btn-secondary {
    background-color: #265a34;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-main-img {
    max-width: 110%;
    height: auto;
    margin-bottom: -60px;
}

/* Wavy Divider */
.wave-divider {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.wave-path {
    fill: none;
    stroke: #333;
    stroke-width: 0.8px;
    opacity: 0.4;
}

/* Info Grid - The Rounded Image Interpretation */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 100px 20px;
    text-align: center;
}

.circle-img-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    /* Makes the container round */
    overflow: hidden;
    /* Clips the image to the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Background "Blobs" per the screenshot */
.grey-blob {
    background-color: #e0e0e0;
}

.dark-blob {
    background-color: #333;
}

.light-blob {
    background-color: #f0f0f0;
}

.circle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This makes the rectangular images fill the circle perfectly */
}

.info-card p {
    font-size: 14px;
    color: #265a34;
    font-weight: 700;
    line-height: 1.4;
    padding: 0 15px;
}

/* Health Card Detail Section */
.card-detail-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 20px 150px;
}

.card-visual-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

/* The Yellow Shape behind the Card */
.yellow-blob {
    position: absolute;
    width: 380px;
    height: 380px;
    background-color: #f7e034;
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
}

.card-img {
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    border-radius: 15px;
}

.card-text-content {
    flex: 1;
}

.section-title {
    font-size: 38px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-wrapper,
    .card-detail-section {
        flex-direction: column;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-container {
        justify-content: center;
        margin-top: 40px;
    }
}


/* Partners & Mission Section Styling */
.partners-section {
    background-color: #e8f9e0; /* The light green tint from your screenshot */
    position: relative;
    padding: 60px 0 120px 0;
    margin-top: -2px;
}

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.content-center {
    text-align: center;
    position: relative;
    z-index: 2;
}

.partner-title {
    font-size: 32px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 50px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.partner-logos img {
    height: 45px; /* Keeps logos consistent */
    width: auto;
    filter: grayscale(0%);
    transition: transform 0.3s ease;
}

.partner-logos img:hover {
    transform: scale(1.1);
}

/* Mission Text Block */
.small-divider {
    width: 12px;
    height: 25px;
    background-color: #d4e117; /* The bright yellow accent line */
    margin: 0 auto 30px;
}

.mission-block .section-title {
    font-size: 36px;
    color: #265a34;
    margin-bottom: 25px;
}

.mission-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .partner-logos {
        gap: 30px;
    }
    .partner-logos img {
        height: 35px;
    }
}
.partners-section {
    background-color: #e8f9e0; /* The exact light green background */
    position: relative;
    padding: 100px 0 120px 0;
    margin-top: -100px; /* Pulls it up to let the wave overlap the section above */
    z-index: 1;
}

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top svg {
    display: block;
    width: 100%;
    height: 100px; /* Adjust height to match the steepness of the curve */
}

/* Ensure the path fills the 'cutout' with the white from the section above */
.wave-top path {
    fill: #ffffff; 
}

.partner-title {
    font-size: 32px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 60px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 90px;
}

.partner-logos img {
    height: 40px; /* Uniform height for logos as seen in design */
    width: auto;
    object-fit: contain;
}

.mission-block {
    text-align: center;
}

.small-divider {
    width: 8px;
    height: 30px;
    background-color: #d4e117; /* The bright lime/yellow accent */
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-title {
    font-size: 36px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 25px;
}

.mission-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}
/* Partners Section - Light Green */
.partners-section {
    background-color: #e8f9e0;
    position: relative;
    padding: 100px 0 80px 0;
    /* Reduced bottom padding */
    z-index: 1;
}

.wave-top,
.wave-bottom {
    position: absolute;
    width: 100%;
    line-height: 0;
    left: 0;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
}

.wave-top svg,
.wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Partner Styling */
.partner-title {
    font-size: 32px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.partner-logos img {
    height: 42px;
    width: auto;
}

/* Mission Section - Pure White */
.mission-section {
    background-color: #ffffff;
    padding: 80px 0 120px 0;
    position: relative;
    z-index: 2;
}

.content-center {
    text-align: center;
}

.small-divider {
    width: 10px;
    height: 30px;
    background-color: #d4e117;
    /* Bright yellow bar */
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-title {
    font-size: 36px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 25px;
}

.mission-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}







/* Family Benefit Section - Dark Green Background */
.family-benefit-section {
    background-color: #265a34;
    /* Exact dark green from logo */
    position: relative;
    padding: 60px 0 100px 0;
    margin-top: -2px;
    /* Prevent tiny gaps between sections */
}

/* Transitions */
.wave-transition-top {
    position: absolute;
    top: -80px;
    /* Pulls the wave up to overlap the mission section */
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-transition-bottom {
    position: absolute;
    bottom: -80px;
    /* Extends the green into the next white section */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.wave-transition-top svg,
.wave-transition-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Layout */
.family-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.family-image-container {
    flex: 1;
}

.rounded-family-img {
    width: 100%;
    max-width: 500px;
    border-radius: 40px;
    /* Perfectly rounded corners as seen in screenshot */
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    /* Keep it square-ish like the design */
}

.family-text-content {
    flex: 1;
}

/* Typography for Dark Background */
.yellow-title {
    color: #d4e117;
    /* Bright yellow-green from the divider */
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.white-description {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.95;
}

/* Mobile Perfection */
@media (max-width: 992px) {
    .family-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .yellow-title {
        font-size: 32px;
    }

    .rounded-family-img {
        max-width: 100%;
        margin-bottom: 30px;
    }
}


/* Blog Section Styling */
.blog-section {
    padding: 80px 0 120px;
    background: #ffffff;
}

.section-title.text-center {
    font-size: 32px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: transparent;
}

.blog-img {
    width: 100%;
    border-radius: 25px;
    /* Matches the soft rounded edges of your blog images */
    aspect-ratio: 16/10;
    object-fit: cover;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 18px;
    color: #265a34;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

/* Footer Section Styling */
.footer {
    background-color: #f9f7f2;
    /* Light beige background from screenshots */
    position: relative;
    padding: 100px 0 40px;
    margin-top: 50px;
}

.footer-wave {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons .icon {
    color: #d4e117;
    /* Golden-yellow icons from your footer design */
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.footer h4 {
    font-size: 18px;
    color: #265a34;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact p,
.footer-newsletter p {
    font-size: 14px;
    color: #444;
    text-decoration: none;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.subscribe-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #888;
}

/* Perfecting Responsiveness */
@media (max-width: 992px) {

    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .social-icons,
    .subscribe-form {
        align-items: center;
        justify-content: center;
    }
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: #d4e117;
    /* The specific brand gold/yellow */
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #265a34;
    /* Hover to brand green */
    transform: translateY(-3px);
}