/* --- Global Resets & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* --- Color Theme Variables (Exact Logo Navy Palette) --- */
:root {
    --bg-topbar: #f1f5f9;            /* Light Subtle Top Bar */
    --bg-main: #ffffff;              /* Pure White Main Header */
    --logo-navy: #1b165c;            /* Official Microcare Logo Navy Blue */
    --logo-navy-hover: #120e40;      /* Deeper Navy Shade for Hovers */
    --logo-navy-light: #f0effc;      /* Light Navy Accent Wash */
    --text-dark: #1b165c;            /* Logo Navy Text Tone */
    --text-muted: #64748b;           /* Muted Gray Text */
    --border-light: #e2e8f0;         /* Subtle Light Border */
}

/* Container Utility */
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER ENTRANCE ANIMATION (Loading Animation) --- */
@keyframes headerSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-entrance {
    animation: headerSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Header Wrapper --- */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-main);
    box-shadow: 0 4px 20px rgba(27, 22, 92, 0.06);
}

/* --- 1. TOP INFO BAR --- */
.top-bar {
    background-color: var(--bg-topbar);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    font-size: 13px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.hover-link {
    transition: color 0.3s ease;
}

.hover-link:hover {
    color: var(--logo-navy);
}

.animated-icon {
    color: var(--logo-navy);
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-item:hover .animated-icon {
    transform: scale(1.25) rotate(-8deg);
}

.info-divider {
    color: var(--border-light);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--logo-navy);
    transform: translateY(-3px) scale(1.1);
}

/* Navy Appointment Button with Shine Animation */
.btn-appointment {
    background-color: var(--logo-navy);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 22, 92, 0.2);
}

/* Button Shine Effect */
.btn-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: all 0.6s ease;
}

.btn-appointment:hover::before {
    left: 120%;
}

