/* SHMC Theme - Professional Design Upgrade */
:root {
    --primary: #005C8F;
    /* Cold Deep Blue */
    --primary-dark: #00476E;
    --secondary: #4EBEE9;
    /* Sky Blue */
    --accent: #F5A623;
    /* Gold (Usage: Sparse) */
    --text-main: #1E293B;
    /* Cool Slate */
    --text-muted: #64748B;
    --light-bg: #FAFCFF;
    /* Cool Tinted Background */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 25px -5px rgb(0 0 0 / 0.1);
    --font-main: 'Outfit', sans-serif;
    --bg-off-white: #F0F9FF;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* ============================================
   GLOBAL IMAGE AUTO-FIT RULES
   Ensures all uploaded images fit properly
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Carousel Images - Full viewport coverage */
.carousel-image,
.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Feedback/How We Care Images - Show full content without cropping */
.feedback-swiper img,
.swiper-slide img,
#how-we-care img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Facility Images - 3D Cube faces */
.facility-cube img,
.cube-face img,
.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* About Section Images */
.rounded-img,
.about-image,
#about img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

/* Parallax Background Images */
.parallax-section,
.parallax-banner {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Ensure all section images are responsive */
.content-section img,
.section-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Facilities Section - Single Line Layout */
.facilities-swiper-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2rem;
    overflow-x: auto !important;
    padding: 2rem 0;
    scroll-behavior: smooth;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.facilities-swiper-container::-webkit-scrollbar {
    display: none;
}

.facility-cube-card {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 300px;
}



/* --- CUSTOM MINIMALIST SCROLLBAR --- */
::-webkit-scrollbar {
    width: 5px;
    /* Thinner and cleaner */
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* Subtle Grey Default */
    border-radius: 20px;
    border: 2px solid var(--light-bg);
    transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
    /* Sky Blue on Hover */
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 var(--light-bg);
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background: var(--light-bg);
    overflow-x: hidden;
}

/* --- GLOBAL IMAGE RESET (Fixes Big Design) --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- CONTACT US BUTTON IN HEADER --- */
.btn-contact-us {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
    text-decoration: none;
    white-space: nowrap;
}

.btn-contact-us:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
}

.contact-emoji {
    font-size: 1rem;
    animation: emojiBounce 1.5s ease-in-out infinite;
    display: inline-block;
}

.btn-contact-text {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes emojiBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(-3deg); }
    50% { transform: translateY(-4px) rotate(0deg); }
    75% { transform: translateY(-2px) rotate(3deg); }
}

/* Mobile responsiveness for header button */
@media (max-width: 768px) {
    .btn-contact-us {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .contact-emoji {
        font-size: 0.9rem;
    }
    
    .btn-contact-text {
        font-size: 0.7rem;
    }
}

/* Emergency Modal - Minimal Design */
.emergency-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.emergency-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.emergency-modal-container {
    background: #ffffff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow: hidden; /* Remove scrollbar */
}

.emergency-modal-overlay.active .emergency-modal-container {
    transform: scale(1);
}

.emergency-modal-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.emergency-header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.header-emoji {
    animation: none; /* Remove animations for minimal design */
}

.emergency-header-text h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.emergency-header-text p {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.emergency-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.emergency-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.emergency-modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto; /* Only body scrolls, not container */
}

/* Custom scrollbar for modal body only */
.emergency-modal-body::-webkit-scrollbar {
    width: 4px;
}

.emergency-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.emergency-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.emergency-contact-section {
    margin-bottom: 25px;
}

.emergency-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.emergency-section-icon.mobile-icon {
    background: var(--primary);
}

.emergency-section-icon.landline-icon {
    background: var(--secondary);
}

.section-emoji {
    animation: none; /* Remove animations */
}

.emergency-section-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}

.emergency-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emergency-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.emergency-contact-item:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.contact-item-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.contact-number {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-item-right {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.emergency-contact-item:hover .contact-item-right {
    background: var(--primary-dark);
}

.call-icon {
    font-size: 0.9rem;
    animation: none; /* Remove animations */
}

.emergency-modal-footer {
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e2e8f0;
}

.emergency-urgent-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    justify-content: center;
}

.urgent-emoji {
    font-size: 1rem;
    animation: none; /* Remove animations */
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .emergency-modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .emergency-modal-header {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .emergency-header-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .emergency-header-text h2 {
        font-size: 1.1rem;
    }
    
    .emergency-header-text p {
        font-size: 0.8rem;
    }
    
    .emergency-modal-close {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
    }
    
    .emergency-modal-body {
        padding: 20px;
        max-height: 65vh;
    }
    
    .emergency-section-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .emergency-section-content h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .emergency-contact-item {
        padding: 10px 12px;
    }
    
    .contact-number {
        font-size: 0.85rem;
    }
    
    .contact-label {
        font-size: 0.75rem;
    }
    
    .contact-item-right {
        width: 28px;
        height: 28px;
    }
    
    .call-icon {
        font-size: 0.8rem;
    }
    
    .emergency-modal-footer {
        padding: 12px 20px;
    }
    
    .emergency-urgent-text {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .urgent-emoji {
        font-size: 0.9rem;
    }
}

/* Adjust header positioning - no contact bar at top */
.site-header {
    top: 0;
}
.hero-carousel {
    margin-top: 0; /* Remove gap - header is fixed */
}

/* --- 1. GLASSMORPHISM NAVIGATION/* Header */
.site-header {
position: fixed;
top: 0; /* Back to top since no contact bar */
left: 0;
right: 0;
width: 100%;
height: 56px; /* Back to a very slim, petite height */
padding: 0 5%;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 9999;
background: rgba(255, 255, 255, 0.82);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
height: 50px;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3rem;
    flex: 1;
    margin-left: 3rem;
}

/* Mobile Toggle */
.mobile-toggle,
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition-smooth);
}

.site-header.scrolled .mobile-toggle {
    color: var(--primary);
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.site-logo img {
    height: 180px; /* Even bigger logo as requested */
    width: auto;
    transition: all 0.3s ease;
    display: block;
    margin: -62px 0; /* Adjusted negative margin to keep 56px header thin */
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

.site-logo:hover img {
    transform: scale(1.03);
}

.site-header.scrolled .site-logo img {
    height: 140px;
    margin: -45px 0;
}

.main-navigation {
    flex: 1;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    /* Slightly tighter spacing */
    list-style: none;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #2D3748; /* Sophisticated slate grey */
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06rem; /* Breathable spacing */
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.main-navigation a i {
    font-size: 0.65rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.main-navigation li:hover > a i {
    transform: rotate(180deg);
}

.site-header.scrolled .main-navigation a {
    color: rgba(0, 71, 110, 1);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover {
    color: var(--primary);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* --- DROPDOWN MENU --- */
.main-navigation li {
    position: relative;
}

/* Sub-menu hidden by default */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    /* Directly below */
    left: 50%;
    transform: translateX(-50%);
    /* Center align */
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    visibility: hidden;
    opacity: 0;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
    flex-direction: column;
    /* Stack vertically */
    gap: 0;
    margin-top: 20px;
    /* Gap for hover path */
    overflow: hidden;
}

/* Sub-menu arrow */
.main-navigation ul ul::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

/* Show on Hover */
.main-navigation li:hover>ul {
    visibility: visible;
    opacity: 1;
    margin-top: 10px;
}

.main-navigation ul ul li {
    width: 100%;
    display: block;
    margin: 0;
}

.main-navigation ul ul a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 0.85rem;
    text-align: left;
    white-space: nowrap;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 0;
}

.main-navigation ul ul a::after {
    display: none;
    /* No underline for dropdown items */
}

.main-navigation ul ul a:hover {
    background: rgba(0, 71, 110, 0.05);
    color: var(--primary);
    transform: translateX(8px);
    /* Slide effect */
}

/* CTA Button in Nav */
.header-cta .btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 71, 110, 0.15);
}

.header-cta .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 71, 110, 0.25);
    filter: brightness(1.05);
}

.header-cta .btn-primary:hover {
    background: white;
    color: rgba(0, 71, 110, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 71, 110, 0.4);
}

/* Force no-wrap globally for the CTA button */
.header-cta .btn-primary {
    white-space: nowrap;
}

/* --- WHAT'S NEW BUTTON (INTERACTIVE & ATTRACTIVE) --- */
.btn-whats-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white !important;
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: whatsNewPulse 2s infinite;
}

.btn-whats-new:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%);
    color: white !important;
}

.btn-whats-new-gif {
    height: 24px;
    width: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px;
}

@keyframes whatsNewPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* --- INTERMEDIATE LAPTOP FIX (1024px - 1300px) --- */
@media screen and (max-width: 1300px) {
    .site-header {
        padding: 0 2%;
    }

    .nav-container {
        gap: 1.5rem;
        margin-left: 1rem;
    }

    .main-navigation ul {
        gap: 1.5rem;
    }

    .site-logo img {
        height: 120px;
        margin: -30px 0;
    }
}

.btn-primary-white {
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 2.2rem;
    border-radius: 8px;
    /* Minimalist Unified */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-off-white);
}

.row-flex {
    display: flex;
    gap: 5rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--primary);
}

.about-feature-item i {
    color: var(--secondary);
}

/* --- 2. IMPROVED HERO SECTION --- */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    margin-top: 0; /* Remove gap - header is fixed */
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    list-style: none;
}

/* Missing Layout Fixes */
.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-track {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls:hover {
    background: rgba(0, 168, 232, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}


.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    /* Less brightness for better text contrast */
    transform: scale(1.05);
    transition: transform 6s ease;
    /* Infinite zoom effect possible via JS */
}

.carousel-slide.active .carousel-image {
    transform: scale(1);
}

/* Subtle zoom out on active */

/* --- ADVANCED HERO DASHBOARD (Cinematic V2) --- */
.hero-cinematic-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 5%; /* Fluid sides based on screen width */
    
    /* The core cinematic gradient: Elegant, soft, and slightly transparent */
    background: linear-gradient(90deg, 
        rgba(10, 25, 47, 0.8) 0%,   /* Soft dark navy */
        rgba(10, 25, 47, 0.6) 35%,  /* Fading quicker */
        rgba(10, 25, 47, 0.2) 60%,  /* Nearly clear */
        rgba(10, 25, 47, 0) 100%);  /* Completely clear on the right */
    color: var(--white);
    text-align: left;
}

.hero-cinematic-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* fluid vertical spacing */
    max-width: 800px;
    margin-top: 3rem; /* Push down past header */
}

/* 1. Status Bar */
.hero-status-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e2e8f0;
    align-self: flex-start;
}

.status-pulse-wrapper {
    position: relative;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981; /* Emerald green */
    border-radius: 50%;
    position: absolute;
    z-index: 2;
}

.status-pulse-ring {
    width: 100%;
    height: 100%;
    background-color: #10b981;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    animation: statusPulse 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

/* 2. Main Title Area */
.hero-main-title h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Flawless fluid scaling */
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff; /* Pure white text instead of a gray gradient */
    text-shadow: 0 4px 15px rgba(0,0,0,0.5), 
                 0 0 40px rgba(255,255,255,0.2); /* Soft ethereal glow */
}

.hero-tagline {
    font-size: clamp(1rem, 1.5vw, 1.3rem); /* Fluid scaling */
    color: #cbd5e1;
    font-weight: 400;
    letter-spacing: 0.5px;
    max-width: 700px;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* 3. Quick Stats Grid */
.hero-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem; /* reduced padding */
}

