/* =========================================
   1. NAVBAR
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    z-index: 1001;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--primary-color);
    color: #fff !important; 
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

body.menu-open .mobile-menu {
    transform: translateY(0);
}

body.menu-open .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

body.menu-open .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

body.menu-open .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}


/* =========================================
   2. HERO SECTION
   ========================================= */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 100vh;
    padding-top: 140px;
    align-items: center;
    gap: 50px;
}

.label {
    display: inline-block;
    background: var(--soft-accent);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 25px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--primary-color);
    opacity: 0.3;
    z-index: -1;
    transform: skewX(-10deg);
}

.sub-head {
    font-size: 1.15rem;
    color: var(--text-grey);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 480px;
}

.action-group {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-main {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 109, 91, 0.3);
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 109, 91, 0.4);
}

.hero-visual {
    position: relative;
    height: 600px;
    width: 100%;
}

.image-collage {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.collage-item.main {
    grid-row: span 2;
}

.collage-item.main img {
    border-radius: 150px 150px 20px 20px;
}

.collage-item.secondary img {
    border-radius: 20px;
}

.blob {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    background: var(--soft-accent);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.8;
}

.float-card {
    position: absolute;
    bottom: 40px;
    left: -20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

.check-circle {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}


/* =========================================
   3. SERVICES (Simple & Premium)
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-grey);
    border: 1px solid var(--border-color);
    padding: 40px;
    transition: 0.3s ease;
    position: relative;
    border-radius: 12px;
}

/* Premium Top Line Effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-color);
    transition: 0.4s ease;
    border-radius: 12px 12px 0 0;
}

.service-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-grey);
    font-weight: 300;
}

.service-link {
    margin-top: 25px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================
   4. PRICING (Indian Budget)
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: center;
}

.p-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.p-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Popular Card */
.p-card.popular {
    background: #fff;
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 109, 91, 0.1);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
}

.price-area {
    display: flex;
    align-items: baseline;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.currency {
    font-family: sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-right: 4px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    color: #888;
    font-size: 0.9rem;
    margin-left: 8px;
}

.desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    height: 40px;
}

.features {
    list-style: none;
    margin: 0 0 30px 0;
    border-top: 1px solid #eee;
    padding-top: 25px;
    flex-grow: 1;
}

.features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
}

.btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #eee;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-fill {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-fill:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}


/* =========================================
   5. REVIEWS (Google Style)
   ========================================= */
