:root {
    --ayurved-forest: #1b4332;
    --ayurved-sage: #2d6a4f;
    --ayurved-mint: #b7e4c7;
    --ayurved-gold: #f9a825;
    --ayurved-pearl: #fdfdfd;
    --ayurved-clay: #fff9e6;
    --ayurved-text: #1b4332;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --premium-gradient: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    
    
    --whatsapp-green: #25d366;
    
    /* Admin Premium Variables */
    --admin-sidebar-bg: linear-gradient(180deg, #1b4332 0%, #0b1a15 100%);
    --admin-accent: #f9a825;
    --admin-card-bg: #ffffff;
    --admin-hover-bg: rgba(255, 255, 255, 0.1);
}

/* Dark Mode Variables */
[data-bs-theme="dark"] {
    --ayurved-pearl: #0b1a15;
    --ayurved-text: #e0e0e0;
    --ayurved-forest: #b7e4c7;
    --ayurved-clay: #152b24;
    --glass-bg: rgba(11, 26, 21, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --ayurved-sage: #52b788;
    --booking-bg: #1a3028;
}

[data-bs-theme="dark"] body {
    background-color: var(--ayurved-pearl);
    color: var(--ayurved-text);
}

[data-bs-theme="dark"] h1, 
[data-bs-theme="dark"] h2, 
[data-bs-theme="dark"] h3, 
[data-bs-theme="dark"] h4, 
[data-bs-theme="dark"] h5, 
[data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .section-title {
    color: #fff !important;
}

[data-bs-theme="dark"] .text-muted {
    color: #a0a0a0 !important;
}

[data-bs-theme="dark"] .bg-white {
    background-color: #0b1a15 !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #152b24 !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #fff !important;
}

[data-bs-theme="dark"] .card {
    background-color: #1a3028;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .form-label {
    color: #fff !important;
}

[data-bs-theme="dark"] .form-control, 
[data-bs-theme="dark"] .form-select {
    background-color: #152b24;
    border-color: #2d6a4f;
    color: #fff;
}

[data-bs-theme="dark"] .accordion-button {
    color: #fff !important;
}

[data-bs-theme="dark"] .booking-form-wrapper {
    background-color: var(--booking-bg) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .booking-form-wrapper .text-muted {
    color: #b0b0b0 !important;
}

[data-bs-theme="dark"] .text-danger {
    color: #ff6b6b !important;
}

[data-bs-theme="dark"] .booking-benefit-text {
    color: #fff !important;
}

[data-bs-theme="dark"] .bg-success i {
    color: #0b1a15 !important;
}



/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    background-color: #128C7E;
}


html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--ayurved-pearl);
    color: var(--ayurved-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--ayurved-forest);
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: #fff !important;
}

.text-success {
    color: var(--ayurved-sage) !important;
}

.btn-success {
    background-color: var(--ayurved-sage) !important;
    border-color: var(--ayurved-sage) !important;
    color: #fff !important;
}

.btn-success:hover {
    background-color: var(--ayurved-forest) !important;
    border-color: var(--ayurved-forest) !important;
    transform: translateY(-2px);
}

/* Navbar Customization */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.navbar-transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
}

.navbar-transparent .nav-link, 
.navbar-transparent .navbar-brand {
    color: #fff !important;
}

.navbar-transparent .btn-outline-dark {
    border-color: #fff !important;
    color: #fff !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 80px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08));
}

.navbar.scrolled .nav-logo {
    height: 65px;
    filter: none;
}

@media (max-width: 991px) {
    .nav-logo {
        height: 60px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        margin-top: 20px;
        padding: 30px;
        border-radius: 30px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 9999;
    }

    /* Transparent Navbar (Hero Section) Adjustment */
    .navbar-transparent .navbar-collapse {
        background: rgba(12, 34, 29, 0.96) !important; /* Premium Dark Forest */
        border-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-transparent .navbar-collapse .nav-link {
        color: #fff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-collapse .nav-link {
        padding: 15px 0 !important;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .navbar-collapse .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: 12px;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--ayurved-forest);
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ayurved-sage);
    margin-top: 2px;
}

