/*
 * NS Ayurveda Hospital - Premium Redesign Stylesheet
 * Custom Design System: Forest Green, Light Green, Cream, Sand & White
 * Typography: Cormorant Garamond (Serif, Headings) & Outfit (Sans-serif, Body)
 */

/* ==========================================
   1. VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
    /* Nature-inspired Color Palette */
    --primary-forest: #2E7D32; /* Forest Green */
    --primary-forest-rgb: 46, 125, 50;
    --primary-light: #81C784; /* Light Green */
    --primary-dark: #1B5E20; /* Deep Forest */
    --bg-cream: #FFF8E7; /* Cream */
    --bg-cream-soft: #FAF5E6; /* Slightly darker cream for depth */
    --accent-sand: #E8D8B9; /* Sand */
    --accent-gold: #C5A880; /* Ayurvedic Gold Accent */
    --text-dark: #2C3E2F; /* Deep Forest Grey for body text */
    --text-muted: #5A6E5E; /* Muted green-grey */
    --white: #FFFFFF;
    --pure-light: #FAF8F5;
    /* Fonts */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(46, 125, 50, 0.04);
    --shadow-md: 0 8px 24px rgba(46, 125, 50, 0.06);
    --shadow-lg: 0 16px 40px rgba(46, 125, 50, 0.09);
    --shadow-glass: 0 8px 32px 0 rgba(46, 125, 50, 0.04);
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ==========================================
   2. GLOBAL RESETS & GENERAL STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--pure-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.75rem;
    font-weight: 600;
    position: relative;
}

h3 {
    font-size: 2.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

a {
    color: var(--primary-forest);
    text-decoration: none;
    transition: var(--transition-fast);
}

    a:hover {
        color: var(--primary-dark);
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Selection */
::selection {
    background-color: var(--primary-light);
    color: var(--white);
}

/* Focus States for Accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary-forest);
    outline-offset: 3px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-forest);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-cream);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }

/* ==========================================
   3. REUSABLE COMPONENTS & UTILITIES
   ========================================== */
.section {
    padding: 100px 0;
    position: relative;
}

    .section.gray-bg {
        background-color: var(--bg-cream);
    }

    .section.white-bg {
        background-color: var(--white);
    }

.container {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-12, .col-lg-7, .col-lg-6, .col-lg-4, .col-lg-3,
.col-md-12, .col-md-10, .col-md-6, .col-md-4,
.col-sm-6, .col-sm-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .col-md-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Glassmorphism Card base */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
}

    .glass-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(46, 125, 50, 0.2);
    }

/* Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 50px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-forest) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
}

    .btn-primary::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-forest) 100%);
        z-index: -1;
        opacity: 0;
        transition: var(--transition-normal);
    }

    .btn-primary:hover {
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(46, 125, 50, 0.35);
    }

        .btn-primary:hover::after {
            opacity: 1;
        }

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--accent-sand);
    color: var(--primary-dark);
    backdrop-filter: blur(5px);
}

    .btn-secondary:hover {
        background: var(--primary-forest);
        color: var(--white);
        border-color: var(--primary-forest);
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

/* Section Title */
.section-title {
    margin-bottom: 60px;
    text-align: center;
}

    .section-title h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

        .section-title h2::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-forest) 100%);
            margin: 15px auto 0;
            border-radius: 2px;
        }

    .section-title p {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.15rem;
    }

/* Alternating Layout Dividers (Organic SVGs) */
.organic-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.organic-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .organic-divider-top svg, .organic-divider-bottom svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 50px;
    }

        .organic-divider-top svg fill, .organic-divider-bottom svg fill {
            fill: var(--bg-cream);
        }

/* Floating Leaves Background Decorations */
.leaf-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
    z-index: 0;
}

/* ==========================================
   4. HEADER & NAVIGATION BAR
   ========================================== */
.header-top-bar {
    background-color: var(--primary-dark);
    padding: 8px 0;
    height: 38px;
    font-size: 0.85rem;
    color: var(--bg-cream);
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .header-top-bar a {
        color: var(--bg-cream);
    }

        .header-top-bar a:hover {
            color: var(--primary-light);
        }

.header-top-container {
    padding: 0 20px; /* Left & Right padding */
}

.top-bar-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .top-bar-info li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

.top-right-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .top-right-bar a {
        font-weight: 500;
        letter-spacing: 0.5px;
    }

/* Navbar */
.navbar-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 125, 50, 0.08);
    padding: 20px 0;
    transition: var(--transition-normal);
}

