/* ===================================
   CSS Variables - Premium Theme
   =================================== */
:root {
    /* Primary Colors - Sophisticated Palette */
    --color-primary: #0052cc;
    --color-primary-dark: #003d99;
    --color-primary-light: #4c9aff;
    --color-secondary: #6c63ff;
    --color-accent-gold: #d4af37;
    --color-accent-teal: #00b8d4;

    /* Text Colors */
    --color-text-primary: #1a1a2e;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-text-light: #a0aec0;

    /* Background Colors */
    --color-bg-white: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-soft: #f1f5f9;
    --color-bg-card: #ffffff;

    /* Neutral Shades */
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #6c63ff 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(108, 99, 255, 0.05) 100%);

    /* Shadows - Premium */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-premium: 0 30px 60px -12px rgba(0, 82, 204, 0.15);

    /* Typography */
    --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Reset and Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection {
    background-color: rgba(19, 91, 236, 0.2);
    color: var(--color-primary);
}

/* ===================================
   Page Wrapper
   =================================== */
.page-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* ===================================
   Premium Header Styles
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

/* Header scrolled state */
.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Logo link and image styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.site-logo {
    width: auto;
    object-fit: contain;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(19, 91, 236, 0.1);
    color: var(--color-primary);
}

.logo-icon .material-symbols-outlined {
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.doctor-name {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-text-dark);
}

.doctor-title {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-500);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.menu-toggle:hover {
    background-color: var(--color-gray-100);
}

/* Book Appointment Button in Header */
.btn-appointment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: white;
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px -1px rgba(0, 82, 204, 0.2);
    white-space: nowrap;
}

.btn-appointment:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 8px -2px rgba(0, 82, 204, 0.3);
    transform: translateY(-1px);
}

.btn-appointment:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(0, 82, 204, 0.2);
}

.btn-appointment:focus {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

/* ===================================
   Main Content
   =================================== */
.main-content {
    flex-grow: 1;
    padding-top: 2rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 5rem);
    padding-top: 6rem;
    overflow: hidden;
    background: radial-gradient(ellipse at top right, rgba(191, 219, 254, 0.4), white, rgba(237, 233, 254, 0.2));
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
}

.gradient-blob-1 {
    left: -10%;
    top: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(19, 91, 236, 0.05);
    filter: blur(120px);
}

.gradient-blob-2 {
    right: -5%;
    top: 10%;
    width: 500px;
    height: 500px;
    background-color: rgba(123, 59, 204, 0.05);
    filter: blur(100px);
}

.gradient-blob-3 {
    bottom: 0;
    left: 10%;
    width: 400px;
    height: 400px;
    background-color: rgba(60, 205, 123, 0.1);
    filter: blur(80px);
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.2;
    mix-blend-mode: soft-light;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 1rem 2rem 4rem 2rem;
}

/* Hero Main Grid - Two Column Layout */
.hero-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-gray-100);
}

.status-indicator {
    display: flex;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-accent-green);
}

.status-text {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-500);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--color-text-dark);
}

.gradient-text {
    position: relative;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-gray-600);
    text-align: justify;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    min-width: 160px;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background-image: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px -10px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px -8px rgba(59, 130, 246, 0.25);
}

.btn-primary:focus {
    outline: 3px solid rgba(19, 91, 236, 0.4);
    outline-offset: 3px;
}

.btn-secondary {
    background-color: white;
    color: var(--color-text-dark);
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--color-background-soft);
    border-color: var(--color-gray-300);
}

.btn-secondary:focus {
    outline: 3px solid rgba(19, 91, 236, 0.3);
    outline-offset: 3px;
}

.btn .material-symbols-outlined {
    font-size: 1rem;
}

/* Stats Grid - Small Compact Premium Cards */
.stats-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
    align-items: stretch;
}

.stat-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95),
            rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 2px 8px -2px rgba(0, 82, 204, 0.08),
        0 1px 4px -1px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 82, 204, 0.03) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 20px -6px rgba(0, 82, 204, 0.15),
        0 4px 12px -4px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 82, 204, 0.08) inset;
    border-color: rgba(0, 82, 204, 0.2);
}

.stat-card:hover::before {
    opacity: 0.03;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-icon .material-symbols-outlined {
    font-size: 1.25rem;
    font-weight: 300;
}

.stat-card:hover .stat-icon {
    transform: scale(1.05);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

/* Primary Card Styling */
.stat-card-primary {
    color: #0052cc;
}

.stat-card-primary .stat-icon {
    background: linear-gradient(135deg,
            rgba(0, 82, 204, 0.12),
            rgba(76, 154, 255, 0.1));
    color: #0052cc;
    box-shadow: 0 2px 6px -2px rgba(0, 82, 204, 0.2);
}

.stat-card-primary:hover {
    background: linear-gradient(135deg,
            rgba(0, 82, 204, 0.04),
            rgba(248, 250, 252, 0.95));
}

.stat-card-primary:hover .stat-icon {
    background: linear-gradient(135deg,
            rgba(0, 82, 204, 0.16),
            rgba(76, 154, 255, 0.12));
    box-shadow: 0 3px 10px -2px rgba(0, 82, 204, 0.3);
}

/* Green Card Styling */
.stat-card-green {
    color: #10b981;
}

.stat-card-green .stat-icon {
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.12),
            rgba(5, 150, 105, 0.1));
    color: #10b981;
    box-shadow: 0 2px 6px -2px rgba(16, 185, 129, 0.2);
}

.stat-card-green:hover {
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.04),
            rgba(248, 250, 252, 0.95));
}

.stat-card-green:hover .stat-icon {
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.16),
            rgba(5, 150, 105, 0.12));
    box-shadow: 0 3px 10px -2px rgba(16, 185, 129, 0.3);
}

/* Purple Card Styling */
.stat-card-purple {
    color: #8b5cf6;
}

.stat-card-purple .stat-icon {
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.12),
            rgba(124, 58, 237, 0.1));
    color: #8b5cf6;
    box-shadow: 0 2px 6px -2px rgba(139, 92, 246, 0.2);
}

.stat-card-purple:hover {
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.04),
            rgba(248, 250, 252, 0.95));
}

.stat-card-purple:hover .stat-icon {
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.16),
            rgba(124, 58, 237, 0.12));
    box-shadow: 0 3px 10px -2px rgba(139, 92, 246, 0.3);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg,
            var(--color-gray-900) 0%,
            var(--color-gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-gray-600);
    transition: color 0.3s ease;
    margin: 0;
    white-space: nowrap;
}

.stat-card:hover .stat-label {
    color: var(--color-gray-700);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding-right: 0;
}

.image-decoration,
.image-decoration-1,
.image-decoration-2 {
    display: none;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    margin-right: 0;
}

.image-overlay {
    display: none;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.7s ease;
    /* Performance optimizations */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.doctor-image:hover {
    transform: scale(1.05);
}

/* Picture element support */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

picture img {
    display: block;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

/* ===================================
   Navigation - Base Styles
   =================================== */
.main-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* ===================================
   Mobile Navigation
   =================================== */
.main-nav.mobile-menu-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 999;
    gap: 0;
}

.main-nav.mobile-menu-open .nav-link {
    padding: 0.875rem 0;
    font-size: 1rem;
    position: relative;
}

.main-nav.mobile-menu-open .nav-link:last-child {
    border-bottom: none;
}

.main-nav.mobile-menu-open .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: var(--color-primary);
    border-radius: 2px;
}

.main-nav.mobile-menu-open .nav-link:hover {
    color: var(--color-primary);
}

/* Book Appointment Button in Mobile Menu */
.btn-appointment-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px -1px rgba(0, 82, 204, 0.2);
}

.main-nav.mobile-menu-open .btn-appointment-mobile {
    display: inline-flex;
}

.btn-appointment-mobile:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 8px -2px rgba(0, 82, 204, 0.3);
    transform: translateY(-1px);
}

.btn-appointment-mobile:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(0, 82, 204, 0.2);
}

/* ===================================
   Responsive Design
   =================================== */

/* Base Mobile Styles (Default) */
.site-header {
    padding: 0.75rem 1rem;
    justify-content: space-between;
}

.header-logo {
    flex: 1;
    min-width: 0;
}

.site-logo {
    height: 36px;
    max-width: 150px;
}

.doctor-name {
    font-size: 1.125rem;
}