.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-stat-card i {
    font-size: 2.2rem;
    color: #38bdf8; /* Sky blue */
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.35rem; /* scaled down from 1.5rem */
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* 4. Action Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #00A8E8, #005a7d);
    color: white;
    padding: clamp(12px, 2vh, 16px) clamp(24px, 3vw, 32px); /* Fluid padding */
    border-radius: 12px;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 168, 232, 0.45);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: clamp(12px, 2vh, 16px) clamp(24px, 3vw, 32px); /* Fluid padding */
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

/* Image scaling adjustment for cinematic text */
.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Force image focal point to the right as left is text */
    filter: brightness(0.85) saturate(1.1); /* Don't need as dark since we have gradient */
    transform: scale(1.05);
    transition: transform 6s ease;
}

.carousel-slide.active .carousel-image {
    transform: scale(1);
}

/* Animations added to cinematic hero elements */
.carousel-slide.active .hero-cinematic-inner > div {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.carousel-slide.active .hero-status-bar { animation-delay: 0.1s; }
.carousel-slide.active .hero-main-title { animation-delay: 0.3s; }
.carousel-slide.active .hero-quick-stats { animation-delay: 0.5s; }
.carousel-slide.active .hero-actions { animation-delay: 0.7s; }

/* Responsive Fallbacks for Cinematic Hero */
@media (max-width: 1024px) {
    .hero-cinematic-content {
        background: linear-gradient(90deg, 
            rgba(5, 15, 30, 0.95) 0%, 
            rgba(5, 15, 30, 0.9) 50%, 
            rgba(5, 15, 30, 0.5) 80%, 
            rgba(5, 15, 30, 0) 100%);
    }
}

@media (max-width: 768px) {
    .hero-cinematic-content {
        background: rgba(5, 15, 30, 0.75); /* Solid dark overlay on mobile */
        justify-content: center;
        text-align: center;
    }
    .hero-cinematic-inner {
        align-items: center;
        margin-top: 2rem;
    }
    .hero-status-bar {
        align-self: center;
    }
    .hero-quick-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding-top: 1rem;
        border-top: none;
    }
    .hero-stat-card {
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* --- 3. SECTIONS & CARDS --- */
.content-section {
    padding: 2rem 5%;
    /* Minimal padding to eliminate empty space */
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-align: left;
    /* Global left align */
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
    /* Global left align */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.doctor-avatar {
    width: 120px;
    height: 120px;
    background: var(--bg-off-white);
    border-radius: 50%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.doctor-avatar i {
    font-size: 3.5rem;
    color: var(--secondary);
}

.doctor-specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.doctor-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Facilities Scroll Fixed */
.facilities-scroll-container {
    padding: 2rem 1rem 4rem;
    scrollbar-width: none;
}

.facilities-scroll-container::-webkit-scrollbar {
    display: none;
}

.facility-card {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.facility-card:hover {
    transform: scale(1.02);
}

/* Parallax Adjustments */
.parallax-section {
    position: relative;
    padding: 6rem 5%;
    /* Tightened from 10rem */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Helper Classes */
.bg-off-white {
    background-color: var(--bg-off-white);
}

.flex-item {
    flex: 1;
    min-width: 300px;
}

.rounded-img {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* --- 4. FOOTER --- */
.site-footer {
    background: #002D47;
    /* Deeper Cold Blue */
    color: #e2e8f0;
    padding: 0;
}

.footer-split-layout {
    display: flex;
    flex-wrap: wrap;
    background: #002D47;
}

.footer-map-section {
    flex: 1;
    flex-basis: 45%;
    /* Slightly smaller width share */
    min-width: 300px;
    position: relative;
    min-height: 350px;
    /* Reduced */
    padding: 2rem;
    /* Reduced padding */
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-card {
    width: 100%;
    height: 100%;
    min-height: 250px;
    /* Reduced min-height */
    max-height: 300px;
    /* Cap height */
    border-radius: 12px;
    /* Softer radius */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* Softer shadow */
    border: 2px solid rgba(255, 255, 255, 0.1);
    /* Cleaner border */
    position: relative;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .footer-map-section {
        padding: 1rem;
        min-height: 250px;
    }
}

.footer-content-section {
    width: 100%;
    padding: 1.5rem 5% 0.5rem;
    background: #002D47;
    display: flex;
    justify-content: center;
}

.site-info {
    background: #001f33;
    color: #94a3b8;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0;
    width: 100%;
}

.footer-widget h3,
.footer-widget h4 {
    color: var(--white);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-widget p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-widget ul li {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-widget a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-widget a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-widget i {
    color: var(--secondary);
    margin-right: 0.5rem;
    width: 20px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .carousel-content h2 {
        font-size: 2.5rem;
    }

    .site-header {
        background: var(--glass);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        height: 52px;
        padding: 0 5%;
    }

    .site-logo h1 a {
        color: var(--primary);
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .main-navigation a {
        color: var(--text-main);
        font-size: 1.2rem;
    }

    .header-cta {
        display: none;
    }
}

/* --- REVEAL ANIMATION --- */
.reveal {
    opacity: 1;
    /* Always visible - no more hidden content! */
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1 !important;
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
}

/* --- TYPEWRITER EFFECT STYLING --- */
.typewriter-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
    min-height: 200px;
    /* Reserve space to prevent layout shift */
    white-space: pre-wrap;
    /* Preserve line breaks */
    position: relative;
}

.typewriter-text::after {
    content: '|';
    color: var(--secondary-color);
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Hide cursor after typing is complete */
.typewriter-text.typing-complete::after {
    display: none;
}

/* --- FACILITIES IMAGES & LAYOUT FIXED --- */
.facilities-swiper-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 2rem 5%;
    margin-top: 2rem;
}

.facility-cube-card {
    flex: 0 0 300px;
    /* Fixed width strictly */
    width: 300px;
    height: 380px;
    /* Fixed Height including text */
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    overflow: hidden;
    background: white;
    margin: 0;
    /* Remove auto margin */
}

.facility-swiper {
    width: 100%;
    height: 300px;
    /* Fixed Image Area Height */
}

.facility-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop perfectly */
    display: block;
}

.facility-cube-content {
    padding: 15px;
    text-align: center;
    background: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-cube-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary);
}


/* --- 10. HOW WE CARE SECTION (Feedback) */
#how-we-care {
    background: #f8fafc;
    padding: 60px 5%;
    overflow: hidden;
}

.feedback-carousel-container {
    width: 100%;
    margin-top: 2rem;
    padding: 0;
}

.feedback-swiper {
    width: 100%;
    height: 400px;
    /* Enforce height on container */
    padding-bottom: 30px;
}

.feedback-slide {
    width: 300px !important;
    /* Force override Swiper */
    height: 400px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
}

.feedback-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Ensure full image is visible */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: white;
}




/* --- SMOOTH SCROLLING FOR FEEDBACK CAROUSEL --- */
.feedback-swiper .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -moz-transition-timing-function: linear !important;
    -ms-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

/* --- ALIGNMENT FIX FOR HOW WE CARE --- */
#how-we-care .section-header {
    text-align: left;
    /* Ensure text aligns left like other sections if needed, or remove if center is desired */
    /* The padding fixed above should solve the main alignment issue */
}

/* --- 11. CHATBOT SKY WIDGET --- */
.sky-chat-widget {
    position: fixed;
    bottom: 30px; /* Sits at the bottom right */
    right: 30px;
    z-index: 9999;
    font-family: var(--font-main);
}

/* Trigger Button */
.sky-chat-trigger {
    background: white;
    border: none;
    border-radius: 50%; /* Create a perfect circle */
    padding: 8px; /* Symmetrical padding */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 92, 143, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 66px; /* Explicit width/height for a perfect circle */
    height: 66px;
}

/* Hide the text label to match the user's request */
.sky-trigger-text {
    display: none !important;
}

.sky-chat-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 92, 143, 0.4);
}

.sky-avatar-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.sky-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.sky-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10B981;
    /* Online Green */
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

.sky-trigger-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    padding-right: 5px;
}

/* Chat Window */
.sky-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 92, 143, 0.1);
}

.sky-chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.sky-chat-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.sky-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sky-header-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.sky-header-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
}

.sky-status-dot-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    border: 1.5px solid white;
}

.sky-header-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.sky-role {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 300;
}

.sky-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.sky-chat-close:hover {
    opacity: 1;
}

/* Messages Area */
.sky-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sky-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: fadeInUp 0.3s ease;
}

.sky-message.bot {
    align-self: flex-start;
}

.sky-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.sky-message-avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.sky-message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.sky-message.user .sky-message-avatar {
    display: none;
    /* Hide user avatar to save space */
}

.sky-message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 15px;
    border-top-left-radius: 2px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-main);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sky-message.user .sky-message-content {
    background: var(--secondary);
    color: white;
    border-radius: 15px;
    border-top-right-radius: 2px;
    border-top-left-radius: 15px;
}

/* Input Area */
.sky-chat-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

#sky-chat-input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

#sky-chat-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.sky-chat-send {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sky-chat-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Typing Indicator (Hidden by default) */
.sky-typing {
    display: flex;
    gap: 4px;
    padding: 8px 12px !important;
}

.sky-typing span {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.sky-typing span:nth-child(1) {
    animation-delay: -0.32s;
}

.sky-typing span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}


/* --- SKY SCREENS (Privacy & Language) --- */
.sky-screen {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: fadeIn 0.3s ease;
}

.sky-screen.active {
    display: flex;
}

.sky-screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    background: #f8fafc;
}

.sky-screen-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sky-screen-content h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.sky-screen-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.sky-btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sky-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.sky-lang-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.sky-lang-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s;
}

.sky-lang-btn:hover {
    border-color: var(--secondary);
    background: #f0f9ff;
    transform: translateY(-2px);
}

.sky-lang-btn .emoji {
    font-size: 1.2rem;
}

/* Chat Screen Specifics */
#sky-screen-chat {
    background: white;
}


/* --- FIX: Chatbot Layout & Scrollbar --- */
.sky-chat-window {
    display: flex;
    flex-direction: column;
}

.sky-chat-header {
    flex-shrink: 0;
    /* Header never shrinks */
}

.sky-screen {
    flex: 1;
    overflow: hidden;
    /* Prevent screen itself from scrolling, inner containers will scroll */
    min-height: 0;
    /* Flexbox scrolling fix */
}

.sky-screen.active {
    display: flex;
    flex-direction: column;
}

#sky-screen-chat {
    height: 100%;
}

.sky-chat-messages {
    flex: 1;
    overflow-y: auto !important;
    /* Force scroll capability */
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    height: 100%;
}

.sky-chat-input-area {
    flex-shrink: 0;
    /* Input area never shinks */
    background: white;
    z-index: 10;
}

/* Custom Scrollbar for Chat */
.sky-chat-messages::-webkit-scrollbar {
    width: 8px;
}

.sky-chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sky-chat-messages::-webkit-scrollbar-thumb {
    background: #90cdf4;
    /* Soft Blue */
    border-radius: 4px;
}

.sky-chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
    /* Darker Blue */
}


/* --- SKY QUICK REPLIES (Interactive Chips) --- */
.sky-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center; /* Center-align chips for a cleaner, chat-app feel */
    padding: 0 10px;
}

.sky-quick-reply {
    background: white;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.sky-quick-reply:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(78, 190, 233, 0.3);
}

