        /* CSS RESET & GLOBAL BASICS */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Copse", serif;
            font-weight: 400;
            font-style: normal;
        }

        body {
            background-color: #F5F5F5;
            color: #3E2C23;
            overflow-x: hidden;
            position: relative;
        }

/* HEADER & NAVIGATION */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #95BDD7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    /* font-family removed from here */
}

/* LOGO - SEPARATE FONT FAMILY */
.logo {
    font-size: 54px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ; /* ← Separate font for logo */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
    font-weight: 1;
}    

.logo img {
            height: 40px;
            width: 40px;
            object-fit: contain;
        }

        nav {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        nav a {
            color: #FFFFFF;
            text-decoration: none;
            font-size: 16px;
            position: relative;
            padding: 6px 0;
            transition: transform 0.3s ease, color 0.3s ease;
            display: inline-block;
        }

        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: #FFFFFF;
            transition: width 0.3s ease, left 0.3s ease;
        }

        nav a:hover {
            transform: translateY(-2px);
        }

        nav a:hover::after {
            width: 100%;
            left: 0;
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            background: none;
            border: none;
        }

        .hamburger span {
            width: 30px;
            height: 30px;
            background-color: #FFFFFF;
            border-radius: 2px;
            display: block;
            height: 3px;
            transition: 0.3s;
        }

        /* CINEMATIC FIXED BACKGROUND HERO SLIDESHOW */
        .cinematic-bg-hero {
            position: fixed;
            top: 80px;
            left: 0;
            width: 100%;
            height: 50vh;
            z-index: 1;
            overflow: hidden;
        }

        .bg-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-position: center;
        }

        .bg-slide.active {
            opacity: 1;
        }

        .bg-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.45);
            z-index: 2;
        }

        /* FLOATING CONTENT CONTAINER STRUCTURE */
        .main-scroll-wrapper {
            position: relative;
            z-index: 10;
            margin-top: 180px; /* Accounts for header height */
            width: 100%;
            pointer-events: none; /* Allow scroll through empty spaces if needed */
        }

        .center-floating-panel {
            width: 85%;
            max-width: 1400px;
            background-color: #FFFFFF;
            margin: 0 auto;
            box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.08);
            pointer-events: auto; /* Re-enable pointer interactions inside the sheet */
            position: relative;
            overflow: hidden;
        }

        /* FLOATING HERO SLIDER (INSIDE THE CARD) */
        .hero-inner-slider-container {
            width: 100%;
            height: 550px;
            position: relative;
            overflow: hidden;
        }

                .hero-inner-slider-container1 {
            width: 100%;
            background-color: #93b7cf;
            height: 80px;
            position: relative;
            overflow: hidden;
        }

        .inner-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            background-position: center;
        }

        .inner-slide.active {
            opacity: 1;
        }

        /* Slider elements layer placement matching instructions */
        .caption-card-wrapper {
            position: absolute;
           margin-left:60rem;
             margin-top: 25rem;

            z-index: 20;
            max-width: 800px;
        }

        .square-caption-card {
            background-color: #97aef3;
            padding: 24px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            border: 1px solid #F7F1DE;
        }

        .square-caption-card h2 {
            font-size: 22px;
            color: white;
            line-height: 1.4;
        }

        .slider-controls-wrapper {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: 20px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(transparent, rgba(0,0,0,0.05));
            z-index: 20;
        }

        .thin-center-divider {
            width: 40%;
            height: 1px;
            background-color: #F7F1DE;
            margin: 0 auto;
        }

        .nav-btn-group {
            display: flex;
            gap: 15px;
        }

        .nav-btn {
            background-color: #FFFFFF;
            border: 1px solid #3E2C23;
            color: #3E2C23;
            width: 50px;
            height: 50px;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background-color: #95BDD7;
            color: #FFFFFF;
            border-color: #95BDD7;
            transform: translateY(-2px);
        }

        /* GLOBAL SECTION DIVIDERS */
        hr.section-divider {
            border: none;
            height: 1px;
            background-color: #F7F1DE;
            margin: 0; 
            padding: 0;
            width: 100%;
        }

        /* SECTION HEADINGS GENERAL SETUP */
        .section-padding {
            padding: 80px 60px;
            background-color: #FFFFFF;
        }

        .section-title-large {
            font-size: 36px;
            color: #3E2C23;
            margin-bottom: 40px;
            position: relative;
        }

        /* QUICK CARE CATEGORIES */
        .quick-care-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            text-align: center;
        }

        .quick-care-card {
            padding: 30px;
            transition: transform 0.3s ease;
        }

        .quick-care-card:hover {
            transform: translateY(-10px);
        }

        .quick-care-card img {
            width: 64px;
            height: 64px;
            
            margin-bottom: 20px;
            object-fit: contain;
        }

        .quick-care-card h3 {
            font-size: 24px;
            color: #3E2C23;
            margin-bottom: 15px;
        }

        .quick-care-card p {
            font-size: 15px;
            color: #666;
            line-height: 1.6;
        }

        /* FEATURE SERVICES */
        .feature-services-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }

        .feature-left img {
            width: 100%;
            height: 380px;
            object-fit: cover;
            margin-bottom: 25px;
        }

        .feature-left h3 {
            font-size: 28px;
            margin-bottom: 20px;
            color: #3E2C23;
        }

        .feature-left p {
            font-size: 16px;
            line-height: 1.8;
            color: #555;
            text-align: justify;
        }

        .feature-right h3 {
            font-size: 28px;
            margin-bottom: 25px;
            color: #3E2C23;
        }

        .feature-cards-stack {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .feature-stack-card {
            display: flex;
            flex-direction: column;
            background-color: #F5F5F5;
            overflow: hidden;
        }

        .feature-stack-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .feature-stack-content {
            padding: 20px;
        }

        .feature-stack-content h4 {
            font-size: 18px;
            margin-bottom: 8px;
            color: #3E2C23;
        }

        .feature-stack-content p {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }

        /* MEDICAL DEPARTMENTS SECTION */
        .departments-split-container {
            display: grid;
            grid-template-columns: 350px 1fr;
            background-color: #FFFFFF;
        }

        .departments-left-nav {
            background-color: #FFFFFF;
            display: flex;
            flex-direction: column;
        }

        .dept-nav-item {
            padding: 25px 30px;
            font-size: 18px;
            color: #3E2C23;
            cursor: pointer;
            background-color: #FFFFFF;
            border-left: 4px solid transparent;
            transition: all 0.3s ease;
        }

        .dept-nav-item:hover {
            border-left-color: #95BDD7;
        }

        .dept-nav-item.active {
            background-color: #F5E9D8;
            color: #3E2C23;
        }

        .departments-right-content {
            background-color: #F5E9D8;
            color: #3E2C23;
            display: flex;
            flex-direction: column;
        }

        .departments-right-content img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            display: block;
        }

        .dept-article-panel {
            padding: 40px;
        }

        .dept-article-panel h3 {
            font-size: 28px;
            margin-bottom: 20px;
        }

        .dept-article-panel p {
            font-size: 16px;
            line-height: 1.9;
            text-align: justify;
        }

        /* PATIENT TESTIMONIALS */
        .testimonial-slider-container {
            width: 100%;
            position: relative;
        }

        .testimonial-card {
            background-color: #F5E9D8;
            color: #3E2C23;
            padding: 50px;
            border-radius: 16px;
            display: none;
            flex-direction: column;
            gap: 30px;
            animation: fadeIn 0.5s ease forwards;
        }

        .testimonial-card.active {
            display: flex;
        }

        .testimonial-text {
            font-style: italic;
            font-size: 20px;
            line-height: 1.8;
        }

        .testimonial-meta {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .testimonial-meta img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
        }

        .patient-info h4 {
            font-size: 18px;
            margin-bottom: 4px;
        }

        .patient-info blockquote {
            font-size: 14px;
            color: #666;
        }

        .testimonial-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #DDD;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .dot.active {
            background-color: #3E2C23;
        }

        /* HEALTH INSIGHTS */
        .insights-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .insight-card {
            display: flex;
            flex-direction: column;
            background-color: #FFFFFF;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .insight-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        }

        .insight-img-wrapper {
            width: 100%;
            height: 240px;
            overflow: hidden;
        }

        .insight-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .insight-card:hover .insight-img-wrapper img {
            transform: scale(1.08);
        }

        .insight-article-panel {
            background-color: #F5E9D8;
            color: #3E2C23;
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .insight-article-panel h4 {
            font-size: 20px;
            line-height: 1.4;
        }

        .insight-quote {
            font-style: italic;
            font-size: 14px;
            border-left: 2px solid #3E2C23;
            padding-left: 10px;
            color: #5E4C43;
        }

        .insight-article-panel p {
            font-size: 14px;
            line-height: 1.6;
            color: #3E2C23;
            text-align: justify;
        }

        /* APP CONTENT ROUTING (DYNAMIC PAGES STYLING) */
        .page-content-view {
            display: none;
        }

        .page-content-view.active-view {
            display: block;
        }

        /* EDITORIAL INNER PAGE CONTENT DESIGN ELEMENTS */
        .editorial-rich-text {
            font-size: 16px;
            line-height: 1.9;
            color: #3E2C23;
            text-align: justify;
        }

        .editorial-rich-text h3 {
            font-size: 24px;
            margin: 35px 0 15px 0;
            color: #3E2C23;
        }

        .editorial-rich-text p {
            margin-bottom: 20px;
        }

        .editorial-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 30px 0;
        }

        /* FORM CONTROLS FOR PAGES */
        .premium-form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 20px;
        }

        .premium-form-group label {
            font-weight: bold;
            font-size: 14px;
        }

        .premium-input, .premium-select, .premium-textarea {
            width: 100%;
            padding: 14px;
            border: 1px solid #F7F1DE;
            background-color: #F5F5F5;
            font-size: 15px;
            outline: none;
            transition: border-color 0.3s;
        }

        .premium-input:focus, .premium-select:focus, .premium-textarea:focus {
            border-color: #95BDD7;
        }

        .premium-submit-btn {
            background-color: #3E2C23;
            color: #FFFFFF;
            padding: 15px 35px;
            border: none;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }

        .premium-submit-btn:hover {
            background-color: #95BDD7;
        }

        /* FOOTER STRUCTURE - CONTAINER ONLY (NO OUTER MARGINS) */
        footer {
            background-color: #0B0909;
            color: #FFFFFF;
            padding: 60px 40px 30px 40px;
            width: 100%;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h4 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #95BDD7;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-col p, .footer-col ul {
            font-size: 14px;
            line-height: 1.8;
            color: #CCC;
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: #CCC;
            text-decoration: none;
            transition: color 0.3s;
            cursor: pointer;
        }

        .footer-col ul li a:hover {
            color: #FFFFFF;
        }

        .footer-bottom {
            border-top: 1px solid #222;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: #888;
        }

        /* ANIMATIONS */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* RESPONSIVE DESIGN (HAMBURGER BREAKPOINTS) */
        @media (max-width: 1024px) {
            .quick-care-grid, .insights-grid, .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .feature-services-split, .departments-split-container, .editorial-grid-2 {
                grid-template-columns: 1fr;
            }
            .departments-left-nav {
                flex-direction: row;
                flex-wrap: wrap;
            }
            .dept-nav-item {
                flex: 1 1 auto;
                text-align: center;
                padding: 15px;
            }
            .center-floating-panel {
                width: 92%;
            }
        }

        @media (max-width: 768px) {
            nav {
                display: none;
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: #95BDD7;
                flex-direction: column;
                padding: 20px;
                gap: 20px;
                box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            }

            nav.mobile-active {
                display: flex;
            }

            .hamburger {
                display: flex;
            }

            .quick-care-grid, .insights-grid, .footer-grid {
                grid-template-columns: 1fr;
            }

            .section-padding {
                padding: 40px 20px;
            }

            .hero-inner-slider-container {
                height: 400px;
            }

            .caption-card-wrapper {
                bottom: 60px;
                left: 20px;
                right: 20px;
            }
        }
            /* Additional Popup Styles */
    #newsletterPopup {
        animation: fadeInPopup 0.3s ease;
    }
    
    @keyframes fadeInPopup {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
    }
    
    #newsletterPopup > div {
        animation: slideUpPopup 0.3s ease;
    }
    
    @keyframes slideUpPopup {
        from { transform: translateY(20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .footer-col a[onclick*="openNewsletterPopup"] {
        transition: color 0.3s ease;
    }
    
    .footer-col a[onclick*="openNewsletterPopup"]:hover {
        color: #FFFFFF !important;
    }