.doctor-title {
    font-size: 0.6875rem;
}

.btn-appointment {
    display: none;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
}

.header-actions {
    gap: 0.5rem;
}

.menu-toggle {
    flex-shrink: 0;
}

/* Hero Section - Mobile */
.hero-section {
    min-height: auto;
    padding-top: 5rem;
}

.hero-container {
    padding: 2rem 1rem 3rem 1rem;
    gap: 2rem;
}

.hero-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.hero-content {
    gap: 1rem;
    order: 1;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.15;
}

.hero-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: left;
}

.hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.hero-buttons .btn {
    border: 1px solid #000000;
}

.btn {
    width: 100%;
    min-width: auto;
    min-height: 48px;
    padding: 0 1.5rem;
    font-size: 0.9375rem;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.stat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    gap: 1rem;
    min-height: 80px;
    border-radius: 1rem;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 8px -2px rgba(0, 82, 204, 0.08);
}

.stat-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
}

.stat-icon .material-symbols-outlined {
    font-size: 1.5rem;
}

.stat-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin: 0;
}

.stat-label {
    font-size: 0.875rem;
    line-height: 1.2;
    display: block;
    margin: 0;
    color: var(--color-gray-600);
}

/* Hero Image - Mobile */
.hero-image {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px -2px rgba(0, 82, 204, 0.15);
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

picture {
    display: block;
    width: 100%;
    height: 100%;
}

picture img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Small mobile devices */
@media (max-width: 375px) {
    .site-header {
        padding: 0.625rem 0.875rem;
    }

    .site-logo {
        height: 32px;
        max-width: 130px;
    }

    .btn-appointment {
        padding: 0.425rem 0.75rem;
        font-size: 0.6875rem;
    }

    .doctor-name {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.875rem;
    }

    .btn {
        min-height: 44px;
        font-size: 0.875rem;
    }
}

/* Mobile landscape and small tablets */
@media (min-width: 640px) {
    .site-header {
        padding: 0.75rem 1.5rem;
    }

    .site-logo {
        height: 38px;
        max-width: 160px;
    }

    .btn-appointment {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .header-actions {
        gap: 0.75rem;
    }

    .hero-container {
        padding: 2.5rem 1.5rem 3.5rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
        width: auto;
    }

    .btn {
        width: auto;
        min-width: 160px;
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.875rem;
        margin-top: 1.5rem;
    }

    .stat-card {
        flex: 1 1 0;
        min-width: 0;
        padding: 1rem 1.125rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .image-container {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Tablet devices */
@media (min-width: 768px) {
    .site-header {
        padding: 0.75rem 2rem;
    }

    .site-logo {
        height: 40px;
        max-width: 170px;
    }

    .hero-container {
        padding: 3rem 2rem 4rem 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.0625rem;
        max-width: 540px;
    }

    .stat-card {
        padding: 1rem 1.25rem;
    }

    .stat-number {
        font-size: 1.625rem;
    }

    .image-container {
        max-width: 480px;
    }
}

@media (min-width: 1024px) {

    /* Header - Desktop */
    .site-header {
        padding: 0.75rem 2.5rem;
        display: flex;
        justify-content: space-between;
    }

    .header-logo {
        flex: 0 0 auto;
    }

    .main-nav {
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 1rem;
    }

    .header-actions {
        flex: 0 0 auto;
    }

    .site-logo {
        height: 40px;
        max-width: 180px;
    }

    .btn-appointment {
        display: inline-flex;
    }

    .header-actions {
        gap: 1rem;
    }

    /* Show desktop navigation */
    .main-nav {
        display: flex;
    }

    /* Hide mobile appointment button on desktop */
    .btn-appointment-mobile {
        display: none !important;
    }

    /* Hide mobile menu toggle */
    .menu-toggle {
        display: none;
    }

    /* Hero Section - Desktop */
    .hero-section {
        min-height: calc(100vh - 4rem);
    }

    .hero-container {
        padding: 4rem 2.5rem 4rem 2.5rem;
    }

    .hero-main-grid {
        grid-template-columns: 60% 40%;
        gap: 3rem;
        align-items: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        width: 100%;
        padding-right: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.0625rem;
        max-width: 560px;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .stats-grid {
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-card {
        padding: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .image-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4/5;
    }
}

@media (min-width: 1280px) {
    .site-header {
        padding: 0.75rem 4rem;
    }

    .hero-container {
        padding: 5rem 4rem 5rem 4rem;
        max-width: 1400px;
    }

    .hero-main-grid {
        grid-template-columns: 60% 40%;
        gap: 3rem;
    }

    .hero-image {
        padding-right: 4rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-description {
        font-size: 1.125rem;
        max-width: 600px;
    }

    .stats-grid {
        gap: 1.125rem;
    }

    .stat-card {
        padding: 1.125rem 1.75rem;
    }

    .image-container {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 1536px) {
    .site-header {
        padding: 0.75rem 6rem;
    }

    .hero-container {
        padding: 6rem 6rem 6rem 6rem;
    }

    .hero-image {
        padding-right: 6rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .image-container {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

/* ===================================
   PREMIUM STYLES - LUXURY ENHANCEMENTS
   Advanced styling for a sophisticated, professional appearance
   =================================== */

/* ===================================
   Premium Header Redesign
   =================================== */
.site-header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(0, 82, 204, 0.15), transparent) 1;
    box-shadow: 0 2px 20px -8px rgba(0, 82, 204, 0.08),
        0 0 0 1px rgba(226, 232, 240, 0.6) inset;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 82, 204, 0.4) 20%,
            rgba(108, 99, 255, 0.4) 50%,
            rgba(0, 82, 204, 0.4) 80%,
            transparent 100%);
    opacity: 0;
    transition: opacity 400ms ease;
}

.site-header.scrolled::after {
    opacity: 1;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 30px -8px rgba(0, 82, 204, 0.12),
        0 2px 8px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 82, 204, 0.08) inset;
}

/* Premium Logo Enhancement */
.header-logo {
    position: relative;
    padding: 0.25rem 0.75rem 0.25rem 0;
}

.header-logo::after {
    display: none;
}

.logo-link {
    position: relative;
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.03), rgba(108, 99, 255, 0.03));
    opacity: 0;
    transition: opacity 300ms ease;
}

.logo-link:hover::before {
    opacity: 1;
}

.logo-link:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.site-logo {
    filter: drop-shadow(0 2px 8px rgba(0, 82, 204, 0.08));
    transition: filter 300ms ease;
}

.logo-link:hover .site-logo {
    filter: drop-shadow(0 4px 12px rgba(0, 82, 204, 0.15));
}

/* Premium Navigation Enhancement */
.main-nav {
    display: none;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.nav-link {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-600);
    text-decoration: none;
    border-radius: 0.625rem;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 82, 204, 0.08),
            rgba(108, 99, 255, 0.08));
    opacity: 0;
    transition: opacity 250ms ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    transform: scaleX(0);
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.nav-link:hover::after {
    transform: scaleX(0.8);
}

.nav-link.active {
    color: var(--color-primary);
    background: linear-gradient(135deg,
            rgba(0, 82, 204, 0.1),
            rgba(108, 99, 255, 0.1));
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Premium Menu Toggle */
.menu-toggle {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05), rgba(108, 99, 255, 0.05));
    border: 1px solid rgba(0, 82, 204, 0.1);
    border-radius: 0.75rem;
    color: var(--color-primary);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px -2px rgba(0, 82, 204, 0.15);
}

.menu-toggle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.875rem;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 250ms ease;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px -4px rgba(0, 82, 204, 0.25);
    border-color: transparent;
}

.menu-toggle:hover::before {
    opacity: 0.1;
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* ===================================
   Premium Hero Section Enhancement
   =================================== */
.hero-section {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 82, 204, 0.08), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(108, 99, 255, 0.06), transparent 70%),
        radial-gradient(ellipse 70% 50% at 20% 80%, rgba(212, 175, 55, 0.04), transparent 70%),
        linear-gradient(to bottom, #ffffff, #f8fafc 50%, #ffffff);
}

.gradient-blob {
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(10px, -10px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 10px) scale(0.95);
    }

    75% {
        transform: translate(10px, 5px) scale(1.02);
    }
}

.gradient-blob-1 {
    animation-delay: 0s;
    animation-duration: 25s;
}

.gradient-blob-2 {
    animation-delay: -5s;
    animation-duration: 20s;
}

.gradient-blob-3 {
    animation-delay: -10s;
    animation-duration: 30s;
}

/* Premium Status Badge */
.status-badge {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    border-radius: 9999px;
    box-shadow:
        0 4px 12px -2px rgba(0, 82, 204, 0.12),
        0 0 0 1px rgba(0, 82, 204, 0.06) inset;
    padding: 0.375rem 1rem 0.375rem 0.75rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.status-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 20px -4px rgba(0, 82, 204, 0.18),
        0 0 0 1px rgba(0, 82, 204, 0.1) inset;
}

.status-indicator {
    width: 0.625rem;
    height: 0.625rem;
    background: linear-gradient(135deg, #3ccd7b, #2ab56f);
    box-shadow: 0 0 0 3px rgba(60, 205, 123, 0.2),
        0 0 8px rgba(60, 205, 123, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(60, 205, 123, 0.2),
            0 0 8px rgba(60, 205, 123, 0.4);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(60, 205, 123, 0.15),
            0 0 16px rgba(60, 205, 123, 0.6);
    }
}

.status-text {
    background: linear-gradient(135deg, var(--color-gray-600), var(--color-gray-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Hero Title */
.hero-title {
    position: relative;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 20px rgba(0, 82, 204, 0.08);
}

.title-black {
    display: inline-block;
    font-weight: 900;
    background: linear-gradient(135deg,
            var(--color-gray-900) 0%,
            var(--color-gray-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.title-gradient {
    display: inline-block;
    font-weight: 900;
    background: linear-gradient(135deg,
            #0052cc 0%,
            #4c9aff 30%,
            #6c63ff 60%,
            #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Premium Hero Description */
.hero-description {
    color: var(--color-gray-700);
    line-height: 1.85;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.hero-description strong {
    background: linear-gradient(135deg,
            var(--color-gray-900),
            var(--color-gray-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Premium Buttons */
.btn {
    position: relative;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0) 50%);
    opacity: 0;
    transition: opacity 300ms ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--color-primary) 0%,
            #1e40af 100%);
    box-shadow:
        0 10px 25px -8px rgba(0, 82, 204, 0.35),
        0 4px 12px -4px rgba(0, 82, 204, 0.2),
        0 0 0 1px rgba(0, 82, 204, 0.1) inset;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 16px 32px -8px rgba(0, 82, 204, 0.45),
        0 8px 20px -4px rgba(0, 82, 204, 0.25),
        0 0 0 1px rgba(0, 82, 204, 0.15) inset;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98),
            rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(0, 82, 204, 0.15);
    box-shadow:
        0 4px 12px -4px rgba(0, 82, 204, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 82, 204, 0.05) inset;
}

.btn-secondary:hover {
    background: linear-gradient(135deg,
            rgba(248, 250, 252, 1),
            rgba(241, 245, 249, 0.98));
    border-color: rgba(0, 82, 204, 0.25);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 24px -8px rgba(0, 82, 204, 0.15),
        0 4px 12px -4px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 82, 204, 0.1) inset;
}

.btn-secondary .material-symbols-outlined {
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Premium Stats Cards - Desktop Enhancement */
@media (min-width: 768px) {
    .stat-card {
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.95),
                rgba(255, 255, 255, 0.85));
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow:
            0 8px 20px -6px rgba(0, 82, 204, 0.08),
            0 2px 8px -2px rgba(0, 0, 0, 0.05),
            0 0 0 1px rgba(0, 82, 204, 0.04) inset;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(0, 82, 204, 0.02),
                rgba(108, 99, 255, 0.02));
        opacity: 0;
        transition: opacity 350ms ease;
    }

    .stat-card:hover::before {
        opacity: 1;
    }

    .stat-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow:
            0 20px 40px -12px rgba(0, 82, 204, 0.15),
            0 8px 20px -4px rgba(0, 0, 0, 0.08),
            0 0 0 1px rgba(0, 82, 204, 0.1) inset;
        border-color: rgba(0, 82, 204, 0.2);
    }
}

@media (min-width: 768px) {
    .stat-card-primary {
        background: linear-gradient(135deg,
                rgba(0, 82, 204, 0.04),
                rgba(76, 154, 255, 0.02));
    }

    .stat-card-primary:hover {
        background: linear-gradient(135deg,
                rgba(0, 82, 204, 0.08),
                rgba(76, 154, 255, 0.04));
    }

    .stat-card-green {
        background: linear-gradient(135deg,
                rgba(60, 205, 123, 0.04),
                rgba(42, 181, 111, 0.02));
    }

    .stat-card-green:hover {
        background: linear-gradient(135deg,
                rgba(60, 205, 123, 0.08),
                rgba(42, 181, 111, 0.04));
    }

    .stat-card-purple {
        background: linear-gradient(135deg,
                rgba(108, 99, 255, 0.04),
                rgba(123, 59, 204, 0.02));
    }

    .stat-card-purple:hover {
        background: linear-gradient(135deg,
                rgba(108, 99, 255, 0.08),
                rgba(123, 59, 204, 0.04));
    }
}

.stat-icon .material-symbols-outlined {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.stat-card:hover .stat-icon .material-symbols-outlined {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.stat-number {
    background: linear-gradient(135deg,
            var(--color-gray-900),
            var(--color-gray-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.03));
}

/* Premium Image Container - Desktop Only */
@media (min-width: 768px) {
    .image-container {
        border-radius: 2rem;
        box-shadow:
            0 30px 60px -20px rgba(0, 82, 204, 0.25),
            0 10px 30px -10px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(0, 82, 204, 0.1) inset;
    }

    .image-container::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(0, 82, 204, 0.1) 0%,
                transparent 50%,
                rgba(108, 99, 255, 0.1) 100%);
        opacity: 0;
        z-index: 1;
        transition: opacity 400ms ease;
        pointer-events: none;
    }

    .image-container:hover::before {
        opacity: 1;
    }

    .image-container:hover {
        transform: scale(1.02) translateY(-8px);
        box-shadow:
            0 40px 80px -20px rgba(0, 82, 204, 0.35),
            0 15px 40px -10px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(0, 82, 204, 0.15) inset;
    }

    .doctor-image {
        transform: scale(1.05);
    }

    .image-container:hover .doctor-image {
        transform: scale(1.12);
    }
}

/* Premium Decorative Elements */
.hero-content::before {
    content: '';
    position: absolute;
    top: -4rem;
    left: -4rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle,
            rgba(0, 82, 204, 0.08) 0%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-soft 8s ease-in-out infinite;
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ===================================
   Premium Mobile Navigation
   =================================== */
.main-nav.mobile-menu-open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 82, 204, 0.1);
    box-shadow:
        0 10px 30px -8px rgba(0, 82, 204, 0.15),
        0 4px 12px -4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1.5rem 1.5rem;
    padding: 1.5rem;
}

.main-nav.mobile-menu-open .nav-link {
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 82, 204, 0.08);
    background: linear-gradient(135deg,
            rgba(248, 250, 252, 0.5),
            rgba(255, 255, 255, 0.5));
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav.mobile-menu-open .nav-link:hover {
    background: linear-gradient(135deg,
            rgba(0, 82, 204, 0.08),
            rgba(108, 99, 255, 0.08));
    border-color: rgba(0, 82, 204, 0.2);
    transform: translateX(8px);
}

/* ===================================
   Premium Responsive Enhancements
   =================================== */
@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }

    .image-container::after {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 2rem;
        background: linear-gradient(135deg,
                rgba(0, 82, 204, 0.3),
                rgba(108, 99, 255, 0.3));
        opacity: 0;
        z-index: -1;
        transition: opacity 400ms ease;
    }

    .image-container:hover::after {
        opacity: 0.5;
        filter: blur(20px);
    }
}

/* ===================================
   Premium Accessibility
   =================================== */
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid rgba(0, 82, 204, 0.5);
    outline-offset: 4px;
}

/* ===================================
   Premium Performance
   =================================== */
.hero-section,
.stat-card,
.image-container,
.btn,
.nav-link {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .gradient-blob {
        animation: none !important;
    }

    .status-indicator {
        animation: none !important;
    }

    .hero-content::before {
        animation: none !important;
    }

    .legacy-gradient-blob {
        animation: none !important;
    }
}

/* ===================================
   LEGACY SECTION
   =================================== */
.legacy-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(191, 219, 254, 0.15), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(237, 233, 254, 0.12), transparent 60%),
        radial-gradient(ellipse 70% 50% at 0% 80%, rgba(191, 219, 254, 0.1), transparent 60%),
        linear-gradient(to bottom, #f8fafc, #ffffff 30%, #f8fafc 70%, #ffffff);
    overflow: hidden;
}

/* Legacy Background Decorations */
.legacy-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.legacy-gradient-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 1;
}