/* CAROUSEL STYLES (v4) */
.sky-carousel {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 5px;
    width: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    /* Firefox */
}

.sky-carousel::-webkit-scrollbar {
    height: 4px;
}

.sky-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.sky-card {
    min-width: 180px;
    max-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    scroll-snap-align: center;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}

.sky-card:hover {
    transform: translateY(-3px);
}

.sky-card img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 10px;
}

.sky-card-body {
    padding: 10px;
    text-align: center;
}

.sky-card-body h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: var(--dark);
}

.sky-card-body p {
    margin: 0 0 10px 0;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.2;
}

.sky-card-body button {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
}

.sky-card-body button:hover {
    background: var(--secondary);
}

/* CUSTOM EMOJIS (v6) */
.sky-emoji {
    height: 24px;
    width: auto;
    vertical-align: middle;
    margin: 0 4px;
    display: inline-block;
}

/* --- LOGIN SYSTEM STYLES --- */

/* Login Button in Header */
.btn-login {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    /* Using theme primary var */
    cursor: pointer;
    margin-right: 15px;
    padding: 5px;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.user-display-name-header {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
}

.btn-login:hover {
    transform: scale(1.1);
    color: var(--secondary);
}

/* Modal Overlay */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Darker backdrop */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.login-modal-container {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.login-modal-overlay.active .login-modal-container {
    transform: translateY(0) scale(1);
}

/* Close Button */
.login-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.login-close-btn:hover {
    color: var(--primary);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.login-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* Animated Textbox (Floating Label) */
.input-group-animated {
    position: relative;
    margin-bottom: 25px;
}

.input-group-animated input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    background: white;
    color: var(--dark);
}

.input-group-animated label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: 0.2s ease all;
    background: white;
    padding: 0 5px;
    font-size: 1rem;
}

/* Float State */
.input-group-animated input:focus,
.input-group-animated input:not(:placeholder-shown) {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.input-group-animated input:focus~label,
.input-group-animated input:not(:placeholder-shown)~label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-top: 10px;
}

.login-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.login-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Error Shake Animation */
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- FORCE HIGH Z-INDEX FOR MODAL --- */
#auth-modal,
.modal-overlay {
    z-index: 10000 !important;
}

.modal-content {
    z-index: 10001 !important;
}

/* --- Forum Read More Button --- */
.btn-read-more {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-read-more:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 92, 143, 0.1);
}

.btn-read-more i {
    margin-left: 10px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateY(4px);
}

/* --- Forum Social Login Buttons --- */
.social-login-forum-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-google-social,
.btn-fb-social {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-google-social {
    background: white;
    color: #444;
}

.btn-google-social:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-google-social i {
    color: #4285F4;
    font-size: 1.1rem;
}

.btn-fb-social {
    background: #1877F2;
    color: white;
    border: none;
}

.btn-fb-social:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.btn-fb-social i {
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================ */

/* --- SMALL MOBILE (320px - 480px) --- */
@media (max-width: 480px) {

    /* Base Typography */
    html {
        font-size: 14px;
    }

    /* Container Padding */
    .container {
        padding: 0 1rem;
    }

    /* Header */
    .site-header {
        height: 52px;
        padding: 0 1rem;
    }

    .site-logo img {
        height: 90px;
        margin: -18px 0;
    }

    /* Navigation - Hamburger Menu */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 2rem 1.5rem;
        transition: right 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-navigation a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        justify-content: space-between;
    }

    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        display: none;
        margin-top: 0.5rem;
        border-radius: 0;
    }

    .main-navigation ul ul::before {
        display: none;
    }

    .main-navigation li:hover > ul {
        display: block;
        margin-top: 0.5rem;
    }

    .main-navigation ul ul a {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        color: #475569;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary);
    }

    /* Hero Carousel */
    .hero-carousel {
        height: 400px;
    }

    .carousel-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .carousel-content p {
        font-size: 0.9rem;
        margin: 0.75rem 0;
    }

    .carousel-controls {
        bottom: 1rem;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* About Section - Stack Layout */
    .row-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .flex-item {
        min-width: 100%;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .rounded-img {
        max-height: 300px;
    }

    /* Feedback Cards - Single Column */
    .feedback-swiper-container {
        padding: 1rem 0;
    }

    .feedback-slide {
        width: 280px !important;
        height: 350px !important;
    }

    /* Facilities - Optimized Scroll */
    .facilities-swiper-container {
        gap: 1rem;
        padding: 1rem 0;
    }

    .facility-cube-card {
        min-width: 250px;
        max-width: 250px;
    }

    /* Services Grid - Single Column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Footer - Stack Columns */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
    }

    /* Typewriter Text */
    .typewriter-text {
        font-size: 0.95rem;
        min-height: 150px;
    }
}

/* --- LARGE MOBILE (481px - 767px) --- */
@media (min-width: 481px) and (max-width: 767px) {
    html {
        font-size: 15px;
    }

    .hero-carousel {
        height: 450px;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .feedback-slide {
        width: 320px !important;
        height: 380px !important;
    }

    .facility-cube-card {
        min-width: 280px;
        max-width: 280px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .rounded-img {
        max-height: 350px;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary);
    }

    .header-cta {
        display: none;
    }

    /* Mobile Navigation Drawer */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 2rem 1.5rem;
        transition: right 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-navigation a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
}

/* --- TABLET (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 2rem;
    }

    /* Hero */
    .hero-carousel {
        height: 500px;
    }

    .carousel-content h1 {
        font-size: 2.5rem;
    }

    /* About Section - Side by Side */
    .row-flex {
        flex-direction: row;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    .rounded-img {
        max-height: 450px;
    }

    /* Feedback Cards - 2 Visible */
    .feedback-slide {
        width: 340px !important;
        height: 400px !important;
    }

    /* Facilities */
    .facility-cube-card {
        min-width: 280px;
        max-width: 300px;
    }

    /* Services - 2 Columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Footer - 2 Columns */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* --- DESKTOP (1025px - 1440px) --- */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-carousel {
        height: 600px;
    }

    .carousel-content h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .rounded-img {
        max-height: 500px;
    }
}

/* --- LARGE DESKTOP (1441px+) --- */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
        margin: 0 auto;
    }

    .hero-carousel {
        height: 650px;
    }

    .carousel-content h1 {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.75rem;
    }

    .rounded-img {
        max-height: 600px;
    }
}

/* --- TOUCH DEVICE OPTIMIZATIONS --- */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .btn,
    .carousel-control,
    .main-navigation a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .btn:hover {
        transform: none;
    }

    /* Optimize scrolling */
    .facilities-swiper-container,
    .feedback-swiper-container {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .facility-cube-card,
    .feedback-slide {
        scroll-snap-align: start;
    }
}

/* --- LANDSCAPE MOBILE --- */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-carousel {
        height: 350px;
    }

    .carousel-content h1 {
        font-size: 1.5rem;
    }

    .carousel-content p {
        font-size: 0.85rem;
    }
}

/* --- LIGHTBOX STYLES --- */
.sky-lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 9999;
    /* High z-index to sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.sky-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s;
    object-fit: contain;
}

.sky-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.sky-lightbox-close:hover,
.sky-lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Caption */
#sky-lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
    }

    to {
        transform: scale(1);
    }
}

/* Cursor for clickable images */
.feedback-img,
.carousel-image,
.swiper-slide img,
.rounded-img,
.service-card img,
#about img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

