/* ROOT CONFIGURATION */
:root {
    --dark-bg: #F8FAFC;          /* Clean Near-White Canvas */
    --dark-card: #ffffff;        /* Solid White Cards */
    --warm-beige: #E2E8F0;       /* Cool Gray Section BG */
    --brand-gold: #CFA353;       /* Mapped to Brand Gold */
    --brand-maroon: #7a1c29;     /* Mapped to Brand Maroon */
    --brand-navy: #011736;       /* Mapped to Brand Navy */
    
    --text-main: #334155;
    --text-slate-600: #475569;
    --text-slate-700: #334155;
    --text-slate-400: #94a3b8;
    --text-slate-300: #cbd5e1;
    --border-color: #cbd5e1;
}

/* BASE RULES & TYPOGRAPHY */
body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* UTILITY HELPERS */
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.15em; }
.font-xs { font-size: 11px; }
.font-sm { font-size: 13px; }
.fw-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 1rem; }
.space-y-4 > * + * { margin-top: 1.5rem; }
.space-y-5 > * + * { margin-top: 2rem; }

/* CUSTOM ROUND MOUSE CURSOR EFFECT */
.custom-cursor {
    width: 32px;
    height: 32px;
    border: 2px solid var(--brand-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease-out, background-color 0.2s, border-color 0.2s;
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-maroon);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.05s ease-out;
}

/* Scaling trigger class during active interactive node hovers */
body.cursor-hover .custom-cursor {
    transform: translate(-50%, -50%) scale(1.6);
    background-color: rgba(207, 163, 83, 0.15);
    border-color: var(--brand-maroon);
}

body.cursor-hover .custom-cursor-dot {
    transform: translate(-50%, -50%) scale(0.6);
}

@media (min-width: 992px) {
    body, a, button, input, textarea, select, .btn, [role="button"] {
        cursor: none;
    }
}

/* SCROLLBAR DESIGNS */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0b0708;
}
::-webkit-scrollbar-thumb {
    background: #25181a;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold);
}

/* GRID BACKGROUND */
.grid-bg {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(250, 248, 245, 0.96)), 
                radial-gradient(circle, rgba(122, 28, 41, 0.08) 1px, transparent 1px);
    background-size: auto, 24px 24px;
}
/* PRELOADER STYLES WITH OFFICIAL LOGO */
#preloader {
    z-index: 2000;
    background-color: var(--dark-bg);
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.preloader-ping {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(207, 163, 83, 0.35);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.preloader-pulse {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 1px solid rgba(122, 28, 41, 0.25);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.preloader-center {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border: 2px solid var(--brand-gold);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    padding: 4px;
    overflow: hidden;
}

.preloader-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.preloader-text {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--brand-navy);
    font-weight: 800;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* EMERGENCY ALERT BANNER */
.emergency-banner {
    background: linear-gradient(to right, #2d0b11, #1a1515, #2d0b11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pulse-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.shadow-emerald {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.emergency-text {
    font-size: 11px;
}

.emergency-phone-link {
    font-size: 11px;
    color: var(--text-slate-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.emergency-phone-link:hover {
    color: var(--brand-gold);
}

/* HEADER & NAVIGATION */
.bg-header-blur {
    background-color: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-height {
    height: 100px;
}

.group-logo {
    transition: transform 0.3s;
}

.logo-wrapper {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 12px;
}

.logo-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* background-color: var(--dark-card); */
}

.logo-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--brand-navy);
    line-height: 1;
}

.logo-subtitle {
    font-size: 9px;
    color: var(--text-slate-600);
    font-weight: 800;
    letter-spacing: 0.18em;
}

.nav-item-link {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-slate-600);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-item-link:hover {
    color: var(--brand-maroon);
}

/* BUTTONS */
.btn-gradient {
    position: relative;
    overflow: hidden;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: linear-gradient(to right, var(--brand-maroon), var(--brand-gold));
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    opacity: 0.95;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(207, 163, 83, 0.35);
}

.btn-gradient:active {
    transform: scale(0.95);
}

.btn-gradient-large {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: linear-gradient(to right, var(--brand-maroon), var(--brand-gold));
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient-large:hover {
    color: #ffffff;
    box-shadow: 0 0 25px rgba(207, 163, 83, 0.35);
}

.btn-gradient-large:active {
    transform: scale(0.95);
}

.btn-outline-custom {
    padding: 16px 32px;
    border-radius: 12px;
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--text-main);
}

/* MOBILE MENU */
.mobile-menu-drawer {
    background-color: rgba(248, 250, 252, 0.95);
}

.nav-mobile-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-slate-600);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-mobile-link:hover {
    color: #0f172a;
}

/* HERO ELEMENTS */
.hero-height {
    min-height: 90vh;
}

.ambient-glow {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
}

.bg-gold-glow {
    background-color: rgba(207, 163, 83, 0.1);
}

.bg-maroon-glow {
    background-color: rgba(122, 28, 41, 0.05);
}

.badge-custom {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    color: var(--brand-maroon);
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.dot-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.bg-gold {
    background-color: var(--brand-gold);
}

.hero-title {
    font-size: calc(1.8rem + 1.5vw);
    font-weight: 800;
    line-height: 1.05;
    color: var(--brand-navy);
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--brand-maroon), var(--brand-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 15px;
    line-height: 1.6;
    max-width: 512px;
}

/* METRICS CARD */
.metrics-card {
    background-color: var(--dark-card);
    border-color: var(--border-color) !important;
}

.card-glow-overlay {
    background: linear-gradient(to top right, rgba(207, 163, 83, 0.05), transparent);
    opacity: 0;
    pointer-events: none;
}

.group-hover:hover .card-glow-overlay {
    opacity: 1;
}

.live-node-badge {
    top: -1px;
    right: -1px;
    padding: 6px 14px;
    border-bottom-left-radius: 12px;
    background-color: var(--brand-gold);
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.metrics-card-title {
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.20em;
    color: var(--text-slate-600);
}

.metric-label {
    color: var(--text-slate-600);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.metric-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--brand-navy);
}

.metric-plus {
    color: var(--brand-gold);
    font-weight: 800;
    font-size: 18px;
    margin-left: 2px;
}

/* SECTION TITLES */
.section-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--brand-maroon);
}

.section-badge-gold {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--brand-gold);
}

