
        /* ================= VARIABLES & THEME COLORS ================= */
        :root {
            /* Change these two colors to perfectly match your logo if needed */
            --primary: #0a2558;      /* Deep Navy Blue */
            --accent: #43cfe8;       /* Medical Green */
            
            --accent-hover: #c1121f;
            --text-dark: #1d3557;
            --text-gray: #666666;
            --bg-light: #f8f9fa;
            --white: #ffffff;
            --border-color: #e9ecef;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Jost', sans-serif;
        }

        body {
            color: var(--text-gray);
            line-height: 1.6;
            background-color: var(--white);
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        
        .container {
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-padding { padding: 90px 0; }
        .bg-light { background-color: var(--bg-light); }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-header h2::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background: var(--accent);
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .section-header p {
            color: var(--text-gray);
            max-width: 600px;
            margin: 15px auto 0;
            font-size: 1.1rem;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 30px;
            border-radius: 50px; /* Pill shape for modern look */
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
            border: 2px solid transparent;
            font-size: 1rem;
        }
        
        .btn-primary {
            background-color: var(--accent);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
        }
        
        .btn-primary:hover {
            background-color: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
            color: var(--white);
        }

        .btn-outline {
            border-color: var(--white);
            color: var(--white);
        }

        .btn-outline:hover {
            background-color: var(--white);
            color: var(--primary);
        }

        /* ================= PREMIUM HEADER ================= */
        /* Topbar */
        .topbar {
            background-color: var(--primary);
            color: rgba(255,255,255,0.9);
            font-size: 0.85rem;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .topbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .topbar-info {
            display: flex;
            gap: 20px;
        }

        .topbar-info span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .topbar-info i { color: var(--accent); }

        .topbar-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .topbar-social a {
            color: rgba(255,255,255,0.8);
            margin-left: 12px;
            transition: var(--transition);
        }

        .topbar-social a:hover { color: var(--white); transform: translateY(-2px); display: inline-block;}

        /* Main Navbar */
        .header {
            background: var(--white);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 999;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: var(--transition);
        }

        .header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo img {
            height: 65px; /* Adjust this to make your logo bigger/smaller */
            width: auto;
            object-fit: contain;
        }

        .main-menu {
            display: flex;
            gap: 35px;
            align-items: center;
        }

        .main-menu a {
            color: var(--text-dark);
            font-weight: 600;
            font-size: 1rem;
            position: relative;
            padding: 5px 0;
            transition: var(--transition);
        }

        /* Animated Underline Hover Effect */
        .main-menu a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: var(--transition);
        }

        .main-menu a:hover { color: var(--accent); }
        .main-menu a:hover::after { width: 100%; }

        .header-action {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .emergency-call {
            text-align: right;
            display: flex;
            align-items: center;
            gap: 10px;
            border-right: 1px solid var(--border-color);
            padding-right: 20px;
        }
        
        .emergency-call .icon {
            font-size: 2rem;
            color: var(--accent);
        }

        .emergency-call .text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .emergency-call .text small { color: var(--text-gray); font-size: 0.8rem; font-weight: 600; text-transform: uppercase;}
        .emergency-call .text strong { color: var(--primary); font-size: 1.1rem; font-weight: 700;}

        /* ================= HERO SECTION & OVERLAP CARDS ================= */
        .hero {
            position: relative;
            background: linear-gradient(rgba(10, 37, 88, 0.8), rgba(10, 37, 88, 0.85)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
            padding: 160px 0 220px 0;
            text-align: center;
            color: var(--white);
        }

        .hero h1 {
            font-size: 4.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.1;
        }

        .hero h1 span { color: var(--accent); }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 40px;
            color: rgba(255,255,255,0.9);
        }

        /* Overlapping Info Cards */
        .overlap-cards-wrapper {
            position: relative;
            margin-top: -60px;
            z-index: 10;
        }

        .overlap-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            border-radius: 12px;
            overflow: hidden;
        }

        .info-card {
            background-color: #ffffff;
            color: var(--text-gray);
            padding: 40px;
            transition: var(--transition);
            border-right: 1px solid var(--border-color);
        }

        .info-card.alt { background-color: var(--primary); color: rgba(255,255,255,0.8); }
        .info-card.alt h3 { color: var(--white); }
        
        .info-card:hover { transform: translateY(-10px); z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 12px; }

        .info-card .icon-wrapper {
            width: 70px; height: 70px;
            background: rgba(230, 57, 70, 0.1);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 20px;
        }
        .info-card.alt .icon-wrapper { background: rgba(255,255,255,0.1); }

        .info-card i { font-size: 2rem; color: var(--accent); }
        .info-card.alt i { color: var(--white); }

        .info-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary); }

        .info-card a {
            color: var(--accent);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 15px;
        }
        
        .info-card.alt a { color: var(--white); }
        .info-card a:hover { gap: 12px; }

        /* ================= ABOUT SECTION ================= */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 70px;
            align-items: center;
        }

        .about-image { position: relative; }
        .about-image img { border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

        .experience-badge {
            position: absolute;
            bottom: -30px;
            right: -30px;
            background: var(--accent);
            color: var(--white);
            padding: 35px 40px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 15px 30px rgba(230, 57, 70, 0.3);
        }

        .experience-badge h2 { font-size: 3rem; line-height: 1; margin-bottom: 5px; }

        .about-content h4 { color: var(--accent); margin-bottom: 10px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px;}
        .about-content h2 { color: var(--primary); font-size: 2.8rem; margin-bottom: 20px; line-height: 1.2;}
        .about-content p { margin-bottom: 25px; font-size: 1.1rem; }
        
        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid var(--border-color);
        }

        .about-features li { display: flex; align-items: center; gap: 12px; color: var(--text-dark); font-weight: 600; font-size:11px;}
        .about-features li i { color: var(--accent); font-size: 1.2rem;}

        /* ================= PATIENT REVIEWS (TESTIMONIALS) ================= */
        .reviews { position: relative; }
        .review-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .review-card {
            background: var(--white);
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            position: relative;
            transition: var(--transition);
            border: 1px solid var(--border-color);
        }

        .review-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border-color: var(--accent);
        }

        .quote-icon {
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 3rem;
            color: rgba(230, 57, 70, 0.1); /* Faint accent color */
        }

        .stars { color: #ffb703; margin-bottom: 20px; font-size: 1.1rem; }
        
        .review-text { font-size: 1.05rem; font-style: italic; margin-bottom: 30px; color: var(--text-gray); }

        .patient-info {
            display: flex;
            align-items: center;
            gap: 15px;
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
        }

        .patient-info img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }

        .patient-details h4 { color: var(--primary); font-size: 1.1rem; margin-bottom: 2px;}
        .patient-details span { color: var(--text-gray); font-size: 0.9rem; }

        /* ================= DEPARTMENTS ================= */
        .dept-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        .dept-card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 12px;
            text-align: center;
            transition: var(--transition);
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
            z-index: 1;
                text-transform: capitalize;
        }

        .dept-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 0;
            background: var(--primary);
            transition: var(--transition);
            z-index: -1;
        }

        .dept-card:hover::before { height: 100%; }
        .dept-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary);}
        .dept-card:hover h3, .dept-card:hover p { color: var(--white); }
        .dept-card:hover .dept-icon { background: var(--accent); color: var(--white); }

        .dept-icon {
            width: 80px; height: 80px;
            background: var(--bg-light);
            color: var(--accent);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 20px;
            transition: var(--transition);
        }

        .dept-card h3 { color: var(--primary); font-size: 1.4rem; margin-bottom: 15px; transition: var(--transition); }
        /* ================= EMERGENCY CTA ================= */
        .emergency-cta {
            background: linear-gradient(rgba(0, 163, 200, 0.9), rgba(0, 163, 200, 0.9)), url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
            color: var(--white);
            text-align: center;
            padding: 100px 0;
        }

        .emergency-cta h2 { font-size: 3rem; margin-bottom: 20px; }
        .emergency-cta p { font-size: 1.2rem; margin-bottom: 30px; max-width: 800px; margin: 0 auto 30px;}
        .emergency-number {
            display: inline-block;
            background: var(--white);
            color: var(--primary);
            font-size: 2rem;
            font-weight: 700;
            padding: 15px 40px;
            border-radius: 50px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        /* ================= EXPERT DOCTORS ================= */
 /* ================= DOCTOR SCHEDULE GRID ================= */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.schedule-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--accent);
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.card-icon {
    width: 65px;
    height: 65px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.schedule-card:hover .card-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.schedule-card h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
        text-transform: uppercase;
}