.btn-appointment:hover {
    background-color: var(--logo-navy-hover);
    box-shadow: 0 6px 18px rgba(27, 22, 92, 0.35);
    transform: translateY(-2px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-appointment:hover .btn-icon {
    transform: rotate(15deg);
}

/* --- 2. MAIN NAVIGATION BAR --- */
.main-nav {
    background-color: var(--bg-main);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover img {
    transform: scale(1.03);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--logo-navy);
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-toggle:hover {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}

.nav-link {
    color: var(--logo-navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

/* Animated Underline Expansion on Hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--logo-navy);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link:hover {
    background-color: var(--logo-navy-light);
}

/* Active Nav Item */
.nav-item.active .nav-link {
    background-color: var(--logo-navy-light);
}

.nav-item.active .nav-link::after {
    width: 60%;
}

/* --- RESPONSIVE DESIGNS --- */
@media (max-width: 992px) {
    .info-item:first-child,
    .info-divider {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-main);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 10px 0;
    }

    .nav-link {
        padding: 12px 24px;
        border-radius: 0;
        font-size: 14px;
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .top-info {
        display: none;
    }

    .top-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* --- Global Section Container --- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   1. HERO SECTION STYLES (WITH BACKGROUND SHAPES & OVERLAYS)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 70px 0 100px 0;
    overflow: hidden;
    /* Background Image setup */
    background-image: url('unnamed.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

/* Background image ko light/fade karne ke liye overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft White/Light Gray overlay jo text ko clear dikhayega */
    background: rgba(255, 255, 255, 0.685); 
    z-index: -1;
}

/* Content ko background ke upar rakhne ke liye */
.hero-container {
    position: relative;
    z-index: 2;
}

/* SVG Background Overlay Shapes */
.hero-shape-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-shape.circle-1 {
    position: absolute;
    top: -50px;
    left: -80px;
    width: 450px;
    height: 450px;
}

.bg-shape.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

/* Left Hero Content */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(27, 22, 92, 0.08);
    color: var(--logo-navy);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 46px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--logo-navy);
    margin-bottom: 20px;
}

.hero-title .text-highlight {
    background: linear-gradient(120deg, var(--logo-navy) 0%, #3b358c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--logo-navy);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(27, 22, 92, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #120e40;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(27, 22, 92, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--logo-navy);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 8px;
    border: 2px solid var(--logo-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(27, 22, 92, 0.05);
    transform: translateY(-2px);
}

/* Quick Stats Bar */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.stat-card .stat-number {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--logo-navy);
}

.stat-card .stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background-color: #cbd5e1;
}

/* Right Image Showcase Frame */
.hero-image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(27, 22, 92, 0.12);
}

.main-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Floating Badges on Hero Image */
.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #f1f5f9;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge i {
    font-size: 20px;
    color: var(--logo-navy);
    background: #f0effc;
    padding: 10px;
    border-radius: 8px;
}

.floating-badge strong {
    display: block;
    font-size: 13px;
    color: var(--logo-navy);
}

.floating-badge span {
    font-size: 12px;
    color: #64748b;
}

.badge-location {
    top: 20px;
    left: -20px;
}

.badge-emergency {
    bottom: 20px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}


/* ==========================================================================
   2. SERVICES / DEPARTMENTS GRID STYLES
   ========================================================================== */
.services-section {
    position: relative;
    padding: 80px 0 100px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    color: var(--logo-navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-description {
    font-size: 15px;
    color: #64748b;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

/* Service Card Styles */
.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(27, 22, 92, 0.12);
    border-color: rgba(27, 22, 92, 0.3);
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

.card-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: var(--logo-navy);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(27, 22, 92, 0.3);
}

.card-body {
    padding: 28px 24px 24px 24px;
}

.card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--logo-navy);
    margin-bottom: 10px;
}

.card-body p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.feature-list li {
    font-size: 13px;
    color: #334155;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li i {
    color: var(--logo-navy);
    font-size: 12px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--logo-navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 12px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .badge-location {
        left: 10px;
    }

    .badge-emergency {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        /* flex-direction: column; */
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }
}

/* ==========================================================================
   APPOINTMENT & OPENING HOURS SECTION STYLES
   ========================================================================== */

.appointment-section {
    position: relative;
    background-color: #f8fafc;
    padding-bottom: 90px;
}

/* 1. Top Diagonal Blue Banner */

.banner-top {
    position: relative;
    background: linear-gradient(135deg, #1b165c 0%, #0d3b66 60%, #005f73 100%);
    background-image: url('https://images.unsplash.com/photo-1530497610245-94d3c16cda28?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 24px 170px 24px;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 22, 92, 0.92) 0%, rgba(13, 59, 102, 0.88) 100%);
    z-index: 1;
}

.banner-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    color: #ffffff;
}

.banner-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    max-width: 650px;
    line-height: 1.6;
    text-transform: uppercase;
}

/* 2. Floating Cards Grid Overlay */
.cards-container {
    max-width: 1140px;
    margin: -110px auto 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Base Card Styling */
.appointment-card,
.hours-card {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 36px 32px;
}

/* Decorative L-Shaped Accent Border Frame */
.card-accent-frame {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 80%;
    height: 60%;
    border-top: 10px solid #1b165c;
    border-left: 10px solid #1b165c;
    z-index: 1;
    pointer-events: none;
}

.card-accent-frame.accent-navy-right {
    top: -12px;
    right: -12px;
    left: auto;
    border-left: none;
    border-right: 10px solid #1b165c;
}

.card-inner {
    position: relative;
    z-index: 2;
}

.card-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #1b165c;
    letter-spacing: 1px;
}

.card-title {
    font-size: 26px;
    font-weight: 800;
    color: #1b165c;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

/* 3. Appointment Form Styling */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #f8fafc;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1b165c;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 22, 92, 0.1);
}

.btn-submit {
    background-color: #1b165c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #120e40;
    box-shadow: 0 6px 16px rgba(27, 22, 92, 0.3);
    transform: translateY(-1px);
}

/* 4. Opening Hours Table Styling */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 12px 0;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    vertical-align: top;
}

.hours-table td:first-child {
    font-weight: 700;
    color: #1e293b;
    width: 35%;
}

.hours-table td:last-child {
    text-align: right;
    line-height: 1.4;
}

.badge-emergency {
    color: #dc2626;
    font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .cards-container {
        margin-top: -80px;
    }

    .banner-top {
        padding-bottom: 140px;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 24px;
    }

    .appointment-card,
    .hours-card {
        padding: 24px 20px;
    }

    .card-accent-frame {
        display: none;
    }
}


/* ==========================================================================
   HOSPITAL 3x3 GRID SECTION (NAVY BLUE THEME - NO ORANGE)
   ========================================================================== */

.hospital-grid-section {
    width: 100%;
    background-color: #f8fafc;
    padding: 60px 0;
}

.grid-container {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(27, 22, 92, 0.05);
}

/* Base Block Styling */
.grid-block {
    min-height: 320px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
}

/* Remove Outer Right Borders on 3rd Columns */
.grid-container .grid-block:nth-child(3n) {
    border-right: none;
}

/* Color Background Variations */
.white-bg {
    background-color: #ffffff;
}

.soft-bg {
    background-color: #f1f5f9;
}

/* Image Block Styling */
.image-block {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-block:hover img {
    transform: scale(1.05);
}

/* Content Block (Treatment & Diagnostics) */
.block-subtitle {
    font-size: 12px;
    font-weight: 800;
    color: #1b165c;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.block-title {
    font-size: 22px;
    font-weight: 800;
    color: #1b165c;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.treatment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.treatment-list li {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.treatment-list li i {
    color: #1b165c;
    font-size: 11px;
}

/* Navy Blue Button */
.btn-navy {
    align-self: flex-start;
    background-color: #1b165c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: #120e40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 22, 92, 0.25);
}

/* Counter Block Styling */
.counter-block {
    align-items: center;
    text-align: center;
}

.counter-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1b165c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.counter-icon.navy-icon {
    background-color: rgba(27, 22, 92, 0.1);
    color: #1b165c;
}

.counter-number {
    font-size: 42px;
    font-weight: 800;
    color: #1b165c;
    line-height: 1;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    max-width: 240px;
    line-height: 1.5;
    margin: 0;
}

/* Bottom Navy Row Cards */
.navy-card {
    background-color: #0d3b66;
    color: #ffffff;
    align-items: center;
    text-align: center;
}

.navy-card-dark {
    background-color: #1b165c;
    color: #ffffff;
    align-items: center;
    text-align: center;
}

.navy-card-darker {
    background-color: #120e40;
    color: #ffffff;
    align-items: center;
    text-align: center;
}

.feature-card .feature-icon {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #1b165c;
}

/* Responsive Grid Rules */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-container .grid-block:nth-child(3n) {
        border-right: 1px solid #e2e8f0;
    }
}

@media (max-width: 640px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .grid-block {
        border-right: none !important;
    }
}

/* ==========================================================================
   FACILITIES & SURGERIES DUAL CARD SECTION (NAVY BLUE THEME)
   ========================================================================== */

.facilities-section {
    position: relative;
    background-color: #f1f5f9;
    padding: 100px 20px 120px 20px;
    overflow: hidden;
}

/* Top Blue Diagonal Background Banner Cut */
.facilities-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(135deg, #1b165c 0%, #0d3b66 100%);
    z-index: 1;
}

/* Right Side Background Stethoscope Image Overlay */
.right-bg-image {
    position: absolute;
    right: -2%;
    bottom: -5%;
    width: 50%;
    max-width: 700px;
    height: auto;
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
    object-fit: contain;
}

.section-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Two-Column Cards Grid Layout */
.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Base Card Styling */
.info-card {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(27, 22, 92, 0.08);
    padding: 40px 36px;
}

/* L-Shaped Accent Border Frame (Navy Blue) */
.card-frame.frame-navy {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 75%;
    height: 60%;
    border-top: 10px solid #1b165c;
    border-left: 10px solid #1b165c;
    z-index: 1;
    pointer-events: none;
}

.card-frame.frame-navy-right {
    position: absolute;
    top: -12px;
    right: -12px;
    left: auto;
    width: 75%;
    height: 60%;
    border-top: 10px solid #0d3b66;
    border-right: 10px solid #0d3b66;
    z-index: 1;
    pointer-events: none;
}

.card-inner {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 26px;
    font-weight: 800;
    color: #1b165c;
    letter-spacing: 0.8px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

/* Accordion Facilities List */
.facilities-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.accordion-header {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #1b165c;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #f8fafc;
    text-transform: uppercase;
}

.accordion-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #cbd5e1;
    color: #1e293b;
    text-align: center;
    line-height: 18px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 2px;
}

.accordion-item.active .accordion-header {
    background: #1b165c;
    color: #ffffff;
}

.accordion-item.active .accordion-icon {
    background-color: #ffffff;
    color: #1b165c;
}

.accordion-body {
    padding: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

/* Surgeries Checkmark List */
.surgeries-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.surgeries-list li {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: #1b165c;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cards-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .right-bg-image {
        opacity: 0.2;
        width: 80%;
    }
}

@media (max-width: 576px) {
    .card-frame {
        display: none;
    }

    .info-card {
        padding: 28px 20px;
    }

    .card-title {
        font-size: 22px;
    }
}

.facilities-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
}