/* Navbar shrunk on scroll */
.navbar-wrapper.shrunk .navbar {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar-wrapper.shrunk .navbar-brand img {
    height: 42px;
}

/* Nav Menu */
.navbar-nav {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px 0;
    display: block;
}

    .nav-link:hover, .nav-item.active .nav-link {
        color: var(--primary-forest);
    }

    /* Organic Underline Hover Effect */
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-forest);
        transition: var(--transition-normal);
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .nav-link:hover::after, .nav-item.active .nav-link::after {
        width: 100%;
    }

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--white);
    border: 1px solid rgba(46, 125, 50, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 10;
}

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: var(--white);
        border-top: 1px solid rgba(46, 125, 50, 0.08);
        border-left: 1px solid rgba(46, 125, 50, 0.08);
    }

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

    .dropdown-item:hover {
        background-color: var(--bg-cream);
        color: var(--primary-dark);
        padding-left: 28px;
    }

/* Hamburger mobile button */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

    .navbar-toggler span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--primary-forest);
        border-radius: 9px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: 0.25s ease-in-out;
    }

        .navbar-toggler span:nth-child(1) {
            top: 0px;
        }

        .navbar-toggler span:nth-child(2) {
            top: 10px;
        }

        .navbar-toggler span:nth-child(3) {
            top: 20px;
        }

    .navbar-toggler.open span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }

    .navbar-toggler.open span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    .navbar-toggler.open span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }

/* Mobile responsive menu */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 40px 40px;
        transition: var(--transition-slow);
        z-index: 1000;
        gap: 16px;
        overflow-y: auto;
    }

        .navbar-nav.open {
            right: 0;
        }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-left: 15px;
        display: none;
        background: none;
    }

        .dropdown-menu::before {
            display: none;
        }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 8px 16px;
    }

    .header-top-bar {
        display: none;
    }
}

/* ==========================================
   5. HERO BANNER SECTION (PARALLAX + NATURE EFFECTS)
   ========================================== */
.hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 80vh;
    min-height: 550px;
    max-height: 900px;
}

    /* Smooth Green Overlays */
    .hero-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-banner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background: linear-gradient(0deg, var(--bg-cream) 0%, rgba(255, 248, 231, 0) 100%);
        z-index: 2;
    }

    .hero-banner .container {
        position: relative;
        z-index: 3;
        width: 100%;
        padding: 0 20px;
    }

/* ==========================================
   HERO BACKGROUND SLIDER (Horizontal Slide + Fade)
   GPU-accelerated: transform + opacity only
   ========================================== */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Base state: waiting off-screen to the right */
.hero-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1), opacity 1.2s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform, opacity;
}

/* Wrapper for horizontal sliding */
.hero-slider-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}
/* Active slide: centred and fully visible */
.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide.exit {
    opacity: 0;
    transform: translateX(-100%);
}


.hero-content {
    max-width: 650px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 248, 231, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--bg-cream);
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeInDown 0.8s ease-out;
}

    .hero-badge i {
        color: var(--primary-light);
    }

.hero-content h1 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content p {
    color: var(--bg-cream);
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 992px) {

    .hero-banner {
        height: 55vh;
        min-height: 380px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-slide img {
        object-fit: contain;
        background: #f8f8f8; /* or transparent */
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-slide {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;
    }
}

@media (max-width:768px) {

    .hero-banner {
        height: 45vh;
        min-height: 280px; /* Adjust as needed */
        box-shadow: none !important;
    }
/*     .hero-banner::before,
    .hero-banner::after {
        display: none;
    }*/
    .hero-slider,
    .hero-slide {
        height: 100%;
    }

        .hero-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* or cover if you prefer */
        }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

        .hero-btns .btn {
            width: 100%;
        }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width:480px) {

    .hero-banner {
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: .95rem;
    }

    .hero-badge {
        font-size: .75rem;
        padding: 6px 14px;
    }
}

/* Floating Leaves Layer */
.falling-leaves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.falling-leaf {
    position: absolute;
    top: -50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381C784' opacity='0.6'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L2.18,20.66C4.26,15.49 6.7,8.83 17,6V2C22,2 22,7 22,7C22,7 22,8 17,8Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    animation: fall linear infinite;
    opacity: 0.6;
}

@keyframes fall {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(105vh) translateX(150px) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

    .scroll-indicator .mouse {
        width: 24px;
        height: 40px;
        border: 2px solid var(--white);
        border-radius: 20px;
        position: relative;
    }

    .scroll-indicator .wheel {
        width: 4px;
        height: 8px;
        background: var(--white);
        border-radius: 2px;
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        animation: scrollWheel 1.5s infinite;
    }

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}



/* ==========================================
   6. ABOUT SECTION (Narrative + Counters)
   ========================================== */
.about-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

    .about-img-grid::before {
        content: '';
        position: absolute;
        top: -15%;
        left: -10%;
        width: 120%;
        height: 130%;
        background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, rgba(0,0,0,0) 70%);
        z-index: -1;
        pointer-events: none;
    }

.about-img-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

    .about-img-item:nth-child(2) {
        margin-top: 40px;
    }

    .about-img-item:nth-child(3) {
        grid-column: span 2;
        height: 250px;
        overflow: hidden;
    }

    .about-img-item:hover {
        transform: scale(1.03);
        box-shadow: var(--shadow-lg);
    }

