@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark:        #070c14;
    --bg-surface:     #0d1522;
    --bg-card:        rgba(15, 23, 38, 0.72);
    --bg-card-hover:  rgba(20, 32, 52, 0.85);
    --bg-section:     rgba(11, 18, 30, 0.82);
    
    --primary:        #00d4aa;
    --primary-light:  #34ecc0;
    --primary-dim:    rgba(0, 212, 170, 0.12);
    --primary-glow:   rgba(0, 212, 170, 0.28);
    
    --secondary:      #0ea5e9;
    --secondary-dim:  rgba(14, 165, 233, 0.14);
    
    --accent-gold:    #f59e0b;
    --accent-gold-dim:rgba(245, 158, 11, 0.14);
    --accent-red:     #f43f5e;
    --accent-red-dim: rgba(244, 63, 94, 0.14);
    
    --text-main:      #f8fafc;
    --text-light:     #cbd5e1;
    --text-muted:     #8292a8;
    
    --font-heading:   'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --glass-border:   rgba(255, 255, 255, 0.08);
    --border-hover:   rgba(0, 212, 170, 0.35);
    
    --radius-lg:      16px;
    --radius-md:      10px;
    --radius-sm:      6px;
    
    --shadow-card:    0 10px 35px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    --shadow-glow:    0 0 25px rgba(0, 212, 170, 0.2);
    --transition:     all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ─── AMBIENT BACKGROUND GLOWS ──────────────── */
.ambient-glow {
    position: fixed;
    top: -25%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 68%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}
.ambient-glow-2 {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.10) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}

/* ─── TYPOGRAPHY ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--text-main);
    letter-spacing: -0.02em;
    font-weight: 700;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(110deg, #00d4aa 0%, #38bdf8 65%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

/* ─── LAYOUT & CONTAINERS ───────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ─── GLASS PANEL ───────────────────────────── */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