/* Exclude UI elements from lightbox trigger */
.site-logo img,
.sky-avatar-wrapper img {
    cursor: default;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* --- TABLET & SMALL LAPTOP (max-width: 1024px) --- */
/* --- TABLET & SMALL LAPTOP (max-width: 1024px) --- */
@media screen and (max-width: 1024px) {
    .site-header {
        padding: 0 2%;
    }

    .nav-container {
        gap: 1rem;
        margin-left: 0.5rem;
    }

    /* Prevent wrapping and scale text */
    .header-cta {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .header-cta .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
        /* Prevent line break */
    }

    .main-navigation ul {
        gap: 1rem;
    }

    .main-navigation a {
        font-size: 0.8rem;
    }

    .carousel-content h2 {
        font-size: clamp(2rem, 5vw, 3rem);
        /* Fluid scaling */
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* --- REDESIGNED SEPARATOR QUOTE --- */
.separator-quote-container {
    width: 100%;
    padding: 3.5rem 0; /* Massively reduced vertical padding */
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
    position: relative;
    overflow: hidden;
}

.elegant-quote-wrapper {
    position: relative;
    display: inline-block;
    padding: 1rem 3rem; /* Reduced internal padding */
    /* Beautiful subtle border design */
    border-top: 1px solid rgba(0, 168, 232, 0.2);
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

/* Elegant Sparkles */
.elegant-quote-wrapper::before,
.elegant-quote-wrapper::after {
    content: '✦'; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #00A8E8;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: pulseSparkle 3s infinite alternate;
}

.elegant-quote-wrapper::before { left: 1rem; }
.elegant-quote-wrapper::after { right: 1rem; }

@keyframes pulseSparkle {
    0% { opacity: 0.3; transform: translateY(-50%) scale(0.8); text-shadow: 0 0 5px transparent; }
    100% { opacity: 1; transform: translateY(-50%) scale(1.1); text-shadow: 0 0 15px #00A8E8; }
}

.separator-quote-text {
    font-family: var(--font-main), 'Inter', 'Outfit', 'Helvetica Neue', sans-serif !important;
    font-size: clamp(1.1rem, 2vw, 1.8rem) !important; /* Significantly reduced base and max font size */
    font-weight: 200 !important; /* Made significantly thinner */
    font-style: normal !important; /* Explicitly remove any inherited italics */
    letter-spacing: 5px !important; /* Slightly increased letter spacing to compensate for smaller size */
    margin: 0 auto !important;
    max-width: 100% !important; 
    padding: 0 20px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-transform: uppercase !important;
    
    /* Elegant solid text base */
    color: #0f172a !important; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    position: relative;
}

/* The reliable, bulletproof sweeping shine effect */
.separator-quote-text::after {
    content: attr(data-text); /* Pulls the exact same text */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 20px; /* Match parent padding */
    left: 0; /* Reset left position since padding handles it */
    box-sizing: border-box; /* Crucial for exact overlay alignment */
    font-size: clamp(1.1rem, 2vw, 1.8rem) !important; /* Must precisely match base font size */
    
    /* Shining light color */
    color: #00A8E8 !important;
    text-shadow: 0 0 15px #00A8E8, 0 0 30px #ffffff;
    
    /* The clip-path creates the "beam" shape over the text */
    clip-path: polygon(-20% 0, 0 0, -20% 100%, -40% 100%);
    animation: textScan 4s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    pointer-events: none; /* Let clicks pass through if needed */
    
    font-weight: 200 !important; /* Ensure overlay matches thinner base weight */
    font-style: normal !important; /* Ensure overlay is not italic */
}

@keyframes textScan {
    0% { clip-path: polygon(-30% 0, -10% 0, -30% 100%, -50% 100%); }
    40% { clip-path: polygon(130% 0, 150% 0, 130% 100%, 110% 100%); }
    100% { clip-path: polygon(130% 0, 150% 0, 130% 100%, 110% 100%); } /* Rest period */
}

/* Responsive constraints for the Separator Quote */
@media screen and (max-width: 992px) {
    .elegant-quote-wrapper {
        padding: 1.5rem 3rem;
    }
    .separator-quote-text,
    .separator-quote-text::after {
        white-space: normal !important; /* Allow wrapping on tablets/mobile */
        letter-spacing: 3px !important;
    }
}

@media screen and (max-width: 768px) {
    .separator-quote-container {
        padding: 4rem 15px; /* Reduce tall vertical padding */
    }
    .elegant-quote-wrapper {
        padding: 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .elegant-quote-wrapper::before,
    .elegant-quote-wrapper::after {
        display: none; /* Hide sparkles on mobile to prevent overlap */
    }
    .separator-quote-text {
        font-size: 1.3rem !important; /* Cap font size */
        letter-spacing: 2px !important;
        line-height: 1.6 !important; /* Improve readability of wrapped lines */
    }
    /* Ensure the data-text overlay scales perfectly with the parent height */
    .separator-quote-text::after {
        font-size: 1.3rem !important;
        letter-spacing: 2px !important;
        line-height: 1.6 !important;
    }
}

/* Add a bold emphasis keyword effect if the user wraps words in span */
.separator-quote-text span.highlight,     
.separator-quote-text strong {
    font-weight: 700 !important;
    color: #00A8E8 !important; /* Solid color for emphasis inside gradient text */
    -webkit-text-fill-color: #00A8E8 !important;
}

/* --- MOBILE & TABLET (max-width: 768px) --- */
@media screen and (max-width: 768px) {

    /* 1. Reset Global Structure */
    .row-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .content-section {
        padding: 3rem 5%;
    }

    /* 2. Header & Navigation */
    .site-header {
        height: 50px;
        padding: 0 5%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .site-logo img {
        height: 80px;
        margin: -15px 0;
    }

    .mobile-menu-toggle {
        display: block;
        color: var(--primary);
        font-size: 1.8rem;
        padding: 5px;
    }

    /* Mobile Menu Drawer */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 85%;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }

    .main-navigation.active {
        right: 0;
        /* Slide in */
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 2rem;
    }

    .main-navigation a {
        font-size: 1.25rem;
        color: var(--text-main);
    }

    .header-cta {
        display: flex;
        /* Keep visible but scaled */
        gap: 5px;
    }

    .header-cta .btn-primary {
        padding: 6px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .btn-login {
        font-size: 1.2rem;
    }

    /* 3. Hero Section */
    .hero-carousel {
        height: 80vh;
        /* Reduce height */
    }

    .carousel-content {
        width: 90%;
    }

    .carousel-content h2 {
        font-size: 2.2rem;
        /* Much smaller */
        line-height: 1.2;
    }

    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-content a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* 4. Grids (Services, Doctors) */
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    /* 5. Footer */
    .footer-split-layout {
        flex-direction: column-reverse;
        /* Put map at bottom */
    }

    .footer-map-section,
    .footer-content-section {
        flex-basis: auto;
        width: 100%;
        min-height: 250px;
        padding: 2rem 1.5rem;
    }

    .footer-map-section {
        min-height: 200px;
        padding: 0 1rem 2rem 1rem;
        /* Padding around map */
    }

    .map-card {
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 250px;
    }

    /* 6. Lightbox Mobile */
    .sky-lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .sky-lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
        color: white;
        background: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
    }
}

/* --- SMALL MOBILE (max-width: 480px) --- */
@media screen and (max-width: 480px) {
    .hero-carousel {
        height: 60vh;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .btn-primary,
    .btn-primary-white {
        width: 100%;
        /* Full width buttons */
        text-align: center;
    }

    .facilities-swiper-container {
        padding: 1rem 0;
    }

    .facility-cube-card {
        min-width: 85vw;
        /* Almost full width cards */
    }
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.ringing-phone {
    display: inline-block;
    animation: ring 2s ease-in-out infinite;
    transform-origin: center center;
}

.floating-phone-btn {
    position: fixed;
    bottom: 30px;
    /* Sits on the left side, away from the chat and FAB */
    left: 30px;
    z-index: 99999;
    /* HIGHEST priority above FAB wrapper */
    background-color: var(--primary);
    /* Deep blue */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.floating-phone-btn:hover {
    transform: scale(1.1);
    background-color: #008cc9;
    /* Lighter blue on hover */
    color: white;
}

/* --- HMO ACCREDITATION --- */
#hmo-accreditation {
    padding: 4rem 5%;
    background-color: var(--white);
    text-align: center;
}

.hmo-carousel-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding-top: 2rem;
}

.hmo-single-swiper {
    width: 100%;
    padding: 0.5rem;
    height: 220px;
    /* Increased height for bigger logos */
    overflow: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.hmo-slide {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.hmo-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
}

@media (min-width: 640px) {
    .hmo-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hmo-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .hmo-page-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 2.5rem;
    }
}

.hmo-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 71, 110, 0.08);
    padding: 1rem;
    /* Reduced padding for more logo space */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 71, 110, 0.04);
    transition: all 0.3s ease;
}

.hmo-card:hover {
    box-shadow: 0 10px 25px rgba(0, 71, 110, 0.1);
    border-color: rgba(0, 168, 232, 0.3);
}

.hmo-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- 7. DEPARTMENT DIRECTORY --- */
#department-directory {
    padding: 2rem 5%;
    /* MATCH SERVICES PADDING EXACTLY */
    text-align: left;
    position: relative;
    overflow: hidden;
}

#department-directory .section-header {
    margin-bottom: 3rem;
    text-align: left;
    width: 100%;
    max-width: 100%;
    /* Remove constraint */
    padding-left: 0;
    /* Remove extra padding */
    margin-left: 0;
}

.departments-container {
    max-width: 95%;
    /* Significantly wider */
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    /* Prevent overflow spilling out of the modal box */
}

.departments-swiper {
    padding: 2rem 1rem 3rem 1rem;
    overflow: hidden;
    /* Strict constrain on the swiper itself */
    width: 100%;
}

.departments-swiper .swiper-slide {
    height: auto !important;
    width: 100% !important;
    /* Force slides into strict modal bounds */
    box-sizing: border-box;
}

.dept-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .dept-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .dept-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.dept-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 71, 110, 0.08);
    /* Soft shadow */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    /* Equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    /* Hidden by default */
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 71, 110, 0.15);
}

.dept-card:hover::before {
    transform: scaleX(1);
    /* Show line on hover */
}

.dept-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 168, 232, 0.1);
    /* Light blue bg */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.dept-card:hover .dept-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
    /* Flip effect */
}

.dept-info h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dept-loc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.dept-phone {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #f8fafc;
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.dept-phone:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

/* Nav Buttons */
.dept-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dept-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.dept-prev {
    left: -20px;
}

.dept-next {
    right: -20px;
}

/* Pagination Dots */
.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 25px !important;
    border-radius: 5px !important;
}

/* Response Fix for Mobile */
@media screen and (max-width: 768px) {
    .dept-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dept-prev {
        left: 0;
    }

    .dept-next {
        right: 0;
    }



    #about .about-feature-item i {
        color: var(--secondary) !important;
    }

    .departments-swiper {
        /* Add padding for buttons */
        padding: 2rem 2.5rem 3rem 2.5rem;
    }
}

/* --- ANIMATIONS & VISUAL POLISH --- */

/* 1. Scroll Reveal Animation */
.reveal {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* Stagger delays for children */
.reveal-delay-1 {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

/* 2. Enhanced Card Hover Effects */
.service-card,
.dept-card,
.doctor-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    /* Bouncy feel */
}

.service-card:hover,
.dept-card:hover,
.doctor-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0, 71, 110, 0.15) !important;
    border-color: rgba(0, 168, 232, 0.3) !important;
}


/* 3. Section Dividers (SVG Shapes) */
.custom-shape-divider-bottom-1689904620 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1689904620 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    /* Adjustable height */
}

.custom-shape-divider-bottom-1689904620 .shape-fill {
    fill: #FAFCFF;
    /* Matches light-bg */
}

/* Special Divider for Blue Sections */
.shape-fill-blue {
    fill: #005C8F !important;
}

.shape-fill-off-white {
    fill: #F0F9FF !important;
    /* Matches var(--bg-off-white) */
}

/* =========================================
/* =========================================
   SEPARATOR QUOTE (White Bar)
   ========================================= */
.separator-quote-container {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    z-index: 20;
    text-align: center;
    padding: 3rem 0;
    /* Generous padding for the white bar */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Very subtle separation */
    border-radius: 0 !important;
    mask: none !important;
    -webkit-mask: none !important;
    clip-path: none !important;
    overflow: visible !important;
    /* Ensure nothing is hidden but also nothing projects */
}

/* Force Hide Hero Divider if it exists */
.custom-shape-divider-bottom-hero {
    display: none !important;
}

.separator-quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0 20px;
    margin: 0;

    /* Luxury Shine Effect */
    background: linear-gradient(to right,
            #0c151c 20%,
            #8f6B29 40%,
            #F4E29C 50%,
            #8f6B29 60%,
            #0c151c 80%);
    background-size: 200% auto;
    color: #0c151c;
    /* Fallback */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 768px) {
    .separator-quote-text {
        font-size: 1.5rem;
    }
}

/* =========================================
   FIXED ABOUT SECTION (Clean Transition)
   ========================================= */
/* =========================================
   FIXED ABOUT SECTION (Professional Layout)
   ========================================= */
/* =========================================
   FIXED ABOUT SECTION (Embedded Wavy Layout)
   ========================================= */
/* =========================================
   FIXED ABOUT SECTION (Embedded Wavy Layout)
   ========================================= */
/* =========================================
   ABOUT SECTION (Clean Wavy Layout)
   ========================================= */
/* =========================================
   ABOUT SECTION (Final Fixed Layout)
   ========================================= */
/* =========================================
   ABOUT SECTION (Final Fixed Layout - NO TOP WAVE)
   ========================================= */
/* =========================================
   ABOUT SECTION (Final Fixed Layout - FLAT TOP)
   ========================================= */
#about {
    position: relative !important;
    padding-top: 8rem !important;
    padding-bottom: 6rem !important;
    padding-left: 0 !important;
    /* Removed to allow full width for absolute children like wave dividers */
    padding-right: 0 !important;
    background-color: #f8fafc !important;
    /* Light Pearl/White background */
    background-image: none !important;
    /* Ensure no image overrides */
    overflow: visible !important;
    /* Changed to visible to allow the bottom wave divider to spill over */
    display: block !important;
    border-radius: 0 !important;
    mask: none !important;
    -webkit-mask: none !important;
    clip-path: none !important;
    margin-top: 0 !important;
}

/* FIX: Ensure the inner background image container is also flat */
.about-background {
    border-radius: 0 !important;
    mask: none !important;
    -webkit-mask: none !important;
    clip-path: none !important;
    top: 0 !important;
    overflow: hidden !important;
}

/* NUCLEAR OPTION: Hide ALL possible top dividers in this area */
.custom-shape-divider-top-about,
#about .custom-shape-divider-top-about,
.custom-shape-divider-bottom-1689904620,
#about>svg,
.separator-quote-container svg,
.separator-quote-container::after,
.separator-quote-container::before {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.custom-shape-divider-top-about .shape-fill {
    display: none !important;
}

/* Elegant Icon Divider from About to How We Care */
.cool-gradient-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transform: translateY(50%);
    /* Center it exactly on the line between the two sections */
}

.cool-gradient-divider .divider-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(24, 48, 89, 0), rgba(16, 185, 129, 0.5), rgba(24, 48, 89, 0));
    max-width: 400px;
    /* Keep it centered and elegant */
}