.specialty-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}
.qualification-badge {
    width: 100%;
    max-width: 250px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #0e2041;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    text-transform: uppercase;
    border-radius: 12px;
    padding: 18px 15px;
    box-sizing: border-box;
    margin: 0 auto;
    overflow: hidden;
}
.availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-light);
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 10px; /* Pushes it to the bottom if cards are different heights */
}

.availability i {
    color: var(--accent);
    font-size: 1.2rem;
}

.availability p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    line-height: 1.4;
}
.apoinment {
    background-color: #000;
    color: #fff;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 9px;
    margin-top: 16px;
}
        /* ================= FOOTER ================= */
        .footer { background-color: var(--primary); color: #a0b0c7; padding-top: 80px; }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            margin-bottom: 60px;
        }

.footer-logo img {
    height: 123px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 8px;
    border-radius: 10px;
}
        
        .footer-about p { margin-bottom: 20px; }
        
        .footer h4 {
            color: var(--white);
            font-size: 1.3rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer h4::after {
            content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--accent);
        }

        .footer-links li { margin-bottom: 15px; }
        .footer-links a { transition: var(--transition); display: flex; align-items: center; gap: 10px; }
        .footer-links a i { font-size: 0.8rem; color: var(--accent); }
        .footer-links a:hover { color: var(--white); transform: translateX(5px); }

        .footer-contact li { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start;}
        .footer-contact i { color: var(--accent); font-size: 1.2rem; margin-top: 5px; }
        .footer-contact strong { display: block; color: var(--white); margin-bottom: 2px;}

        .footer-bottom {
            background-color: #051638;
            padding: 25px 0;
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        .footer-bottom p { font-size: 0.95rem; }
        .footer-bottom span { color: var(--accent); }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 1024px) {
            .emergency-call { display: none; }
            .overlap-grid { grid-template-columns: 1fr; }
            .overlap-cards-wrapper { margin-top: -60px; }
            .info-card { border-right: none; border-bottom: 1px solid var(--border-color); }
        }
        @media (max-width: 992px) {
            .about-grid, .dept-grid, .review-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
            .hero h1 { font-size: 3.5rem; }
        }
        @media (max-width: 768px) {
            .topbar, .main-menu { display: none; }
            .about-grid, .dept-grid, .review-grid, .footer-grid { grid-template-columns: 1fr; }
            .experience-badge { position: relative; bottom: 0; right: 0; margin-top: -20px; border-radius: 0 0 12px 12px; }
            .about-features { grid-template-columns: 1fr; }
        }
        /* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 650px;
    overflow: hidden;
    background-color: var(--primary); /* Fallback color */
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Very subtle overlay just to make white text readable against the image */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); 
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s; /* Delay text animation */
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6); /* Adds contrast without altering the image */
}