/* ─── MEDICAL DISCLAIMER BAR ───────────────── */
.disclaimer-bar {
    background: rgba(14, 165, 233, 0.08);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    padding: 8px 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.disclaimer-bar .badge-alert {
    background: rgba(244, 63, 94, 0.2);
    color: #fb7185;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}
.disclaimer-bar a {
    color: #38bdf8;
    text-decoration: underline;
    font-weight: 600;
}

/* ─── HEADER & NAVIGATION ───────────────────── */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: var(--transition);
    background: rgba(7, 12, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

header.scrolled {
    background: rgba(7, 12, 20, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 0.8rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.logo-badge {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 0.65rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -3px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #070c14;
    font-weight: 800;
    box-shadow: 0 0 18px var(--primary-glow);
    flex-shrink: 0;
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #070c14;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-links {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid rgba(0, 212, 170, 0.25);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
}

/* ─── BUTTONS ───────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00b894 100%);
    color: #070c14;
    box-shadow: 0 4px 16px var(--primary-glow);
    font-weight: 700;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.45);
    color: #070c14;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(0, 212, 170, 0.5);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--glass-border);
    color: var(--text-light);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

/* ─── MEDICAL BADGES & PILLS ────────────────── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: var(--primary-dim);
    color: var(--primary);
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.tag-blue {
    background: var(--secondary-dim);
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.35);
}

.tag-gold {
    background: var(--accent-gold-dim);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.35);
}

.tag-red {
    background: var(--accent-red-dim);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.35);
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7);
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 212, 170, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 170, 0);
    }
}

/* ─── HERO SECTION ──────────────────────────── */
.hero {
    min-height: 84vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
        linear-gradient(to right, var(--bg-dark) 42%, rgba(7, 12, 20, 0.85) 75%, rgba(7, 12, 20, 0.45) 100%),
        url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 720px;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ─── SECTION HEADERS ───────────────────────── */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-head-left .section-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--primary);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
}

/* ─── ARTICLE CARDS & GRID ─────────────────── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.8rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.card-img-wrap {
    overflow: hidden;
    height: 220px;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
}

.article-card:hover .card-img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    color: var(--text-main);
    transition: color 0.2s;
}

.article-card:hover .card-title {
    color: var(--primary);
}

.card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.68;
    margin-bottom: 1.2rem;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    border-top: 1px solid var(--glass-border);
}

.read-more {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more::after {
    content: '→';
    transition: transform 0.2s ease;
}

.article-card:hover .read-more::after {
    transform: translateX(4px);
}

/* ─── FEATURED DOSSIER CARD ────────────────── */
.featured-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    transition: var(--transition);
    box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.6);
}

.featured-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.featured-img-wrap {
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-img {
    transform: scale(1.04);
}

.featured-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.featured-excerpt {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.75;
}

/* ─── CLINICAL TABLES & LAB VALUES ──────────── */
.overview-table, .price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.overview-table th, .price-table th {
    text-align: left;
    padding: 1rem 1.4rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    background: rgba(0, 212, 170, 0.08);
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}

.overview-table td, .price-table td {
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.92rem;
    color: var(--text-light);
}

.overview-table tr:last-child td, .price-table tr:last-child td {
    border-bottom: none;
}

.overview-table tr:hover td, .price-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.t-bold {
    font-weight: 700;
    color: var(--text-main);
}

.t-green {
    color: var(--primary);
    font-weight: 700;
}

.t-gold {
    color: #fbbf24;
    font-weight: 700;
}

.t-red {
    color: #fb7185;
    font-weight: 700;
}

.t-muted {
    color: var(--text-muted);
    font-size: 0.84rem;
}

/* ─── MEDICAL INFO / CALLOUT BOXES ──────────── */
.editorial-note, .info-box {
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.3rem 1.6rem;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 1.6rem 0;
}

.editorial-note strong, .info-box strong {
    color: var(--text-main);
}

.warning-box {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.3rem 1.6rem;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 1.6rem 0;
}

.warning-box strong {
    color: #fbbf24;
}

.alert-box {
    background: rgba(244, 63, 94, 0.07);
    border: 1px solid rgba(244, 63, 94, 0.25);
    border-left: 4px solid var(--accent-red);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.3rem 1.6rem;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 1.6rem 0;
}

.alert-box strong {
    color: #fb7185;
}

.source-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.4rem;
    background: rgba(15, 23, 38, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

.source-strip span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.source-strip strong {
    color: var(--text-main);
    font-size: 0.84rem;
}

/* ─── FAQ ACCORDION ─────────────────────────── */
.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(0, 212, 170, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: var(--bg-card);
    border: none;
    cursor: pointer;
    padding: 1.2rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    gap: 1rem;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer-inner {
    padding: 1.2rem 1.6rem;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ─── NEWSLETTER / SUBSCRIPTION ─────────────── */
.newsletter-banner {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(0, 212, 170, 0.12) 100%);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
    max-width: 520px;
}

.newsletter-input {
    flex: 1;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 13px 22px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-input:focus {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.2);
}

/* ─── ARTICLE DETAIL PAGE ───────────────────── */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #38bdf8);
    z-index: 2000;
    transition: width 0.1s linear;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
    align-items: start;
}

.article-header {
    padding-top: 3rem;
    max-width: 880px;
    margin: 0 auto 2.5rem;
}

.article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
    display: block;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6);
}

.article-body {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.88;
}

.article-body p {
    margin-bottom: 1.6rem;
}

.article-body h2 {
    font-size: 1.65rem;
    color: var(--text-main);
    margin: 3rem 0 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.article-body h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 2rem 0 0.8rem;
}

.article-body ul, .article-body ol {
    padding-left: 1.6rem;
    margin-bottom: 1.6rem;
}

.article-body li {
    margin-bottom: 0.6rem;
}

.article-body strong {
    color: var(--text-main);
    font-weight: 600;
}

.article-body a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-body a:hover {
    color: var(--primary);
}

/* Sidebar Widgets */
.sidebar .widget {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    margin-bottom: 1.8rem;
}

.sidebar .widget h4 {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-doctor-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.sidebar-doctor-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    padding: 3px;
    background: var(--bg-surface);
}

.sidebar-link-list {
    list-style: none;
}

.sidebar-link-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}

.sidebar-link-list li:last-child {
    border-bottom: none;
}

.sidebar-link-list a {
    color: var(--text-light);
    transition: color 0.2s;
}

.sidebar-link-list a:hover {
    color: var(--primary);
}

/* ─── FILTER BAR & SEARCH ───────────────────── */
.filter-search-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.search-bar-wrap {
    width: 100%;
    max-width: 580px;
    position: relative;
}

.search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 14px 22px 14px 48px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

.filter-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-dim);
    border-color: rgba(0, 212, 170, 0.4);
    color: var(--primary);
}

/* ─── CONTACT & FORMS ───────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 13px 18px;
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.2);
}

select.form-control {
    cursor: pointer;
}
select.form-control option {
    background: #0d1522;
    color: var(--text-main);
}

.contact-info-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1.2rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.info-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-dim);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-info-item strong {
    font-size: 0.78rem;
    display: block;
    color: var(--primary);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-info-item span {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* ─── FOOTER ────────────────────────────────── */
footer {
    background: #05080e;
    border-top: 1px solid var(--glass-border);
    padding: 4.5rem 1.5rem 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0.8rem 0 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 1.8rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ─── BACK TO TOP ───────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), #00b894);
    color: #070c14;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99;
    box-shadow: 0 4px 18px var(--primary-glow);
}

#back-to-top:hover {
    transform: translateY(-3px);
}

/* ─── BREADCRUMB ────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-muted);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .sep {
    color: var(--glass-border);
}

/* ─── ANIMATIONS ────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; transition-delay: 0.4s; }

/* ─── RESPONSIVE BREAKPOINTS ────────────────── */
@media (max-width: 1024px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    .featured-img-wrap {
        height: 280px;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1.5rem;
        background: rgba(7, 12, 20, 0.97);
        backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--glass-border);
        gap: 0.4rem;
    }
    .nav-links.active {
        display: flex;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    .newsletter-banner {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