.cool-gradient-divider .divider-icon {
    font-size: 1.5rem;
    color: var(--cta-green, #10b981);
    margin: 0 20px;
    background: #ffffff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(24, 48, 89, 0.15);
    border: 1px solid rgba(24, 48, 89, 0.05);
}

/* How We Care Section Overlap Padding */
#how-we-care {
    position: relative;
    padding-top: 6rem !important;
    /* Normal padding restored */
    padding-bottom: 6rem !important;
    padding-left: 5%;
    padding-right: 5%;
    background-color: #ffffff !important;
    /* Force explicit white background to match the wave */
    z-index: 10;
}

/* Ensure visible background color */
.custom-shape-divider-bottom-about {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 15;
    pointer-events: none;
}

.custom-shape-divider-bottom-about svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom-about .shape-fill {
    fill: #ffffff;
}

/* Background Image */
.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    /* Fully visible, but blurred by the overlay */
    display: block !important;
}

.about-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Stronger white pearl tint */
    backdrop-filter: blur(30px);
    /* Intense blur */
    -webkit-backdrop-filter: blur(30px);
    z-index: 2;
}

/* Content Container */
.about-content {
    position: relative;
    z-index: 20;
    background: transparent !important;
    padding: 0 5%;
    /* Moved padding here from #about to ensure text isn't flush with viewport */
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Typography styles duplicates removed */

/* Visuals Styles */
.about-visuals {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Prevent breaking out of grid column */
    min-height: 450px;
    height: auto;
    /* Adjusted from fixed 700px to prevent large vertical gaps */
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    /* Contain the swiper */
    border-radius: 20px;
}

.about-swiper {
    width: 100%;
    height: 100%;
}

.about-hero-img,
.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    #about {
        padding: 5rem 0 5rem !important;
        /* Keep 0 horizontal padding so the wave separator spans full width */
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-visuals {
        height: auto;
        min-height: 250px;
        max-height: 400px;
    }

    .about-content .section-header {
        text-align: center !important;
    }
}

/* Typography & Typewriter - LIGHT THEME (Pearl Background) */
.about-content .section-header {
    text-align: left !important;
    margin-bottom: 0 !important;
}

.about-content .section-header h2 {
    font-size: 3rem !important;
    color: #183059 !important;
    /* Dark Navy contrast */
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
    /* Remove shadow on light bg */
}

.about-content .section-header p {
    font-size: 1.1rem !important;
    color: #8f6B29 !important;
    /* Gold */
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    text-shadow: none !important;
}

.about-content .typewriter-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem !important;
    line-height: 1.5 !important;
    color: #334155 !important;
    /* Slate gray text */
    min-height: 120px;
    display: block;
    border-right: 3px solid #8f6B29;
    padding-right: 5px;
    animation: blink 0.75s step-end infinite;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: visible;
    text-shadow: none !important;
    /* Remove shadow on light bg */
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #8f6B29
    }
}

/* Right Side - Visuals */
/* Consolidated .about-visuals above */

/* Features Grid */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem !important;
    color: #0c151c !important;
    /* Force Dark Text */
    font-weight: 600 !important;
    background-color: #f1f5f9;
    /* Light grey/blue background for chip */
    padding: 12px 20px;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content;
    /* Don't stretch */
}

.about-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #e2e8f0;
}

.about-feature-item i {
    color: #8f6B29 !important;
    /* Force Gold Icon */
    font-size: 1.1rem !important;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }

    .section-header {
        text-align: center !important;
    }

    .about-visuals {
        display: block;
        height: auto;
        min-height: 250px;
        max-height: 400px;
        order: -1; /* Show video above text on mobile */
    }

    .sticky-about-img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
        border-radius: 16px;
    }

    .about-features {
        justify-content: center;
    }
}


/* --- FORCE ALIGNMENT CORRECTIONS --- */
/* User requested alignment with "Our Services" */
#facilities,
#doctors,
#department-directory,
#how-we-care {
    text-align: left !important;
    padding: 2rem 5% !important;
    display: block !important;
    /* Kill any flex centering */
}

#facilities .section-header,
#doctors .section-header,
#department-directory .section-header,
#how-we-care .section-header {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    display: block !important;
    /* Ensure block level */
    float: none !important;
}

#facilities .section-header h2,
#doctors .section-header h2,
#department-directory .section-header h2,
#how-we-care .section-header h2 {
    text-align: left !important;
}

/* Ensure no inner containers are centering */
.facilities-swiper-container,
.services-grid {
    width: 100%;
    margin: 0;
    margin: 0;
}

/* --- HERO DIVIDER (Cool Transition) --- */
.custom-shape-divider-bottom-hero {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 20;
    /* On top of carousel images */
    filter: drop-shadow(0px -5px 10px rgba(0, 0, 0, 0.3));
    /* Cool shadow effect */
}



/* --- PREMIUM HERO SEPARATOR (Gradient + Parallax Waves) --- */
.hero-bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    line-height: 0;
}

/* 1. Gradient Overlay for Smooth Blend */
.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(12, 21, 28, 0.8));
    z-index: 1;
    pointer-events: none;
}

/* 2. SVG Waves */
.hero-waves {
    position: relative;
    width: 100%;
    height: 100px;
    /* Adjust height of wave area */
    min-height: 100px;
    z-index: 2;
}

/* Animation for the waves */
.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Mobile Fix for Waves */
@media (max-width: 768px) {
    .hero-waves {
        height: 60px;
        min-height: 60px;
    }
}

/* --- ABOUT SECTION SLIDESHOW --- */
.about-swiper {
    width: 100%;
    max-width: 100%;
    /* Prevent horizontal overflow */
    height: 700px;
    min-height: 700px;
    border-radius: 20px;
    background: transparent;
    padding-bottom: 50px;
    overflow: hidden;
    /* Prevent horizontal overlap! Pagination can stay inside */
}

.about-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Stack image and text */
    align-items: center;
    /* Center the text card */
    justify-content: flex-start;
}

.about-slide img {
    width: 100%;
    height: 420px;
    /* Precise height for the image */
    max-height: 50vh;
    object-fit: cover;
    /* Back to cover to fill the space rounded corners */
    border-radius: 20px;
    /* Rounded corners all around for the photo */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow on image itself */
    transition: transform 10s ease;
}

.swiper-slide-active img {
    transform: none;
}

/* Gradient Overlay removed */
.slide-overlay {
    display: none;
}

/* Caption Styles - Clean White Overlapping Card */
.slide-caption {
    position: relative;
    width: 95%;
    max-width: 100%;
    /* Wider card */
    margin-top: -80px;
    /* Overlap the image higher up */
    z-index: 3;
    text-align: left;
    background: #ffffff;
    /* Crisp white background */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 45px 50px;
    /* More internal padding for a larger feel */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    /* Stronger Float effect shadow */
    border: none;
}

.slide-caption h3 {
    font-size: 2.2rem;
    /* Larger title */
    margin-bottom: 1rem;
    font-weight: 800;
    /* Bolder text */
    color: #183059;
    text-shadow: none;
}

.slide-caption p {
    font-size: 1.2rem;
    /* Larger description */
    color: #475569;
    /* Slate gray text */
    margin: 0;
    max-width: 100%;
    font-weight: 500;
    line-height: 1.6;
}

/* 10 Years Badge */
.badge-10years {
    display: inline-block;
    background: #0076c8;
    /* Change to primary blue to pop against white */
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s ease forwards 0.1s;
}

/* Animation Keyframes */
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pagination Dots */
.about-swiper .swiper-pagination {
    bottom: 0px !important;
}

.about-swiper .swiper-pagination-bullet {
    background: #cbd5e1 !important;
    /* Light gray dots */
    width: 10px;
    height: 10px;
    opacity: 1;
    margin: 0 6px !important;
}

.about-swiper .swiper-pagination-bullet-active {
    background: #0076c8 !important;
    /* Primary blue for active */
    width: 24px;
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .about-swiper {
        min-height: 450px;
        padding-bottom: 50px;
    }

    .about-slide img {
        height: 250px;
    }

    .slide-caption {
        width: 95%;
        margin-top: -40px;
        padding: 25px 20px;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .slide-caption h3 {
        font-size: 1.5rem;
    }
}

/* =========================================
   WHAT'S NEW SECTION
   ========================================= */
#whats-new.whats-new-section {
    position: relative;
    background: #ffffff;
    padding: 6rem 5%;
    overflow: visible;
    /* overflow must be visible so carousel nav buttons are not clipped */
}

.whats-new-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.decor-circle-1 {
    width: 600px;
    height: 600px;
    background: #183059;
    top: -200px;
    right: -150px;
}

.decor-circle-2 {
    width: 400px;
    height: 400px;
    background: #8f6B29;
    bottom: -100px;
    left: -80px;
}

.whats-new-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Section Header --- */
.whats-new-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.whats-new-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #10b981;
    margin-bottom: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.whats-new-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #183059 !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.1 !important;
}

.highlight-gold {
    color: #8f6B29 !important;
}

.whats-new-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 480px;
    line-height: 1.6;
    margin: 0;
}

.whats-new-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* --- News Card shared styles --- */
.news-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(24, 48, 89, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(24, 48, 89, 0.14);
}

.news-card-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Create a uniform height baseline avoiding extreme stretching */
    aspect-ratio: 16 / 12;
    background: #f8fafc;
    /* Matches clean card borders */
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Shows full poster, no crop */
    display: block;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.06);
}

.news-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 48, 89, 0.45) 0%, transparent 60%);
    z-index: 1;
}

/* Category Badges */
.news-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.badge-announcement {
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
}

.badge-health {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.badge-service {
    background: rgba(143, 107, 41, 0.9);
    color: #fff;
}

.badge-event {
    background: rgba(139, 92, 246, 0.9);
    color: #fff;
}

/* Card Body */
.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.news-date,
.news-read-time {
    font-size: 0.8rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.news-card-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #183059 !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.3 !important;
}

.news-card-excerpt {
    font-size: 0.9rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 0 1rem !important;
    flex: 1;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.news-author-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #183059, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.news-read-more:hover {
    gap: 0.7rem;
    color: #183059;
    text-decoration: none;
}

/* --- Featured Row Layout (Grid) --- */
.news-featured-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.news-featured-row .news-card {
    display: flex;
    flex-direction: column;
}

/* --- 4-Column Grid Row --- */
.news-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
    /* Prevents cards with little content from stretching to match tall sibling cards */
}

/* --- View All Button --- */
.news-view-all-wrap {
    text-align: center;
}

.btn-news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #183059 0%, #10b981 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-news-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(16, 185, 129, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Divider between What's New and How We Care section */
.whats-new-divider {
    position: relative;
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .news-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #whats-new.whats-new-section {
        padding: 4rem 5%;
    }

    .whats-new-title {
        font-size: 2.2rem !important;
    }

    .news-featured-row {
        grid-template-columns: 1fr;
    }

    .news-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .whats-new-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .news-grid-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   NEWS CARDS CAROUSEL
   ========================================= */
.news-carousel-wrap {
    position: relative;
    padding: 0 3.5rem 2.5rem;
    /* side padding gives room for nav buttons without needing negative offsets */
    margin-bottom: 1.5rem;
}

/* Sliding cards full width */
.news-cards-swiper {
    width: 100%;
    overflow: visible;
    padding-bottom: 0.5rem;
    /* don't clip card shadows */
}