.slide-content h1 span { color: var(--accent); }

.slide-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 160px; /* Leaves room for the overlap cards below */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

/* Ensure overlap cards stay above the slider */
.overlap-cards-wrapper {
    position: relative;
    margin-top: -120px;
    z-index: 20; 
}

@media (max-width: 992px) {
    .slide-content h1 { font-size: 3.5rem; }
    .slider-btn { display: none; /* Hide arrows on mobile for cleaner look */ }
}
/* -----------------01-06-2026--------- */
/* ================= PAGE BANNER ================= */
        .page-banner {
            background: linear-gradient(rgba(10, 37, 88, 0.85), rgba(10, 37, 88, 0.85)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
            padding: 100px 0;
            text-align: center;
            color: var(--white);
        }
        .page-banner h1 { font-size: 3.5rem; margin-bottom: 15px; font-weight: 700; }
        .breadcrumbs { display: flex; justify-content: center; gap: 10px; font-size: 1.1rem; color: rgba(255,255,255,0.8); }
        .breadcrumbs a { color: var(--accent); font-weight: 600; }
        .breadcrumbs a:hover { color: var(--white); }

        /* ================= OUR STORY SECTION ================= */
        .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .story-content p { font-size: 1.1rem; margin-bottom: 20px; }
        .story-images { position: relative; }
        .story-images img { border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
        .img-main { width: 85%; }
        .img-overlap { position: absolute; bottom: -30px; right: 0; width: 55%; border: 10px solid var(--white); border-radius: 12px; }

        .mission-vision-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
        .mv-card { background: var(--bg-light); padding: 25px; border-radius: 8px; border-left: 4px solid var(--accent); }
        .mv-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;}
        .mv-card h3 i { color: var(--accent); }

        /* ================= HOSPITAL STATS ================= */
        .stats-section { background: var(--primary); color: var(--white); padding: 70px 0; margin-top: 50px; }
        .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
        .stat-item i { font-size: 3rem; color: var(--accent); margin-bottom: 15px; }
        .stat-item h2 { font-size: 3.5rem; font-weight: 700; line-height: 1; margin-bottom: 5px; }
        .stat-item p { font-size: 1.1rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; }

        /* ================= CORE VALUES ================= */
        .values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
        .value-card { background: var(--white); padding: 40px 30px; border-radius: 12px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border-color); transition: var(--transition); }
        .value-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
        .value-icon { width: 80px; height: 80px; background: rgba(230, 57, 70, 0.1); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 25px; transition: var(--transition); }
        .value-card:hover .value-icon { background: var(--accent); color: var(--white); }
        .value-card h3 { color: var(--primary); font-size: 1.4rem; margin-bottom: 15px; }

        /* ================= CHAIRMAN MESSAGE ================= */
        .message-wrapper { display: flex; align-items: center; gap: 60px; background: var(--bg-light); border-radius: 12px; padding: 50px; border-left: 5px solid #3ad035; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        .message-image { flex: 0 0 350px; }
        .message-image img { border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); width: 100%; height: auto; object-fit: cover; }
        .message-content h2 { color: var(--primary); font-size: 2.2rem; margin-bottom: 20px; line-height: 1.2; }
        .message-content p { font-size: 1.05rem; margin-bottom: 20px; font-style: italic; color: var(--text-gray); }
        .signature h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 2px;}
        .signature span { color: #3ad035; font-weight: 600; font-size: 0.95rem; }

        /* ================= TIMELINE / HISTORY ================= */
        .timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
        .timeline::before { content: ''; position: absolute; width: 4px; background: var(--border-color); top: 0; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 2px; }
        .timeline-item { position: relative; width: 50%; padding: 20px 40px; margin-bottom: 30px; }
        .timeline-item:nth-child(odd) { left: 0; text-align: right; }
        .timeline-item:nth-child(even) { left: 50%; text-align: left; }
        .timeline-dot { position: absolute; width: 20px; height: 20px; background: #3ad035; border: 4px solid var(--white); border-radius: 50%; top: 30px; box-shadow: 0 0 0 4px rgba(58, 208, 53, 0.2); }
        .timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
        .timeline-item:nth-child(even) .timeline-dot { left: -10px; }
        .timeline-content { background: var(--bg-light); padding: 25px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
        .timeline-content h3 { color: var(--primary); font-size: 1.5rem; margin-bottom: 10px; }
        .timeline-year { color: #3ad035; font-weight: 700; font-size: 1.2rem; display: block; margin-bottom: 10px; }

        /* ================= AWARDS & RECOGNITION ================= */
        .awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .award-card { background: var(--white); padding: 40px 30px; border-radius: 12px; text-align: center; border: 1px solid var(--border-color); transition: var(--transition); }
        .award-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #3ad035; }
        .award-icon { font-size: 3.5rem; color: #3ad035; margin-bottom: 20px; }
        .award-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 15px; }

        /* ================= ACCREDITATIONS ================= */
        .accreditations { padding-bottom: 90px; }
        .acc-wrapper { background: var(--white); border-radius: 12px; padding: 50px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--border-color); }
        .acc-content { flex: 1; }
        .acc-content h2 { color: var(--primary); font-size: 2.2rem; margin-bottom: 15px; }
        .acc-logos { display: flex; gap: 30px; flex: 1; justify-content: flex-end;}
        .acc-badge { text-align: center; padding: 20px; background: var(--bg-light); border-radius: 8px; min-width: 150px; border: 1px dashed var(--accent); }
        .acc-badge i { font-size: 3rem; color: var(--primary); margin-bottom: 10px; }
        .acc-badge h4 { color: var(--text-dark); font-size: 1.1rem; }
                /* ================= RESPONSIVE DESIGN ================= */
        @media (max-width: 992px) {
            .story-grid, .stats-grid, .values-grid, .awards-grid { grid-template-columns: 1fr 1fr; }
            .acc-wrapper, .message-wrapper { flex-direction: column; text-align: center; }
            .message-image { flex: auto; max-width: 400px; margin: 0 auto; }
            .acc-logos { justify-content: center; width: 100%; flex-wrap: wrap;}
            .timeline::before { left: 30px; }
            .timeline-item { width: 100%; padding-left: 80px; padding-right: 20px; text-align: left !important; left: 0 !important; }
            .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 20px; right: auto; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .story-grid, .stats-grid, .values-grid, .mission-vision-cards, .awards-grid, .footer-grid { grid-template-columns: 1fr; }
            .img-overlap { position: relative; bottom: 0; width: 100%; border: none; margin-top: 20px;}
            .img-main { width: 100%; }
            .page-banner h1 { font-size: 2.5rem; }
        }
                /* ================= ACCREDITATIONS ================= */
        .accreditations { padding-bottom: 90px; }
        .acc-wrapper { background: var(--white); border-radius: 12px; padding: 50px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--border-color); }
        .acc-content { flex: 1; }
        .acc-content h2 { color: var(--primary); font-size: 2.2rem; margin-bottom: 15px; }
        .acc-logos { display: flex; gap: 30px; flex: 1; justify-content: flex-end;}
        .acc-badge { text-align: center; padding: 20px; background: var(--bg-light); border-radius: 8px; min-width: 150px; border: 1px dashed var(--accent); }
        .acc-badge i { font-size: 3rem; color: var(--primary); margin-bottom: 10px; }
        .acc-badge h4 { color: var(--text-dark); font-size: 1.1rem; }
        /* ================= FACILITIES GRID SECTION ================= */
        .facilities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .facility-card {
            background: var(--white);
            border-radius: 12px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            transition: var(--transition);
            border: 1px solid var(--border-color);
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        /* Hover Color Fill Effect */
        .facility-card::before {
            content: '';
            position: absolute;
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 0;
            background: var(--primary);
            transition: var(--transition);
            z-index: -1;
        }

        .facility-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(10, 37, 88, 0.15); /* Primary colored shadow */
            border-color: var(--primary);
        }

        .facility-card:hover::before {
            height: 100%;
        }

        .facility-icon {
            width: 85px;
            height: 85px;
            background: rgba(67, 207, 232, 0.15); /* Light Accent */
            color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            margin: 0 auto 25px auto;
            transition: var(--transition);
        }

        .facility-card:hover .facility-icon {
            background: var(--accent);
            color: var(--white);
            transform: scale(1.1);
        }

        .facility-card h3 {
            color: var(--text-dark);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 15px;
            transition: var(--transition);
        }

        .facility-card p {
            color: var(--text-gray);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 0;
            transition: var(--transition);
        }

        /* Change text color to white on hover */
        .facility-card:hover h3,
        .facility-card:hover p {
            color: var(--white);
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 992px) {
            .facilities-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .facilities-grid { 
                grid-template-columns: 1fr; 
                gap: 20px;
            }
            .facility-card {
                padding: 30px 20px;
            }
        }
        /* ================= CONTACT INFO CARDS ================= */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 20px;
        }

        .contact-card {
            background: var(--white);
            border-radius: 12px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .contact-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(10, 37, 88, 0.08); /* Primary shadow */
            border-color: var(--accent);
        }

        .contact-icon {
            width: 75px;
            height: 75px;
            background: rgba(67, 207, 232, 0.15); /* Light Accent */
            color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin: 0 auto 20px auto;
            transition: var(--transition);
        }

        .contact-card:hover .contact-icon {
            background: var(--primary);
            color: var(--white);
            transform: scale(1.1);
        }

        .contact-card h3 {
            color: var(--primary);
            font-size: 1.3rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .contact-card p {
            color: var(--text-gray);
            font-size: 1.05rem;
            margin-bottom: 5px;
            line-height: 1.5;
        }

        .contact-card strong {
            color: var(--text-dark);
        }

        /* ================= FORM & MAP WRAPPER ================= */
        .form-map-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            overflow: hidden; /* Keeps map rounded inside */
            border: 1px solid var(--border-color);
        }

        /* Contact Form Styles */
        .form-container {
            padding: 50px;
        }

        .form-title {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 25px;
            font-weight: 700;
        }

        .hospital-contact-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            color: var(--text-dark);
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }

        .form-control {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 1rem;
            color: var(--text-dark);
            background-color: var(--bg-light);
            transition: var(--transition);
            font-family: 'Jost', sans-serif;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent);
            background-color: var(--white);
            box-shadow: 0 0 0 4px rgba(67, 207, 232, 0.15); /* Accent glow */
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            font-size: 1.1rem;
            margin-top: 10px;
        }

        /* Map Styles */
        .map-container {
            width: 100%;
            height: 100%;
            min-height: 400px;
            background: #e5e7eb; /* Fallback before map loads */
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 1024px) {
            .contact-grid {
                gap: 20px;
            }
            .form-container {
                padding: 40px 30px;
            }
        }

        @media (max-width: 992px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
            .form-map-wrapper {
                grid-template-columns: 1fr;
            }
            .map-container {
                height: 400px;
            }
        }

        @media (max-width: 768px) {
            .hospital-contact-form .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
            .form-container {
                padding: 30px 20px;
            }
        }
        /* ================= BASE UTILITIES FOR THIS PAGE ================= */
        .section-padding { padding: 90px 0; }
        .bg-light { background-color: var(--bg-light); }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-header h2::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background: var(--accent);
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .section-header p {
            color: var(--text-gray);
            max-width: 650px;
            margin: 15px auto 0;
            font-size: 1.1rem;
        }

        /* ================= PAGE BANNER ================= */
        .page-banner {
            background: linear-gradient(rgba(10, 37, 88, 0.85), rgba(10, 37, 88, 0.85)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
            padding: 100px 0;
            text-align: center;
            color: var(--white);
        }
        
        .page-banner h1 { 
            font-size: 3.5rem; 
            margin-bottom: 15px; 
            font-weight: 700; 
        }
        
        .breadcrumbs { 
            display: flex; 
            justify-content: center; 
            gap: 10px; 
            font-size: 1.1rem; 
            color: rgba(255,255,255,0.8); 
        }
        
        .breadcrumbs a { 
            color: var(--accent); 
            font-weight: 600; 
        }
        
        .breadcrumbs a:hover { 
            color: var(--white); 
        }

        /* ================= DOCTORS GRID SECTION ================= */
        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 30px;
            margin-top: 40px;
            justify-content: center;
        }

        .doctor-card {
            background: var(--white);
            border-radius: 12px;
            padding: 40px 20px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            transition: var(--transition);
            border: 1px solid var(--border-color);
        }

        .doctor-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(10, 37, 88, 0.1); /* Primary colored shadow */
            border-color: var(--accent);
        }

        .doc-avatar {
            width: 100px;
            height: 100px;
            background: var(--primary);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 25px auto;
            box-shadow: 0 8px 20px rgba(10, 37, 88, 0.2);
            border: 4px solid var(--white);
            transition: var(--transition);
        }

        .doctor-card:hover .doc-avatar {
            transform: scale(1.08);
            background: var(--accent);
        }

        .doc-info h3 {
            color: var(--text-dark);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .doc-specialty {
            display: inline-block;
            color: var(--accent);
            font-size: 0.95rem;
            font-weight: 600;
            background-color: rgba(67, 207, 232, 0.1);
            padding: 6px 15px;
            border-radius: 20px;
            margin-top: 5px;
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 992px) {
            .doctors-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .page-banner h1 { 
                font-size: 2.5rem; 
            }
            .section-header h2 {
                font-size: 2rem;
            }
            .doctors-grid { 
                grid-template-columns: 1fr; 
                gap: 20px;
            }
            .doctor-card {
                padding: 30px 20px;
            }
        }
        /* ================= NEW SPECIALITIES GRID SECTION ================= */
        .specialities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }

        .speciality-card {
            background-color: var(--white);
            border-radius: 12px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            transition: var(--transition);
            border-bottom: 4px solid transparent;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .speciality-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(10, 37, 88, 0.08); /* Var Primary colored shadow */
            border-bottom: 4px solid var(--primary);
            border-color: var(--primary);
        }

        .icon-wrapper {
            width: 80px;
            height: 80px;
            background-color: rgba(67, 207, 232, 0.15); /* Light Var Accent */
            color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px auto;
            font-size: 2rem;
            transition: var(--transition);
        }

        .speciality-card:hover .icon-wrapper {
            background-color: var(--primary);
            color: var(--white);
            transform: scale(1.1);
        }

        .speciality-card h3 {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .speciality-card p {
            color: var(--text-gray);
            font-size: 0.95rem;
            margin-bottom: 25px;
        }

        .btn-read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--accent);
            font-weight: 600;
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .btn-read-more i {
            font-size: 0.85rem;
            transition: var(--transition);
        }

        .btn-read-more:hover {
            color: var(--primary);
        }

        .btn-read-more:hover i {
            transform: translateX(5px);
        }

        /* ================= NEW DOCTORS GRID SECTION ================= */
        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
            margin-top: 40px;
            justify-content: center;
        }

        .doctor-card {
            background: var(--white);
            border-radius: 12px;
            padding: 30px 20px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            transition: var(--transition);
            border: 1px solid var(--border-color);
        }

        .doctor-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(10, 37, 88, 0.1); /* Primary colored shadow */
            border-color: var(--accent);
        }

        .doc-avatar {
            width: 90px;
            height: 90px;
            background: var(--primary);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            margin: 0 auto 20px auto;
            box-shadow: 0 8px 20px rgba(10, 37, 88, 0.2);
            border: 4px solid var(--white);
            transition: var(--transition);
        }

        .doctor-card:hover .doc-avatar {
            transform: scale(1.05);
            background: var(--accent);
        }

        .doc-info h3 {
            color: var(--text-dark);
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 5px;
            letter-spacing: 0.5px;
        }

        .doc-specialty {
            display: inline-block;
            color: var(--accent);
            font-size: 0.9rem;
            font-weight: 600;
            background-color: rgba(67, 207, 232, 0.1);
            padding: 5px 12px;
            border-radius: 20px;
            margin-top: 5px;
        }