.section-title {
    font-size: calc(1.5rem + 0.5vw);
    font-weight: 800;
    color: var(--brand-navy);
}

@media (min-width: 992px) {
    .section-title {
        font-size: 32px;
    }
}

.bg-warm-beige {
    background-color: var(--warm-beige) !important;
}

/* TIMELINE ELEMENTS */
.timeline-glow {
    top: -160px;
    left: -160px;
    width: 384px;
    height: 384px;
    background-color: rgba(207, 163, 83, 0.05);
    filter: blur(48px);
}

.timeline-wrapper {
    border-left: 1px solid #cbd5e1;
}

.timeline-item {
    padding-left: 40px;
}

.timeline-indicator-teal {
    left: -5px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--brand-gold);
    box-shadow: 0 0 10px rgba(207, 163, 83, 0.8);
}

.timeline-indicator-maroon {
    left: -5px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--brand-maroon);
    box-shadow: 0 0 10px rgba(122, 28, 41, 0.4);
}

.timeline-indicator-maroon-alpha {
    left: -5px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(122, 28, 41, 0.8);
    box-shadow: 0 0 10px rgba(122, 28, 41, 0.4);
}

.timeline-year {
    left: -128px;
    top: 4px;
    font-size: 18px;
    color: var(--brand-maroon);
}

@media (max-width: 768px) {
    .timeline-year {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        display: block;
        margin-bottom: 12px;
    }
}

.timeline-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(226, 232, 240, 0.6) !important;
    max-width: 896px;
    transition: border-color 0.3s;
}

.timeline-card:hover {
    border-color: #cbd5e1 !important;
}

.timeline-card-title {
    font-size: 16px;
    color: var(--brand-navy);
}

.timeline-card-desc {
    font-size: 12px;
    color: var(--text-slate-600);
    line-height: 1.6;
}

.timeline-card-founding {
    font-size: 10px;
    color: var(--text-slate-600);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* LEGENDS CARD */
.legend-card {
    background-color: var(--dark-card);
    transition: border-color 0.3s, transform 0.3s;
}

.legend-card:hover {
    border-color: rgba(207, 163, 83, 0.5) !important;
    transform: translateY(-4px);
}

.legend-glow-overlay-teal {
    background: linear-gradient(to bottom, rgba(207, 163, 83, 0.02), transparent);
    opacity: 0;
    pointer-events: none;
}

.legend-glow-overlay-maroon {
    background: linear-gradient(to bottom, rgba(122, 28, 41, 0.02), transparent);
    opacity: 0;
    pointer-events: none;
}

.legend-glow-overlay-navy {
    background: linear-gradient(to bottom, rgba(1, 23, 54, 0.02), transparent);
    opacity: 0;
    pointer-events: none;
}

.legend-card:hover .legend-glow-overlay-teal,
.legend-card:hover .legend-glow-overlay-maroon,
.legend-card:hover .legend-glow-overlay-navy {
    opacity: 1;
}

.legend-icon {
    font-size: 24px;
}

.legend-img-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid;
}

