﻿:root {
    --bg: #0b0f19;
    --bg2: #0e1423;
    --panel: #121a2e;
    --panel2: #0f1627;
    --border: #2d3447;
    --text: #eaf1fa;
    --muted: #a3b7d8;
    --accent: #31c5f8;
    --primary: #33e27c;
    --shadow: 0 8px 28px rgba(0,0,0,.35), 0 6px 18px rgba(49,197,248,.08);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter,system-ui,"Poppins",sans-serif;
    line-height: 1.6
}

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

/* HERO */
.about-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1200px 520px at 0% 0%, rgba(49,197,248,.18), transparent 55%), radial-gradient(1200px 520px at 100% 0%, rgba(51,226,124,.15), transparent 60%), linear-gradient(180deg, rgba(14,20,35,.96), rgba(11,15,25,.96));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../Images/nurseAndBaby.jpg');
    background-size: cover;
    background-position: center;
    opacity: .14;
    mix-blend: screen;
    pointer-events: none
}

.hero-content {
    position: relative;
    padding: 44px 0 36px;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    text-align: center
}

    .hero-content h1 {
        font-size: clamp(28px,4.6vw,48px);
        font-weight: 900;
        margin: 0 0 12px;
        text-wrap: balance
    }

    .hero-content p {
        font-size: clamp(14px,1.6vw,18px);
        color: #cbdaf7;
        margin: 0
    }

/* METRICS */
.success-metrics {
    background: linear-gradient(180deg,var(--bg),var(--bg2));
    padding: 26px 0
}

.metrics-wrap {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px
}

.metric {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow)
}

.counter {
    font-weight: 900;
    font-size: clamp(24px,4.2vw,36px);
    color: var(--primary)
}

.metric p {
    margin: 6px 0 0 0;
    color: #cfe2ff;
    font-weight: 700
}

/* PROFILE */
.profile-section {
    padding: 30px 0
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: center
}

.profile-image {
    position: relative;
    min-width: 280px
}

    .profile-image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: var(--radius);
        box-shadow: var(--shadow)
    }

.experience-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align: center;
    background: linear-gradient(90deg,var(--accent),var(--primary));
    color: #0b1220;
    font-weight: 900;
    border: 1px solid #2ee78a;
    filter: drop-shadow(0 8px 22px rgba(0,0,0,.35));
    isolation: isolate;
    animation: badge-pop 3.8s ease-in-out infinite
}

    .experience-badge span {
        display: block;
        font-size: 30px;
        line-height: 20px;
    }

    .experience-badge p {
        margin: 4px 0 0 0;
        font-size: 10px;
        line-height: 1.1;
        color: #0b1220;
        opacity: .95;
        line-height:20px;
    }

    .experience-badge::before {
        content: "";
        position: absolute;
        inset: -8px;
        border-radius: inherit;
        background: radial-gradient(160px 160px at 50% 50%, rgba(49,197,248,.34), transparent 62%), radial-gradient(130px 130px at 50% 50%, rgba(51,226,124,.28), transparent 66%);
        filter: blur(12px);
        z-index: -1;
        animation: badge-breathe 2.8s ease-in-out infinite
    }

    .experience-badge::after {
        content: "";
        position: absolute;
        inset: -3px;
        border-radius: inherit;
        background: conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0) 0 20%, rgba(255,255,255,.55) 27%, rgba(255,255,255,0) 34%, rgba(49,197,248,.45) 40%, rgba(255,255,255,0) 55%, rgba(51,226,124,.45) 60%, rgba(255,255,255,0) 70%);
        filter: blur(6px) saturate(125%);
        mix-blend-mode: screen;
        animation: badge-sweep 5.6s linear infinite
    }

@keyframes badge-breathe {
    0%,100% {
        transform: scale(1);
        opacity: .95
    }

    50% {
        transform: scale(1.06);
        opacity: 1
    }
}

@keyframes badge-pop {
    0%,100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.03)
    }
}

@keyframes badge-sweep {
    to {
        transform: rotate(360deg)
    }
}

.profile-content h2 {
    margin: 0 0 6px;
    font-weight: 900
}

.profile-content .subtitle {
    margin: 0 0 10px;
    color: #cfe2ff;
    font-weight: 700
}

.profile-content p {
    margin: 0 0 10px;
    color: #cfe2ff
}

.education-list {
    margin-top: 10px
}

.education-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px
}

    .education-item img {
        width: 30px
    }

/* HISTORY */
.history-section {
    background: linear-gradient(180deg,var(--bg),var(--bg2));
    padding: 28px 0
}

.history-flex {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: center
}

.history-content h2 {
    margin: 0 0 10px;
    font-weight: 900
}

.timeline {
    margin-bottom: 12px
}

.timeline-item {
    display: flex;
    gap: 16px;
    margin-bottom: 10px
}

.year {
    min-width: 70px;
    font-weight: 900;
    color: var(--primary)
}

.event {
    color: #cfe2ff
}