.accordion-header {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #1b165c;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: #f8fafc;
    text-transform: uppercase;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f0effc;
}

.accordion-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #e2e8f0;
    color: #1b165c;
    text-align: center;
    line-height: 20px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Active Item Styling */
.accordion-item.active .accordion-header {
    background: #1b165c;
    color: #ffffff;
}

.accordion-item.active .accordion-icon {
    background-color: #ffffff;
    color: #1b165c;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    background: #ffffff;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
}

.accordion-item.active .accordion-body {
    max-height: 300px;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}


/* ==========================================================================
   DOCTORS SLIDER SECTION STYLES (NAVY BLUE THEME)
   ========================================================================== */

.doctors-section {
    background-color: #ffffff;
    padding: 90px 0;
    overflow: hidden;
}

.doctors-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: center;
}

/* Left Content Info Block */
.doctors-intro .sub-title {
    font-size: 13px;
    font-weight: 800;
    color: #1b165c;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.doctors-intro .main-title {
    font-size: 32px;
    font-weight: 800;
    color: #1b165c;
    line-height: 1.25;
    margin-bottom: 16px;
}

.doctors-intro .description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.slider-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #1b165c;
    background-color: transparent;
    color: #1b165c;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #1b165c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 22, 92, 0.25);
}

.btn-navy-action {
    display: inline-block;
    background-color: #1b165c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-navy-action:hover {
    background-color: #120e40;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 22, 92, 0.3);
}