/* =========================================
   Footer Bottom Layout
   ========================================= */
.footer-bottom {
    padding: 15px 0;
    /* Add background-color and color here if your theme doesn't already supply it */
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between; /* Pushes left and right sides apart */
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.footer-left p {
    margin: 0;
}

/* Styling the Right Side Links */
.footer-right {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between links and separator */
}

.footer-right a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-right .separator {
    opacity: 0.5; /* Makes the divider line slightly faded */
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column; /* Stacks items vertically */
        text-align: center;
        gap: 15px; /* Adds space between stacked items */
    }
    
    .footer-right {
        justify-content: center; /* Centers the links on mobile */
    }
}
/* =========================================
   Appointment Popup Styles
   ========================================= */

/* The dark background overlay (hidden by default) */
/* 1. The Dark Overlay Background */
.appointment-modal-overlay {
    display: none; /* jQuery handles showing this */
    position: fixed;
    z-index: 99999; /* Boosted to ensure it covers the header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

/* 2. The Inner White Popup Box (This forces the centering) */
.appointment-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This is the magic centering trick */
    
    /* Box Styling */
    background: #ffffff;
    width: 90%; /* Responsive width for mobile */
    max-width: 450px; /* Stops it from getting too wide on desktop */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    
    /* Safety for smaller screens */
    max-height: 90vh; 
    overflow-y: auto; 
}