/* Each card naturally hugs its content instead of stretching to the tallest swiper slide */
.news-cards-swiper .news-card {
    height: auto;
}

/* Swiper built-in nav buttons — custom style via .news-nav-btn */
.news-cards-swiper .swiper-button-prev.news-nav-btn,
.news-cards-swiper .swiper-button-next.news-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(24, 48, 89, 0.18);
    transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
    top: 40%;
}

/* Override Swiper default arrow color */
.news-cards-swiper .swiper-button-prev.news-nav-btn::after,
.news-cards-swiper .swiper-button-next.news-nav-btn::after {
    font-size: 1rem !important;
    font-weight: 900;
    color: #183059;
    transition: color 0.25s;
}

.news-cards-swiper .swiper-button-prev.news-nav-btn:hover,
.news-cards-swiper .swiper-button-next.news-nav-btn:hover {
    background: linear-gradient(135deg, #183059, #10b981);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.news-cards-swiper .swiper-button-prev.news-nav-btn:hover::after,
.news-cards-swiper .swiper-button-next.news-nav-btn:hover::after {
    color: #ffffff;
}

/* Hide disabled state completely */
.news-cards-swiper .swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Pagination dots */
.news-swiper-pagination {
    bottom: 0 !important;
}

.news-swiper-pagination .swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: background 0.25s, width 0.25s;
}

.news-swiper-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #183059, #10b981);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {

    .news-cards-swiper .swiper-button-prev.news-nav-btn,
    .news-cards-swiper .swiper-button-next.news-nav-btn {
        width: 36px;
        height: 36px;
    }

    .news-cards-swiper .swiper-button-prev.news-nav-btn::after,
    .news-cards-swiper .swiper-button-next.news-nav-btn::after {
        font-size: 0.85rem !important;
    }
}

/* =========================================
   DATA PRIVACY AGREEMENT MODAL
   ========================================= */

.privacy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 21, 28, 0.85);
    /* Dark cinematic backdrop */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    /* Highest priority */
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.privacy-modal-overlay.active {
    opacity: 1;
    display: flex;
}

.privacy-modal-container {
    background: #ffffff;
    border-radius: 24px;
    max-width: 550px;
    width: 100%;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.privacy-modal-overlay.active .privacy-modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.privacy-modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.privacy-handshake-gif {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
}

.privacy-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #183059;
    /* Navy Blue */
    margin: 0;
}

.privacy-lang-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.privacy-lang-label {
    font-size: 0.9rem;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.privacy-modal-body {
    margin-bottom: 2.5rem;
}

.privacy-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

.privacy-agree-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

/* =========================================
   NEWS ARTICLE MODAL
   ========================================= */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-modal-overlay.active {
    opacity: 1;
}

.news-modal-box {
    background: #ffffff;
    border-radius: 24px;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    scrollbar-width: thin;
}

.news-modal-overlay.active .news-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Close Button */
.news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #183059;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, transform 0.2s;
}

.news-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

/* Modal Image */
.news-modal-img-wrap {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 85vh;
    /* Relax max-height so posters fit beautifully within screen bounds */
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-modal-img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: cover;
    display: block;
}

.news-modal-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 48, 89, 0.55) 0%, transparent 55%);
}

.news-modal-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Modal Content Area */
.news-modal-content {
    padding: 2rem 2.25rem 1.5rem;
}

/* Meta row */
.news-modal-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Language Toggle */
.news-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.lang-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
}

#lang-tl-label {
    color: #10b981;
}

.lang-desc {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 20px;
    transition: background 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background: #10b981;
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(18px);
}

/* Modal Title & Body */
.news-modal-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #183059 !important;
    margin: 0 0 1rem !important;
    line-height: 1.25 !important;
}

.news-modal-body {
    font-size: 1rem !important;
    color: #475569 !important;
    line-height: 1.75 !important;
    margin: 0 !important;
}

/* Author Row inside modal */
.news-modal-author-row {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

/* Translate Notice */
.news-translate-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
    padding: 0.75rem 2.25rem;
    border-radius: 0 0 24px 24px;
}

.news-translate-notice i {
    color: #10b981;
    font-size: 1rem;
}

.news-translate-notice a {
    color: #10b981;
    font-weight: 700;
    text-decoration: none;
}

.news-translate-notice a:hover {
    text-decoration: underline;
}

/* Translating spinner */
.translating-spinner {
    color: #94a3b8;
    font-style: italic;
}

/* Responsive modal */
@media (max-width: 600px) {
    .news-modal-img-wrap {
        height: 210px;
    }

    .news-modal-content {
        padding: 1.25rem 1.25rem 1rem;
    }

    .news-modal-title {
        font-size: 1.2rem !important;
    }

    .news-lang-toggle {
        margin-left: 0;
        flex-wrap: wrap;
    }
}

/* =========================================
   NAVBAR — PEEK INSIDE! BUTTON
   ========================================= */

/* Ensure all header CTA items are vertically centered */
.header-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Bounce-in keyframe */
@keyframes peek-bounce {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(-3deg);
    }

    50% {
        transform: translateY(0) rotate(3deg);
    }

    75% {
        transform: translateY(-3px) rotate(-1deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Glow pulse keyframe */
@keyframes peek-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 173, 51, 0);
    }

    50% {
        box-shadow: 0 0 18px 6px rgba(255, 173, 51, 0.45);
    }
}

.btn-whats-new {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 55%, #ec4899 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.42rem 1rem 0.42rem 0.5rem;
    border-radius: 50px;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: visible;
    animation: peek-glow 2.5s ease-in-out infinite;
}

.btn-whats-new-gif {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px;
    flex-shrink: 0;
    animation: peek-bounce 2.2s ease-in-out infinite;
    transform-origin: center bottom;
}

.btn-whats-new-text {
    position: relative;
}

/* Sparkle star badge */
.btn-whats-new-text::before {
    content: '✨';
    margin-right: 2px;
    font-size: 0.75em;
}

.btn-whats-new:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.5);
    filter: brightness(1.08);
}

.btn-whats-new:active {
    transform: scale(0.97);
}

/* Hide on small screens to keep mobile navbar tight */
@media (max-width: 900px) {
    .btn-whats-new {
        display: none;
    }
}

/* =========================================
   6. QUICK ACTIONS & MODALS
   ========================================= */

/* FLOATING ACTION BUTTON (FAB) */
.shmc-fab-wrapper {
    position: fixed;
    bottom: 100px; /* Stacked above the directory button at bottom: 30px */
    left: 30px; /* Moved to left to align with directory button */
    z-index: 99990;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align menu items to the left */
    gap: 15px;
    pointer-events: none;
}

.shmc-fab-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.shmc-fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 12px 18px;
    gap: 12px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fab-menu-item:hover {
    transform: translateX(5px); /* Slide right (toward center) on hover for left-side placement */
    background: #f8fafc;
}

.fab-menu-item.btn-emergency {
    color: #ef4444;
    border-color: #fca5a5;
}

.fab-menu-item.btn-emergency i {
    font-size: 1.1rem;
}

.fab-menu-item.btn-book {
    color: #0284c7;
    border-color: #7dd3fc;
}

.fab-menu-item.btn-book i {
    font-size: 1.1rem;
}

.shmc-main-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #00476E;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 71, 110, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    pointer-events: auto;
    /* Re-enable clicks for the button itself */
}

.shmc-main-fab:hover {
    background: #0284c7;
    transform: scale(1.05);
}

.pulsing-fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(0, 71, 110, 0.5);
    animation: pulseFab 2s infinite;
    z-index: -1;
}

@keyframes pulseFab {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* APPOINTMENT BOOKING MODAL (Glassmorphism) */
.appointment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.appointment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.appointment-modal-container {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.appointment-modal-overlay.active .appointment-modal-container {
    transform: scale(1);
}

.appointment-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.appointment-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.appointment-modal-header h2 {
    color: #00476E;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.appointment-modal-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #334155;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.appointment-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 1.05rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* =========================================
   7. INTERACTIVE FLOOR MAP MODAL
   ========================================= */

.map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.map-modal-container {
    background: #ffffff;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    /* mostly fixed height to fit screen */
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-modal-overlay.active .map-modal-container {
    transform: translateY(0) scale(1);
}

.map-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #475569;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.map-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

.map-modal-layout {
    display: flex;
    height: 100%;
}

/* Map Sidebar */
.map-modal-sidebar {
    width: 320px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.map-sidebar-header {
    margin-bottom: 30px;
}

.map-sidebar-header h2 {
    color: #00476E;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.map-sidebar-header p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.route-swap-icon {
    display: flex;
    justify-content: center;
    color: #94a3b8;
    margin: -5px 0 10px;
    font-size: 1.1rem;
}

.map-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

#map-route-btn {
    background: #0ea5e9;
    color: white;
    margin-top: 15px;
}

#map-route-btn:hover {
    background: #0284c7;
}

#map-reset-btn {
    background: #e2e8f0;
    color: #475569;
}

#map-reset-btn:hover {
    background: #cbd5e1;
}

/* SVG Map Area */
.map-canvas-container {
    flex: 1;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    /* allow panning indicator */
}

.map-canvas-container:active {
    cursor: grabbing;
}

.map-zoom-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.map-zoom-controls button {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-zoom-controls button:hover {
    background: #f1f5f9;
    color: #0ea5e9;
    transform: scale(1.05);
}

#shmc-floor-svg {
    width: 100%;
    height: 100%;
    max-width: 900px;
    max-height: 900px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

/* 
  ANIMATING THE ROUTE PATH 
  We will dynamically set the dasharray in JS based on path length, 
  but this keyframe applies the drawing motion.
*/
.animate-path {
    animation: drawRoute 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
}

@keyframes drawRoute {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .map-modal-layout {
        flex-direction: column;
    }

    .map-modal-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 20px;
        /* prevent it from taking the whole screen */
        max-height: 50%;
    }

    .map-modal-container {
        height: 95vh;
        width: 95%;
    }
}

/* =========================================
   INTERACTIVE HEALTH FORUM / BLOG PAGE
   ========================================= */

.forum-split-screen {
    display: flex;
    height: calc(100vh - 80px);
    /* Fill screen minus header */
    background: #f8fafc;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #e2e8f0;
}

/* --- LEFT SIDEBAR (FEED) --- */
.forum-sidebar {
    width: 25%;
    min-width: 320px;
    max-width: 450px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.02);
    z-index: 2;
}

.forum-sidebar-header {
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.forum-sidebar-header h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-sidebar-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.forum-search {
    position: relative;
    width: 100%;
}

.forum-search input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.forum-search input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

.forum-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.forum-topic-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar for Sidebar */
.forum-topic-list::-webkit-scrollbar {
    width: 6px;
}

.forum-topic-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.forum-topic-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Topic Card */
.forum-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    outline: none;
}

.forum-card:hover,
.forum-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.forum-card.active {
    background: #f0f9ff;
    border-color: var(--secondary);
    box-shadow: inset 4px 0 0 var(--secondary), 0 4px 15px rgba(0, 168, 232, 0.1);
}

.forum-card-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forum-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* Repurpose existing badge colors */
.forum-card .badge-announcement {
    background: #e0e7ff;
    color: #4338ca;
}

.forum-card .badge-health {
    background: #dcfce7;
    color: #15803d;
}

.forum-card .badge-service {
    background: #fef3c7;
    color: #b45309;
}