.about-content-wrap {
    padding-left: 40px;
}

    .about-content-wrap h2 {
        margin-bottom: 24px;
    }

.about-features-list {
    list-style: none;
    margin: 30px 0 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

    .about-features-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 500;
        color: var(--text-dark);
    }

        .about-features-list li i {
            color: var(--primary-forest);
            font-size: 1.1rem;
        }

@media (max-width: 991px) {
    .about-content-wrap {
        padding-left: 0;
        margin-top: 60px;
    }
}

@media (max-width: 575px) {
    .about-features-list {
        grid-template-columns: 1fr;
    }
}

/* Counters styling */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-forest) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-top: -50px;
    z-index: 5;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 100 100' opacity='0.05'%3E%3Cpath d='M10 30 C 30 10, 70 10, 90 30 C 80 50, 80 80, 50 90 C 20 80, 20 50, 10 30 Z' fill='%23ffffff'/%3E%3C/svg%3E") repeat;
        opacity: 0.15;
    }

.counter-box {
    text-align: center;
    padding: 20px;
}

    .counter-box i {
        font-size: 2.5rem;
        color: var(--accent-sand);
        margin-bottom: 12px;
        display: block;
    }

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--white);
}

.counter-suffix {
    font-size: 2.25rem;
    color: var(--primary-light);
    font-family: var(--font-heading);
}

.counter-box p {
    color: var(--bg-cream);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==========================================
   7. TREATMENTS & SPECIALITY SECTIONS
   ========================================== */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.treatment-card {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .treatment-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(46, 125, 50, 0.03) 0%, rgba(46, 125, 50, 0) 100%);
        z-index: -1;
        transition: var(--transition-normal);
    }

    .treatment-card:hover::before {
        background: linear-gradient(180deg, rgba(46, 125, 50, 0.08) 0%, rgba(46, 125, 50, 0.02) 100%);
    }

.treatment-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-cream);
    color: var(--primary-forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.treatment-card:hover .treatment-icon {
    background: var(--primary-forest);
    color: var(--white);
    transform: rotateY(180deg);
}

.treatment-card h3 {
    font-size: 1.65rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.treatment-price {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-forest);
    font-size: 1.15rem;
    margin-top: 15px;
}

/* Departments Slider / Grid */
.department-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--white);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .department-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.dept-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .dept-header img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-slow);
    }

.department-card:hover .dept-header img {
    transform: scale(1.1);
}

.dept-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(27, 94, 32, 0.7) 0%, rgba(27, 94, 32, 0) 100%);
    z-index: 1;
}

.dept-icon-box {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent-sand);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.dept-body {
    padding: 35px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .dept-body h3 {
        font-size: 1.45rem;
        margin-bottom: 12px;
    }

.dept-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-forest);
}

    .dept-link:hover {
        color: var(--primary-dark);
    }

/* ==========================================
   8. DOCTORS SECTION (Carousel & Cards)
   ========================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(46, 125, 50, 0.04);
    cursor: pointer;
}

    .doctor-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(46, 125, 50, 0.1);
    }

.doctor-card-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

    .doctor-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-slow);
    }

.doctor-card:hover .doctor-card-img img {
    transform: scale(1.08);
}

.doctor-card-info {
    padding: 24px;
    text-align: center;
}

    .doctor-card-info h4 {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }

    .doctor-card-info .specialty {
        font-size: 0.85rem;
        text-transform: uppercase;
        color: var(--primary-forest);
        letter-spacing: 1px;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .doctor-card-info .qualification {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

.view-profile-cta {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-forest);
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.doctor-card:hover .view-profile-cta {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}

/* Disabled select greyed look */
select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ==========================================
   9. GALLERY SECTION & LIGHTBOX
   ========================================== */
.gallery-grid {
    columns: 3 320px;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    position: relative;
}

    .gallery-item img {
        width: 100%;
        display: block;
        transition: var(--transition-slow);
    }

    .gallery-item:hover img {
        transform: scale(1.06);
    }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 125, 50, 0.4);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 94, 32, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: var(--transition-normal);
}

    .lightbox-modal.open {
        opacity: 1;
        visibility: visible;
    }

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.lightbox-modal.open .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-caption {
    color: var(--bg-cream);
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
}

/* ==========================================
   10. TESTIMONIALS & FAQ SECTIONS
   ========================================== */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    text-align: center;
    padding: 30px;
    display: none;
}

    .testimonial-slide.active {
        display: block;
        animation: fadeIn 0.6s ease-out;
    }

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.5;
    color: var(--primary-dark);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-details h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testimonial-details span {
    font-size: 0.85rem;
    color: var(--primary-forest);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-sand);
    cursor: pointer;
    transition: var(--transition-fast);
}

    .testimonial-dot.active {
        background: var(--primary-forest);
        width: 25px;
        border-radius: 10px;
    }

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.04);
}