.legacy-gradient-blob-1 {
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.15) 0%, rgba(0, 82, 204, 0.05) 40%, transparent 70%);
    filter: blur(80px);
    animation: legacy-float-1 25s ease-in-out infinite;
}

.legacy-gradient-blob-2 {
    top: 20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.12) 0%, rgba(108, 99, 255, 0.04) 40%, transparent 70%);
    filter: blur(100px);
    animation: legacy-float-2 30s ease-in-out infinite;
}

.legacy-gradient-blob-3 {
    bottom: -10%;
    left: 10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.1) 0%, rgba(0, 82, 204, 0.03) 40%, transparent 70%);
    filter: blur(90px);
    animation: legacy-float-3 20s ease-in-out infinite;
}

.legacy-gradient-blob-4 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.03) 40%, transparent 70%);
    filter: blur(85px);
    animation: legacy-float-4 28s ease-in-out infinite;
}

/* Floating Animations */
@keyframes legacy-float-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(15px, -15px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 10px) scale(0.95);
    }

    75% {
        transform: translate(10px, 5px) scale(1.02);
    }
}

@keyframes legacy-float-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-15px, 10px) scale(1.03);
    }

    50% {
        transform: translate(10px, -10px) scale(0.97);
    }

    75% {
        transform: translate(-5px, 15px) scale(1.01);
    }
}