.forum-card .badge-event {
    background: #fee2e2;
    color: #b91c1c;
}

.forum-card-title {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.forum-card-excerpt {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.forum-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
}

.forum-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- RIGHT MAIN STAGE --- */
.forum-content-stage {
    flex-grow: 1;
    background: #ffffff;
    overflow-y: auto;
    position: relative;
    padding: 0;
}

.forum-article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Placeholder State */
.forum-article-placeholder {
    margin: auto;
    text-align: center;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    animation: spinSlow 15s linear infinite;
}

.placeholder-ring i {
    animation: spinSlowReverse 15s linear infinite;
}

@keyframes spinSlow {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinSlowReverse {
    100% {
        transform: rotate(-360deg);
    }
}

/* Active Article State */
.forum-article-body {
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
}

.forum-article-body.loaded {
    opacity: 1 !important;
    transform: translateY(0);
}

.article-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.article-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 10px 0 20px 0;
    line-height: 1.2;
}

.article-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.art-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #94a3b8;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: #334155;
    font-size: 0.95rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.8rem;
}

.art-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    background: white;
    border: 1px solid #cbd5e1;
    padding: 8px 15px;
    border-radius: 20px;
    color: #475569;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-action:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: var(--primary);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: var(--primary);
    margin: 2rem 0 1rem 0;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Engagement Footer */
.article-engagement {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.engagement-question h4 {
    margin: 0 0 5px 0;
    color: var(--primary);
}

.engagement-question p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.engagement-buttons {
    display: flex;
    gap: 10px;
}

.btn-engage {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-yes {
    background: white;
    color: var(--primary);
    border: 1px solid #cbd5e1;
}

.btn-yes:hover,
.btn-yes.voted {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-no {
    background: white;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.btn-no:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

/* Comments Section */
.article-comments {
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.article-comments h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.comment-input-box {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-input-box input {
    flex-grow: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
}

.btn-post {
    padding: 8px 20px;
    background: #cbd5e1;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: not-allowed;
}

.comments-feed {
    margin-top: 2rem;
}

.user-comment {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.comment-body {
    background: white;
    border: 1px solid #f1f5f9;
    padding: 15px;
    border-radius: 12px;
    flex-grow: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
}

.comment-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.comment-time {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}

.comment-text {
    font-size: 0.95rem;
    color: #475569;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .forum-split-screen {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 80px);
    }

    .forum-sidebar {
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        max-height: 40vh;
        /* Takes top portion on mobile */
    }

    .forum-content-stage {
        flex-grow: 1;
        min-height: 60vh;
    }
}

/* --- WHAT'S NEW SPLIT-SCREEN REFINEMENTS --- */
.whats-new-split-screen .forum-sidebar-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.whats-new-split-screen .forum-sidebar-header h2 {
    color: var(--primary);
}

.wn-feed-card {
    border-bottom: 1px solid #f1f5f9;
}

.wn-feed-card:hover {
    background: #f8fafc;
}

.wn-feed-card.active {
    background: white;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Giant Image Display for What's New Stage */
.wn-stage-img-wrap {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #f1f5f9; /* Subtle background for images that don't fill the space perfectly */
    display: flex;
    align-items: center;
    justify-content: center;
}

.wn-stage-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents image from being cut off */
    transition: transform 0.5s ease;
}

.wn-stage-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

.wn-stage-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .wn-stage-img-wrap {
        height: 250px;
        border-radius: 12px;
    }
}

/* --- FORUM PRIVACY MODAL (2-STEP) --- */
.forum-privacy-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 9999 !important;
    display: none;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
}

/* Ensure SweetAlert is ALWAYS on top of everything */
.swal2-container {
    z-index: 100000 !important;
}

.forum-privacy-overlay.active {
    display: flex !important;
}

.forum-privacy-container {
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    animation: fadeInUp 0.4s ease;
    overflow: hidden;
}

.forum-modal-step {
    display: none !important;
    animation: fadeIn 0.3s ease;
}

.forum-modal-step.active {
    display: block !important;
}

.privacy-modal-header {
    margin-bottom: 20px;
}

.privacy-modal-header i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
}

.privacy-modal-header h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.privacy-modal-body p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.greeting-text {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary) !important;
    margin-bottom: 15px !important;
}

.greeting-text span {
    color: var(--secondary);
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    margin: 25px 0;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.privacy-checkbox input {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.privacy-checkbox label {
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    line-height: 1.4;
}

/* Transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Comment Posting Enablement */
#forum-comment-submit.ready {
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 71, 110, 0.2);
}

#forum-comment-submit.ready:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* --- SOCIAL LOGIN STYLES --- */
.social-login-header {
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.social-login-divider:not(:empty)::before {
    margin-right: .75em;
}

.social-login-divider:not(:empty)::after {
    margin-left: .75em;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-social i {
    font-size: 1.2rem;
}

.btn-google i {
    color: #DB4437;
}

.btn-facebook i {
    color: #4267B2;
}

/* Pulse animation for the trigger */
@keyframes pulse-auth {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 92, 143, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(0, 92, 143, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 92, 143, 0);
    }
}

.auth-required-pulse {
    animation: pulse-auth 2s infinite;
}

/* =========================================
   MISSION, VISION & CORE VALUES SECTION
   ========================================= */

.mvv-section {
    position: relative;
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 50%, #f8f4ee 100%);
    padding: 5rem 0 4rem;
    overflow: hidden;
    z-index: 1;
}

.mvv-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 92, 143, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mvv-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(143, 107, 41, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mvv-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

/* Header */
.mvv-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mvv-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8f6B29;
    margin-bottom: 0.6rem;
}

.mvv-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #183059;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.mvv-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slideshow Container */
.mvv-slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(24, 48, 89, 0.12);
}

.mvv-slides-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each Slide */
.mvv-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.mvv-slide-inner {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 3rem 4rem;
    overflow: hidden;
}

/* Mission slide */
.mvv-mission {
    background: linear-gradient(135deg, #00476e 0%, #0076ab 60%, #005C8F 100%);
}

/* Vision slide */
.mvv-vision {
    background: linear-gradient(135deg, #183059 0%, #2a4a8a 60%, #1a3a6e 100%);
}

/* Core Value slides */
.mvv-value {
    background: linear-gradient(135deg, #1a1a2e 0%, #183059 40%, #00476e 100%);
}

/* Decorative background accent for slides */
.mvv-slide-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.mvv-slide-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

/* Icon */
.mvv-slide-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* Badge */
.mvv-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 2;
}

.maverick-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #8f6B29;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Title */
.mvv-slide-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

/* Body */
.mvv-slide-body {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Gold accent line */
.mvv-slide-accent {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #8f6B29, #F4E29C, #8f6B29);
    border-radius: 2px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 2;
}

/* Navigation Arrows */
.mvv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.mvv-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.08);
}

.mvv-arrow-prev {
    left: 14px;
}

.mvv-arrow-next {
    right: 14px;
}

/* Dots */
.mvv-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.mvv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(24, 48, 89, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.mvv-dot.active {
    width: 28px;
    border-radius: 5px;
    background: #8f6B29;
}

.mvv-dot:hover:not(.active) {
    background: rgba(24, 48, 89, 0.4);
}

/* Progress Bar */
.mvv-progress-bar {
    height: 3px;
    background: rgba(24, 48, 89, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.mvv-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8f6B29, #F4E29C, #8f6B29);
    border-radius: 3px;
}

/* MAVERICK Badge Strip */
.maverick-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.maverick-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #183059, #00476e);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 48, 89, 0.2);
    letter-spacing: 1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.maverick-badge:hover,
.maverick-badge.active {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(143, 107, 41, 0.35);
    background: linear-gradient(135deg, #8f6B29, #F4E29C, #8f6B29);
}

/* Responsive */
@media (max-width: 768px) {
    .mvv-section {
        padding: 4rem 0 3rem;
    }

    .mvv-slide-inner {
        padding: 2.5rem 1.5rem 3rem;
        min-height: 300px;
    }

    .mvv-slide-body {
        font-size: 0.95rem;
    }

    .mvv-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .maverick-badge {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .mvv-slide-inner {
        padding: 2rem 1.2rem 2.5rem;
    }

    .mvv-arrow-prev {
        left: 6px;
    }

    .mvv-arrow-next {
        right: 6px;
    }

    .maverick-strip {
        gap: 7px;
    }

    .maverick-badge {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

/* =========================================
   PRIVACY POLICY PAGE STYLES
   ========================================= */

.privacy-policy-page {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 4rem;
    overflow-x: hidden;
}

/* Privacy Hero Section */
.privacy-hero {
    position: relative;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, #0a192f 0%, #00476e 100%);
    color: #ffffff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.privacy-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

/* Animated Cyber Grid */
.cyber-grid {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    opacity: 0.4;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); }
}

/* Floating Data Nodes */
.floating-nodes .node {
    position: absolute;
    width: 6px; height: 6px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
    animation: floatNode 6s ease-in-out infinite alternate;
}

@keyframes floatNode {
    0% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { opacity: 1; }
    100% { transform: translateY(-30px) scale(1.5); opacity: 0.5; }
}

/* Hero Content */
.privacy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero .icon-shield {
    font-size: 3rem;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    animation: pulseShield 3s infinite ease-in-out;
}

@keyframes pulseShield {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.3)); }
}

/* Clean Pulsing Text Effect */
.glitch-text {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    color: #ffffff;
    animation: pulseText 3s infinite ease-in-out;
}

@keyframes pulseText {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); }
    50% { transform: scale(1.02); filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); }
}

.privacy-hero .subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Document Container & Sidebar Layout */
.privacy-layout-container {
    width: 100%;
    margin: -4rem auto 0;
    padding: 0 1.5%;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 2rem;
    align-items: start;
    box-sizing: border-box;
}

/* Sidebar Styling */
.privacy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px; /* Sticks when scrolling */
}

/* Base Card Styles */
.privacy-card, .agenda-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 71, 110, 0.06);
    border-top: 4px solid #0ea5e9;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agenda-card {
    border-top: 4px solid #8f6B29;
}

.privacy-card:hover, .agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 71, 110, 0.12);
}

.card-icon {
    font-size: 2rem;
    color: #0ea5e9;
    margin-bottom: 1rem;
}

.agenda-gif {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: #f8fafc;
    padding: 5px;
    border: 1px solid #e2e8f0;
}

.privacy-sidebar h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.privacy-sidebar p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}

/* Central Document Wrapper */
.privacy-document-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 71, 110, 0.08);
    padding: 3.5rem;
    color: #334155;
    line-height: 1.7;
    font-size: 1.05rem;
    border-top: 5px solid #00476e;
}

.privacy-document-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f1f5f9;
}