.navbar-transparent .brand-name,
.navbar-transparent .brand-tagline {
    color: #fff !important;
}

@media (max-width: 768px) {
    .brand-name {
        font-size: 1.1rem;
    }
    .brand-tagline {
        font-size: 0.65rem;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--ayurved-forest) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--ayurved-sage) !important;
}

/* Hero Section */
.medical-header {
    background: linear-gradient(135deg, var(--ayurved-clay) 0%, #ffffff 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.medical-header::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--ayurved-forest);
    opacity: 0.05;
    border-radius: 50%;
}

/* Premium Button Styling */
.btn-primary {
    background: var(--ayurved-forest);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(21, 62, 53, 0.2);
}

.btn-primary:hover {
    background: var(--ayurved-sage);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 62, 53, 0.3);
}

.btn-outline-dark {
    border: 2px solid var(--ayurved-forest);
    color: var(--ayurved-forest);
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background: var(--ayurved-forest);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    transition: all 0.4s ease;
}

/* Service Showcase Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(21, 62, 53, 0.1);
    border-color: var(--ayurved-gold);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--ayurved-gold);
    border-radius: 2px;
}

/* Form Styling */
.form-control,
.form-select {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--ayurved-sage);
    box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.1);
}

/* Admin Specific Sidebar */
.admin-sidebar {
    background: var(--ayurved-forest) !important;
}

.admin-sidebar .sidebar-link {
    border-radius: 12px;
    margin: 5px 15px;
}

/* Micro-animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Visual Time Grid */
#timeSlotCont {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.time-block {
    padding: 15px 10px;
    border: 2px solid var(--ayurved-clay);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    background: #fff;
    color: var(--ayurved-forest);
}

.time-block:hover {
    border-color: var(--ayurved-sage);
    background: var(--ayurved-pearl);
    transform: translateY(-3px);
}

.time-block.selected {
    background: var(--ayurved-forest);
    color: #fff;
    border-color: var(--ayurved-forest);
    box-shadow: 0 4px 15px rgba(21, 62, 53, 0.2);
}

.time-block.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #eee;
    border-color: #ddd;
}

/* Clinic Stats Bar */
.stats-bar {
    background: var(--ayurved-clay);
    padding: 60px 0;
    margin-bottom: 60px;
}

.stat-item h2 {
    font-size: 3rem;
    margin-bottom: 5px;
    color: var(--ayurved-gold);
}

/* How We Heal - Step UI */
.step-card {
    text-align: center;
    padding: 40px 20px;
}

.step-card .icon-label {
    width: 60px;
    height: 60px;
    background: var(--ayurved-forest);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(21, 62, 53, 0.2);
    position: relative;
    z-index: 2;
}

/* FAQ Accordion Premium Styles */
.accordion-item {
    border-color: rgba(0,0,0,0.05) !important;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.accordion-button {
    background-color: transparent !important;
    color: var(--ayurved-forest) !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--ayurved-clay) !important;
    color: var(--ayurved-sage) !important;
}

[data-bs-theme="dark"] .accordion-item {
    background-color: #1a3028;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: #152b24 !important;
    color: var(--ayurved-mint) !important;
}


/* Floating Mobile CTA */
@media (max-width: 768px) {
    .floating-cta {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1050;
        border-radius: 50px;
        padding: 15px 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        animation: bounce 2s infinite;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

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

/* Masterpiece v3 Enhancements */
.rounded-4 {
    border-radius: 2rem !important;
}

.italic {
    font-style: italic;
}

.bg-light {
    background-color: var(--ayurved-pearl) !important;
}

/* Review Carousel Customization */
#reviewCarousel .card {
    transition: all 0.4s ease;
    border: 1px solid rgba(21, 62, 53, 0.05) !important;
}

#reviewCarousel .card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 45px rgba(21, 62, 53, 0.1) !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    padding: 10px;
}

/* Heritage Section */
.bg-success {
    background-color: var(--ayurved-forest) !important;
}

/* Sticky Mobile CTA Animation */
.floating-cta {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Animations for new sections */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}