/* Right Slider Area */
.doctors-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.doctors-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 30px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.doctors-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Doctor Card Base */
.doctor-card {
    flex: 0 0 280px;
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    padding: 18px 18px 24px 18px;
    scroll-snap-align: start;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(27, 22, 92, 0.12);
}

/* L-Shaped Top Corner Accent Frame (Reference Style in Navy) */
.card-top-accent {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 75%;
    height: 50%;
    border-top: 8px solid #1b165c;
    border-left: 8px solid #1b165c;
    z-index: 1;
    pointer-events: none;
}

.card-top-accent.dark-accent {
    border-top-color: #0d3b66;
    border-left-color: #0d3b66;
}

/* Image Wrapper */
.doctor-image-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 260px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 18px;
}

.doctor-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Doctor Text Information */
.doctor-details {
    text-align: center;
}

.doc-name {
    font-size: 18px;
    font-weight: 800;
    color: #1b165c;
    margin-bottom: 4px;
}

.doc-degree {
    font-size: 13px;
    font-weight: 700;
    color: #0d3b66;
    margin-bottom: 6px;
}

.doc-exp {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .doctors-layout {
        grid-template-columns: 1fr;
    }

    .doctors-intro {
        text-align: center;
    }

    .slider-controls {
        justify-content: center;
    }
}


/* ==========================================================================
   POINTED BANNER, CONTACT FORM & FOOTER STYLES (PURE CSS)
   ========================================================================== */

/* 1. Pointed Top Banner Section */
.pointed-contact-section {
    background-color: #fff;
    color: #ffffff;
    position: relative;
}

