/* ============================================================
   about.css  –  Dr. P R Krishnan "About Doctor" Page
   Pixel-perfect match to the reference design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── TOKENS ── */
:root {
    --navy: #142e42;
    --teal: #0a6676;
    --teal-dark: #084d59;
    --teal-light: #eef7fa;
    --muted: #5c7180;
    --line: #dce6eb;
    --card-bg: #f8fbfd;
    --card-bdr: #e0eaef;
    --radius: 10px;
    --sh-sm: 0 2px 12px rgba(14, 46, 66, .06);
    --sh-md: 0 8px 28px rgba(14, 46, 66, .1);
}

/* ── RESET / BASE ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--navy);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

p {
    margin: 0;
}

em {
    font-style: normal;
    color: var(--teal);
}

/* ── LAYOUT ── */
.wrap {
    width: min(1232px, calc(100% - 80px));
    margin: auto;
}

/* ── TOP BAR ── */
.topline {
    background: var(--navy);
    color: #d4e1e9;
    font-size: 12px;
    letter-spacing: .04em;
    padding: 9px 0;
}

.topline .wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5edf1;
}

.navrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-brand {
    gap: 0;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity .2s;
}

.logo-img:hover {
    opacity: 0.85;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 260px;
}

nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

nav a {
    padding: 32px 0;
    position: relative;
    transition: color .2s;
}

nav a:hover,
nav a.active {
    color: var(--teal);
}

nav a.active:after,
nav a.active::after {
    position: absolute;
    content: '';
    bottom: 20px;
    width: 100%;
    height: 2px;
    background: var(--teal);
    left: 0;
}

/* Button components */
.button,
.btn {
    background: var(--teal);
    color: white;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    text-decoration: none;
}

.button:hover,
.btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(9, 101, 119, 0.25);
    color: white;
}

.button span,
.btn span {
    font-size: 16px;
    font-weight: 400;
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
}

.btn-outline:hover {
    background: var(--teal-light);
}

.btn-white {
    background: #fff;
    color: var(--teal-dark);
    border: 1.5px solid #fff;
}

.btn-white:hover {
    background: #e5f4f8;
    color: var(--navy);
    border-color: #e5f4f8;
}

.navcta {
    padding: 10px 16px;
    font-size: 13px;
    flex-shrink: 0;
}

/* Mobile menu toggle */
.menu {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    color: var(--navy);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ── BREADCRUMB ── */
.breadcrumb-bar {
    background: #f4f8fb;
    border-bottom: 1px solid #e0eaef;
    padding: 9px 0;
    font-size: 12.5px;
    color: var(--muted);
}

.breadcrumb-bar a {
    color: var(--teal);
}

.breadcrumb-bar a:hover {
    text-decoration: underline;
}

.breadcrumb-bar span>span {
    font-weight: 500;
    color: var(--navy);
}

/* ── HERO IMAGE SLIDER ── */
.about-hero-slider-section {
    background: linear-gradient(108deg, #eef6fa 0%, #e6f1f7 45%, #d8ecf5 100%);
    padding: 36px 0;
    overflow: hidden;
}

.hero-image-slider {
    position: relative;
    width: 100%;
    max-width: 1160px;
    height: 480px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(20, 46, 66, 0.12);
    background: #0d2232;
    outline: none;
}

.hero-image-slider:focus-visible {
    box-shadow: 0 0 0 3px var(--teal), 0 12px 35px rgba(20, 46, 66, 0.12);
}

.slider-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.35, 1);
    will-change: transform;
}