@keyframes legacy-float-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(10px, 15px) scale(0.98);
    }

    50% {
        transform: translate(-15px, -10px) scale(1.04);
    }

    75% {
        transform: translate(5px, -5px) scale(0.99);
    }
}

@keyframes legacy-float-4 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-10px, -10px) scale(1.02);
    }

    50% {
        transform: translate(15px, 15px) scale(0.96);
    }

    75% {
        transform: translate(-5px, 10px) scale(1.03);
    }
}

.legacy-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Legacy Header */
.legacy-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.legacy-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 48rem;
}

.legacy-header-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.legacy-header-line {
    height: 2px;
    width: 2rem;
    background-color: var(--color-primary);
}

.legacy-header-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.legacy-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-primary);
}

.legacy-title-highlight {
    color: var(--color-primary);
}

/* Reusable primary heading gradient (text only) */
.heading-primary-gradient {
    background: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Pioneer Card */
.pioneer-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    /* Reuse blog-sidebar-cta-inner gradient styling */
    background: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    color: #f9fafb;
    padding: 1.9rem 1.7rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.7);
    width: 100%;
    max-width: 32rem;
}

.pioneer-card::before,
.pioneer-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.14);
}

.pioneer-card::before {
    width: 10rem;
    height: 10rem;
    top: -3rem;
    left: -3rem;
}

.pioneer-card::after {
    width: 13rem;
    height: 13rem;
    bottom: -5rem;
    right: -3rem;
}

/* Legacy radial glow elements no longer needed, but kept for subtle depth */
.pioneer-card-decoration {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    filter: blur(40px);
}

.pioneer-card-decoration-1 {
    right: -2.5rem;
    top: -2.5rem;
    height: 9rem;
    width: 9rem;
}

.pioneer-card-decoration-2 {
    left: -2.5rem;
    bottom: 0;
    height: 7rem;
    width: 7rem;
}

.pioneer-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pioneer-icon-wrapper {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.pioneer-icon-wrapper .material-symbols-outlined {
    color: white;
    font-size: 1.5rem;
}

.pioneer-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.pioneer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Legacy Main Grid */
.legacy-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Legacy Image Section */
.legacy-image-section {
    position: relative;
}

.legacy-image-sticky {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legacy-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
    background-color: var(--color-gray-100);
    aspect-ratio: 4/5;
}

.legacy-image-container:hover .legacy-image {
    transform: scale(1.05);
}

.legacy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.legacy-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0.8;
}

.legacy-image-quote {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    color: white;
}

.legacy-quote-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
}

/* Timeline Section */
.timeline-section {
    display: flex;
    flex-direction: column;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.timeline-header .material-symbols-outlined {
    color: var(--color-gray-500);
    font-size: 1.875rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-display);
    color: var(--color-text-primary);
}

/* Timeline Container */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 19px;
    top: 0.5rem;
    bottom: 1rem;
    width: 2px;
    background-color: var(--color-gray-200);
    overflow: hidden;
    border-radius: 999px;
    pointer-events: none;
}

.timeline-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-primary);
    /* solid primary fill */
    transform-origin: top;
    transition: height 220ms ease-out;
}

.timeline-line.timeline-line-static .timeline-line-fill {
    height: 100%;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    display: flex;
    gap: 1.5rem;
}

.timeline-item:hover .timeline-icon-wrapper {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: white;
}

.timeline-item:hover .timeline-item-title {
    color: var(--color-primary);
}

.timeline-icon-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--color-gray-200);
    transition: all 300ms ease;
}

.timeline-icon-wrapper .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    transition: color 300ms ease;
}

.timeline-item:hover .timeline-icon-wrapper .material-symbols-outlined {
    color: white;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    padding-top: 0.25rem;
    padding-bottom: 1rem;
    opacity: 1;
    /* no muted state by default */
    transition: opacity 250ms ease, transform 250ms ease;
}

.timeline-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    /* full color by default */
    margin-bottom: 0.5rem;
    transition: color 250ms ease;
}

.timeline-item-description {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.timeline-item.timeline-item-active .timeline-content {
    opacity: 1;
    transform: translateY(-2px);
}

.timeline-item.timeline-item-active .timeline-item-title {
    color: var(--color-primary);
    /* solid primary when active */
}

.timeline-item.timeline-item-active .timeline-icon-wrapper {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    /* solid primary fill when active */
    box-shadow: 0 0 0 6px rgba(0, 82, 204, 0.12);
    transform: scale(1.05);
}

.timeline-item.timeline-item-active .timeline-icon-wrapper .material-symbols-outlined {
    color: #ffffff;
}

/* Timeline End Item */
.timeline-end-item {
    position: relative;
    display: flex;
    gap: 1.5rem;
}

.timeline-end-icon {
    position: relative;
    z-index: 10;
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    border: 2px dashed var(--color-gray-200);
}

.timeline-end-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-gray-200);
}

.timeline-end-content {
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem;
}

.timeline-end-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-500);
    font-style: italic;
}

/* Biography Link */
.biography-link-container {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-start;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
}

.biography-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: gap 300ms ease;
}

.biography-link:hover {
    gap: 0.75rem;
}

.biography-link .material-symbols-outlined {
    font-size: 1.125rem;
    transition: transform 300ms ease;
}

.biography-link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* ===================================
   LEGACY SECTION - RESPONSIVE DESIGN
   =================================== */

/* Mobile devices (default styles above) */