.pointed-banner-top {
    background: linear-gradient(135deg, #082442 0%, #082442 100%);
    padding: 90px 24px 60px 24px;
    text-align: center;
    /* Pointed Peak Cut Shape Inspired by Reference Screenshot */
    clip-path: polygon(50% 0%, 100% 120px, 100% 100%, 0% 100%, 0% 120px);
}

.pointed-content {
    max-width: 850px;
    margin: 40px auto 0 auto;
}

.banner-logo-wrapper {
    margin-bottom: 20px;
}

.center-brand-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hospital-tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.call-us-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.phone-link-large {
    font-size: 32px;
    font-weight: 800;
    color: #38bdf8;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.phone-link-large:hover {
    color: #ffffff;
}

/* 2. Contact Form Styling */
.contact-form-wrapper {
    background-color: #082442;
    padding: 0 24px 80px 24px;
}

.form-container {
    max-width: 960px;
    margin: 0 auto;
}

.dark-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 14px 40px 14px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-with-icon input::placeholder,
.form-row-full textarea::placeholder {
    color: #94a3b8;
}

.input-with-icon input:focus,
.form-row-full textarea:focus {
    border-color: #38bdf8;
    background-color: rgba(255, 255, 255, 0.1);
}

.input-with-icon i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.form-row-full textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-submit-row {
    text-align: center;
    margin-top: 10px;
}

.btn-outline-submit {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 14px 36px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-submit:hover {
    background-color: #ffffff;
    color: #1b165c;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* 3. Full-Width Map */
.full-width-map {
    width: 100%;
    line-height: 0;
}

/* 4. Main Site Footer */
.main-site-footer {
    background-color: #05162a;
    color: #cbd5e1;
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-location-info {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-icon-light {
    font-size: 36px;
    color: #38bdf8;
    margin-bottom: 16px;
}

.footer-address {
    font-style: normal;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-email {
    font-size: 14px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.5px;
}

.footer-email a {
    color: #38bdf8;
    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}

/* Footer Columns Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-heading {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 13px;
    line-height: 1.7;
    color: #94a3b8;
    margin-top: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a i {
    font-size: 11px;
    color: #38bdf8;
}

.footer-bottom-bar {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: #64748b;
}

/* Responsive Breakdown */
@media (max-width: 992px) {
    .pointed-banner-top {
        clip-path: none;
        padding-top: 60px;
    }

    .form-row-three {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phone-link-large {
        font-size: 22px;
    }
}

/* ==========================================================================
   ABOUT US SECTION STYLES (NAVY BLUE THEME)
   ========================================================================== */

.about-us-section {
    background-color: #f8fafc;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Left Content Area */
.about-content {
    max-width: 600px;
}

.about-title {
    font-size: 38px;
    font-weight: 800;
    color: #1b165c;
    letter-spacing: 0.5px;
    line-height: 1.15;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.about-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.about-paragraph {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 18px;
}

.about-action {
    margin-top: 30px;
}

.btn-navy-about {
    display: inline-block;
    background-color: #1b165c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 22, 92, 0.15);
}

.btn-navy-about:hover {
    background-color: #120e40;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 22, 92, 0.25);
}

/* Right Image Area */
.about-image-wrapper {
    position: relative;
}

.image-mask {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(27, 22, 92, 0.1);
    background-color: #ffffff;
}

.about-team-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-mask:hover .about-team-img {
    transform: scale(1.04);
}

/* Responsive Breakdown */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-title {
        font-size: 30px;
    }

    .about-team-img {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .about-us-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 26px;
    }
}








/* Global Section Styles */
    .doctor-profile-section {
        background-color: #f8f9fa;
        padding: 70px 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: #333333;
    }

    .doctor-container {
        max-width: 1140px;
        margin: 0 auto;
    }

    /* Header Layout Matching Image */
    .section-header-custom {
        text-align: center;
        margin-bottom: 50px;
    }

    .section-header-custom .sub-title {
        color: #1B165C;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 8px;
    }

    .section-header-custom .main-title {
        color: #1B165C;
        font-size: 38px;
        font-weight: 800;
        margin: 0 0 12px 0;
        line-height: 1.2;
    }

    .section-header-custom .header-description {
        color: #666666;
        font-size: 15px;
        max-width: 650px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* Doctor Card & Grid Layout */
    .doctor-card-wrapper {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(27, 22, 92, 0.08);
        border: 1px solid #eef0f5;
        padding: 40px;
    }

    .doctor-main-grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 40px;
        align-items: start;
    }

    .doctor-img-box {
        text-align: center;
    }

    .doctor-img-box img {
        width: 100%;
        max-width: 280px;
        border-radius: 10px;
        border: 3px solid #1B165C;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        object-fit: cover;
    }

    /* Doctor Details */
    .doc-name {
        color: #1B165C;
        font-size: 28px;
        font-weight: 700;
        margin: 0 0 5px 0;
    }

    .doc-degrees {
        color: #0088cc;
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 8px 0;
    }

    .doc-designation {
        color: #555555;
        font-size: 15px;
        font-weight: 600;
        margin: 0 0 25px 0;
    }

    .divider-line {
        height: 2px;
        background: #eef0f5;
        border: none;
        margin: 20px 0;
    }

    .block-heading {
        color: #1B165C;
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 15px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Qualifications List */
    .qualifications-list {
        list-style: none;
        padding: 0;
        margin: 0 0 25px 0;
    }

    .qualifications-list li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 10px;
        font-size: 14px;
        color: #444444;
        line-height: 1.5;
    }

    .qualifications-list li::before {
        content: "✔";
        position: absolute;
        left: 0;
        color: #1B165C;
        font-weight: bold;
    }

    /* Work Experience 2-Column Grid */
    .experience-grid-2col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .exp-card-item {
        background: #f4f6fa;
        border-left: 4px solid #1B165C;
        padding: 12px 15px;
        border-radius: 0 6px 6px 0;
        font-size: 14px;
        color: #333333;
        font-weight: 600;
    }

    /* Responsive */
    @media (max-width: 900px) {
        .doctor-main-grid {
            grid-template-columns: 1fr;
        }
        .doctor-img-box img {
            max-width: 220px;
        }
    }

    @media (max-width: 600px) {
        .experience-grid-2col {
            grid-template-columns: 1fr;
        }
    }


    .testimonials-section {
        background-color: #ffffff;
        padding: 70px 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .testimonials-container {
        max-width: 1140px;
        margin: 0 auto;
    }

    /* Header Matching Site Style */
    .testimonial-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .testimonial-header .sub-title {
        color: #1B165C;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 8px;
    }

    .testimonial-header .main-title {
        color: #1B165C;
        font-size: 38px;
        font-weight: 800;
        margin: 0 0 12px 0;
        line-height: 1.2;
    }

    .testimonial-header .header-description {
        color: #666666;
        font-size: 15px;
        max-width: 650px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* Testimonials Grid */
    .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .testimonial-card {
        background: #f8f9fa;
        border: 1px solid #eef0f5;
        border-radius: 12px;
        padding: 30px 25px;
        box-shadow: 0 5px 15px rgba(27, 22, 92, 0.04);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(27, 22, 92, 0.1);
    }

    .stars {
        color: #ffb400;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .review-text {
        color: #555555;
        font-size: 14px;
        line-height: 1.6;
        font-style: italic;
        margin-bottom: 20px;
        flex-grow: 1;
    }

    .patient-info {
        display: flex;
        align-items: center;
        gap: 12px;
        border-top: 1px solid #e5e7eb;
        padding-top: 15px;
    }

    .patient-avatar {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #1B165C;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 16px;
    }

    .patient-details .patient-name {
        color: #1B165C;
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .patient-details .treatment-type {
        color: #0088cc;
        font-size: 13px;
        margin: 2px 0 0 0;
        font-weight: 500;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .testimonial-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px) {
        .testimonial-grid {
            grid-template-columns: 1fr;
        }
    }


    .gallery-section {
        background-color: #f8f9fa;
        padding: 70px 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .gallery-container {
        max-width: 1140px;
        margin: 0 auto;
    }

    /* Section Header */
    .gallery-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .gallery-header .sub-title {
        color: #1B165C;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 8px;
    }

    .gallery-header .main-title {
        color: #1B165C;
        font-size: 38px;
        font-weight: 800;
        margin: 0 0 12px 0;
        line-height: 1.2;
    }

    .gallery-header .header-description {
        color: #666666;
        font-size: 15px;
        max-width: 650px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* Gallery Grid */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(27, 22, 92, 0.08);
        cursor: pointer;
        aspect-ratio: 4 / 3;
        background-color: #eef0f5;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: rgba(27, 22, 92, 0.75);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        color: #ffffff;
        text-align: center;
        padding: 15px;
    }

    .gallery-overlay span {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .gallery-overlay p {
        font-size: 14px;
        font-weight: 600;
        margin: 0;
    }

    .gallery-item:hover img {
        transform: scale(1.08);
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    /* Lightbox Modal */
    .lightbox-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.88);
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .lightbox-modal.active {
        display: flex;
    }

    .lightbox-content {
        max-width: 85%;
        max-height: 80vh;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        object-fit: contain;
    }

    .lightbox-caption {
        position: absolute;
        bottom: 25px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        background: rgba(27, 22, 92, 0.8);
        padding: 8px 20px;
        border-radius: 20px;
    }

    .lightbox-close {
        position: absolute;
        top: 20px;
        right: 30px;
        color: #ffffff;
        font-size: 35px;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.2s;
    }

    .lightbox-close:hover {
        color: #0088cc;
    }

    /* Responsive */
    @media (max-width: 900px) {
        .gallery-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 550px) {
        .gallery-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Dropdown Container Position */
.nav-item.dropdown {
  position: relative;
}

/* Dropdown Menu Base Styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Show Submenu on Hover */
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu Items */
.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover State on Submenu Items */
.dropdown-item:hover {
  background-color: #f0f7ff;
  color: #007bff; /* Aapke hospital ka theme accent color */
  padding-left: 24px; /* Smooth shifting effect */
}