.faq-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-fast);
}

    .faq-header:hover {
        background: rgba(46, 125, 50, 0.02);
    }

    .faq-header h3 {
        font-size: 1.35rem;
        margin-bottom: 0;
        font-family: var(--font-body);
        font-weight: 500;
        color: var(--primary-dark);
    }

.faq-icon {
    font-size: 1.1rem;
    color: var(--primary-forest);
    transition: var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--pure-light);
}

.faq-body-content {
    padding: 24px;
    border-top: 1px solid rgba(46, 125, 50, 0.04);
}

/* ==========================================
   11. APPOINTMENT FORM & CONTACT SECTIONS
   ========================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.contact-info-card {
    text-align: center;
    padding: 40px 30px;
}

    .contact-info-card i {
        font-size: 2.2rem;
        color: var(--primary-forest);
        margin-bottom: 16px;
        display: block;
    }

    .contact-info-card h4 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .contact-info-card p {
        margin-bottom: 0;
    }

@media (max-width: 767px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.appointment-content img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Form Styles & Floating Labels */
.form-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.form-group-custom {
    position: relative;
    margin-bottom: 24px;
}

.form-input-custom {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--accent-sand);
    border-radius: var(--radius-sm);
    background-color: var(--pure-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

    .form-input-custom:focus {
        border-color: var(--primary-forest);
        background-color: var(--white);
        box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
        outline: none;
    }

/* Floating Label text */
.form-label-custom {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    background: transparent;
    padding: 0 4px;
}

/* Slide up and color focused state */
.form-input-custom:focus ~ .form-label-custom,
.form-input-custom:not(:placeholder-shown) ~ .form-label-custom {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    background-color: var(--white);
    color: var(--primary-forest);
    font-weight: 500;
}

/* Textarea specific */
textarea.form-input-custom {
    resize: vertical;
    min-height: 120px;
}

    textarea.form-input-custom ~ .form-label-custom {
        top: 26px;
        transform: none;
    }

    textarea.form-input-custom:focus ~ .form-label-custom,
    textarea.form-input-custom:not(:placeholder-shown) ~ .form-label-custom {
        top: 0;
        transform: translateY(-50%) scale(0.85);
    }

/* Validation Highlights */
.form-input-custom.error-highlight {
    border-color: #D32F2F !important;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1) !important;
}

.form-input-custom.valid-highlight {
    border-color: #388E3C !important;
}

.error-message {
    font-size: 0.8rem;
    color: #D32F2F;
    margin-top: 4px;
    display: none;
    font-weight: 500;
    animation: fadeIn 0.3s ease-out;
}

/* Loading Overlay inside form */
.form-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

    .form-loading-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.leaf-spinner {
    font-size: 3rem;
    color: var(--primary-forest);
    animation: rotateSpinner 1.5s linear infinite;
}

@keyframes rotateSpinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success Toast */
.success-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-normal);
}

    .success-toast.show {
        transform: translateY(0);
        opacity: 1;
    }

    .success-toast i {
        color: var(--primary-light);
        font-size: 1.3rem;
    }

/* Google Map Wrapper */
.map-section {
    position: relative;
    line-height: 0;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(46, 125, 50, 0.08);
}

/* ==========================================
   12. FOOTER SECTION & NEWSLETTER
   ========================================== */
.footer {
    background-color: #172D1B; /* Ultra dark green */
    color: #B2C0B4;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

    .footer h4 {
        color: var(--white);
        font-size: 1.45rem;
        margin-bottom: 24px;
    }

.footer-menu {
    list-style: none;
}

    .footer-menu li {
        margin-bottom: 12px;
    }

    .footer-menu a {
        color: #B2C0B4;
        transition: var(--transition-fast);
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .footer-menu a:hover {
            color: var(--primary-light);
            transform: translateX(5px);
        }

        .footer-menu a i {
            font-size: 0.7rem;
            opacity: 0.7;
        }

.footer-contact-block {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

    .footer-contact-block i {
        color: var(--primary-light);
        font-size: 1.25rem;
        margin-top: 4px;
    }

    .footer-contact-block h5 {
        color: var(--white);
        font-family: var(--font-body);
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .footer-contact-block a {
        color: #B2C0B4;
    }

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    list-style: none;
}

    .footer-social-links a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        color: var(--bg-cream);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-fast);
    }

        .footer-social-links a:hover {
            background: var(--primary-forest);
            color: var(--white);
            transform: translateY(-3px);
        }

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

    .footer-bottom p {
        margin-bottom: 0;
        font-size: 0.85rem;
        color: #8C9F90;
    }

/* Back to Top button */
.backtop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-forest);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

    .backtop.show {
        opacity: 1;
        visibility: visible;
    }

    .backtop:hover {
        background: var(--primary-dark);
        transform: translateY(-5px);
    }