/* Small tablets and larger phones */
@media (min-width: 640px) {
    .legacy-section {
        padding: 6rem 1.5rem;
    }

    .legacy-title {
        font-size: 3rem;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .legacy-section {
        padding: 8rem 2rem;
    }

    .legacy-container {
        gap: 5rem;
    }

    .legacy-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .legacy-title {
        font-size: 3.5rem;
    }

    .legacy-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    .legacy-image-sticky {
        position: sticky;
        top: 2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .legacy-title {
        font-size: 3.75rem;
    }

    .pioneer-card {
        transition: transform 300ms ease;
    }

    .pioneer-card:hover {
        transform: translateY(-4px);
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .legacy-section {
        padding: 10rem 4rem;
    }
}

/* Extra large desktop */
@media (min-width: 1536px) {
    .legacy-section {
        padding: 12rem 6rem;
    }
}

/* ===================================
   COMMUNITY EYE CARE SECTION
   =================================== */
.community-section {
    position: relative;
    width: 100%;
    padding: 4rem 1rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(60, 205, 123, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 0% 50%, rgba(191, 219, 254, 0.12), transparent 60%),
        radial-gradient(ellipse 70% 50% at 100% 80%, rgba(139, 92, 246, 0.08), transparent 60%),
        linear-gradient(to bottom, #ffffff, #f8fafc 40%, #ffffff 80%, #f8fafc);
    overflow: hidden;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Community Header */
.community-header {
    text-align: center;
    max-width: 48rem;
    margin-bottom: 4rem;
}

.community-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.community-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.community-subtitle {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.community-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Community Main Grid */
.community-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    align-items: start;
}

/* Community Cards Container */
.community-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Community Card */
.community-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.community-card:hover,
.community-card.scroll-active {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.community-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: start;
}

.community-icon-wrapper {
    flex-shrink: 0;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 300ms ease;
}

.community-card:hover .community-icon-wrapper,
.community-card.scroll-active .community-icon-wrapper {
    transform: scale(1.05);
}

.community-icon-wrapper .material-symbols-outlined {
    font-size: 2.5rem;
}

/* Card Icon Colors */
.community-icon-purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.community-card:hover .community-icon-purple,
.community-card.scroll-active .community-icon-purple {
    background-color: #8b5cf6;
    color: white;
}

.community-icon-primary {
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
}

.community-card:hover .community-icon-primary,
.community-card.scroll-active .community-icon-primary {
    background-color: var(--color-primary);
    color: white;
}

.community-icon-teal {
    background-color: rgba(60, 205, 123, 0.1);
    color: #3CCD7B;
}

.community-card:hover .community-icon-teal,
.community-card.scroll-active .community-icon-teal {
    background-color: #3CCD7B;
    color: white;
}

.community-card-body {
    flex-grow: 1;
}

.community-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    transition: color 300ms ease;
}

.community-card:hover .community-card-title-purple,
.community-card.scroll-active .community-card-title-purple {
    color: #8b5cf6;
}

.community-card:hover .community-card-title-primary,
.community-card.scroll-active .community-card-title-primary {
    color: var(--color-primary);
}

.community-card:hover .community-card-title-teal,
.community-card.scroll-active .community-card-title-teal {
    color: #3CCD7B;
}

.community-card-text {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.community-card-text strong {
    color: var(--color-text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Community Image Section */
.community-image-section {
    height: 100%;
    min-height: 500px;
    position: sticky;
    top: 2rem;
}

.community-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 1rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.community-image-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gray-100);
}

.community-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.community-image-wrapper:hover .community-image {
    transform: scale(1.05);
}

.community-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2), transparent);
}

.community-image-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
}

.community-caption-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-xl);
}

.community-caption-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.community-caption-icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
}

.community-caption-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.community-caption-text {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Community CTA */
.community-cta {
    margin-top: 4rem;
    text-align: center;
}

.community-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-image: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 82, 204, 0.3);
    transition: all 300ms ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
}

.community-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px -10px rgba(0, 82, 204, 0.4);
}

.community-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px -8px rgba(0, 82, 204, 0.4);
}

.community-cta-button .material-symbols-outlined {
    font-size: 1.125rem;
    transition: transform 300ms ease;
}

.community-cta-button:hover .material-symbols-outlined,
.community-cta-button.scroll-active .material-symbols-outlined {
    transform: translateX(6px);
}

/* ===================================
   COMMUNITY SECTION - RESPONSIVE
   =================================== */

/* Small tablets */
@media (min-width: 640px) {
    .community-section {
        padding: 5rem 1.5rem;
    }

    .community-card-content {
        flex-direction: row;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .community-section {
        padding: 6rem 2rem;
    }

    .community-title {
        font-size: 3rem;
    }

    .community-subtitle {
        font-size: 1.5rem;
    }

    .community-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .community-section {
        padding: 8rem 2.5rem;
    }

    .community-title {
        font-size: 3.5rem;
    }

    .community-main-grid {
        grid-template-columns: 7fr 5fr;
        gap: 3rem;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .community-section {
        padding: 10rem 4rem;
    }
}

/* Extra large desktop */
@media (min-width: 1536px) {
    .community-section {
        padding: 12rem 6rem;
    }
}

/* ===================================
   ROTARY SERVICE SECTION
   =================================== */
.rotary-section {
    position: relative;
    width: 100%;
    padding: 4rem 1rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 82, 204, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 0% 50%, rgba(139, 92, 246, 0.06), transparent 60%),
        radial-gradient(ellipse 70% 50% at 100% 80%, rgba(250, 204, 21, 0.05), transparent 60%),
        linear-gradient(to bottom, #f8fafc, #ffffff 40%, #f8fafc 80%, #ffffff);
    overflow: hidden;
}

.rotary-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Rotary Header */
.rotary-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.rotary-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.rotary-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.rotary-description {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--color-gray-500);
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Rotary Main Grid */
.rotary-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

/* Rotary Image Section */
.rotary-image-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.rotary-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.rotary-image-container {
    position: absolute;
    inset: 0;
}

.rotary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.rotary-image-wrapper:hover .rotary-image {
    transform: scale(1.05);
}

.rotary-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
}

.rotary-image-quote-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 2rem;
    margin-top: auto;
}

.rotary-quote-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--color-primary);
    max-width: 85%;
    margin-bottom: 1rem;
}

.rotary-quote-icon {
    color: var(--color-primary);
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

.rotary-quote-text {
    color: var(--color-gray-800);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.6;
}

/* Timeline Section */
.rotary-timeline-section {
    padding-left: 0;
}

.rotary-timeline-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.rotary-timeline-container {
    position: relative;
}

.rotary-timeline-line {
    position: absolute;
    left: 19px;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    background-color: var(--color-gray-200);
    overflow: hidden;
    border-radius: 999px;
    pointer-events: none;
}

.rotary-timeline-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-primary);
    /* solid primary fill */
    transform-origin: top;
    transition: height 220ms ease-out;
}

.rotary-timeline-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Timeline Item */
.rotary-timeline-item {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding-bottom: 3rem;
}

.rotary-timeline-item:last-child {
    padding-bottom: 0.5rem;
}

.rotary-timeline-icon {
    position: relative;
    z-index: 10;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--color-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 300ms ease;
}

.rotary-timeline-item:hover .rotary-timeline-icon {
    transform: scale(1.1);
    border-color: var(--color-primary);
}

.rotary-timeline-icon-primary {
    border-color: var(--color-primary);
}

.rotary-timeline-icon .material-symbols-outlined {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.rotary-timeline-icon-primary .material-symbols-outlined {
    color: var(--color-primary);
    font-weight: 700;
}

.rotary-timeline-item:hover .rotary-timeline-icon .material-symbols-outlined {
    color: var(--color-primary);
}

/* Active state when scroll fill reaches this item */
.rotary-timeline-item.rotary-timeline-item-active .rotary-timeline-icon {
    border-color: var(--color-primary);
}

.rotary-timeline-item.rotary-timeline-item-active .rotary-timeline-icon .material-symbols-outlined {
    color: var(--color-primary);
}

.rotary-timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.rotary-timeline-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rotary-timeline-header-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    font-family: var(--font-display);
}

.rotary-timeline-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-500);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.rotary-timeline-date-primary {
    color: var(--color-primary);
    background-color: rgba(0, 82, 204, 0.1);
}

.rotary-timeline-text {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.rotary-timeline-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    background-image: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    border: 1px solid rgba(0, 82, 204, 0.25);
    border-radius: 9999px;
    transition: all 300ms ease;
    text-decoration: none;
    cursor: pointer;
}

.rotary-timeline-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -4px rgba(0, 82, 204, 0.35);
}

.rotary-timeline-link:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px -4px rgba(0, 82, 204, 0.3);
}

.rotary-timeline-link .material-symbols-outlined {
    font-size: 1rem;
    margin-left: 0.25rem;
    transition: transform 300ms ease;
}

.rotary-timeline-link:hover .material-symbols-outlined {
    transform: translateX(2px);
}

/* Stats Grid */
.rotary-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Stat Card */
.rotary-stat-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 300ms ease;
}

.rotary-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.rotary-stat-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.rotary-stat-icon-yellow {
    background-color: rgba(250, 204, 21, 0.1);
    color: #facc15;
}

.rotary-stat-icon-blue {
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
}

.rotary-stat-icon-purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.rotary-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.rotary-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    line-height: 1.2;
}

.rotary-stat-description {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

/* Featured Stat Card */
.rotary-stat-featured {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 82, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.rotary-stat-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 82, 204, 0.3);
}