/* 3. The Close Button Styling (Just in case you need it) */
.appointment-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.appointment-close-btn:hover {
    color: #ef4444;
}

/* The Close Button (X) */
.appointment-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.appointment-close-btn:hover {
    color: #ef4444; /* Red on hover */
}

/* Typography */
.appointment-modal-box h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 24px;
}

.appointment-modal-box p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Form Styles */
.appointment-modal-box .form-group {
    margin-bottom: 15px;
}

.appointment-modal-box input,
.appointment-modal-box select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.appointment-modal-box input:focus,
.appointment-modal-box select:focus {
    border-color: #0f766e;
}

.appointment-submit-btn {
    width: 100%;
    background-color: #0f766e;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.appointment-submit-btn:hover {
    background-color: #0d655e;
}
.availability.time {
    margin-top: 10px;
}
/* ==========================================================
   JK NEW HORIZONTAL DOCTOR LIST (Conflict-Free Classes)
========================================================== */

.jk-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Individual Row Card */
.jk-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0; /* Light divider line like the reference image */
}

/* Remove bottom border from the very last card */
.jk-list-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Left Side: Text Content */
.jk-list-content {
    flex: 1;
    max-width: 60%;
}

.jk-list-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    font-family: inherit;
        text-transform: uppercase;
}