/* ==========================================
   13. ANIMATIONS & TRANSITIONS (SCROLL)
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }

.animate-scale {
    transform: scale(0.9);
}

    .animate-scale.animated {
        transform: scale(1);
    }

.animate-slide-left {
    transform: translateX(-50px);
}

    .animate-slide-left.animated {
        transform: translateX(0);
    }

.animate-slide-right {
    transform: translateX(50px);
}

    .animate-slide-right.animated {
        transform: translateX(0);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===========================
   HERO RESPONSIVE OVERRIDES
   =========================== */

@media (max-width:991px) {
    .hero-banner {
        height: 52vh !important;
        min-height: 360px !important;
        max-height: 420px !important;
    }

    .hero-slide img {
        object-fit: contain !important;
        object-position: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width:767px) {
    .hero-banner {
        height: 34vh !important;
        min-height: 220px !important;
        max-height: 260px !important;
    }

    .hero-slider,
    .hero-slide {
        height: 100%;
    }

        .hero-slide img {
            object-fit: contain !important;
            object-position: center;
        }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: .95rem;
        margin-bottom: 18px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

        .hero-btns .btn {
            width: 100%;
        }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width:480px) {
    .hero-banner {
        height: 30vh !important;
        min-height: 180px !important;
        max-height: 220px !important;
    }
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    align-items: center;
}

.glass-card {
    padding: 20px;
    text-align: center;
}

.facility-img {
    height: 60px;
    max-width: 100%;
}

/* Large Tablet */
@media (max-width: 1200px) {
    .facility-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .facility-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #fafcf8;
    color: #1e2a1e;
    padding-top: 110px;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.col-lg-3 {
    flex: 0 0 calc(25% - 20px);
}

.col-lg-4 {
    flex: 0 0 calc(33.333% - 20px);
}

.col-lg-6 {
    flex: 0 0 calc(50% - 20px);
}

.col-md-6 {
    flex: 0 0 calc(50% - 20px);
}

.col-lg-2 {
    flex: 0 0 calc(16.666% - 20px);
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.img-fluid {
    width: 100%;
    height: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- HEADER / NAV (fixed + dropdown fix) ---------- */
.header-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10001;
    background: #1e3a1e;
    color: #d4e0d4;
    padding: 6px 0;
    font-size: 0.85rem;
    transition: transform 0.35s ease;
}

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

.top-bar-info {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

    .top-bar-info li {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .top-bar-info a {
        color: #d4e0d4;
    }

.top-right-bar a {
    color: #f5f0e1;
    font-weight: 500;
    background: #2e5a2e;
    padding: 4px 16px;
    border-radius: 30px;
    transition: 0.2s;
}

    .top-right-bar a:hover {
        background: #3d7a3d;
    }

.navbar-wrapper {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 10000;
    transition: top 0.35s ease, transform 0.35s ease;
    top: 38px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 125, 50, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible !important;
}

.navbar-brand img {
    height: 46px;
    width: auto;
}

.navbar-nav {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #1e2a1e;
    padding: 8px 0;
    display: block;
    transition: 0.2s;
}

    .nav-link:hover {
        color: #2e7d32;
    }

/* dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(46, 125, 50, 0.15);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    border: 1px solid rgba(46, 125, 50, 0.08);
    z-index: 10001;
    list-style: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    color: #1e2a1e;
    transition: 0.2s;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

    .dropdown-item:hover {
        background: #f5f0e1;
        color: #1b5e20;
        padding-left: 28px;
    }

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1px solid rgba(46, 125, 50, 0.08);
    border-left: 1px solid rgba(46, 125, 50, 0.08);
}

/* mobile menu toggle */
.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

    .navbar-toggler span {
        width: 28px;
        height: 3px;
        background: #1e2a1e;
        border-radius: 4px;
        transition: 0.3s;
    }

/* hide states for fixed header */
.hide-topbar {
    transform: translateY(-100%);
}

.hide-navbar {
    transform: translateY(-100%);
}

/* ---------- ANNOUNCEMENTS ---------- */
.announcements-section {
    background: #f4f9e9;
    padding: 50px 0;
}

.announcement-header {
    text-align: center;
    margin-bottom: 35px;
}

    .announcement-header h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.2rem;
        color: #1e2a1e;
    }

    .announcement-header p {
        color: #5a6b5a;
    }

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    min-height: 140px;
    cursor: default;
}

    .announcement-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        border-color: #2e7d32;
    }

    .announcement-card .card-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 12px;
    }

    .announcement-card .icon {
        font-size: 2rem;
        color: #2e7d32;
        flex-shrink: 0;
        line-height: 1;
        min-width: 36px;
    }

    .announcement-card h4 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.3rem;
        margin: 0;
        color: #1e2a1e;
    }

    .announcement-card p {
        color: #5a6b5a;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .announcement-card .date {
        color: #adb5bd;
        font-size: 0.85rem;
        display: block;
    }

        .announcement-card .date i {
            margin-right: 5px;
        }