.slide-item {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-item .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transform: scale(1);
    transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item.active .slide-img {
    transform: scale(1.04);
}

/* Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.slider-nav-btn:hover {
    background: #ffffff;
    color: var(--teal);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.slider-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.slider-nav-btn.prev-btn {
    left: 20px;
}

.slider-nav-btn.next-btn {
    right: 20px;
}

/* Dots / Indicators */
.slider-dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(14, 30, 43, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.slider-dot.active {
    width: 26px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
    .hero-image-slider {
        height: 380px;
    }

    .slider-nav-btn {
        width: 42px;
        height: 42px;
    }

    .slider-nav-btn.prev-btn {
        left: 12px;
    }

    .slider-nav-btn.next-btn {
        right: 12px;
    }
}

@media (max-width: 600px) {
    .about-hero-slider-section {
        padding: 20px 0;
    }

    .hero-image-slider {
        height: 260px;
        border-radius: 12px;
    }

    .slider-nav-btn {
        width: 36px;
        height: 36px;
    }

    .slider-dots-container {
        bottom: 12px;
        padding: 6px 10px;
        gap: 6px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 20px;
    }
}

/* ── HERO ── */
.about-hero {
    background: linear-gradient(108deg, #eef6fa 0%, #e6f1f7 45%, #d8ecf5 100%);
    padding: 52px 0 36px;
    overflow: hidden;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 52px;
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--teal);
    margin-bottom: 14px;
}

.eyebrow-line {
    width: 26px;
    height: 1px;
    background: var(--teal);
}

.about-hero-copy h1 {
    font-size: clamp(30px, 3.6vw, 48px);
    letter-spacing: -1.8px;
    line-height: 1.13;
    margin-bottom: 14px;
    color: var(--navy);
}

.hero-sub {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 26px;
    max-width: 460px;
}

.hero-actions {
    margin-bottom: 30px;
}

/* Three trust-badges below the CTA */
.hero-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid #cddee8;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--navy);
    font-weight: 500;
}

.badge-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #ccdee8;
    border-radius: 7px;
    box-shadow: var(--sh-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* Doctor photo card */
.about-hero-visual {
    flex-shrink: 0;
    width: 320px;
}

.hero-photo-card {
    position: relative;
    background: #c5dce7;
    border-radius: 100px 12px 12px 12px;
    overflow: hidden;
    height: 390px;
    box-shadow: var(--sh-md);
}

.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* "Healthy Brains Brighter Lives" badge – top right */
.hero-tagline-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 9px;
    padding: 9px 13px;
    font-size: 10px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.5;
    text-align: right;
    font-style: italic;
}

/* Name tag at bottom */
.hero-name-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(12, 44, 62, .94));
    padding: 36px 16px 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.name-tag-text strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.name-tag-text span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 10.5px;
    margin-top: 2px;
}

.nano-badge {
    background: #fff;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 4px 9px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ── STATS BAR ── */
.about-stats {
    background: var(--navy);
    padding: 24px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    color: #fff;
}

.stat-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.stat-content strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.stat-content span {
    display: block;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .55);
    margin-top: 2px;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, .15);
}

/* ── SHARED SECTION STYLES ── */
.section-block {
    padding: 68px 0;
    border-bottom: 1px solid #ebf1f5;
}

.section-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8da5b2;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-num {
    color: var(--teal);
}

h2 {
    font-size: clamp(24px, 2.8vw, 34px);
    letter-spacing: -1px;
    line-height: 1.22;
    color: var(--navy);
    margin-bottom: 18px;
}

/* ── 01  THE DOCTOR ── */
/* ── 01  THE DOCTOR (Zoomed Out / Refined Scale) ── */
#the-doctor {
    padding: 44px 0;
}

#the-doctor .section-two-col {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 36px;
    align-items: center;
}

#the-doctor .doctor-image-showcase {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

#the-doctor .doctor-image-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(14, 30, 43, 0.1);
    border: 1px solid #e1ecf2;
    background: #ebcc9e;
    display: flex;
    align-items: center;
    justify-content: center;
}

#the-doctor .doctor-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}

#the-doctor .doctor-showcase-img:hover {
    transform: scale(1.03);
}

#the-doctor .doctor-bio-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

#the-doctor .bio-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #edf3f6;
}

#the-doctor .bio-avatar {
    width: 56px;
    height: 56px;
}

#the-doctor .bio-title h3 {
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

#the-doctor .bio-role {
    font-size: 12px;
    color: var(--teal);
    font-weight: 600;
}

#the-doctor .bio-text p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

#the-doctor .bio-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    #the-doctor .section-two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #the-doctor .doctor-image-frame {
        height: 380px;
        max-width: 100%;
    }
}

.section-left h2 {
    font-size: clamp(26px, 2.8vw, 38px);
    margin-bottom: 20px;
}

.section-rule {
    width: 36px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    margin: 18px 0 20px;
}

.doctor-quote {
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
}

.doctor-quote p {
    font-size: 13.5px;
    font-style: italic;
    color: #3c5462;
    line-height: 1.7;
    margin-bottom: 10px;
}

.doctor-quote footer {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal);
}

/* Bio card – right column */
.doctor-bio-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf3f6;
}

.bio-avatar {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--teal-light);
}

.bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.bio-title h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.4px;
    margin-bottom: 3px;
}

.bio-role {
    font-size: 12.5px;
    color: var(--teal);
    font-weight: 600;
}

.bio-text p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

.clinic-intro {
    font-size: 14px;
    color: #425a68;
    line-height: 1.65;
    margin-bottom: 16px !important;
}

.clinic-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid #edf3f6;
}

.clinic-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f7fafc;
    border: 1px solid #e2ebf0;
    border-radius: 9px;
    transition: all 0.22s ease;
}

.clinic-feature-item:hover {
    background: #eef7fa;
    border-color: #cde4ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 118, 0.08);
}

.clinic-feature-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1.5px solid #d4e5ee;
    border-radius: 8px;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(14, 46, 66, 0.05);
}

.clinic-feature-content strong {
    display: block;
    font-size: 13px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}

