/*
Theme Name: NasClinic Theme
Author: NasClinic
Description: A theme for direct HTML/CSS editing.
Version: 1.0.1 (CWV Optimized)
*/

:root {
    --nas-blue: #00829B;    /* From the "DR NAS" text / Darker cross part */
    --nas-teal: #26BC9A;    /* From the lighter part of the cross icon */
    --btn-orange: #ff5e3a;  /* Stan Ventures style CTA for high contrast */
    --black: #000000;       /* Signature 1.5px border color */
    --bg-light: #f4f8f9;    /* Soft blue-tinted background */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --nas-teal-dark: #0f8a77;
    --nas-text-dark: #2c3e50;
    --nas-text-light: #6c7a89;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background-color: #ffffff; color: #000; overflow-x: hidden; line-height: 1.6; }

/* --- NAVIGATION --- */
/* --- FULL WIDTH COLOR STRIP --- */
.top-color-strip {
    width: 100%;
    height: 28px;
    background: linear-gradient(90deg, var(--nas-blue) 0%, var(--nas-teal) 100%);
    position: relative;
    z-index: 2001;
}

.full-width {
    background-color: var(--bg-light);   
}

/* --- NAVIGATION --- */
header {
    background: #fff;
    border-bottom: 1.5px solid var(--black);
    position: sticky;
    top: 0;
    z-index: 2000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    padding: 0 40px;
    height: 90px;
}

/* LOGO ARRANGE & SIZE */
.logo { 
    display: flex;
    align-items: center;
    justify-content: start;
}
.logo img { 
    height: 58px; /* Precise height */
    width: auto;   /* Maintains aspect ratio */
    object-fit: contain;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between; /* This spreads the bars out */
    width: 30px;
    height: 21px; /* Specific height ensures bars are spaced */
    cursor: pointer;
    z-index: 2100;
    transition: var(--transition);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--black);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Animation Fixes */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Desktop Nav Links */
.nav-links { display: flex; list-style: none; height: 100%; }
.menu-item { position: relative; display: flex; align-items: center; height: 100%; }
.menu-link {
    text-decoration: none; 
    color: var(--nas-blue); 
    font-weight: 600; 
    font-size: 15px;
    padding: 0 20px; 
    display: flex; 
    align-items: center; 
    gap: 8px; /* Space between text and arrow */
    transition: var(--transition);
}

.menu-link:hover { color: var(--nas-teal); }

.chevron {
    width: 14px;
    height: 14px;
    margin-left: -15px; /* Space between text and arrow */
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

/* Rotate the arrow when the menu item is hovered */
.menu-item:hover .chevron {
    transform: rotate(180deg);
    color: var(--nas-teal);
}

/* --- NON-CLICKABLE CATEGORY TITLES --- */
.cat-title {
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 15px;
    color: var(--nas-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    /* Disables interaction */
    pointer-events: none; 
    cursor: default;
    user-select: none;
}

/* Ensure the sub-list links still work properly */
.sub-list a {
    pointer-events: auto;
    cursor: pointer;
}

/* Optional: Make the Services link feel more like a trigger than a page link */
.menu-item:first-child > .menu-link {
    cursor: default;
}

/* Mega Menu (Desktop Only) */
.mega-menu {
    position: absolute; top: 90px; left: 50%; transform: translateX(-50%) translateY(15px);
    width: 1100px; background: #fff; border: 1.5px solid var(--black);
    border-radius: 0 0 20px 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px;
    opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.menu-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col { border-right: 1px solid var(--border-gray); padding: 10px 20px; }
.mega-col:last-child { border-right: none; }
.cat-title { font-weight: 800; font-size: 14px; margin-bottom: 15px; color: var(--nas-blue); }
.sub-list { list-style: none; }
.sub-list a { text-decoration: none; color: #666; font-size: 14px; display: block; padding: 8px 0; }

.header-right { display: flex; justify-content: flex-end; }
.btn-book { background: linear-gradient(90deg, var(--nas-blue) 0%, var(--nas-teal) 100%); color: white; padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 700; }
    
/* --- HERO SECTION --- */
.hero { display: flex; align-items: center; justify-content: space-between; max-width: 1300px; margin: 0 auto; padding: 80px 40px; gap: 50px; }
.hero-text { flex: 1.2; }
.hero-text h1 { font-size: 3.5rem; font-weight: 800; color: var(--nas-blue); line-height: 1.1; margin-bottom: 25px; }
.hero-text p { font-size: 1.2rem; color: #444; margin-bottom: 40px; }

.hero-image { flex: 1; position: relative; }
.hero-image img { width: 100%; border-radius: 60px; border: 1.5px solid var(--black); position: relative; z-index: 2; }
.hero-image::after {
    content: ''; position: absolute; bottom: -15px; right: -15px;
    width: 100%; height: 100%; background: var(--nas-teal); border-radius: 60px; z-index: 1;
}

/* --- STACKING CARDS --- */
.stack-section { padding: 100px 40px; max-width: 1300px; margin: 0 auto; }
.stack-section h2 { font-size: 3rem; font-weight: 800; margin-bottom: 40px; color: var(--nas-blue); text-align:center; }
.card {
    position: sticky; background: #fff; border: 1.5px solid var(--black);
    border-radius: 40px; margin-bottom: 80px; min-height: 480px;
    display: flex; align-items: center; padding: 60px; gap: 40px;
}
.card:nth-child(1) { z-index: 1; top: 110px; }
.card:nth-child(2) { z-index: 2; top: 140px; }
.card:nth-child(3) { z-index: 3; top: 170px; }

.card-no { font-size: 4rem; font-weight: 800; color: #fff; -webkit-text-stroke: 1.5px #000; margin-bottom: 10px; display: block; }
.card-content h3 { font-size: 2.8rem; color: var(--nas-blue); margin-bottom: 20px; font-weight: 800; }

@media (max-width: 1024px) {
    nav { grid-template-columns: 1fr auto; padding: 0 20px; }
    .header-right { display: none; }
    .menu-toggle { display: flex; z-index: 1000; } /* Ensure toggle stays clickable */

    /* Mobile Menu List */
    .nav-links {
        display: none;
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: #fff; flex-direction: column; padding: 80px 20px 20px; /* Reduced top padding slightly */
        overflow-y: auto; text-align: left;
        z-index: 999; /* Forces menu to stay on top of the page */
    }
    .nav-links.active { display: flex; }
    .menu-item { width: 100%; display: block; height: auto; margin-bottom: 15px; }
    .menu-link { 
        font-size: 1.5rem; 
        border-bottom: 1.5px solid var(--black); 
        width: 100%; 
        padding: 10px 0; 
        display: block; 
        color: #000; /* Ensure text is visible */
    }
    
    /* Sub-sections on mobile */
    .mega-menu {
        display: none; /* HIDE by default so it doesn't push other links away */
        position: static !important; 
        opacity: 1 !important; 
        visibility: visible !important; 
        width: 100%; 
        transform: none !important; 
        border: none; 
        box-shadow: none;
        padding: 10px 0;
        height: auto !important; /* Force natural height so it doesn't blank the screen */
        max-height: none !important;
        overflow: visible !important;
    }

    /* Show the sub-menu when the parent is active or hovered */
    .menu-item:hover .mega-menu,
    .menu-item.active .mega-menu,
    .menu-item:focus-within .mega-menu {
        display: flex !important; /* Use flex to restore layout safely */
        flex-direction: column;
    }

    /* Aggressively force all child elements to display, overriding desktop hiding/animations */
    .mega-menu * {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .mega-col { border-right: none; border-bottom: 1px solid #eee; padding: 15px 0; width: 100% !important; }
    .cat-title { font-size: 1.1rem; color: #333; font-weight: bold; margin-bottom: 8px; display: block; }
    
    /* Ensure lists and links inside mega menu format correctly vertically */
    .mega-menu ul { display: block !important; padding-left: 15px !important; margin: 0; list-style: none; }
    .mega-menu li { display: block !important; margin-bottom: 10px; }
    .mega-menu a { display: block !important; font-size: 1rem; color: #555 !important; padding: 5px 0; border: none; }

    /* Layout adjustments */
    .hero { flex-direction: column-reverse; text-align: center; padding: 40px 20px; gap: 30px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-image img { border-radius: 30px; }
    .hero-image::after { border-radius: 30px; bottom: -8px; right: -8px; }

    .stack-section { padding: 40px 20px; }
    .card { flex-direction: column; text-align: center; padding: 40px 20px; min-height: auto; border-radius: 30px; gap: 20px; }
    .card-content h3 { font-size: 1.8rem; }
    .card-img img { max-width: 250px; }
    .stack-section h2 { font-size: 1.8rem; margin-bottom: 25px;}
    
    .chevron { display: none; }
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* --- FOOTER DESKTOP STYLES --- */
footer {
    background: #fff;
    border-top: 1.5px solid var(--black);
    padding: 80px 40px 40px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 60px;
}

.footer-col h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--nas-blue);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: #555; font-weight: 600; transition: 0.3s; }
.footer-links a:hover { color: var(--nas-teal); }

.contact-box {
    background: var(--bg-light);
    border: 1.5px solid var(--black);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 8px 8px 0px var(--nas-teal);
}

.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-item:last-child { margin-bottom: 0; }

.footer-bottom {
    max-width: 1300px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 992px) {
    footer {
        padding: 60px 20px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Force 1 column on mobile */
        gap: 50px;
        text-align: center; /* Center text for better mobile look */
    }

    /* Center icons and text in the location/contact items */
    .contact-item {
        justify-content: center;
        text-align: left; /* Keep inner text left-aligned */
    }

    .contact-box {
        max-width: 400px;
        margin: 0 auto; /* Center the box itself */
    }

    .footer-bottom {
        flex-direction: column; /* Stack the bottom copyright info */
        gap: 15px;
        text-align: center;
        margin-top: 40px;
    }
}

/* --- BOXED WELLNESS QUERIES --- */
.faq-section { max-width: 1100px; margin: 80px auto; padding: 0 20px; }
.faq-box { border: 1.5px solid var(--black); border-radius: 40px; padding: 60px; background: #fff; box-shadow: 15px 15px 0px var(--nas-teal); }
.faq-box h2 { font-size: 3rem; font-weight: 800; margin-bottom: 40px; color: var(--nas-blue); text-align:center; }
.faq-item { border-bottom: 1px solid #eee; padding: 25px 0; cursor: pointer; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { font-size: 1.25rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.faq-ans { display: none; padding-top: 20px; color: #444; font-size: 1.1rem; line-height: 1.7; }
@media (max-width: 768px) {
    /* Add this inside your existing @media (max-width: 768px) block */
    .faq-section {
        margin: 40px auto; /* Reduce top/bottom margin */
        padding: 0 15px;    /* Smaller side padding for the container */
    }

    .faq-box {
        padding: 30px 20px; /* Reduce internal padding (from 60px to 20px) */
        border-radius: 25px; /* Slightly smaller corners for mobile */
        box-shadow: 8px 8px 0px var(--nas-teal); /* Scale down the shadow offset */
        width: 100%;
        box-sizing: border-box; /* Ensures padding doesn't increase width */
    }

    .faq-box h2 {
        font-size: 1.8rem; /* Shrink huge 3rem heading to fit mobile */
        margin-bottom: 25px;
    }

    .faq-item {
        padding: 15px 0; /* Reduce vertical spacing between questions */
    }

    .faq-item h4 {
        font-size: 1.05rem; /* Adjust question font size */
        line-height: 1.4;
        display: flex;
        gap: 10px;
    }

    .faq-ans {
        font-size: 0.95rem; /* Slightly smaller answer text */
        padding-top: 15px;
    }
}

.specialist-section {
    padding-right: 20px;
    padding-bottom: 120px;
    padding-left: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.specialist-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

/* --- Improved Image Stack --- */
.specialist-image-box {
    position: relative;
    z-index: 1;
}

.specialist-image-box img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 30px;
    border: 2px solid var(--black);
    position: relative;
    z-index: 3;
    transition: transform 0.4s ease;
}

.specialist-image-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--nas-light-teal) 0%, transparent 70%);
    z-index: 0;
}

.specialist-image-box::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--nas-teal);
    border-radius: 30px;
    z-index: 1;
    border: 2px solid var(--black);
}

/* --- Content Styling --- */
.specialist-label {
    background: var(--nas-light-teal);
    color: var(--nas-teal);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.specialist-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--nas-blue);
    font-weight: 800;
}

.specialist-bio {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 40px;
}

.specialist-bio strong {
    color: var(--nas-blue);
}

/* --- Improved Credentials Bar --- */
.credentials-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 2px solid var(--black);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 10px 10px 0px var(--black);
}

.cred-item {
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.cred-item:last-child { border-right: none; }

.cred-item strong {
    display: block;
    font-size: 1.4rem;
    color: var(--nas-teal);
    margin-bottom: 4px;
}

.cred-item span {
    font-size: 0.8rem;
    color: var(--nas-blue);
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Trust Indicators --- */
.trust-indicators {
    display: flex;
    gap: 40px;
    align-items: center;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-rating .stars {
    color: #FFB400;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.google-rating p {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--nas-blue);
    margin: 0;
}

.clinical-badge {
    background: var(--black);
    color: #fff;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clinical-badge::before {
    content: '';
    color: var(--nas-teal);
    font-weight: 900;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .specialist-section {
        padding-bottom: 15px;
    }
    
    .specialist-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .specialist-image-box {
        max-width: 450px;
        margin: 0 auto;
    }
    .specialist-text h2 { font-size: 2.8rem; }
    .trust-indicators {
        flex-direction: column;
        gap: 25px;
    }
    .credentials-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cred-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 15px; }
}

#scrollSection {
    height: 600vh; /* Control speed here */
    position: relative;
    background: #fff;
}

/* 2. Sticky Wrapper - This is the viewport window */
.sticky-wrapper {
    position: sticky;
    top: 110px; /* Match your header height */
    height: calc(100vh - 110px);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* 3. Section Header - Compact and fixed at top */
.section-header {
    width: 100%;
    padding: 20px 0 10px;
    text-align: center;
    background: #fff;
    z-index: 10;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #114b5f;
    margin: 0;
}

/* 4. Horizontal Track - Centered vertically */
.horizontal-track {
    display: flex;
    padding: 0 100px; /* Side padding for start/end points */
    gap: 30px;
    will-change: transform;
    flex: 1; /* Takes remaining space */
    align-items: center; /* Centers cards vertically */
}

/* 5. Service Card - Adjusted for vertical fit */
.service-card-new {
    flex: 0 0 360px; /* Narrower width for better fit */
    background: #fff;
    border: 1.5px solid #000;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.05);
    /* Max height to ensure it fits on laptops */
    height: 85%; 
    max-height: 520px; 
    min-height: 480px;
}

.service-card-new img {
    width: 100%;
    height: 180px; /* Reduced height to save space */
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
}

.service-card-new h3 {
    font-size: 1.5rem;
    color: #114b5f;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card-new p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
    overflow: hidden;
}

/* 6. Button Styling */
.btn-learn-more {
    background: linear-gradient(90deg, #114b5f 0%, #3db9be 100%);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 170px;
    transition: 0.3s;
}

.circle-arrow {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 7. Mobile View */
@media (max-width: 768px) {
    #scrollSection { height: auto !important; }
    .sticky-wrapper { 
        position: relative !important; 
        top: 0; 
        height: auto !important; 
        padding-bottom: 50px;
    }
    .horizontal-track { 
        flex-direction: column !important; 
        transform: none !important; 
        padding: 20px !important; 
    }
    .service-card-new { 
        width: 100% !important; 
        flex: none; 
        height: auto; 
        max-height: none;
    }
}

.why-choose-section {
    padding: 100px 20px;
    overflow: hidden; /* Prevents any side-scrolling on mobile */
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
}

.label-box {
    color: var(--nas-blue);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.why-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--nas-blue);
    line-height: 1.1;
}

.highlight-teal {
    color: var(--nas-teal);
}

/* Grid Layout */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Card Design */
.why-card {
    background: #ffffff;
    border: 2.5px solid var(--black);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0px var(--nas-teal);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: #f0faff; /* Light accent background */
    color: var(--nas-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
    padding: 15px;
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--nas-blue);
    margin-bottom: 12px;
}

.why-info p {
    color: #555;
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .why-choose-section {
        padding: 60px 15px; /* Narrower padding for mobile screens */
    }

    .why-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
    }

    .why-header h2 {
        font-size: 2.2rem;
    }

    .why-card {
        padding: 25px; /* Smaller internal padding */
        gap: 15px;
        border-radius: 25px;
        box-sizing: border-box; /* Ensures padding doesn't push width over 100% */
    }

    /* Adjust hover for touch screens */
    .why-card:hover {
        transform: none;
        box-shadow: 6px 6px 0px var(--nas-teal);
    }

    .why-icon {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .why-info h3 {
        font-size: 1.25rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .why-card {
        flex-direction: column; /* Stack icon on top of text for very small phones */
        text-align: left;
    }
}

/* --- SECTION 6 STYLES --- */
.mission-section {
    padding: 120px 40px;
    background-color: var(--bg-light);  
    text-align: center;
}

.mission-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* The Main Mission Card - Stan Ventures Style */
.mission-card {
    border: 1.5px solid var(--black);
    border-radius: 50px;
    padding: 80px 60px;
    background: #fff;
    position: relative;
    /* Re-adding the teal shadow for depth */
    box-shadow: 20px 20px 0px var(--nas-teal);
}

.mission-label {
    color: var(--nas-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
}

.mission-card h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--nas-blue);
    line-height: 1.1;
    margin-bottom: 30px;
}

.mission-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 500;
}

.mission-content strong {
    color: var(--nas-blue);
    font-weight: 700;
}

/* Signature Line at the bottom of the card */
.mission-signature {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mission-signature .line {
    height: 1.5px;
    width: 60px;
    background-color: var(--black);
}

.mission-signature span {
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--nas-teal);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .mission-section {
        /* Reduce section padding so the card can get closer to screen edges */
        padding: 120px 15px; 
    }

    .mission-container {
        /* Ensure the container doesn't have restrictive width */
        width: 100%;
        max-width: 100%;
    }

    .mission-card {
        /* Reduce internal padding so text has room to breathe */
        padding: 40px 20px; 
        border-radius: 30px;
        
        /* IMPORTANT: Reduce shadow offset so it doesn't push the card off-screen */
        box-shadow: 8px 8px 0px var(--nas-teal); 
        
        /* Ensure the card stays centered and within viewport */
        margin: 0 auto;
        width: calc(100% - 10px); /* Leaves tiny room for the 8px shadow */
        box-sizing: border-box;
    }

    .mission-card h2 {
        font-size: 1.8rem; /* Scale down heading for small screens */
        line-height: 1.2;
    }

    .mission-content p {
        font-size: 1.05rem; /* Better readability on phones */
        line-height: 1.5;
    }

    .mission-signature {
        margin-top: 35px;
        gap: 10px;
    }

    .mission-signature .line {
        width: 25px;
    }
}

.nas-premium-hero {
    position: relative;
    padding: 100px 0 60px;
    background: radial-gradient(circle at 90% 10%, rgba(38, 188, 154, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(0, 130, 155, 0.05) 0%, transparent 40%),
                var(--white);
    overflow: hidden;
}

.hero-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- LEFT CONTENT --- */
.hero-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--nas-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-tagline span {
    width: 40px;
    height: 2px;
    background: var(--nas-teal);
}

.nas-premium-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    color: var(--nas-blue);
    font-weight: 800;
    margin-bottom: 25px;
}

.nas-premium-hero h1 span {
    color: var(--nas-teal);
}

.nas-premium-hero p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 550px;
}

/* --- TRUST ROW (Google Rating & Avatars) --- */
.trust-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.google-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--black);
    box-shadow: 5px 5px 0px var(--black);
    transition: var(--transition);
}

.google-card:hover { transform: translateY(-3px); }

.stars { color: #FFB800; font-size: 1.1rem; letter-spacing: 2px; }
.rating-num { font-weight: 900; font-size: 1rem; color: var(--black); }

.patient-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -15px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.avatar-stack img:first-child { margin-left: 0; }

.patient-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    line-height: 1.2;
}
.patient-text strong { color: var(--black); display: block; font-size: 1rem; }

/* --- BUTTONS --- */
.cta-box { display: flex; gap: 20px; }
.btn-nas-primary {
    background: var(--btn-orange);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 1.5px solid var(--black);
    box-shadow: 5px 5px 0px var(--black);
    transition: var(--transition);
}
.btn-nas-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--black);
}

/* --- RIGHT VISUAL --- */
.hero-image-container {
    position: relative;
    z-index: 1;
}

.main-img {
    width: 100%;
    max-width: 590px;
    height: 600px;
    object-fit: cover;
    border-radius: 40px 150px 40px 150px; /* High-end Clinic Look */
    border: 1.5px solid var(--black);
    position: relative;
    z-index: 2;
}

.img-decor {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--nas-teal);
    border-radius: 40px 150px 40px 150px;
    z-index: 1;
}

/* Floating Achievement Badge */
.floating-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: white;
    border: 1.5px solid var(--black);
    padding: 15px 25px;
    border-radius: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.08);
    animation: floatUI 4s ease-in-out infinite;
}

@keyframes floatUI {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.icon-circlee {
    width: 40px;
    height: 40px;
    background: var(--nas-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; gap: 80px; }
    .hero-tagline, .trust-row, .cta-box, .patient-group { justify-content: center; }
    .nas-premium-hero p { margin: 0 auto 40px; }
    .floating-badge { left: 50%; transform: translateX(-50%); bottom: -30px; animation: none; }
    .main-img { height: 450px; border-radius: 40px 100px 40px 100px; }
    .img-decor { border-radius: 40px 100px 40px 100px; }
}

/* --- Global Resets --- */
.nas-section { padding: 100px 0; overflow: hidden; border-bottom: 1.5px solid #eee; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; color: var(--nas-blue); line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.5rem; font-weight: 700; color: var(--nas-teal); margin-bottom: 15px; }
p { color: #444; font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }

/* --- Alternating Split Layout --- */
.split-row { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
    margin-bottom: 80px;
}
.split-row:nth-child(even) { flex-direction: row-reverse; }

.img-side { flex: 1; position: relative; }
.content-side { flex: 1; }

.img-side img { 
    width: 100%; 
    border-radius: 40px; 
    border: 1.5px solid var(--black); 
    display: block;
    transition: var(--transition);
}

/* Signature Offset Decorative Box */
.img-side::after {
    content: ''; 
    position: absolute; 
    top: 20px; 
    left: 20px; 
    width: 100%; 
    height: 100%; 
    border: 1.5px solid var(--nas-teal); 
    border-radius: 40px; 
    z-index: -1;
}
.split-row:nth-child(even) .img-side::after { left: -20px; border-color: var(--nas-blue); }

/* --- Elements --- */
.btn-nas {
    background: var(--btn-orange); color: white; padding: 16px 35px;
    border-radius: 10px; font-weight: 700; text-decoration: none;
    display: inline-block; border: 1.5px solid var(--black); transition: var(--transition);
    box-shadow: 4px 4px 0px var(--black);
}
.btn-nas:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0px var(--black); }

.badge {
    background: var(--bg-light); color: var(--nas-blue); padding: 6px 15px;
    border-radius: 50px; font-size: 0.85rem; font-weight: 700; border: 1px solid var(--nas-blue);
    text-transform: uppercase; margin-bottom: 15px; display: inline-block;
}

/* Synergy List Custom Styling */
.synergy-item {
    padding: 20px; background: var(--bg-light); border-radius: 15px;
    border-left: 4px solid var(--nas-teal); margin-bottom: 15px;
}

/* --- Mobile Responsive --- */
@media (max-width: 968px) {
    .nas-section { padding: 60px 0; }
    .split-row, .split-row:nth-child(even) { flex-direction: column; gap: 40px; margin-bottom: 60px; }
    .img-side::after { display: none; }
    .content-side { text-align: center; }
}

/* --- PHILOSOPHY SECTION --- */
.nas-philosophy {
    text-align: center;
    background-color: var(--bg-light);
    padding: 60px 5%;
    border-radius: 20px;
    margin: 60px auto;
    max-width: 1200px;
    font-family: 'Inter', sans-serif;
}

/* NEW: Modifier for alternating philosophy block colors (Maternal Page) */
.nas-philosophy.bg-white {
    background-color: var(--nas-white);
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.nas-philosophy h2 {
    color: var(--nas-teal-dark);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.nas-quote {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--nas-teal);
    margin: 30px auto;
    max-width: 800px;
    position: relative;
}

.nas-quote span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 15px;
    color: var(--nas-text-dark);
    font-style: normal;
}

.nas-philosophy p {
    color: var(--nas-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* NEW: Add margin to the bottom of the paragraph if a list follows it */
.nas-philosophy > p {
    margin-bottom: 30px; 
}

/* --- FEATURE LISTS --- */
.nas-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nas-feature-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 35px;
    color: var(--nas-text-dark);
    line-height: 1.5;
    font-size: 1.05rem;
}

.nas-feature-list li::before {
    content: "✓";
    color: #fff;
    background-color: var(--nas-teal);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* NEW: Scoped rule to center feature lists inside Philosophy blocks only */
.nas-philosophy .nas-feature-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* --- CARDS & DUAL TRACKS (PCOD PAGE) --- */
.nas-dual-tracks {
    display: flex;
    gap: 30px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    font-family: 'Inter', sans-serif;
}

.nas-card {
    flex: 1;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 2px solid transparent; /* Added prep for hover effect */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.nas-card:hover {
    transform: translateY(-5px);
}

.nas-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--nas-text-dark);
}

.card-intro {
    color: var(--nas-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.pcos-card {
    background-color: var(--nas-bg-light);
    border: 1px solid #e0f2ef;
}

.thyroid-card {
    background-color: var(--nas-white);
    border: 2px solid var(--nas-teal);
}

/* --- ROADMAP 3-COLUMN GRID (NEW - MATERNAL PAGE) --- */
.nas-roadmap {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    font-family: 'Inter', sans-serif;
}

.nas-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nas-roadmap .nas-card {
    background: var(--nas-white);
    padding: 40px 30px;
}

.nas-roadmap .nas-card:hover {
    border-color: var(--nas-teal);
}

.nas-roadmap .nas-card h3 {
    font-size: 1.4rem;
    border-bottom: 2px solid var(--nas-bg-light);
    padding-bottom: 15px;
}

.nas-roadmap .nas-card p strong {
    color: var(--nas-text-dark);
}

/* --- THE NAS FRAMEWORK GRID (PCOD PAGE) --- */
.nas-framework {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.framework-header {
    text-align: center;
    margin-bottom: 50px;
}

.framework-header h2 {
    color: var(--nas-teal-dark);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.framework-header p {
    color: var(--nas-text-light);
    font-size: 1.2rem;
}

.nas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.grid-item {
    background: var(--nas-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(28, 181, 158, 0.1);
}

.icon-circll {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
    color: var(--nas-teal);
}

.grid-item h4 {
    color: var(--nas-text-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.grid-item p {
    color: var(--nas-text-light);
    line-height: 1.6;
    font-size: 0.99rem;
}

/* --- SIGNATURE PROGRAM BANNERS --- */
.nas-signature-banner {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    font-family: 'Inter', sans-serif;
}

.banner-content {
    background: linear-gradient(135deg, var(--nas-teal-dark) 0%, var(--nas-teal) 100%);
    border-radius: 24px;
    padding: 70px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(28, 181, 158, 0.2);
}

.banner-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Base Banner Features (Pill layout) */
.banner-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* NEW: Banner Features Grid (Card layout for longer text) */
.banner-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card-dark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 16px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.btn-banner-cta {
    display: inline-block;
    background-color: #fff;
    color: var(--nas-teal-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-banner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* --- EXPERTS & FAQ --- */
.nas-experts-faq-wrapper {
    background-color: var(--bg-light);
    padding: 0 5% 80px 5%;
    max-width: 100%; /* Changed to 100% to make it full width */
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.nas-experts {
    text-align: center;
    margin-bottom: 80px;
}

.nas-experts h2 { color: var(--nas-teal-dark); font-size: 2.2rem; margin-bottom: 10px; }
.section-subtext { color: var(--nas-text-light); font-size: 1.1rem; margin-bottom: 40px; }

/* Forces exactly 3 columns in one row */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 30px;
}

/* Ensures it stacks neatly on mobile devices so it doesn't squish */
@media (max-width: 900px) {
    .expert-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* NEW: 4 Column Grid (Maternal Page) */
.expert-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.expert-card {
    background: var(--nas-white);
    padding: 25px 20px; /* Reduced padding from 40px to reduce overall card height */
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column; 
    align-items: center;
}

.expert-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.expert-avatar {
    width: 160px;  /* Reduced from 250px to make the card much shorter */
    height: 160px; /* Reduced from 250px */
    background-color: #e0f2ef;
    color: var(--nas-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto; /* Reduced bottom margin slightly */
    overflow: hidden;
}

/* This rule stays the same, keeping their faces framed correctly */
.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; 
}

/* Tweak avatar size slightly for 4-column layout */
.expert-grid-4 .expert-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.3rem;
}
.expert-grid-4 .expert-card { padding: 30px 20px; }

.expert-card h4 { color: var(--nas-text-dark); font-size: 1.2rem; margin-bottom: 5px; text-align: center; }
.expert-card h4 span { font-size: 0.9rem; color: var(--nas-text-light); font-weight: 400; display: block; margin-top: 4px; }
.expert-card p { color: var(--nas-text-light); line-height: 1.5; font-size: 0.95rem; margin: 0; text-align: center; }

/* --- NEW: View Profile Button Styles --- */
.view-profile-btn {
    background: linear-gradient(90deg, #114b5f 0%, #3db9be 100%);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 170px;
    transition: 0.3s;
}

.view-profile-btn:hover {
    background-color: var(--nas-teal-dark, #005959);
    color: #ffffff;
    transform: translateY(-2px); 
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large Tablets / Laptops */
@media (max-width: 1024px) {
    .nas-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .expert-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Standard Tablets */
@media (max-width: 992px) {
    .nas-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Small Tablets / Large Phones */
@media (max-width: 850px) {
    .nas-dual-tracks { flex-direction: column; }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .nas-philosophy h2 { font-size: 1.8rem; }
    .nas-quote { font-size: 1.3rem; }
    
    .nas-grid-3 { grid-template-columns: 1fr; }
    .expert-grid-4 { grid-template-columns: 1fr; }
    .banner-features-grid { grid-template-columns: 1fr; }
    
    .banner-content { padding: 50px 20px; }
    .banner-content h2 { font-size: 2rem; }
}

/* Small Mobile */
@media (max-width: 576px) {
    .nas-grid { grid-template-columns: 1fr; }
}

/* 3-Column Grid specifically for the Workouts Section */
.nas-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Ensuring the workout section fits the spacing perfectly */
.nas-workouts {
    padding-top: 40px;
    margin-bottom: 40px;
}

/* Responsive adjustments for the new 3-column grid */
@media (max-width: 992px) {
    .nas-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nas-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* next section */
.ic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ic-section-padding { padding: 100px 0; overflow: hidden; }
.ic-bg-muted { background-color: var(--bg-light); }

.ic-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--nas-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.ic-paragraph {
    color: var(--nas-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ic-gradient-text {
    background: linear-gradient(135deg, var(--nas-blue) 0%, var(--nas-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Reusable Primary Button */
.ic-primary-btn {
    background: linear-gradient(90deg, var(--nas-blue) 0%, var(--nas-teal) 100%);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--black);
    box-shadow: 4px 4px 0px var(--black);
    transition: var(--transition);
    margin-top: 15px;
}
.ic-primary-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px var(--black);
}
.ic-primary-btn svg { transition: transform 0.3s; }
.ic-primary-btn:hover svg { transform: translateX(5px); }

.ic-challenges-header { text-align: center; margin-bottom: 60px; }
.ic-challenges-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ic-challenge-card {
    background: var(--white); border: 2.5px solid var(--black); border-radius: 30px;
    padding: 40px; display: flex; align-items: flex-start; gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ic-challenge-card:hover { transform: translate(-5px, -5px); box-shadow: 10px 10px 0px var(--nas-teal); }
.ic-challenge-icon {
    width: 60px; height: 60px; background: #f0faff; color: var(--nas-teal);
    display: flex; align-items: center; justify-content: center; border-radius: 15px; flex-shrink: 0; padding: 15px;
}
.ic-challenge-icon svg { width: 100%; height: 100%; }
.ic-challenge-info h3 { font-size: 1.4rem; font-weight: 800; color: var(--nas-blue); margin-bottom: 12px; }
.ic-challenge-info p { color: var(--nas-text-light); line-height: 1.6; font-size: 1.05rem; margin: 0; }

@media (max-width: 968px) { .ic-challenges-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .ic-challenges-grid { grid-template-columns: 1fr; } .ic-challenge-card { padding: 25px; } }

.ic-transform-layout { display: flex; align-items: center; gap: 60px; flex-direction: row-reverse; }
.ic-transform-text { flex: 1; }
.ic-transform-img-col { flex: 1; position: relative; }

.ic-premium-img-reverse {
    width: 100%; border: 1.5px solid var(--black); display: block;
    object-fit: cover; aspect-ratio: 4/3; border-radius: 40px 120px 40px 120px;
}

.ic-transform-img-col::after {
    content: ''; position: absolute; top: 20px; left: -20px;
    width: 100%; height: 100%; border: 1.5px solid var(--nas-blue);
    border-radius: 40px 120px 40px 120px; z-index: -1;
}

.ic-floating-badge-right {
    position: absolute; bottom: -20px; right: -20px; background: var(--white);
    border: 1.5px solid var(--black); padding: 15px 25px; border-radius: 20px;
    z-index: 3; display: flex; align-items: center; gap: 15px;
    box-shadow: -8px 8px 0px var(--nas-teal); animation: icFloatRight 4s ease-in-out infinite;
    font-weight: 700; color: var(--nas-blue);
}

.ic-checklist { list-style: none; padding: 0; margin: 0; }
.ic-checklist li {
    margin-bottom: 20px; position: relative; padding-left: 35px;
    color: var(--nas-text-dark); line-height: 1.5; font-size: 1.05rem;
}
.ic-checklist li::before {
    content: ""; color: var(--white); background-color: var(--nas-teal);
    width: 20px; height: 20px; border-radius: 50%; position: absolute; left: 0; top: 2px;
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold;
}

@keyframes icFloatRight { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 968px) {
    .ic-transform-layout { flex-direction: column; }
    .ic-transform-img-col::after { display: none; }
}
@media (max-width: 768px) { .ic-floating-badge-right { padding: 10px 15px; font-size: 0.9rem; right: 0; } }

.ic-methods-header { text-align: center; margin-bottom: 50px; }
.ic-methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ic-method-card {
    background: var(--white); padding: 30px; border-radius: 16px;
    text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0; transition: transform 0.3s;
}
.ic-method-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(28, 181, 158, 0.1); }
.ic-method-icon {
    width: 70px; height: 70px; background-color: var(--bg-light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 20px auto; color: var(--nas-teal);
}
.ic-method-card h4 { color: var(--nas-text-dark); font-size: 1.2rem; margin-bottom: 15px; }
.ic-method-card p { color: var(--nas-text-light); line-height: 1.6; font-size: 0.99rem; }

@media (max-width: 968px) { .ic-methods-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .ic-methods-grid { grid-template-columns: 1fr; } }

.ic-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ic-step-card {
    background: var(--white); padding: 40px 30px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease; position: relative; overflow: hidden;
}
.ic-step-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--nas-blue), var(--nas-teal));
}
.ic-step-card:hover { transform: translateY(-5px); border-color: var(--nas-teal); }
.ic-step-card h3 { font-size: 1.4rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 15px; margin-bottom: 15px;}
.ic-step-num {
    width: 45px; height: 45px; background: var(--nas-teal); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem; margin-bottom: 20px;
    border: 2px solid var(--black); box-shadow: 3px 3px 0px var(--black);
}

@media (max-width: 968px) { .ic-process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .ic-process-grid { grid-template-columns: 1fr; } }

.ic-team-header { text-align: center; margin-bottom: 80px; }
.ic-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.ic-profile-card {
    background: var(--white); padding: 40px 30px; border-radius: 16px;
    border: 1px solid #eee; box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: box-shadow 0.3s;
}
.ic-profile-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.ic-profile-avatar {
    width: 80px; height: 80px; background-color: #e0f2ef; color: var(--nas-teal); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 20px auto;
}
.ic-profile-card h4 { color: var(--nas-text-dark); font-size: 1.2rem; margin-bottom: 10px; text-align: center;}
.ic-profile-card h4 span { font-size: 0.9rem; color: var(--nas-text-light); font-weight: 400; display: block; margin-top: 4px; }
.ic-profile-card p { color: var(--nas-text-light); line-height: 1.6; font-size: 0.99rem; margin: 0; text-align: center;}

.ic-faq-wrapper { max-width: 1000px; margin: 80px auto; padding: 0 20px; }
.ic-faq-box { 
    border: 1.5px solid var(--black); border-radius: 40px; padding: 60px; 
    background: var(--white); box-shadow: 15px 15px 0px var(--nas-teal); 
}
.ic-faq-box h2 { font-size: 3rem; font-weight: 800; margin-bottom: 40px; color: var(--nas-blue); text-align:center; }

.ic-faq-item { margin-bottom: 15px; background: var(--white); border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.ic-faq-item summary {
    padding: 20px 25px; font-weight: 600; font-size: 1.1rem; color: var(--nas-text-dark);
    cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
    transition: background-color 0.2s;
}
.ic-faq-item summary:hover { background-color: #f9f9f9; }
.ic-faq-item summary::-webkit-details-marker { display: none; }
.ic-faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--nas-teal); transition: transform 0.3s; }
.ic-faq-item[open] summary::after { transform: rotate(45deg); }
.ic-faq-content { padding: 0 25px 25px 25px; }
.ic-faq-content p { color: var(--nas-text-light); line-height: 1.7; margin: 0; border-top: 1px solid #eee; padding-top: 15px; }

@media (max-width: 768px) {
    .ic-faq-box { padding: 30px 20px; border-radius: 25px; box-shadow: 8px 8px 0px var(--nas-teal); }
    .ic-faq-box h2 { font-size: 2rem; margin-bottom: 25px; }
}

.ic-bento-contact {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr; /* Form is slightly wider */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ic-bento-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ic-bento-card {
    background: #fff;
    border: 1.5px solid var(--black);
    border-radius: 30px;
    padding: 40px;
    position: relative;
}

/* Form Card */
.form-card {
    box-shadow: 15px 15px 0px var(--nas-teal);
}

/* HQ Location Card (Replaces Map) */
.hq-card {
    background: #fff;
    color: white;
    overflow: hidden;
    box-shadow: 8px 8px 0px var(--nas-teal);
}
.hq-card .circle-decor {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.btn-directions {
    display: inline-block;
    background: white;
    color: var(--nas-blue);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    border: 1.5px solid var(--black);
    box-shadow: 4px 4px 0px var(--black);
    transition: transform 0.2s;
}
.btn-directions:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--black);
}

/* Directory Card */
.directory-card {
    box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
}
.dir-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}
.dir-row.no-border { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.dir-row span { font-weight: 700; color: var(--nas-text-dark); }
.dir-row a { color: var(--nas-teal); font-weight: 800; text-decoration: none; font-size: 1.1rem; }

/* Email Card */
.email-card {
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.email-row strong { color: var(--nas-text-dark); display: block; margin-bottom: 5px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;}
.email-row a { color: var(--nas-blue); text-decoration: none; font-weight: 700; font-size: 1.1rem; }

/* --- MODERN CF7 FORM STYLES --- */
.modern-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full-first { width: 100%; }
.form-group.half-width { width: calc(50% - 10px); }

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--nas-text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fafafa;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--nas-teal);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(38, 188, 154, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .ic-bento-contact { grid-template-columns: 1fr; }
    .form-group.half-width { width: 100%; }
    .ic-title { font-size: 2.5rem !important; }
}

/* 1. OVERLAY */
.mini-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    /* Removed the blur and lightened the shadow so the site is fully visible */
    background: rgba(0, 0, 0, 0.4); 
    z-index: 99999; display: flex; align-items: center; justify-content: center;
    padding: 15px; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.mini-modal-overlay.active { opacity: 1; visibility: visible; }

/* 2. THE WHITE BOX */
.mini-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 400px; /* Forces it to be narrow */
    max-height: 90vh; /* Prevents it from touching top/bottom of screen */
    overflow-y: auto; /* Allows tiny internal scrolling if on a very small phone */
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.mini-modal-overlay.active .mini-modal-content { transform: translateY(0); }

/* Hide scrollbar for cleaner look */
.mini-modal-content::-webkit-scrollbar { display: none; }

/* 3. DARK BLUE HEADER */
.mini-modal-header {
    background: linear-gradient(90deg, var(--nas-blue) 0%, var(--nas-teal) 100%);
    padding: 15px 20px; 
    display: flex; 
    justify-content: center; /* This perfectly centers the heading */
    align-items: center;
    position: sticky; 
    top: 0; 
    z-index: 10;
}
.mini-modal-header h4 { 
    margin: 0; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: white; 
    text-align: center; 
}
.mini-close-btn { 
    position: absolute; /* Takes the button out of flow so the text stays centered */
    right: 20px; 
    background: transparent; 
    border: none; 
    color: white; 
    font-size: 1.8rem; 
    line-height: 1; 
    cursor: pointer; 
    padding: 0; 
}
.mini-close-btn:hover { 
    color: var(--nas-teal, #38B2AC); 
}

/* 4. FORM INPUTS */
.mini-modal-body { padding: 25px; }
.mini-subtitle { font-size: 0.85rem; color: #666; margin-top: 0; margin-bottom: 20px; text-align: center; }
.stan-mini-form { display: flex; flex-direction: column; gap: 12px; }
.stan-mini-form .wpcf7-form-control-wrap { display: block; width: 100%; position: relative; }

.mini-input {
    width: 100%; padding: 12px 15px; border: 1.5px solid #e0e0e0;
    border-radius: 8px; font-size: 0.95rem; background: #fafafa;
    box-sizing: border-box; font-family: inherit;
}
.mini-input:focus { outline: none; border-color: var(--nas-teal, #38B2AC); background: #fff; }
select.mini-input { cursor: pointer; color: #444; }

/* 5. BUTTON & ERROR FIXES */
.submit-wrap { text-align: center; margin-top: 10px; }
.btn-mini-submit {
    background: linear-gradient(90deg, var(--nas-blue) 0%, var(--nas-teal) 100%); color: white; border: none; width: 100%;
    padding: 14px; border-radius: 30px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.2s;
}
.btn-mini-submit:hover { opacity: 0.9; transform: translateY(-2px); }

/* Floats errors so they don't break layout */
.stan-mini-form .wpcf7-not-valid-tip { position: absolute; bottom: 2px; right: 10px; font-size: 0.7rem; color: red; background: white; padding: 0 4px; }
.stan-mini-form .wpcf7-response-output { margin: 15px 0 0 0 !important; padding: 10px !important; font-size: 0.8rem; border-radius: 8px; border: 1px solid red; }

/* Core styling & Fixed Positioning */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;       
    right: 24px;        
    background-color: #25D366; 
    z-index: 9999;      
    transition: all 0.3s ease;
    
    /* --- NEW CSS FOR OVAL SHAPE --- */
    border-radius: 50px;         /* Creates the pill/oval shape */
    padding: 10px 20px;          /* Adds space inside so it forms a nice oval */
    display: flex;               /* Aligns the icon and text nicely */
    align-items: center;         /* Centers items vertically */
    gap: 8px;                    /* Adds space between the icon and text */
    text-decoration: none;       /* Removes the default link underline */
    color: white;                /* Ensures text is white */
}

/* Hides the entire WhatsApp button ONLY on mobile devices */
@media (max-width: 767px) {
    .whatsapp-fab {
        display: none !important;
    }
}

/* Hover effects */
.whatsapp-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.25) !important; 
    color: white; 
}

/* Sizing for the icon and text */
.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.whatsapp-text {
    font-size: 14px; 
    font-weight: 600; /* Makes text slightly bolder, easier to read */
}

/* Medium screen adjustments (making it slightly larger on desktop) */
@media (min-width: 768px) {
    .whatsapp-fab {
        bottom: 30px;
        right: 30px;
        padding: 12px 24px; /* Increases padding slightly on desktop */
    }
    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    .whatsapp-text {
        font-size: 16px; 
    }
}

/* ==========================================================================
   PREMIUM PSYCHOLOGIST PROFILE SECTION
   ========================================================================== */

.nas-premium-profile {
    padding: 80px 20px;
    background-color: var(--bg-light); /* Soft background to make the card pop */
   
}

/* The Main Outer Card */
.pro-wrapper-card {
    max-width: 950px;
    margin: 0 auto;
    background: var(--white);
    border: 1.5px solid var(--black);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 15px 15px 0px rgba(38, 188, 154, 0.15); /* Soft teal shadow */
}

/* Header Flexbox */
.pro-header-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1.5px solid #eee;
}

/* Image Styling with Theme Offset Shadow */
.pro-image-container {
    width: 200px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 30px;
    border: 2px solid var(--black);
    background: var(--white);
    box-shadow: 8px 8px 0px var(--nas-teal);
    overflow: hidden;
}

.pro-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Titles and Badges */
.pro-name {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--nas-blue);
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.1;
}

.pro-title {
    font-size: 1.4rem;
    color: var(--nas-text-dark);
    font-weight: 700;
    margin-bottom: 20px;
}

.pro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge-item {
    background: #f0f4f8;
    color: var(--nas-text-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #d1d9e0;
}

.badge-item.highlight {
    background: #e0f2ef; /* Light Teal */
    color: var(--nas-teal-dark);
    border-color: var(--nas-teal);
}

/* Bio Section */
.pro-bio-section {
    margin-bottom: 50px;
}

.lead-bio {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--nas-blue);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pro-bio-section p:not(.lead-bio) {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* --- BENTO GRID CARDS --- */
.pro-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pro-stack-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pro-info-card {
    background: var(--white);
    border: 1.5px solid var(--black);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px var(--nas-teal);
}

.card-gradient-head {
    background: linear-gradient(90deg, var(--nas-blue) 0%, var(--nas-teal) 100%);
    color: var(--white);
    padding: 16px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-bottom: 1.5px solid var(--black);
}

.card-content-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content-body.flex-center {
    align-items: center;
    text-align: center;
    gap: 10px;
}

/* Beautiful Checklist */
.pro-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pro-checklist li {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nas-text-dark);
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.pro-checklist li:last-child {
    margin-bottom: 0;
}

/* Custom Checkmark Icon */
.pro-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--nas-teal);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

/* Typography Inside Cards */
.bold-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--nas-text-dark);
    display: block;
}

.teal-text {
    color: var(--nas-teal-dark);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 968px) {
    .pro-wrapper-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .nas-premium-profile {
        padding: 40px 15px;
    }

    .pro-wrapper-card {
        padding: 30px 20px;
        border-radius: 30px;
        box-shadow: 8px 8px 0px rgba(38, 188, 154, 0.15);
    }

    .pro-header-flex {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .pro-badges {
        justify-content: center;
    }

    .pro-image-container {
        margin: 0 auto;
    }

    .pro-bento-grid {
        grid-template-columns: 1fr;
    }

    .lead-bio {
        font-size: 1.1rem;
    }
}