.border-teal {
    border-color: rgba(207, 163, 83, 0.3) !important;
}

.border-maroon {
    border-color: rgba(122, 28, 41, 0.3) !important;
}

.border-navy {
    border-color: rgba(1, 23, 54, 0.2) !important;
}

.legend-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.legend-card:hover .legend-img {
    filter: grayscale(0%) !important;
    opacity: 1;
    transform: scale(1.05);
}

.legend-name {
    font-size: 14px;
    color: var(--brand-navy);
}

.legend-sub {
    font-size: 10px;
    color: var(--brand-gold);
    font-weight: 800;
}

.legend-desc {
    font-size: 12px;
    color: var(--text-slate-600);
    line-height: 1.6;
}

/* PINNING SERVICES EXCLUSIVES */
.services-pin-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 5;
}

.pin-dots-indicator {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 576px) {
    .pin-dots-indicator {
        right: 40px;
    }
}

.pin-dots-indicator .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: transparent;
}

.pin-dots-indicator .dot.active {
    background-color: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    transform: scale(1.3);
}

.service-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.bg-navy { background-color: var(--brand-navy); }
.bg-navy-solid { background-color: #011736; }
.bg-purple-solid { background-color: #1a0f21;background-image:url('/assets/images/d-bg.jpgs'); }
.bg-maroon-solid { background-color: #7a1c29; }

.panel-badge {
    font-size: 10px;
    font-weight: 800;
    color: var(--brand-gold);
}

.panel-title {
    font-size: calc(1.6rem + 0.5vw);
}

@media (min-width: 576px) {
    .panel-title {
        font-size: 32px;
    }
}

.panel-desc {
    font-size: 14px;
    line-height: 1.6;
}

.panel-card-accent {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-gradient-box {
    height: 176px;
    background: linear-gradient(to top right, rgba(122, 28, 41, 0.2), rgba(207, 163, 83, 0.15));
}

.panel-gradient-box-purple {
    height: 176px;
    background: linear-gradient(to top right, rgba(122, 28, 41, 0.2), rgba(207, 163, 83, 0.15));
}

.panel-gradient-box-maroon {
    height: 176px;
    background: linear-gradient(to top right, rgba(1, 23, 54, 0.4), rgba(207, 163, 83, 0.1));
}

.panel-icon-large {
    font-size: 48px;
}

/* DIRECTORY STAGING OVERRIDES (Ensures overlay clean flow after GSAP wrapper) */
.directory-section {
    position: relative;
    z-index: 10;
}

/* SEARCH ENGINE BAR */
.group-search {
    z-index: 1;
}

.search-blur-bg {
    inset: -1px;
    background: linear-gradient(to right, var(--brand-gold), var(--brand-maroon));
    opacity: 0.25;
}

.group-search:focus-within .search-blur-bg {
    opacity: 0.5;
}

.search-input {
    padding: 16px 20px 16px 44px;
    background-color: var(--dark-card) !important;
    border: 1px solid var(--border-color) !important;
    font-size: 12px;
    color: var(--text-main) !important;
}

.search-input::placeholder {
    color: var(--text-slate-400);
}

.search-input:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: none !important;
}

/* FILTERS */
.btn-filter {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--text-slate-700);
    border: none;
    transition: all 0.3s;
}

.btn-filter:hover {
    color: var(--brand-navy);
    background-color: rgba(255, 255, 255, 0.8);
}

.btn-filter.active {
    background-color: var(--brand-gold);
    color: var(--dark-bg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* DOCTOR CARD CONTAINER */
.doctor-inner {
    background-color: var(--dark-card);
    border-color: rgba(226, 232, 240, 0.8) !important;
    transition: all 0.3s ease;
}

.doctor-inner:hover {
    border-color: rgba(207, 163, 83, 0.5) !important;
}

.doctor-avatar {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-color: rgba(207, 163, 83, 0.3) !important;
}

.doctor-avatar-dietician {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.doctor-inner:hover .doctor-avatar {
    border-color: var(--brand-gold) !important;
}

.doctor-inner:hover .doctor-avatar-dietician {
    border-color: #f59e0b !important;
}

.doctor-badge-id {
    font-size: 9px;
    color: var(--text-slate-600);
    font-weight: 800;
    letter-spacing: 0.15em;
}

.doctor-tag {
    font-size: 9px;
    padding: 2px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(207, 163, 83, 0.2);
    background-color: rgba(207, 163, 83, 0.1);
    color: var(--brand-gold);
    letter-spacing: 0.15em;
    display: inline-block;
}

.doctor-tag-dietician {
    font-size: 9px;
    padding: 2px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    letter-spacing: 0.15em;
    display: inline-block;
}

.doctor-name {
    font-size: 14px;
    color: var(--brand-navy);
    transition: color 0.2s;
}

.doctor-inner:hover .doctor-name {
    color: var(--brand-maroon);
}

.doctor-loc {
    font-size: 10px;
    color: var(--text-slate-600);
}

.doctor-footer {
    border-color: #f1f5f9 !important;
    font-size: 10px;
}

.footer-label {
    color: var(--text-slate-600);
}

.footer-val {
    color: var(--text-slate-700);
    font-weight: 500;
}

/* CONTACT & FOOTER SCENE */
.contact-footer-bg {
    background: linear-gradient(to right, #2d0b11, #1a1515, #2d0b11);
    position: relative;
    z-index: 10;
}

.contact-glow {
    top: 50%;
    left: 25%;
    width: 600px;
    height: 600px;
    background-color: rgba(207, 163, 83, 0.05);
    filter: blur(150px);
    transform: translateY(-50%);
}

.footer-icon {
    font-size: 16px;
    color: var(--brand-gold);
}

.hover-gold:hover {
    color: var(--brand-gold) !important;
}

.inquiry-card {
    background-color: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.inquiry-card-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--text-slate-300);
}

.border-bottom-dim {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.border-top-dim {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-label-custom {
    color: var(--text-slate-400);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 9px;
}

.form-input-dark {
    padding: 14px 16px;
    background-color: rgba(26, 26, 26, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 12px;
}

.form-input-dark:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: none !important;
}

.form-input-dark::placeholder {
    color: var(--text-slate-600);
}

.footer-column-heading {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--brand-gold);
}

.footer-copyright {
    font-size: 10px;
    color: var(--text-slate-400);
    font-weight: 500;
}

.hover-white:hover {
    color: #ffffff !important;
}

/* BOOTSTRAP MODAL STYLES */
.referral-modal-box {
    background-color: #000d21;
}

.border-dim {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.btn-close-custom {
    font-size: 16px;
    transition: color 0.2s;
    outline: none;
}

.btn-close-custom:hover {
    color: #ffffff;
}

/* PREMIUM SCROLL REVEAL SETUP */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CORE KEYFRAME ANIMATIONS */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}
/* Center the timeline container */
#history .container-xl {
    max-width: 900px; /* Constrains the width to keep it centered and readable */
    margin: 0 auto;
}

.timeline-wrapper {
    border-left: 2px solid #e2e8f0;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Ensure timeline items are aligned correctly */
.timeline-item {
    padding-left: 40px;
    position: relative;
    max-width: 800px;
}
/* SUPER STYLISH MAROON SHARE BUTTONS */
.share-section {
    background-color: #fbfcfd !important; /* Extremely soft clean background */
}

.share-title {
    color: var(--brand-navy) !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid rgba(122, 25, 41, 0.15); /* Sleek maroon-tinted border */
    color: var(--brand-maroon); /* Pure maroon icons */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    box-shadow: 0 4px 10px rgba(122, 25, 41, 0.03);
}

.share-btn:hover {
    background-color: var(--brand-maroon); /* Transitions to solid maroon */
    color: #ffffff; /* White icon on hover */
    border-color: var(--brand-maroon);
    transform: translateY(-4px) scale(1.1); /* Smooth elegant lift */
    box-shadow: 0 10px 24px rgba(122, 25, 41, 0.25); /* Premium soft maroon glow */
}

.share-btn svg {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn:hover svg {
    transform: scale(1.05);
}
a {
    text-decoration: none;
        color: inherit;

}