.clinic-feature-content span {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.45;
}

.clinic-footer-note {
    font-size: 12.5px;
    color: var(--teal-dark);
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    padding: 10px 14px;
    border-radius: 0 7px 7px 0;
    margin-top: 16px !important;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .clinic-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ── 02  EDUCATION ── */
.education-section {
    background: #f7fbfd;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.edu-header-left h2 {
    margin-bottom: 0;
}

.edu-quote-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0f7fa;
    border: 1px solid #cddfe9;
    color: var(--navy);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-style: italic;
    line-height: 1.55;
    max-width: 240px;
    flex-shrink: 0;
    align-self: flex-start;
    box-shadow: var(--sh-sm);
}

.edu-badge-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

/* Timeline */
.timeline-wrap {
    position: relative;
    padding-top: 4px;
}

.timeline-line {
    position: absolute;
    /* sits exactly at the centre of the dot:
       year-label (22px) + gap (8px) + half-dot (7px) = 37px
       plus the 4px padding-top on .timeline-wrap */
    top: 37px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal);
    z-index: 0;
}

.timeline-entries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.timeline-entry {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal);
    border: 3px solid #f7fbfd;
    box-shadow: 0 0 0 2px var(--teal);
    flex-shrink: 0;
    /* line sits at 37px from top (see .timeline-line) */
}

.timeline-year-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.3;
    height: 22px;
    display: flex;
    align-items: center;
}

.timeline-card {
    background: #fff;
    border: 1px solid var(--card-bdr);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: var(--sh-sm);
    flex: 1;
}

.timeline-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}

.timeline-card span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

/* ── 02 CONDITIONS TREATED ── */
.conditions-section {
    position: relative;
    overflow: hidden;
    background-color: #f2f7fa;
    border-top: 1px solid #e1edf2;
    border-bottom: 1px solid #e1edf2;
    padding: 56px 0 60px;
}

.conditions-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/1.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.conditions-section .wrap {
    position: relative;
    z-index: 1;
}

.conditions-box {
    margin-top: 8px;
}

.conditions-title {
    margin-top: 6px;
    margin-bottom: 24px;
    color: var(--navy);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.conditions-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin-bottom: 26px;
}

.condition-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e8f0;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(14, 30, 43, 0.04);
    transition: all 0.22s ease;
    cursor: default;
}

.condition-pill:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: var(--teal);
    box-shadow: 0 6px 16px rgba(13, 110, 110, 0.12);
}

.condition-pill.full-width-pill {
    width: 100%;
    border-radius: 12px;
    padding: 12px 20px;
}

.pill-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.1px;
}

/* Diagnostic Tests Card */
.diagnostic-tests-card {
    background: linear-gradient(135deg, #0e2433 0%, #0d6e6e 100%);
    border-radius: 12px;
    padding: 18px 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 6px 20px rgba(13, 110, 110, 0.2);
    margin-top: 10px;
}

.tests-badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tests-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4de7c7;
    box-shadow: 0 0 8px #4de7c7;
}

.tests-text {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    flex: 1;
}

.tests-text strong {
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .conditions-pills-list {
        gap: 10px;
    }

    .condition-pill {
        width: 100%;
        border-radius: 12px;
        padding: 12px 16px;
    }

    .diagnostic-tests-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
}

/* ── 03  EXPERTISE ── */
.expertise-section {
    background: #fff;
}

.expertise-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.expertise-header-row h2 {
    flex: 1;
    min-width: 280px;
    margin: 0;
}

.expertise-quote-image-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 240px;
    width: 100%;
    flex-shrink: 0;
}

.expertise-quote-img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .expertise-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .expertise-quote-image-wrap {
        justify-content: flex-start;
        max-width: 200px;
    }

    .expertise-quote-img {
        max-width: 200px;
    }
}

/* 3 main expertise cards */
.expertise-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 26px;
}

.expertise-card {
    background: var(--card-bg);
    border: 1px solid var(--card-bdr);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: #8cc1d0;
}

.exp-icon {
    font-size: 20px;
    width: 44px;
    height: 44px;
    background: var(--teal-light);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--teal);
    /* Use SVG-safe font rendering */
    line-height: 1;
}

.expertise-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.2px;
}

.expertise-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* Other areas row */
.other-areas {
    background: #f4f9fb;
    border: 1px solid #daeaf1;
    border-radius: 8px;
    padding: 18px 22px;
}

.other-areas-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #7896a5;
    margin-bottom: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.other-areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.other-area-item {
    display: inline-flex;
    align-items: center;
    font-size: 12.5px;
    color: var(--navy);
    font-weight: 500;
    background: #fff;
    border: 1px solid #d5e8f0;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background .15s, border-color .15s, color .15s;
    cursor: default;
    /* hide the emoji icon */
}