/* mobile slider */
.announcement-slider {
    display: none;
}

.announcement-slide {
    display: none;
    animation: slideFade 0.5s ease;
}

    .announcement-slide.active {
        display: block;
    }

.announcement-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.announcement-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: 0.3s;
}

    .announcement-dot.active {
        background: #2e7d32;
        width: 30px;
        border-radius: 5px;
    }

.announcement-nav {
    display: none;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

    .announcement-nav button {
        background: #fff;
        border: 1px solid #dee2e6;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }

        .announcement-nav button:hover {
            border-color: #2e7d32;
            background: #f8f9fa;
        }

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- SECTIONS COMMON ---------- */
.section {
    padding: 70px 0;
}

.gray-bg {
    background: #f4f9e9;
}

.white-bg {
    background: #ffffff;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

    .section-title h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.6rem;
        color: #1e2a1e;
    }

    .section-title p {
        color: #5a6b5a;
        font-size: 1.05rem;
    }

.btn-premium {
    display: inline-block;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    background: #2e7d32;
    color: #fff;
}

    .btn-premium:hover {
        background: #1b5e20;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    }

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(46, 125, 50, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

    .glass-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(46, 125, 50, 0.08);
    }

/* ---------- HERO ---------- */
/*        .hero-banner {
        position: relative;
        min-height: 70vh;
        overflow: hidden;
        background: #1e2a1e;
    }*/

.hero-slider {
    position: absolute;
    inset: 0;
    display: flex;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

    .hero-slide.active {
        opacity: 1;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@media (max-width: 991.98px) {
    .scroll-indicator {
        display: none !important;
    }
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ---------- ABOUT ---------- */
.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img-item {
    border-radius: 20px;
    overflow: hidden;
}

    .about-img-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: 0.4s;
    }

    .about-img-item:hover img {
        transform: scale(1.03);
    }

.about-content-wrap h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
}

.about-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin: 20px 0;
}

    .about-features-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #2e5a2e;
    }

        .about-features-list li i {
            color: #2e7d32;
        }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f0e6;
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #1e3a1e;
    margin-bottom: 12px;
}

/* ---------- COUNTERS ---------- */
.cta-section {
    background: linear-gradient(135deg, #1e3a1e, #2e5a2e);
    padding: 40px 30px;
    border-radius: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    color: #fff;
}
/* Mobile View */
@media (max-width: 767.98px) {

    .cta-section {
        padding: 15px 10px;
    }

        .cta-section .row {
            margin-left: -6px;
            margin-right: -6px;
        }

            .cta-section .row > div {
                padding-left: 6px;
                padding-right: 6px;
                margin-bottom: 12px;
            }

    .counter-box {
        padding: 16px 10px;
        border-radius: 16px;
        min-height: 150px;
    }

        .counter-box i {
            font-size: 28px;
            margin-bottom: 10px;
        }

    .counter-number {
        font-size: 26px;
        line-height: 1;
    }

    .counter-suffix {
        font-size: 18px;
    }

    .counter-box p {
        font-size: 13px;
        margin-top: 8px;
        line-height: 1.3;
    }
}

.counter-box {
    text-align: center;
}

    .counter-box i {
        font-size: 2.4rem;
        color: #b5d6b5;
        margin-bottom: 6px;
    }

    .counter-box .counter-number {
        font-size: 2.4rem;
        font-weight: 700;
    }

.counter-suffix {
    font-size: 1.6rem;
    font-weight: 600;
}

.counter-box p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* Clinical Departments - Mobile */
@media (max-width: 767.98px) {

    #departments .row,
    .department-section .row {
        margin-left: -6px;
        margin-right: -6px;
    }

        #departments .row > div,
        .department-section .row > div {
            padding-left: 6px;
            padding-right: 6px;
        }

    .department-card {
        width: 100%;
        margin: 0;
        border-radius: 14px;
    }

    .dept-header img {
        height: 120px;
        object-fit: cover;
    }

    .dept-icon-box {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .dept-body {
        padding: 14px;
    }

        .dept-body h3 {
            font-size: 15px;
            line-height: 1.3;
            margin-bottom: 8px;
        }

        .dept-body p {
            font-size: 12px;
            line-height: 1.5;
            margin-bottom: 12px;
            /* Keep all cards the same height */
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

    .dept-link {
        font-size: 13px;
    }
}

/* ---------- TREATMENT ---------- */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.treatment-card {
    text-align: center;
    padding: 30px 20px;
}

.treatment-icon {
    font-size: 2.8rem;
    color: #2e7d32;
    margin-bottom: 16px;
}

.treatment-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
}

.treatment-card .treatment-price {
    margin-top: 12px;
    font-weight: 600;
    color: #2e7d32;
    background: #e6f0e6;
    display: inline-block;
    padding: 4px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
}

/* ---------- DEPARTMENTS ---------- */
.department-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .department-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    }

.dept-header {
    position: relative;
    height: 160px;
    overflow: hidden;
}

    .dept-header img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.dept-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.dept-icon-box {
    position: absolute;
    bottom: 12px;
    left: 16px;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #2e7d32;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dept-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .dept-body h3 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.4rem;
    }

    .dept-body p {
        color: #5a6b5a;
        font-size: 0.92rem;
        margin: 6px 0 14px;
    }

.dept-link {
    color: #2e7d32;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

    .dept-link:hover {
        gap: 12px;
    }


/* ---------- DOCTORS ---------- */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.doctor-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    cursor: pointer;
}

    .doctor-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    }

.doctor-card-img {
    height: 200px;
    overflow: hidden;
}

    .doctor-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.4s;
    }