.history-image {
    position: relative
}

    .history-image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        box-shadow: var(--shadow)
    }

.image-caption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0,0,0,.55);
    color: #eaf1fa;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.06)
}

/* SERVICES */
.services-section {
    padding: 28px 0
}

    .services-section h2 {
        text-align: center;
        margin: 0 0 6px;
        font-weight: 900
    }

.section-subtitle {
    text-align: center;
    color: #cfe2ff;
    margin: 0 0 10px
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 10px
}

.service-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(49,197,248,.14)
    }

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: #16213a;
    border: 1px solid var(--border)
}

    .service-icon img {
        width: 40px;
        height: 40px
    }

.service-card h3 {
    text-align: center;
    margin: 0 0 10px
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.service-card li {
    position: relative;
    padding-left: 18px;
    color: #cfe2ff;
    margin: 8px 0
}

    .service-card li:before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent)
    }

/* Aesthetic Spotlight */
.aesthetic-spotlight {
    margin-top: 16px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 16px;
    align-items: center;
    background: var(--panel2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow)
}

.aesthetic-shot {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden
}

    .aesthetic-shot img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: var(--radius);
        border: 1px solid var(--border)
    }

    .aesthetic-shot .shot-glow {
        position: absolute;
        inset: -10px;
        border-radius: inherit;
        pointer-events: none;
        filter: blur(20px);
        background: radial-gradient(360px 200px at 20% 20%, rgba(49,197,248,.28), transparent 60%),radial-gradient(360px 200px at 80% 80%, rgba(51,226,124,.22), transparent 60%)
    }

.aesthetic-copy h3 {
    margin: 0 0 8px;
    font-weight: 900
}

.aesthetic-copy p {
    margin: 0 0 10px;
    color: #cfe2ff
}

.aesthetic-copy ul {
    margin: 0 0 10px 18px;
    color: #cfe2ff
}

.aesthetic-copy .cta-inline {
    display: inline-block;
    margin-top: 4px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    border-bottom: 1px dashed var(--accent)
}

    .aesthetic-copy .cta-inline:hover {
        color: #79ffce;
        border-color: #79ffce
    }

/* GALLERY */
.gallery-section {
    background: linear-gradient(180deg,var(--bg),var(--bg2));
    padding: 28px 0
}

    .gallery-section h2 {
        text-align: center;
        margin: 0 0 6px;
        font-weight: 900
    }

    .gallery-section .section-subtitle {
        margin-bottom: 14px
    }

#myDiv {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 28px 0
}

    .testimonials-section h2 {
        text-align: center;
        margin: 0 0 6px;
        font-weight: 900
    }

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.testimonial {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    position: relative;
    box-shadow: var(--shadow)
}

.quote-icon {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 46px;
    color: rgba(255,255,255,.1);
    line-height: 1
}

.testimonial-text {
    margin: 0 0 12px;
    color: #eaf1fa
}

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

    .patient-info img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid var(--border)
    }

.patient-name {
    font-weight: 800
}

.patient-location {
    color: #9fb4da;
    font-size: 13px
}

/* CTA */
.cta-section {
    padding: 34px 0 46px;
    background: radial-gradient(600px 260px at 10% 10%, rgba(49,197,248,.18), transparent 55%),radial-gradient(520px 240px at 90% 0%, rgba(51,226,124,.14), transparent 60%),linear-gradient(180deg,#0f1322,#0b0f19);
    text-align: center;
    color: var(--text)
}

    .cta-section h2 {
        margin: 0 0 10px;
        font-weight: 900
    }

    .cta-section p {
        max-width: 720px;
        margin: 0 auto 16px;
        color: #cfe2ff
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.cta-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .23s ease
}

    .cta-button.primary {
        background: #eaf1fa;
        color: #0b1220
    }

        .cta-button.primary:hover {
            filter: brightness(0.96);
            transform: translateY(-1px)
        }

    .cta-button.secondary {
        background: transparent;
        color: #eaf1fa;
        border: 1.5px solid #eaf1fa
    }

        .cta-button.secondary:hover {
            background: #eaf1fa;
            color: #0b1220;
            transform: translateY(-1px)
        }

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.9)
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 90%;
    max-height: 90%
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 35px;
    cursor: pointer
}

/* Responsive */
@media (max-width: 992px) {
    .metrics-wrap {
        grid-template-columns: repeat(2,1fr)
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .history-flex {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 680px
    }
}

@media (max-width: 640px) {
    .about-hero {
        min-height: 360px
    }

    .hero-content {
        padding: 36px 0 28px
    }

    .metrics-wrap {
        grid-template-columns: 1fr
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .aesthetic-spotlight {
        grid-template-columns: 1fr
    }

    .experience-badge {
        width: 104px;
        height: 104px;
        top: -10px;
        right: -10px
    }
}

@media (prefers-reduced-motion: reduce) {
    .experience-badge,
    .experience-badge::before,
    .experience-badge::after {
        animation: none !important
    }
}