.other-area-item:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

/* hide the colourful emoji spans */
.other-icon {
    display: none;
}

/* ── 04  RESEARCH ── */
.research-section {
    background: #f5f9fb;
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

/* Three stacked brain images */
.research-images {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 6px;
    align-items: end;
}

.research-img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: 6px;
}

.research-img-tall {
    height: 190px;
}

.research-img-label {
    grid-column: 1 / -1;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #8da5b0;
    text-align: center;
    margin-top: 6px;
}

.research-content h2 {
    margin-bottom: 20px;
}

.research-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--card-bdr);
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--sh-sm);
    margin-bottom: 14px;
}

.research-icon-box {
    font-size: 22px;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--teal-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-feature p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

.research-note {
    font-size: 12.5px;
    color: #8da5b0;
    font-style: italic;
}

/* ── 05  LANGUAGES ── */
.languages-section {
    background: #fff;
}

.languages-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.languages-copy h2 {
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -1.4px;
}

.languages-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lang-divider-line {
    width: 36px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
}

.lang-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lang-pill {
    background: #f0f7fa;
    border: 1px solid #c8dde9;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 24px;
    transition: background .15s, border-color .15s, color .15s;
    cursor: default;
}

.lang-pill:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

/* ── CTA BANNER ── */
.cta-banner {
    background: var(--navy);
    padding: 38px 0;
    border-bottom: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.cta-brain-icon {
    font-size: 28px;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .14);
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
    font-style: normal;
    line-height: 1;
}

.cta-left h2 {
    font-size: 19px;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -.3px;
}

.cta-left p {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.cta-btn {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35);
    padding: 12px 22px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background .18s, border-color .18s;
    flex-shrink: 0;
    white-space: nowrap;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .6);
}

/* ── FOOTER ── */
footer {
    background: #fcfdfe;
    border-top: 1px solid #e2eaee;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 32px;
    padding: 50px 0 36px;
}

.footer-main h3 {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.footer-main>div>a:not(.logo-brand) {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    transition: color .18s;
}

.footer-main>div>a:not(.logo-brand):hover {
    color: var(--teal);
}

.footer-main p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    line-height: 1.65;
}

.footer-about p {
    margin-top: 12px;
}

.footer-tagline {
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    color: var(--teal);
    line-height: 1.6;
    margin-top: 8px;
}

.footer-book-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    background: var(--teal) !important;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    transition: background .18s;
}

.footer-book-btn:hover {
    background: var(--teal-dark) !important;
}

.footer-note {
    font-size: 11.5px !important;
    color: #8eaabc !important;
    line-height: 1.5 !important;
}

.footer-bottom {
    border-top: 1px solid #dde7ec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: #7a8e99;
    padding: 18px 0;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

.footer-bottom-links a {
    font-size: 11.5px;
    color: #7a8e99;
    transition: color .18s;
}

.footer-bottom-links a:hover {
    color: var(--teal);
}

.footer-bottom span a {
    color: var(--teal);
    text-decoration: underline;
    font-weight: 600;
    transition: color .18s;
}

.footer-bottom span a:hover {
    color: var(--navy);
}

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
    .wrap {
        width: calc(100% - 48px);
    }

    .about-hero-inner {
        gap: 30px;
    }

    .about-hero-visual {
        width: 280px;
    }

    .section-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .research-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .languages-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .edu-header {
        flex-direction: column;
    }

    .expertise-header-row {
        flex-direction: column;
        gap: 12px;
    }

    .expertise-desc {
        max-width: none;
    }

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

@media (max-width: 768px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .topline .wrap {
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }

    .navrow {
        min-height: 68px;
    }

    .logo-img {
        height: 70px;
    }

    .menu {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 20px 20px;
        box-shadow: 0 14px 22px rgba(21, 59, 67, .13);
        border-bottom: 1px solid #e0eaef;
        z-index: 100;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 10px 0;
        border-bottom: 1px solid #edf2f6;
        font-size: 14px;
    }

    nav a.active::after {
        display: none;
    }

    .navcta {
        display: none;
    }

    .about-hero {
        padding: 32px 0 26px;
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .about-hero-visual {
        width: 100%;
        max-width: 340px;
        margin: auto;
    }

    .hero-photo-card {
        height: 320px;
        border-radius: 70px 10px 10px 10px;
    }

    .about-hero-copy h1 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .section-block {
        padding: 46px 0;
    }

    h2 {
        font-size: 22px;
    }

    .doctor-bio-card {
        padding: 20px 16px;
    }

    .timeline-entries {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .timeline-line {
        display: none;
    }

    .expertise-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .research-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cta-left h2 {
        font-size: 17px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-visual {
        max-width: 100%;
    }

    .expertise-header-row h2 {
        font-size: 20px;
    }

    .timeline-entries {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}