[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Visual Assets v15 */
.hero-bg-section {
    position: relative;
    background: url('../images/ayurveda/herbs.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 120px 0;
}

/* Bottom Booking Action Section */
.booking-action-section {
    background: var(--ayurved-clay);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.booking-action-section .container {
    position: relative;
    z-index: 2;
}

.booking-form-wrapper {
    background: #ffffff;
    border-radius: 3rem;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(21, 62, 53, 0.1);
    border: 1px solid rgba(21, 62, 53, 0.05);
}

.z-index-2 {
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 34, 29, 0.85) 0%, rgba(12, 34, 29, 0.5) 100%);
    backdrop-filter: blur(2px); /* Much more subtle blur */
    z-index: 1;
}

.shadow-text {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-bg-section .container {
    position: relative;
    z-index: 2;
}

.parallax-heritage {
    background: url('../images/ayurveda/heritage.png') no-repeat center center fixed;
    background-size: cover;
    padding: 150px 0;
    position: relative;
    color: #fff;
}

.heritage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 34, 29, 0.85);
    z-index: 1;
}

.parallax-heritage .container {
    position: relative;
    z-index: 2;
}

.img-ayurveda-mask {
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(21, 62, 53, 0.2);
    border: 8px solid #fff;
    max-width: 100%;
    height: auto;
}

/* Custom Hero Button Styling */
.btn-hero-premium {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease-in-out;
}

.btn-hero-premium:hover {
    background: var(--ayurved-sage) !important;
    border-color: var(--ayurved-sage) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-hero-premium i {
    text-shadow: none !important;
}

/* GSAP Reveal Styles */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
}

/* Premium Divider */
.premium-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ayurved-mint), transparent);
    margin: 4rem 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Custom Selection */
::selection {
    background: var(--ayurved-sage);
    color: #fff;
}

/* Image Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
}

/* ============================================================
   ADMIN PREMIUM UI OVERHAUL
   ============================================================ */

.admin-sidebar {
    background: var(--admin-sidebar-bg) !important;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    margin: 4px 12px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.sidebar-link i {
    width: 24px;
    font-size: 1.1rem;
}

.sidebar-link:hover {
    background: var(--admin-hover-bg);
    color: #fff !important;
    transform: translateX(5px);
}

.sidebar-link.active {
    background: var(--premium-gradient);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.sidebar-link.active i {
    color: var(--admin-accent);
}

/* Stats Cards Premium */
.stats-card-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    border-radius: 20px;
}

.stats-card-premium:hover {
    transform: translateY(-5px);
}

.stats-card-premium .stats-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 15px;
}

.stats-gradient-1 { background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%); }
.stats-gradient-2 { background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%); }
.stats-gradient-3 { background: linear-gradient(135deg, #f9a825 0%, #ffc107 100%); }
.stats-gradient-4 { background: linear-gradient(135deg, #1b4332 0%, #0b1a15 100%); }

/* Table Styling */
.premium-table thead {
    background: #f8f9fa;
}

.premium-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    font-weight: 700;
    border: none;
    padding: 15px 20px;
}

.premium-table tbody td {
    padding: 15px 20px;
    border-color: #f1f1f1;
}

.hover-lift-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pulse Animation for Alerts */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.pulse-alert {
    animation: pulse-red 2s infinite;
}

.filter-btn.active {
    background: var(--ayurved-forest) !important;
    color: #fff !important;
}

/* Our Hospital Section & Gallery Styles */
.hospital-info-text { text-align: justify; }
.main-hospital-image { transition: all 0.5s ease; }
.main-hospital-image:hover { transform: scale(1.02); }
.bg-gradient-dark { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); }
.gallery-thumb { transition: all 0.3s ease; cursor: pointer; }
.gallery-thumb:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.bg-dark-overlay { background: rgba(27, 67, 50, 0.7); }
.gallery-zoom-link { transition: all 0.3s ease; }
.gallery-thumb:hover .gallery-zoom-link { opacity: 1; }
.ls-1 { letter-spacing: 1px; }