.doctor-card:hover .doctor-card-img img {
    transform: scale(1.04);
}

.doctor-card-info {
    padding: 18px 20px 22px;
}

    .doctor-card-info h4 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.2rem;
    }

    .doctor-card-info .specialty {
        color: #2e7d32;
        font-weight: 500;
        font-size: 0.85rem;
    }

    .doctor-card-info .qualification {
        color: #7a8a7a;
        font-size: 0.85rem;
        margin-top: 2px;
    }

.view-profile-cta {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    color: #1e3a1e;
    border-bottom: 2px solid #b5d6b5;
    transition: 0.2s;
    font-size: 0.85rem;
}

    .view-profile-cta:hover {
        border-color: #2e7d32;
    }

/* ---------- FACILITIES ---------- */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.facility-img {
    height: 60px;
    object-fit: contain;
    margin: 0 auto;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

    .gallery-item img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: 0.4s;
    }

    .gallery-item:hover img {
        transform: scale(1.04);
    }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: #fff;
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-slider {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-slide {
    display: none;
}

    .testimonial-slide.active {
        display: block;
    }

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #2a3a2a;
    padding: 20px 30px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

    .testimonial-dot.active {
        background: #2e7d32;
        width: 30px;
        border-radius: 5px;
    }

/* ---------- FAQ ---------- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    padding: 16px 0;
}

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

    .faq-header h3 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.25rem;
        font-weight: 600;
    }

.faq-icon {
    transition: 0.3s;
    color: #2e7d32;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
}

.faq-item.open .faq-body {
    max-height: 200px;
    padding-top: 12px;
}

.faq-body-content {
    color: #5a6b5a;
}

/* ---------- CONTACT / BOOKING ---------- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info-card {
    text-align: center;
    padding: 28px 20px;
}

    .contact-info-card i {
        font-size: 2.2rem;
        color: #2e7d32;
        margin-bottom: 10px;
    }

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.form-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 30px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.form-group-custom {
    position: relative;
    margin-bottom: 22px;
}

.form-input-custom {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dce4dc;
    border-radius: 12px;
    font-size: 1rem;
    background: #fafcfa;
    transition: 0.2s;
    outline: none;
    font-family: 'Outfit', sans-serif;
}

    .form-input-custom:focus {
        border-color: #2e7d32;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.08);
    }

.form-label-custom {
    position: absolute;
    left: 16px;
    top: 14px;
    color: #8a9a8a;
    transition: 0.2s;
    pointer-events: none;
    background: transparent;
    padding: 0 4px;
}

.form-input-custom:focus + .form-label-custom,
.form-input-custom:not(:placeholder-shown) + .form-label-custom {
    top: -8px;
    font-size: 0.75rem;
    background: #fff;
    color: #2e7d32;
}

.form-input-custom::placeholder {
    color: transparent;
}

/* ---------- MAP ---------- */
.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

    .map-container iframe {
        display: block;
    }

/* ---------- FOOTER ---------- */
.footer {
    background: #122212;
    color: #b5cbb5;
    padding: 50px 0 20px;
    margin-top: 20px;
}

    .footer h4 {
        color: #fff;
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

.footer-menu {
    list-style: none;
}

    .footer-menu li {
        margin-bottom: 10px;
    }

    .footer-menu a {
        color: #b5cbb5;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: 0.2s;
    }

        .footer-menu a:hover {
            color: #fff;
            padding-left: 4px;
        }

.footer-social-links {
    display: flex;
    gap: 14px;
    list-style: none;
}

    .footer-social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #2a3a2a;
        color: #b5cbb5;
        transition: 0.2s;
    }

        .footer-social-links a:hover {
            background: #2e7d32;
            color: #fff;
        }

.footer-bottom {
    border-top: 1px solid #2a3a2a;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* ---------- BACK TO TOP ---------- */
.backtop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2e7d32;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
    transition: 0.3s;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

    .backtop.visible {
        opacity: 1;
        visibility: visible;
    }

    .backtop:hover {
        transform: translateY(-4px);
        background: #1b5e20;
    }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .col-lg-3,
    .col-lg-4,
    .col-lg-6 {
        flex: 0 0 100%;
    }

    .col-md-6 {
        flex: 0 0 calc(50% - 20px);
    }

    .navbar-toggler {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.06);
        gap: 12px;
        overflow-y: auto;
        z-index: 1000;
    }

        .navbar-nav.open {
            right: 0;
        }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin-left: 16px;
        display: none !important;
        background: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu::before {
        display: none;
    }

    .announcement-grid {
        grid-template-columns: 1fr 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr 1fr;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
    }

    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    .header-top-bar .container {
        flex-direction: column;
        gap: 4px;
        font-size: 0.75rem;
    }

    .top-bar-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .top-right-bar a {
        font-size: 0.75rem;
        padding: 2px 12px;
    }

    .navbar-wrapper {
        top: 60px;
    }

    .announcement-grid {
        display: none !important;
    }

    .announcement-slider {
        display: block !important;
    }

    .announcement-nav {
        display: flex !important;
    }

    .doctors-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-features-list {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .counter-box .counter-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }

    .announcement-card {
        padding: 16px;
    }

        .announcement-card .icon {
            font-size: 1.4rem;
        }
}