.doc-title-area h2 {
    color: #2e1065; /* Matches the purplish SLMC text from the image */
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.doc-title-area p {
    font-size: 0.95rem;
    color: #475569;
}

/* NPC Seals Representation */
.npc-seals-area {
    text-align: center;
    flex-shrink: 0;
}

.npc-header {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.npc-badges {
    display: flex;
    gap: 1.5rem;
}

.npc-badge {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    box-shadow: none;
}

.npc-seal-img {
    height: 220px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.npc-seal-img:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

/* Privacy Accordion Interactive Layout */
.privacy-accordion-container {
    margin-top: 2rem;
}

.privacy-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.privacy-accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0, 71, 110, 0.08);
}

.privacy-accordion-header {
    width: 100%;
    text-align: left;
    background: #f8fafc;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.privacy-accordion-header.active {
    background: #e0f2fe;
}

.privacy-accordion-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

.privacy-accordion-header.active h3 {
    color: #0284c7;
}

.step-badge {
    background: #0ea5e9;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.privacy-accordion-header i {
    color: #64748b;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.privacy-accordion-header.active i {
    transform: rotate(180deg);
    color: #0284c7;
}

.privacy-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-inner {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.accordion-inner p {
    margin-bottom: 1rem;
}

.accordion-inner ul,
.accordion-inner ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.accordion-inner li {
    margin-bottom: 0.75rem;
    position: relative;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .privacy-layout-container {
        grid-template-columns: 240px 1fr 240px;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .privacy-layout-container {
        grid-template-columns: 1fr;
    }
    
    .privacy-sidebar {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .privacy-sidebar::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .privacy-card, .agenda-card {
        min-width: 260px;
        flex: 1;
    }
    
    .left-sidebar {
        order: -1; /* Above document */
    }
    
    .right-sidebar {
        order: 2; /* Below document */
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .privacy-document-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .privacy-document-header {
        flex-direction: column;
        gap: 2rem;
    }
    
    .npc-seals-area {
        align-self: center;
    }
    
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .doc-title-area h2 {
        font-size: 1.75rem;
    }
    
    .privacy-card, .agenda-card {
        min-width: 220px;
    }
}

/* =====================================================
   SHMC RESPONSIVE MASTER BLOCK
   Covers: Navbar, Hero, All Pages, All Tablets, Phones
   Browser: Chrome, Firefox, Safari, Edge (Mac/Win/Linux)
   ===================================================== */

/* 1. GLOBAL SAFE DEFAULTS — prevent horizontal overflow */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* Prevent font inflation on iOS */
}
img, video, iframe {
    max-width: 100%;
    height: auto;
}
table {
    width: 100%;
    table-layout: auto;
}

/* 2. LARGE TABLETS — 1024px */
@media (max-width: 1024px) {
    /* Navbar: tighten gaps */
    .main-navigation ul { gap: 1.2rem; }
    .site-logo img { height: 90px; margin: -18px 0; }

    /* Services: allow sidebar to shrink */
    .services-sidebar { flex: 0 0 260px; }

    /* Forum & Whats-New: keep side by side but narrower sidebar */
    .forum-split-screen { height: auto; min-height: calc(100vh - 80px); }
    .forum-sidebar { max-width: 300px; min-width: 260px; }

    /* Privacy 3-col: reduce sidebar columns on medium screens */
    .privacy-layout-container {
        grid-template-columns: 220px 1fr 220px;
    }

    /* Admin tree 3-col */
    .admin-three-col-layout {
        grid-template-columns: 220px 1fr 220px;
        gap: 1.5rem;
    }

    /* Hero text */
    .carousel-content h2 { font-size: 2.8rem; }
}

/* 3. MOBILE MENU SUB-DROPDOWN SUPPORT */
@media (max-width: 768px) {
    /* Mobile nav: show sub-menu inline on click (accordion style) */
    .main-navigation .sub-menu {
        position: static !important;
        display: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        border-radius: 8px;
        padding: 10px 0;
        width: 100%;
        margin-top: 8px;
    }
    .main-navigation .menu-item-has-children.open > .sub-menu {
        display: block;
    }
    .main-navigation .menu-item-has-children > a {
        pointer-events: auto;
        cursor: pointer;
    }
    .main-navigation .menu-item-has-children > a .fa-chevron-down {
        transition: transform 0.3s ease;
    }
    .main-navigation .menu-item-has-children.open > a .fa-chevron-down {
        transform: rotate(180deg);
    }

    /* Services: stack sidebar above main */
    .services-wrapper { flex-direction: column; padding-top: 100px; }
    .services-sidebar { flex: none; width: 100%; position: static; top: auto; }
    .srv-content-panel { padding: 24px 16px; }

    /* Forum: stack sidebar on top of stage */
    .forum-split-screen, .whats-new-split-screen {
        flex-direction: column;
        height: auto;
    }
    .forum-sidebar, .whats-new-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 45vh;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .forum-content-stage, .whats-new-stage {
        width: 100% !important;
        min-height: 50vh;
    }

    /* Privacy: stack to single column */
    .privacy-layout-container {
        grid-template-columns: 1fr !important;
        padding: 0 4%;
        margin-top: -2rem;
    }
    .privacy-sidebar {
        position: static !important;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Admin Tree: stack */
    .admin-three-col-layout {
        grid-template-columns: 1fr !important;
        padding: 0 4%;
    }
    .admin-sidebar-left, .admin-sidebar-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .admin-level-csuite { flex-direction: column; align-items: center; }
    .admin-card-exec, .admin-card-deputy { min-width: 100% !important; max-width: 100% !important; }
    .admin-level-depts { grid-template-columns: repeat(2, 1fr) !important; }

    /* Doctors: 1 col on phone */
    .doctors-grid { grid-template-columns: 1fr !important; }

    /* Hero */
    .carousel-content h2 { font-size: 2rem; line-height: 1.2; }
    .carousel-content p { font-size: 1rem; }

    /* What's New stage image */
    .wn-stage-img-wrap { height: 220px; }

    /* Forum/article */
    .article-title { font-size: 1.5rem !important; }
    .forum-article-body { padding: 20px 16px; }

    /* CTA button reflow */
    .header-cta { display: none; }

    /* Footer: 2 cols */
    .footer-widgets { grid-template-columns: repeat(2, 1fr) !important; }

    /* Hero waves */
    .admin-hero { padding: 5rem 1.5rem 4rem; }
    .admin-hero-title { font-size: 2.2rem; }
}

/* 4. SMALL PHONES — 480px */
@media (max-width: 480px) {
    /* Nav */
    .site-header { padding: 0 4%; height: 52px; }
    .site-logo img { height: 75px; margin: -10px 0; }

    /* Hero */
    .carousel-content h2 { font-size: 1.6rem; }
    .carousel-content .btn-primary { padding: 10px 22px; font-size: 0.9rem; }

    /* Services: full-width table scroll */
    .srv-pricing-table { font-size: 0.85rem; }
    .srv-pricing-table th, .srv-pricing-table td { padding: 10px 8px; }
    .services-wrapper { padding-top: 80px; padding-left: 3%; padding-right: 3%; }

    /* Privacy sidebars: single column */
    .privacy-sidebar { grid-template-columns: 1fr !important; }

    /* Admin */
    .admin-sidebar-left, .admin-sidebar-right { grid-template-columns: 1fr !important; }
    .admin-level-depts { grid-template-columns: 1fr !important; }
    .admin-info-ribbon { flex-direction: column; text-align: center; }

    /* Forum sidebar smaller */
    .forum-sidebar, .whats-new-sidebar { max-height: 35vh; }

    /* Footer: single column */
    .footer-widgets { grid-template-columns: 1fr !important; }

    /* General text scaling */
    h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    h2 { font-size: clamp(1.3rem, 4vw, 2rem); }

    /* What's New feed cards legible */
    .forum-card-title { font-size: 0.9rem; }
    .forum-card-excerpt { font-size: 0.78rem; }

    /* Price inquiry modal */
    .price-inquiry-box { padding: 2rem 1.3rem; }
    .price-inquiry-box h3 { font-size: 1.2rem; }
}

/* 5. EXTRA SMALL — 360px (older Android) */
@media (max-width: 360px) {
    .carousel-content h2 { font-size: 1.4rem; }
    .srv-tab-btn { font-size: 0.9rem; padding: 10px 12px; }
    .forum-sidebar-header h2 { font-size: 1rem; }
    .btn-piq-primary, .btn-piq-secondary { font-size: 0.85rem; padding: 12px 16px; }
}

/* 6. LANDSCAPE PHONES — fix hero height */
@media (max-width: 768px) and (orientation: landscape) {
    .carousel-slide { min-height: 100svh; }
    .forum-sidebar, .whats-new-sidebar { max-height: 55vh; }
    .admin-hero { padding: 4rem 4%; }
}

/* 7. TABLET PORTRAIT — 768–1024 */
@media (min-width: 769px) and (max-width: 1024px) {
    .privacy-sidebar { grid-template-columns: 1fr; }
    .admin-sidebar-left, .admin-sidebar-right { flex-direction: column; }
    .services-sidebar { flex: 0 0 240px; }
    .forum-sidebar { min-width: 240px; max-width: 280px; }
}

/* 8. CROSS-BROWSER PREFIXES */
/* Safari glassmorphism */
.site-header {
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
}
/* Firefox scrollbar thin */
* {
    scrollbar-width: thin;
    scrollbar-color: #00476e #f1f5f9;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #00476e; border-radius: 3px; }

/* Edge/IE: ensure grid fallback */
@supports not (display: grid) {
    .admin-three-col-layout,
    .privacy-layout-container,
    .admin-level-depts { display: flex; flex-wrap: wrap; }
}

/* 9. PRINT STYLES */
@media print {
    .site-header, .mobile-toggle, .forum-sidebar, .whats-new-sidebar,
    .services-sidebar, .header-cta, .footer-map-section { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    .srv-content-panel { display: block !important; }
}/* --- Modernized About Section Typography & Layout --- */
.shmc-about-rich-text {
    font-family: 'Inter', sans-serif;
    color: #475569;
}

.about-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.about-secondary {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 8px;
}

.about-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #0076c8;
    border-radius: 2px;
}

.about-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Commitment Cards Grid */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 2.5rem;
}

.commitment-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: #0076c8;
}

.commitment-card i {
    font-size: 1.5rem;
    color: #0076c8;
    background: #f0f9ff;
    padding: 12px;
    border-radius: 10px;
    flex-shrink: 0;
}

.commitment-card div {
    display: flex;
    flex-direction: column;
}

.commitment-card div strong {
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.commitment-card div span {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #64748b;
}

/* Services Pill Grid */
.services-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.service-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.service-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.service-pill .text-green {
    color: #10b981;
}

/* Community Box */
.community-box {
    background: linear-gradient(135deg, #0076c8 0%, #005c8f 100%);
    border-radius: 16px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    margin-top: 3.5rem;
    box-shadow: 0 15px 30px rgba(0, 118, 200, 0.15);
}

.community-content {
    position: relative;
    z-index: 2;
}

.community-box .about-heading {
    margin-top: 0;
    color: #ffffff;
}

.community-box .about-heading::after {
    background: #38bdf8;
}

.community-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.community-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    transform: rotate(-15deg);
}

.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: 1rem !important; }
.text-white { color: #ffffff !important; }
.text-opacity-90 { color: rgba(255, 255, 255, 0.9) !important; }

/* Mobile Responsiveness for the new grids */
@media (max-width: 900px) {
    .commitment-grid,
    .services-pill-grid {
        grid-template-columns: 1fr;
    }
}


/* FIX: Chatbot Layout Overlap & PointerEvent Rendering */
.sky-chat-window { bottom: 110px !important; }
.sky-message-content { word-wrap: break-word !important; overflow-wrap: break-word !important; max-width: 100% !important; }
.sky-quick-replies { margin-top: 15px !important; flex-wrap: wrap !important; }


/* Home Page About Video Fix */
.sticky-about-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px; }


/* Hero Tagline One Line Fix */
.hero-tagline { white-space: nowrap !important; max-width: none !important; font-size: clamp(0.8rem, 2vw, 1.2rem) !important; }