.rotary-stat-bg-icon {
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    opacity: 0.1;
    font-size: 7.5rem;
}

.rotary-stat-featured .rotary-stat-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.rotary-stat-featured .rotary-stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.rotary-stat-featured .rotary-stat-value {
    color: white;
    font-size: 1.875rem;
}

.rotary-stat-featured .rotary-stat-description {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.rotary-progress-bar {
    margin-top: 1rem;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 9999px;
    height: 0.375rem;
    overflow: hidden;
}

.rotary-progress-fill {
    background-color: white;
    height: 100%;
    border-radius: 9999px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotary-progress-fill.filled {
    width: 85%;
}

.rotary-progress-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    text-align: right;
}

/* CTA Section */
.rotary-cta {
    margin-top: 4rem;
    text-align: center;
}

.rotary-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background-image: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 300ms ease;
    box-shadow: 0 10px 15px -3px rgba(0, 82, 204, 0.3);
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
}

.rotary-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px -10px rgba(0, 82, 204, 0.4);
}

.rotary-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px -8px rgba(0, 82, 204, 0.4);
}

.rotary-cta-button .material-symbols-outlined {
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rotary-timeline-item {
    animation: fadeInUp 600ms forwards;
    opacity: 0;
}

.rotary-timeline-item:nth-child(1) {
    animation-delay: 200ms;
}

.rotary-timeline-item:nth-child(2) {
    animation-delay: 400ms;
}

.rotary-timeline-item:nth-child(3) {
    animation-delay: 600ms;
}

.rotary-timeline-item:nth-child(4) {
    animation-delay: 800ms;
}

/* ===================================
   ROTARY SECTION - RESPONSIVE
   =================================== */

/* Small tablets */
@media (min-width: 640px) {
    .rotary-section {
        padding: 5rem 1.5rem;
    }

    .rotary-timeline-header {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
    }

    .rotary-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (min-width: 768px) {
    .rotary-section {
        padding: 6rem 2rem;
    }

    .rotary-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .rotary-section {
        padding: 8rem 2.5rem;
    }

    .rotary-title {
        font-size: 3.5rem;
    }

    .rotary-main-grid {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
    }

    .rotary-timeline-section {
        padding-left: 2rem;
    }

    .rotary-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .rotary-section {
        padding: 10rem 4rem;
    }
}

/* Extra large desktop */
@media (min-width: 1536px) {
    .rotary-section {
        padding: 12rem 6rem;
    }
}

/* ===================================
   MEDICAL & SURGICAL EXCELLENCE SECTION
   =================================== */
.medical-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
    overflow: hidden;
}

/* Medical Background */
.medical-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.medical-gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.medical-gradient-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7B3BCC 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.medical-gradient-blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3CCD7B 0%, transparent 70%);
    top: 20%;
    right: -15%;
    animation-delay: 5s;
}

.medical-gradient-blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #0052cc 0%, transparent 70%);
    bottom: -10%;
    left: 20%;
    animation-delay: 10s;
}

.medical-gradient-blob-4 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #135bec 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
    animation-delay: 15s;
}

.medical-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    gap: 3rem;
}

/* Medical Header */
.medical-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    animation: fadeInUp 600ms ease-out;
}

.medical-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(123, 59, 204, 0.1);
    color: #7B3BCC;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.medical-title {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
}

.medical-description {
    color: var(--color-gray-600);
    font-size: 1.125rem;
    max-width: 700px;
    line-height: 1.6;
}

/* Featured Card */
.medical-featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background-color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-gray-100);
    padding: 2rem;
    transition: all 300ms ease;
}

.medical-featured-card:hover {
    transform: translateY(-4px);
}

.medical-featured-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2rem;
    opacity: 0.05;
    transition: opacity 300ms ease;
    font-size: 150px;
    color: var(--color-primary);
}

.medical-featured-card:hover .medical-featured-bg-icon {
    opacity: 0.1;
}

.medical-featured-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: start;
}

.medical-featured-icon-wrapper {
    display: flex;
    height: 4rem;
    width: 4rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
}

.medical-featured-icon-wrapper .material-symbols-outlined {
    font-size: 2.5rem;
}

.medical-featured-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.medical-featured-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.medical-featured-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    font-family: var(--font-display);
}

.medical-featured-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
}

.medical-featured-description {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    max-width: 40rem;
    line-height: 1.6;
}

/* Stats Grid */
.medical-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Stat Card */
.medical-stat-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 1rem;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-gray-100);
    transition: all 300ms ease;
}

.medical-stat-card:hover {
    transform: translateY(-4px);
}

.medical-stat-card-teal {
    border-color: var(--color-gray-100);
}

.medical-stat-card-teal:hover {
    border-color: rgba(60, 205, 123, 0.3);
}

.medical-stat-card-primary {
    border-color: var(--color-gray-100);
}

.medical-stat-card-primary:hover {
    border-color: rgba(0, 82, 204, 0.3);
}

.medical-stat-card-purple {
    border-color: var(--color-gray-100);
}

.medical-stat-card-purple:hover {
    border-color: rgba(123, 59, 204, 0.3);
}

.medical-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.medical-stat-icon-wrapper {
    display: flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 300ms ease;
}

.medical-stat-icon-wrapper .material-symbols-outlined {
    font-size: 1.5rem;
}

.medical-stat-icon-teal {
    background-color: rgba(60, 205, 123, 0.1);
    color: #3CCD7B;
}

.medical-stat-card:hover .medical-stat-icon-teal {
    background-color: #3CCD7B;
    color: white;
}

.medical-stat-icon-primary {
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
}

.medical-stat-card:hover .medical-stat-icon-primary {
    background-color: var(--color-primary);
    color: white;
}

.medical-stat-icon-purple {
    background-color: rgba(123, 59, 204, 0.1);
    color: #7B3BCC;
}

.medical-stat-card:hover .medical-stat-icon-purple {
    background-color: #7B3BCC;
    color: white;
}

.medical-stat-year {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-400);
}

.medical-stat-body {
    display: flex;
    flex-direction: column;
}

.medical-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.medical-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.medical-stat-label-teal {
    color: #3CCD7B;
}

.medical-stat-label-primary {
    color: var(--color-primary);
}

.medical-stat-label-purple {
    color: #7B3BCC;
}

.medical-stat-description {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* CTA Section */
.medical-cta {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.medical-cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background-image: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    border: none;
    padding: 0.75rem 2rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 82, 204, 0.3);
    transition: all 300ms ease;
    cursor: pointer;
    text-decoration: none;
}

.medical-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px -10px rgba(0, 82, 204, 0.4);
}

.medical-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px -8px rgba(0, 82, 204, 0.4);
}

.medical-cta-button .material-symbols-outlined {
    font-size: 1.125rem;
    transition: transform 300ms ease;
}

.medical-cta-button:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* ===================================
   MEDICAL SECTION - RESPONSIVE
   =================================== */

/* Small tablets */
@media (min-width: 640px) {
    .medical-section {
        padding: 4rem 1.5rem;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .medical-section {
        padding: 5rem 2rem;
    }

    .medical-title {
        font-size: 3rem;
    }

    .medical-featured-card {
        padding: 2.5rem;
    }

    .medical-featured-content {
        flex-direction: row;
        align-items: center;
    }

    .medical-featured-icon-wrapper {
        height: 5rem;
        width: 5rem;
    }

    .medical-featured-heading {
        font-size: 1.875rem;
    }

    .medical-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .medical-section {
        padding: 6rem 2.5rem;
    }

    .medical-title {
        font-size: 3.5rem;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .medical-section {
        padding: 8rem 4rem;
    }
}

/* Extra large desktop */
@media (min-width: 1536px) {
    .medical-section {
        padding: 10rem 6rem;
    }
}

/* ===================================
   LEADERSHIP & ASSOCIATIONS SECTION
   =================================== */
.leadership-section {
    position: relative;
    width: 100%;
    background-color: white;
    padding: 5rem 1rem;
    overflow: hidden;
}

/* Leadership Background */
.leadership-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.leadership-gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: float 20s ease-in-out infinite;
}

.leadership-gradient-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7B3BCC 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.leadership-gradient-blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3CCD7B 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: 7s;
}

.leadership-gradient-blob-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #0052cc 0%, transparent 70%);
    top: 30%;
    left: 10%;
    animation-delay: 14s;
}

.leadership-gradient-blob-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #135bec 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