/* ---------- UTILITY ---------- */
.organic-divider-top,
.organic-divider-bottom {
    position: relative;
    height: 0;
    overflow: visible;
}

    .organic-divider-top svg,
    .organic-divider-bottom svg {
        display: block;
        width: 100%;
        height: 60px;
    }

/* scroll animation (simple) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

.animate-scale {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-right {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-left {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-right.visible {
    transform: translateX(0);
}

.animate-slide-left.visible {
    transform: translateX(0);
}

.animate-scale.visible {
    transform: scale(1);
}
/* Desktop */
@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile - 1 item per row */
@media (max-width: 767.98px) {
    .col-lg-4,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Desktop */
@media (min-width: 992px) {
    .cta-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cta-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile */
@media (max-width: 767.98px) {

    .cta-section .row {
        margin-left: -6px;
        margin-right: -6px;
    }

        .cta-section .row > div {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 6px;
        }

    .counter-box {
        padding: 16px 10px;
        min-height: 145px;
        border-radius: 16px;
    }

        .counter-box i {
            font-size: 28px;
        }

    .counter-number {
        font-size: 24px;
    }

    .counter-box p {
        font-size: 13px;
        margin-top: 8px;
    }
}

/* ==========================================
   HERO HEIGHT FIX FOR MOBILE
   ========================================== */

/* Tablet (max 991px) */
@media (max-width: 991px) {
    .hero-banner {
        height: 65vh !important;
        min-height: 450px !important;
        max-height: 550px !important;
    }

    .hero-slide img {
        object-fit: cover !important;
        object-position: center center !important;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    .hero-btns .btn {
        font-size: 0.9rem !important;
        padding: 12px 28px !important;
    }
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
    .hero-banner {
        height: 100vh !important; /* Full viewport height */
        min-height: 700px !important;
        max-height: 1000px !important;
    }

        .hero-banner::before,
        .hero-banner::after {
            box-shadow: none !important;
        }

    .hero-slider,
    .hero-slide {
        height: 100% !important;
    }

        .hero-slide img {
            object-fit: cover !important;
            object-position: center top !important;
            height: 100% !important;
            width: 100% !important;
        }

    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
        line-height: 1.5 !important;
    }

    .hero-badge {
        font-size: 0.7rem !important;
        padding: 4px 14px !important;
        margin-bottom: 16px !important;
    }

    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

        .hero-btns .btn {
            width: 100% !important;
            font-size: 0.85rem !important;
            padding: 10px 20px !important;
        }

    .scroll-indicator {
        display: none !important;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .hero-banner {
        height: 50vh !important;
        min-height: 320px !important;
        max-height: 420px !important;
    }

    .hero-content h1 {
        font-size: 1.6rem !important;
    }

    .hero-content p {
        font-size: 0.85rem !important;
    }
}
/* ==========================================
   FIX: MOBILE HEADER GAP
   ========================================== */

/* When top bar is hidden, navbar sits at top */
@media (max-width: 991px) {
    .navbar-wrapper {
        top: 0 !important;
    }

    /* Reduce body padding since top bar is hidden */
    body {
        padding-top: 70px !important;
    }
}

/* For very small screens, ensure the navbar stays at top */
@media (max-width: 767px) {
    .navbar-wrapper {
        top: 0 !important;
    }

    body {
        padding-top: 65px !important;
    }
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.view-link {
    color: #6c757d; /* Grey */
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.announcement-card[style*="cursor: pointer"] .view-link {
    text-decoration: underline;
}