.google-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.rating-score {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.rating-stars {
    color: #FBBC05;
    letter-spacing: 2px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.g-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.g-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.g-user {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.g-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee;
    object-fit: cover;
}

.g-meta h4 {
    margin: 0;
    font-size: 0.95rem;
}

.g-meta span {
    font-size: 0.8rem;
    color: var(--text-grey);
}

.g-stars {
    color: #FBBC05;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.g-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}


/* =========================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .hero {
        gap: 30px;
    }

    .hero-visual {
        height: 500px;
    }

    .collage-item.main img {
        border-radius: 100px 100px 20px 20px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 40px;
        gap: 50px;
        min-height: auto;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .action-group {
        justify-content: center;
        width: 100%;
    }

    .btn-main {
        width: 100%;
    }

    .hero-visual {
        height: 350px;
    }

    .image-collage {
        gap: 10px;
        grid-template-columns: 1.5fr 1fr;
    }

    .float-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 90%;
        animation: none;
    }

    .pricing-grid {
        gap: 40px;
    }

    .p-card.popular {
        transform: scale(1);
        order: -1;
    }

    .google-header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
}

.med-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.med-section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.med-section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.med-section-header p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* --- SECTION 1: WHY CHOOSE US CSS --- */
.why-choose-us {
    padding: 6rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--primary-glow);
    border-color: var(--soft-accent);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--soft-accent);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* --- SECTION 2: GALLERY CSS --- */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--soft-accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

/* First child spans 2 rows and columns */
.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 109, 91, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

/* --- SECTION 3: DOCTORS CSS --- */
.doctors-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.doctors-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius);
    width: 320px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.doc-image-wrap {
    height: 280px;
    width: 100%;
    background-color: #eee;
    position: relative;
}

.doc-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.doc-info {
    padding: 1.5rem;
    text-align: center;
}

.doc-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.doc-name {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.doc-info p {
    color: var(--text-grey);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.doc-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
    cursor: pointer;
}

.doc-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: auto;
        height: 300px;
    }
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .med-section-header h2 { font-size: 2rem; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item:first-child {
        grid-column: span 1;
    }
    
    .doctors-grid {
        flex-direction: column;
        align-items: center;
    }
    .doctor-card {
        width: 100%;
        max-width: 320px;
    }
}

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .subtitle {
            color: var(--text-grey);
            font-size: 1.125rem;
        }

        /* =========================================
           1. FAQ SECTION STYLES
           ========================================= */
        .faq-section {
            padding: 7rem 0;
            background: var(--white);
        }

        .faq-grid {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        details {
            background: var(--white);
            border: 1px solid rgba(0, 109, 91, 0.1);
            border-radius: var(--border-radius);
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        details:hover {
            border-color: var(--primary-glow);
            box-shadow: 0 8px 24px rgba(0, 109, 91, 0.08);
            transform: translateY(-2px);
        }

        details[open] {
            border-color: var(--primary-color);
            background: var(--soft-accent);
        }

        summary {
            padding: 1.75rem;
            cursor: pointer;
            font-weight: 600;
            font-size: 1.1rem;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-dark);
        }

        summary::-webkit-details-marker { display: none; }

        summary::after {
            content: '+';
            font-size: 1.75rem;
            color: var(--primary-color);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            line-height: 0;
        }

        details[open] summary::after {
            transform: rotate(45deg);
        }

        .faq-content {
            padding: 0 1.75rem 1.75rem 1.75rem;
            color: var(--text-grey);
            font-size: 1rem;
            line-height: 1.7;
            opacity: 0.9;
        }

        /* =========================================
           2. IMMERSIVE CONTACT SECTION (WITH FORM)
           ========================================= */
        .contact-section-immersive {
            position: relative;
            /* Taller height to accommodate the form */
            min-height: 750px; 
            width: 100%;
            display: flex;
            align-items: center;
            padding: 4rem 0;
        }

        /* Map Background */
        .map-background-fullscreen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .map-background-fullscreen iframe {
            width: 100%;
            height: 100%;
            border: 0;
            filter: grayscale(100%) contrast(1.1) brightness(0.9);
            transition: filter 0.5s ease;
        }

        .contact-section-immersive:hover .map-background-fullscreen iframe {
             filter: grayscale(20%) contrast(1) brightness(1);
        }

        /* Floating Card Container */
        .contact-floating-card {
            position: relative;
            z-index: 3;
            background: var(--white);
            border-radius: 24px;
            /* Wider max-width for side-by-side layout */
            max-width: 1000px; 
            width: 100%;
            margin: 0 auto;
            box-shadow: 0 25px 50px -12px var(--primary-glow), 0 0 0 1px rgba(0, 109, 91, 0.05);
            display: grid;
            grid-template-columns: 1fr 1.2fr; /* Info takes less space, form takes more */
            overflow: hidden;
        }

        /* Left Side: Info */
        .contact-info-side {
            padding: 3rem;
            background: var(--soft-accent);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .contact-info-side h2 {
            margin-bottom: 2rem;
            font-size: 2rem;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 1.25rem;
            margin-bottom: 2rem;
        }

        .icon-box {
            width: 44px;
            height: 44px;
            background: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.25rem;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }

        .info-content h4 {
            margin: 0 0 0.25rem 0;
            font-size: 1.05rem;
            font-weight: 700;
        }

        .info-content p {
            margin: 0;
            color: var(--text-grey);
            font-size: 0.95rem;
        }

        /* Right Side: Form */
        .contact-form-side {
            padding: 3rem;
            background: var(--white);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text-dark);
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #eee;
            border-radius: 8px;
            font-family: var(--font-main);
            font-size: 1rem;
            transition: all 0.2s;
            background: #fafafa;
        }

        .form-input:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: var(--white);
            box-shadow: 0 0 0 4px var(--primary-glow);
        }

        .form-textarea {
            resize: vertical;
            min-height: 120px;
        }

        .submit-btn {
            background-color: var(--primary-color);
            color: var(--white);
            border: none;
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            width: 100%;
        }

        .submit-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -5px var(--primary-glow);
        }

        /* =========================================
           3. FOOTER SECTION STYLES
           ========================================= */
        .site-footer {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 6rem 0 2rem;
            position: relative;
            overflow: hidden;
        }

        .footer-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            opacity: 0.4;
            background-image: 
                radial-gradient(circle at 90% 10%, var(--soft-accent) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(0, 85, 71, 0.8) 0%, transparent 50%);
        }

        .site-footer .container {
            position: relative;
            z-index: 2;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 4rem;
            margin-bottom: 5rem;
        }

        .footer-brand h3 {
            font-size: 1.75rem;
            margin-bottom: 1.25rem;
        }

        .footer-brand p {
            opacity: 0.85;
            font-size: 1rem;
            max-width: 320px;
        }

        .footer-col h4 {
            font-size: 1.1rem;
            margin-bottom: 1.75rem;
            font-weight: 600;
            text-transform: uppercase;
            opacity: 0.9;
            letter-spacing: 0.05em;
        }

        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 1rem; }
        .footer-links a {
            color: rgba(255,255,255,0.75);
            text-decoration: none;
            transition: all 0.2s;
            display: inline-block;
        }

        .footer-links a:hover {
            color: var(--white);
            transform: translateX(5px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.15);
            padding-top: 2.5rem;
            text-align: center;
            font-size: 0.9rem;
            opacity: 0.7;
        }

        /* Responsive Breakpoints */
        @media (max-width: 968px) {
            .contact-floating-card {
                grid-template-columns: 1fr;
            }
            .contact-info-side {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 2rem;
                padding: 2rem;
            }
            .info-item { margin-bottom: 0; width: 45%; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 700px) {
            .contact-info-side { flex-direction: column; }
            .info-item { width: 100%; margin-bottom: 1.5rem; }
            .footer-grid { grid-template-columns: 1fr; }
            h2 { font-size: 2rem; }
            .contact-form-side { padding: 2rem; }
        }
             .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }

        /* =========================================
   SINGLE DOCTOR PROFILE STYLES
   ========================================= */

.profile-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-grey) 100%);
    overflow: visible; /* Allows badge to float */
}

.profile-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Image slightly smaller than text */
    gap: 80px;
    align-items: center;
}

/* --- VISUAL SIDE --- */
.profile-visual {
    position: relative;
}

.img-frame {
    width: 100%;
    height: 600px;
    border-radius: 200px 200px 20px 20px; /* Arch shape */
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 60, 50, 0.1);
    border: 5px solid white;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Subtle Zoom on Hover */
.profile-visual:hover .img-frame img {
    transform: scale(1.05);
}

/* Floating Glass Badge */
.exp-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    animation: float 5s ease-in-out infinite;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
}

/* --- TEXT SIDE --- */
.profile-content h2 {
    font-size: 3.5rem;
    margin: 15px 0 5px 0;
    line-height: 1;
    color: var(--text-dark);
}

.qualifications {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bio {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 40px;
    border-left: 3px solid var(--soft-accent);
    padding-left: 25px;
}

.bio strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Specs Grid */
.specs-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.spec-icon {
    font-size: 1.2rem;
}

/* Actions & Signature */
.profile-actions {
    display: flex;
    align-items: center;
}