.jk-list-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Book Appointment Button matching the new style */
.jk-list-btn {
    display: inline-block;
    color: #0ea5e9; /* Light blue text link like the reference */
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jk-list-btn:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Right Side: Media / Dummy Image */
.jk-list-media {
    flex: 0 0 320px; /* Fixed width for the image container */
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.jk-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .jk-list-card {
        flex-direction: column-reverse; /* Puts image on top on mobile */
        align-items: flex-start;
        gap: 20px;
    }
    
    .jk-list-content {
        max-width: 100%;
    }
    
    .jk-list-media {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9; /* Keeps nice shape on phones */
    }
}
/* Slider Container */
.jk-custom-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 40px; /* Space for the arrows */
}

/* The Scrolling Track */
.jk-slider-track {
    display: flex !important; /* Overrides your previous grid settings */
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Locks cards into view */
    scroll-behavior: smooth;
    padding: 20px 5px;
    
    /* Hide the scrollbar for a clean look */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.jk-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Slider Cards */
.jk-slider-track .facility-card {
    flex: 0 0 calc(33.333% - 14px); /* Show 3 cards at a time on desktop */
    scroll-snap-align: start;
    box-sizing: border-box;
    /* Your existing card styles will naturally apply inside here */
}

/* Arrow Buttons */
.jk-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0e2041;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: background 0.3s ease, transform 0.3s ease;
}

.jk-slider-arrow:hover {
    background: #0ea5e9;
    transform: translateY(-50%) scale(1.1);
}

.jk-prev { left: 0; }
.jk-next { right: 0; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .jk-slider-track .facility-card {
        flex: 0 0 calc(50% - 10px); /* Show 2 cards on tablets */
    }
}

@media (max-width: 768px) {
    .jk-custom-slider-wrapper {
        padding: 0; /* Remove side padding on mobile */
    }
    .jk-slider-track .facility-card {
        flex: 0 0 85%; /* Show 1 card with a peek of the next on mobile */
    }
    /* Hide buttons on mobile so users can just swipe with their finger */
    .jk-slider-arrow {
        display: none; 
    }
}