.leadership-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Leadership Header */
.leadership-header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 4rem;
}

.leadership-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.leadership-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.leadership-title-gradient {
    background: linear-gradient(to right, #7B3BCC, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.leadership-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-gray-600);
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Leadership Card */
.leadership-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-gray-100);
    transition: all 300ms ease;
}

.leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.leadership-card-purple:hover {
    box-shadow: 0 20px 25px -5px rgba(123, 59, 204, 0.1);
}

.leadership-card-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 82, 204, 0.1);
}

.leadership-card-teal:hover {
    box-shadow: 0 20px 25px -5px rgba(60, 205, 123, 0.1);
}

.leadership-icon-wrapper {
    display: inline-flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: all 300ms ease;
}

.leadership-icon-wrapper .material-symbols-outlined {
    font-size: 2rem;
}

.leadership-icon-purple {
    background-color: rgba(123, 59, 204, 0.1);
    color: #7B3BCC;
}

.leadership-card:hover .leadership-icon-purple {
    background-color: #7B3BCC;
    color: white;
}

.leadership-icon-primary {
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
}

.leadership-card:hover .leadership-icon-primary {
    background-color: var(--color-primary);
    color: white;
}

.leadership-icon-teal {
    background-color: rgba(60, 205, 123, 0.1);
    color: #3CCD7B;
}

.leadership-card:hover .leadership-icon-teal {
    background-color: #3CCD7B;
    color: white;
}

.leadership-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.leadership-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    transition: color 300ms ease;
}

.leadership-card:hover .leadership-card-title-purple {
    color: #7B3BCC;
}

.leadership-card:hover .leadership-card-title-primary {
    color: var(--color-primary);
}

.leadership-card:hover .leadership-card-title-teal {
    color: #3CCD7B;
}

.leadership-organization {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-500);
    margin-bottom: 1rem;
}

.leadership-organization-teal {
    color: #3CCD7B;
}

.leadership-card-description {
    color: var(--color-gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-100);
}

/* CTA Card */
.leadership-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, #F8F9FA, white);
    padding: 2rem;
    border: 2px dashed var(--color-gray-300);
    transition: all 300ms ease;
}

.leadership-cta-card:hover {
    border-color: rgba(0, 82, 204, 0.5);
}

.leadership-cta-icon-wrapper {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: var(--color-gray-100);
    color: var(--color-gray-400);
    margin-bottom: 1rem;
}

.leadership-cta-icon-wrapper .material-symbols-outlined {
    font-size: 1.5rem;
}

.leadership-cta-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-700);
    text-align: center;
    margin-bottom: 0.5rem;
}

.leadership-cta-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
}

.leadership-cta-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: color 300ms ease;
    text-decoration: none;
}

.leadership-cta-link:hover {
    color: #7B3BCC;
}

.leadership-cta-link .material-symbols-outlined {
    font-size: 0.875rem;
}

/* ===================================
   LEADERSHIP SECTION - RESPONSIVE
   =================================== */

/* Small tablets */
@media (min-width: 640px) {
    .leadership-section {
        padding: 6rem 1.5rem;
    }

    .leadership-container {
        padding: 0 1.5rem;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .leadership-section {
        padding: 7rem 2rem;
    }

    .leadership-container {
        padding: 0 2rem;
    }

    .leadership-title {
        font-size: 3.5rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .leadership-section {
        padding: 7rem 2.5rem;
    }

    .leadership-title {
        font-size: 3.75rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .leadership-section {
        padding: 8rem 4rem;
    }
}

/* ===================================
   SOCIAL IMPACT & PHILANTHROPY SECTION
   =================================== */
.social-section {
    position: relative;
    width: 100%;
    padding: 5rem 1rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 82, 204, 0.05), transparent 65%),
        radial-gradient(ellipse 70% 45% at 0% 70%, rgba(123, 59, 204, 0.04), transparent 65%),
        radial-gradient(ellipse 70% 45% at 100% 95%, rgba(60, 205, 123, 0.04), transparent 65%),
        linear-gradient(to bottom, #ffffff, #f8fafc 55%, #ffffff);
    overflow: hidden;
}

.social-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.social-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem;
}

.social-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.social-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .social-title {
        font-size: 3.5rem;
    }
}

.social-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-gray-600);
}

/* Main Grid */
.social-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Metrics Grid */
.social-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.social-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    background-color: var(--color-gray-100);
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.social-card-icon .material-symbols-outlined {
    font-size: 1.75rem;
}

.social-card-icon-purple {
    background-color: rgba(123, 59, 204, 0.1);
    color: #7B3BCC;
}

.social-card-icon-teal {
    background-color: rgba(60, 205, 123, 0.1);
    color: #3CCD7B;
}

.social-card-icon-primary {
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
}

.social-card-icon-indigo {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.social-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-metric {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
}

.social-label {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.social-beneficiaries {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

/* Outreach Panel */
.social-outreach {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-outreach-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.social-outreach-text {
    font-size: 0.975rem;
    line-height: 1.8;
    color: var(--color-gray-600);
}

.social-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.social-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
}

.social-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.social-image-wrapper:hover .social-image {
    transform: scale(1.05);
}

.social-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.1), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.social-image-quote {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: #ffffff;
}

.social-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.social-tag-teal {
    background-color: rgba(60, 205, 123, 0.08);
    color: #15803d;
    border-color: rgba(60, 205, 123, 0.4);
}

.social-tag-purple {
    background-color: rgba(123, 59, 204, 0.08);
    color: #6b21a8;
    border-color: rgba(123, 59, 204, 0.4);
}

.social-tag-primary {
    background-color: rgba(0, 82, 204, 0.08);
    color: var(--color-primary);
    border-color: rgba(0, 82, 204, 0.4);
}

/* CTA */
.social-cta {
    margin-top: 3rem;
    text-align: center;
}

.social-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.5rem;
    border-radius: 9999px;
    border: none;
    background: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 18px 30px -16px rgba(123, 60, 205, 0.7);
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-cta-button .material-symbols-outlined {
    font-size: 1rem;
    transition: transform 300ms ease;
}

.social-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -8px rgba(0, 82, 204, 0.4);
}

.social-cta-button:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Simple fade-in utility used in this section */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 600ms ease-out forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

/* Responsive */
@media (min-width: 640px) {
    .social-section {
        padding: 6rem 1.5rem;
    }

    .social-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .social-section {
        padding: 7rem 2rem;
    }

    .social-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .social-section {
        padding: 8rem 2.5rem;
    }

    .social-main-grid {
        grid-template-columns: 6fr 6fr;
        gap: 3rem;
    }
}

@media (min-width: 1280px) {
    .social-section {
        padding: 9rem 4rem;
    }
}

/* ===================================
   FAMILY SECTION - MEDICAL LEGACY
   =================================== */
.family-section {
    position: relative;
    width: 100%;
    padding: 5rem 1rem 6rem;
    background:
        radial-gradient(ellipse 90% 55% at 50% -10%, rgba(191, 219, 254, 0.12), transparent 65%),
        radial-gradient(ellipse 70% 45% at 0% 70%, rgba(237, 233, 254, 0.1), transparent 65%),
        radial-gradient(ellipse 75% 50% at 100% 100%, rgba(191, 219, 254, 0.08), transparent 65%),
        linear-gradient(to bottom, #ffffff, #f8fafc 55%, #ffffff);
    overflow: hidden;
}

.family-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.family-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem;
}

.family-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.family-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.family-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-gray-600);
}

/* Grid */
.family-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

/* Card */
.family-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    background-color: #ffffff;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.family-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover, 0 20px 25px -5px rgba(15, 23, 42, 0.15));
}

.family-card-media {
    position: relative;
    width: 100%;
}

.family-card-media-inner {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 aspect ratio */
    overflow: hidden;
}

.family-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.family-card:hover .family-card-image {
    transform: scale(1.05);
}

.family-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.2), transparent);
}

.family-card-tag-wrapper {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.family-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.4);
}

.family-card-tag-primary {
    background-color: rgba(0, 82, 204, 0.9);
}

.family-card-tag-secondary {
    background-color: rgba(60, 205, 123, 0.9);
}

.family-card-body {
    position: relative;
    padding: 1.75rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.family-card-icon {
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
    transition: color 300ms ease;
}

.family-card:hover .family-card-icon {
    color: #3CCD7B;
}

.family-card-icon .material-symbols-outlined {
    font-size: 1.75rem;
}

.family-card-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: 0.25rem;
}

.family-card-role {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3CCD7B;
}

.family-card-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin-top: 0.25rem;
}

.family-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 300ms ease;
}

.family-card-link .material-symbols-outlined {
    font-size: 1rem;
    transition: transform 300ms ease;
}

.family-card-link:hover {
    color: #003d99;
}

.family-card-link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Indicators */
.family-indicators {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
}

.family-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: rgba(0, 82, 204, 0.3);
}

.family-indicator-soft {
    background-color: rgba(0, 82, 204, 0.6);
}

.family-indicator-active {
    background-color: var(--color-primary);
}

/* Responsive */
@media (min-width: 640px) {
    .family-section {
        padding: 6rem 1.5rem 7rem;
    }

    .family-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .family-section {
        padding: 7rem 2rem 8rem;
    }

    .family-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .family-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .family-section {
        padding: 8rem 2.5rem 9rem;
    }

    .family-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .family-section {
        padding: 9rem 4rem 10rem;
    }
}

/* ===================================
   HOME BLOG SECTION
   =================================== */
.home-blog-section {
    position: relative;
    width: 100%;
    padding: 5rem 1rem 6rem;
    /* Lighter, subtle gradient background */
    background:
        radial-gradient(ellipse 90% 55% at 0% 0%, rgba(123, 59, 204, 0.08), transparent 65%),
        radial-gradient(ellipse 75% 50% at 100% 0%, rgba(0, 82, 204, 0.08), transparent 65%),
        radial-gradient(ellipse 70% 45% at 0% 100%, rgba(60, 205, 123, 0.06), transparent 60%),
        radial-gradient(ellipse 70% 45% at 100% 100%, rgba(19, 91, 236, 0.06), transparent 60%),
        linear-gradient(to bottom, #ffffff, #f8fafc 60%, #f5f6ff);
    overflow: hidden;
}

.home-blog-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.home-blog-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem;
}

.home-blog-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(0, 82, 204, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.home-blog-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.home-blog-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-gray-600);
}

/* Grid */
.home-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

/* Card */
.home-blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    background-color: #ffffff;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover, 0 20px 25px -5px rgba(15, 23, 42, 0.15));
}

.home-blog-card-media {
    position: relative;
    width: 100%;
}

.home-blog-card-media::before {
    content: "";
    display: block;
    padding-top: 65%;
}

.home-blog-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.home-blog-card:hover .home-blog-card-image {
    transform: scale(1.05);
}

.home-blog-card-body {
    padding: 1.5rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-blog-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.home-blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray-600);
    text-align: justify;
}

.home-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 300ms ease;
}

.home-blog-card-link .material-symbols-outlined {
    font-size: 1rem;
    transition: transform 300ms ease;
}

.home-blog-card-link:hover {
    color: #003d99;
}

.home-blog-card-link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Footer CTA */
.home-blog-footer {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.home-blog-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 3rem;
    padding: 0 2.2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 18px 30px -16px rgba(123, 60, 205, 0.7);
    text-decoration: none;
}

.home-blog-view-all .material-symbols-outlined {
    font-size: 1rem;
}

.home-blog-view-all:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 24px 40px -18px rgba(123, 60, 205, 0.8);
}

/* Responsive */
@media (min-width: 640px) {
    .home-blog-section {
        padding: 6rem 1.5rem 7rem;
    }

    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .home-blog-section {
        padding: 7rem 2rem 8rem;
    }

    .home-blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-blog-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1280px) {
    .home-blog-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1280px) {
    .home-blog-section {
        padding: 8rem 4rem 9rem;
    }
}

/* ===================================
   APPOINTMENTS SECTION
   =================================== */
.appointments-section {
    position: relative;
    width: 100%;
    padding: 5rem 1rem 6rem;
    background:
        radial-gradient(ellipse 95% 60% at 50% -15%, rgba(191, 219, 254, 0.18), transparent 70%),
        radial-gradient(ellipse 70% 45% at 0% 85%, rgba(123, 59, 204, 0.06), transparent 70%),
        radial-gradient(ellipse 70% 45% at 100% 95%, rgba(0, 82, 204, 0.06), transparent 70%),
        linear-gradient(to bottom, #ffffff, #f8fafc 60%, #ffffff);
}

.appointments-container {
    max-width: 1200px;
    /*margin: 0 auto;*/
    /*padding: 0 1rem;*/
}

.appointments-card {
    padding: 2.75rem 2.25rem;
}

.appointments-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: center;
}

.appointments-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.appointments-heading {
    font-family: var(--font-display);
    font-size: 2.25rem;
    /* base size, overridden on desktop */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.appointments-description {
    font-size: 1.125rem;
    /* match medical-description */
    line-height: 1.6;
    color: var(--color-gray-600);
    max-width: 32rem;
}

.appointments-actions {
    margin-top: 1.5rem;
}

.appointments-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0 2.4rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--color-primary), #7b3ccd);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 18px 30px -16px rgba(123, 60, 205, 0.7);
    text-decoration: none;
}

.appointments-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 24px 40px -18px rgba(123, 60, 205, 0.8);
}

.appointments-button .material-symbols-outlined {
    font-size: 1rem;
}

.appointments-image-wrapper {
    display: flex;
    justify-content: center;
}

.appointments-image-inner {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 35px -18px rgba(15, 23, 42, 0.4);
}

.appointments-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 460px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .appointments-section {
        padding: 4.5rem 1rem 5rem;
    }

    .appointments-card {
        padding: 2rem 1.5rem;
    }

    .appointments-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .appointments-heading {
        font-size: 2.1rem;
    }

    .appointments-image-inner {
        max-width: 320px;
    }
}

@media (min-width: 768px) {
    .appointments-section {
        padding: 6rem 2rem 7rem;
    }

    .appointments-card {
        padding: 3rem 2.75rem;
    }

    .appointments-heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .appointments-heading {
        font-size: 3.5rem;
    }
}

@media (min-width: 1280px) {
    .appointments-section {
        padding: 7rem 4rem 8rem;
    }
}


/* ===================================
   SITE FOOTER
   =================================== */
.site-footer {
    background: radial-gradient(ellipse at top left, rgba(15, 23, 42, 0.6), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(15, 23, 42, 0.7), transparent 60%),
        linear-gradient(to bottom, #020617, #020617);
    color: #e5e7eb;
    padding: 3rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.footer-column-brand {
    max-width: 24rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.6));
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #e5e7eb;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 23, 42, 0.7);
    color: #9ca3af;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.footer-social-icon {
    width: 1.3rem;
    height: 1.3rem;
    fill: currentColor;
    transition: transform 220ms ease, opacity 220ms ease;
}

.footer-social-link:hover {
    background-color: rgba(0, 82, 204, 0.95);
    color: #f9fafb;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.8);
}

.footer-social-link:hover .footer-social-icon {
    transform: scale(1.08);
    opacity: 0.98;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.9375rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link-icon {
    font-size: 1.1rem;
    color: rgba(148, 163, 184, 0.95);
    transition: transform 200ms ease, color 200ms ease, opacity 200ms ease;
}

.footer-link-text {
    transition: transform 200ms ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link:hover .footer-link-icon {
    color: #60a5fa;
    transform: translateX(2px) scale(1.05);
    opacity: 1;
}

.footer-link:hover .footer-link-text {
    transform: translateX(1px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #9ca3af;
}

.footer-contact-list .material-symbols-outlined {
    font-size: 1.25rem;
    color: #60a5fa;
}

.footer-contact-list a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-contact-list a:hover {
    color: #ffffff;
}

.footer-separator {
    margin: 2.5rem 0 1.5rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(55, 65, 81, 0.8), transparent);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8125rem;
    color: #6b7280;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-link {
    font-size: 0.8125rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-bottom-link:hover {
    color: #ffffff;
}

.footer-credit {
    margin-top: 1.5rem;
    text-align: right;
    font-size: 0.8125rem;
    color: #6b7280;
}

.footer-heart {
    color: #ef4444;
}

.footer-credit-link {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
}

.footer-credit-link:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer {
        padding: 3rem 1.25rem 2rem;
    }

    .footer-credit {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .footer-main {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
        grid-auto-rows: auto;
    }

    .footer-column-contact {
        grid-column: 1 / -1;
    }
}