/* ============================================
   VIMLA AYURVEDA - MAIN STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1a4d43;
    --primary-dark: #123831;
    --primary-light: #266b5e;
    --secondary-color: #c9a227;
    --secondary-light: #e8c547;
    --accent-color: #8b4513;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --bg-light: #f8f9f0;
    --bg-cream: #fdfbf5;
    --bg-green-light: #e8f5f4;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--text-white);
    overflow-x: hidden;
    width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(26, 77, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 77, 67, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--text-dark);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}


/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--secondary-light);
}

/* Header & Navigation */
.header {
    background: var(--text-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 99999;
    transition: var(--transition);
    padding: 5px 0;
}

.header.scrolled {
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 50px;
}

.tm-symbol {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--text-dark);
    align-self: flex-start;
    margin-top: 12px;
    margin-left: -2px;
}

.footer .tm-symbol {
    color: var(--text-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu>li {
    position: relative;
    list-style: none;
    /* Ensure no bullets */
}

.nav-menu>li>a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--text-dark);
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    /* alignment for icon */
    align-items: center;
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .nav-menu>li>a::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .nav-menu>li>a:hover::before,
    .nav-menu>li>a.active::before {
        width: 100%;
    }
}

.menu-item-has-children>a {
    padding-right: 15px;
}

.menu-item-has-children>a::after {
    content: '\f107';
    /* FontAwesome angle-down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--text-white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 15px 0;
    border-top: 3px solid var(--primary-color);
    z-index: 100;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 25px;
    color: var(--text-dark);
    font-size: 15px;
    transition: all 0.2s ease;
    font-weight: 400;
}

.nav-menu .sub-menu li a:hover {
    background: var(--bg-green-light);
    color: var(--primary-color);
    padding-left: 30px;
}

.nav-menu .sub-menu li a::after {
    display: none;
    /* No underline for dropdown items */
}

/* Navigation Button */
.nav-btn {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(26, 77, 67, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 20px;
    /* Add space between menu and button */
    white-space: nowrap;
    /* Prevent text wrapping */
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 67, 0.3);
    color: var(--text-white);
    /* Ensure text stays white */
}

/* Mobile Menu Button */
.mobile-menu-btn,
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 100000;
}

/* Mobile Responsive Header */
@media (max-width: 991px) {
    .top-bar-left span:last-child {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--text-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9998;
        height: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu>li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu>li>a {
        display: flex;
        justify-content: space-between;
        padding: 15px 30px;
        width: 100%;
    }

    .nav-menu>li>a::after {
        content: '\f067';
        /* FontAwesome plus */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 14px;
        transition: transform 0.3s ease;
        display: block;
    }

    .nav-menu>li.active>a::after {
        content: '\f068';
        /* FontAwesome minus */
        color: var(--primary-color);
    }

    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--bg-light);
        padding: 0;
        border-top: none;
        min-width: 100%;
    }

    .menu-item-has-children.active .sub-menu {
        display: block;
    }

    .nav-menu .sub-menu li a {
        padding-left: 50px;
        color: var(--text-light);
    }

    .mobile-menu-btn,
    .mobile-menu-toggle {
        display: block;
    }

    .nav-btn {
        display: none;
        /* Hide CTA on mobile menu since it takes space, relies on hero CTA */
    }

    .header.scrolled .nav-menu {
        top: 60px;
        /* Adjust if header shrinks */
    }
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 77, 67, 0.9), rgba(18, 56, 49, 0.85)),
        url('https://placehold.co/1920x1080/2d5a27/ffffff?text=Ayurveda+Hero') center/cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 52px;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--secondary-light);
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 14px;
}

.trust-item i {
    color: var(--secondary-light);
    font-size: 18px;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: var(--bg-green-light);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-light);
    font-size: 17px;
}

.bg-light {
    background: var(--bg-light);
}

.bg-cream {
    background: var(--bg-cream);
}

.bg-green {
    background: var(--primary-color);
}


/* Specializations Section */
.specializations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.spec-card {
    background: var(--text-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.spec-card-header {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
}

.spec-card-header i {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--secondary-light);
}

.spec-card-header h3 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.spec-card-header p {
    opacity: 0.9;
    font-size: 15px;
}

.spec-card-body {
    padding: 35px 40px;
}

.spec-card-body h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.condition-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.condition-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.condition-list li i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--text-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}


/* Doctor Section */
.doctor-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.doctor-image {
    position: relative;
}

.doctor-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.doctor-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

.doctor-content h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.doctor-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
}

.doctor-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.doctor-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-green-light);
    border-radius: 10px;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.highlight-item span {
    font-weight: 500;
    font-size: 14px;
}

/* Panchkarma Section */
.panchkarma-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.panchkarma-card {
    background: var(--text-white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.panchkarma-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.panchkarma-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.panchkarma-card .icon i {
    font-size: 28px;
    color: var(--text-white);
}

.panchkarma-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.panchkarma-card p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
}


/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--text-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 100px;
    color: var(--bg-green-light);
    position: absolute;
    top: 10px;
    left: 30px;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-light);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><circle cx="80" cy="80" r="20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 40px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}


/* Contact Info Bar */
.contact-bar {
    background: var(--bg-cream);
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
}

.contact-item i {
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer .logo-img {
    filter: brightness(0) invert(1);
}

.footer-about .logo-main {
    color: var(--text-white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact i {
    color: var(--secondary-light);
    margin-top: 4px;
}

@media (max-width: 991px) {
    .footer-contact li {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .footer-contact {
        display: inline-block;
        text-align: left;
    }

    .footer-contact-col {
        text-align: center;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: auto;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}


/* Page Headers */
.page-header {
    background: linear-gradient(135deg, rgba(27, 60, 51, 0.9), rgba(40, 77, 65, 0.8)),
        url('../images/blog-hero.png') center/cover;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 48px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--secondary-light);
}

/* Treatment Cards */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.treatment-card {
    background: var(--text-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.treatment-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-card-img i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.treatment-card-body {
    padding: 30px;
}

.treatment-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.treatment-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .specializations-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .doctor-image::before {
        display: none;
    }

    .panchkarma-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        gap: 15px;
    }

    .top-bar {
        font-size: 13px;
    }

    /* Nav styles logic moved to header section */

    .hero {
        min-height: 80vh;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .doctor-highlights {
        grid-template-columns: 1fr;
    }

    .panchkarma-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .condition-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white);
}

.mb-0 {
    margin-bottom: 0;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Mobile Menu Styles - moved to header section */

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
        margin-bottom: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        text-align: center;
        margin-bottom: 10px;
    }

    .whatsapp-float {
        bottom: 75px !important;
        left: 15px !important;
        right: auto !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
    }

    .upload-prescription-float {
        bottom: 75px !important;
        right: 15px !important;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* Print Styles */
@media print {

    .top-bar,
    .header,
    .whatsapp-float,
    .cta-section,
    .footer {
        display: none;
    }

    .page-header {
        background: none;
        color: var(--text-dark);
    }

    .section {
        padding: 20px 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-dark: #000000;
        --text-light: #333333;
        --border-color: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

.blog-card {
    background: var(--text-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-dark);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.read-more:hover {
    text-decoration: underline;
}

/* Pagination Styles */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-white);
    color: var(--text-dark);
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Blog Grid Layout - specifically for the blog page */
.blog-grid,
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 991px) {

    .blog-grid,
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .blog-grid,
    .treatments-grid {
        grid-template-columns: 1fr;
    }
}

/* Process Steps (used by Panchkarma, About Clinic, etc.) */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    background: var(--text-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Therapy Detail (used by Panchkarma page) */
.therapy-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
}

.therapy-detail:nth-child(even) {
    direction: rtl;
}

.therapy-detail:nth-child(even)>* {
    direction: ltr;
}

.therapy-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.therapy-content h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.therapy-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.therapy-content ul {
    margin-bottom: 15px;
}

.therapy-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.therapy-content ul li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.therapy-image {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
}

.therapy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section (used by Contact page) */
.contact-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-form-card {
    background: var(--text-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-green-light);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Map Container */
.map-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    height: 350px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.map-placeholder p {
    text-align: center;
}

/* Responsive for new sections */
@media (max-width: 991px) {
    .therapy-detail {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .therapy-detail:nth-child(even) {
        direction: ltr;
    }

    .therapy-image {
        height: 250px;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }
}


/* Functional Fixes */
.header.sticky {
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
    /* Below WhatsApp (999) */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
}

@media (max-width: 991px) {

    .mobile-menu-btn,
    .mobile-menu-toggle {
        display: block;
    }

    .back-to-top {
        bottom: 90px;
        /* Above WhatsApp button */
        right: 20px;
    }
}

/* =========================================
   MISSING HERO & PARTNERS STYLES
   ========================================= */

/* Hero Form Styles */
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    margin-right: 20px;
    text-align: left;
}

.hero-form-card {
    flex: 0 0 380px;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 10;
    position: relative;
    border: 5px solid rgba(255, 255, 255, 0.2);
    background-clip: padding-box;
    margin-top: 20px;
}

.hero-form-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    line-height: 1.3;
}

.hero-form-card .form-control {
    background: #f9f9f9;
    border-color: #eee;
    margin-bottom: 15px;
    padding: 12px 15px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.hero-form-card .btn {
    width: 100%;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    background: #d35400;
    /* Burnt orange */
    color: #fff;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.hero-form-card .btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Partners & Insurance Section */
.partners-section {
    background: #f0f8ff;
    padding: 60px 0;
    text-align: center;
}

.partners-group {
    margin-bottom: 50px;
}

.partners-group:last-child {
    margin-bottom: 0;
}

.partners-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-style: italic;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    background: #fff;
    height: 70px;
    min-width: 160px;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    color: #555;
    font-size: 1.1rem;
    border: 1px solid #e1e1e1;
    transition: transform 0.3s;
}

.partner-logo:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.partner-logo i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Certifications Section */
.cert-section {
    background: #fff;
    padding: 50px 0;
    border-top: 1px solid #eee;
}

.cert-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.cert-item {
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cert-item:hover {
    opacity: 1;
}

.cert-icon {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: block;
}

.cert-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    text-transform: uppercase;
}

/* Hero Responsive */
@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-form-card {
        width: 100%;
        max-width: 450px;
        flex: none;
        margin: 0 auto;
    }
}

/* =========================================
   MISSING STATS SECTION STYLES
   ========================================= */

.stats-section {
    position: relative;
    margin-top: -60px;
    /* Overlap hero */
    z-index: 20;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    gap: 30px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid #eee;
    padding: 0 15px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .stats-section {
        margin-top: 40px;
        /* Reset overlap on mobile */
        padding: 0 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Override grid logic for mobile specific */
    .stat-item:nth-child(3) {
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* =========================================
   MISSING ACHIEVEMENTS (RESULTS) STYLES
   ========================================= */

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.achievement-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
    border: 1px solid #eee;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-light);
}

.achievement-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.achievement-body {
    padding: 25px;
    text-align: center;
}

.achievement-stat {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.achievement-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievement-img {
        height: 200px;
    }
}

/* =========================================
   MISSING CERTIFICATIONS DETAILED STYLES
   ========================================= */

.cert-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 40px auto 0;
}

.cert-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.cert-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cert-icon-large {
    font-size: 1.8rem;
    color: var(--secondary-color);
    background: var(--bg-green-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.cert-detail-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.cert-detail-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cert-grid-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================
   MISSING TESTIMONIALS STYLES
   ========================================= */

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5px 40px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
    /* Center if few items */
    flex-wrap: wrap;
    /* Wrap on desktop for grid look if preferred, or keep slider */
}

/* For grid layout on desktop as per common design */
@media (min-width: 992px) {
    .testimonials-slider {
        flex-wrap: wrap;
        overflow: visible;
    }
}

.testimonial-card {
    flex: 0 0 350px;
    /* Fixed width for slider/grid */
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(45, 90, 39, 0.05);
    /* Very light primary opacity */
    pointer-events: none;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 300px;
    }

    .testimonials-slider {
        justify-content: flex-start;
        /* Left align on mobile for scrolling */
        flex-wrap: nowrap;
    }
}

/* =========================================
   MISSING PANCHKARMA HOMEPAGE STYLES
   ========================================= */

.panchkarma-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.panchkarma-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f9f9f9;
}

.panchkarma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-light);
}

.panchkarma-card .icon {
    width: 70px;
    height: 70px;
    background: var(--bg-green-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.panchkarma-card:hover .icon {
    background: var(--primary-color);
    color: #fff;
}

.panchkarma-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.panchkarma-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 991px) {
    .panchkarma-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .panchkarma-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MISSING DOCTOR & TREATMENT STYLES
   ========================================= */

/* Doctor Section */
.doctor-section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
}

.doctor-image {
    flex: 0 0 40%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.doctor-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.doctor-content {
    flex: 1;
}

.doctor-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-qualifications {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-green-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.doctor-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.highlight-item i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

/* Treatments Grid */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.treatment-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-light);
}

.treatment-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.1);
}

.treatment-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.treatment-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.treatment-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

/* About Section (Generic) */
.about-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-image {
    flex: 0 0 50%;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

/* Responsive */
@media (max-width: 991px) {

    .doctor-section,
    .about-section {
        flex-direction: column;
        gap: 30px;
    }

    .doctor-image,
    .about-image {
        flex: none;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .doctor-profile-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .doctor-highlights {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SLIDESHOW STYLES
   ============================================ */
.hero-slideshow {
    position: relative;
    max-width: 100%;
    margin: 30px auto 60px;
   /* =========================================
   Modern Mosaic Gallery & Lightbox
   ========================================= */
.modern-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 40px;
}

.modern-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.modern-gallery .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.modern-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-gallery .gallery-item:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.modern-gallery .gallery-item:hover img {
    transform: scale(1.08);
}

.modern-gallery .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 15px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.modern-gallery .gallery-overlay span {
    font-size: 1rem;
    font-weight: 500;
}

/* Lightbox Styles */
#custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#custom-lightbox.active {
    display: flex;
    opacity: 1;
}

#custom-lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#custom-lightbox.active img {
    transform: scale(1);
}

#lightbox-caption {
    position: absolute;
    bottom: 40px;
    color: #fff;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    width: 100%;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 991px) {
    .modern-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .modern-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .modern-gallery .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}
    background: #000;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: 500px;
    background: #111;
    /* Fallback dark background */
}

.mySlides {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.mySlides[style*="display: block"] {
    display: block !important;
}

.mySlides img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Slide Caption */
.slide-text {
    color: #f2f2f2;
    font-size: 20px;
    padding: 15px 20px;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

/* Next/Prev Buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: var(--primary-color);
}

/* Dots */
.dot-container {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Fade Animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.6
    }

    to {
        opacity: 1
    }
}

/* Responsive */
@media only screen and (max-width: 991px) {
    .slideshow-container {
        height: 350px;
    }

    .slide-text {
        font-size: 16px;
        bottom: 40px;
        width: 90%;
    }
}

@media only screen and (max-width: 576px) {
    .slideshow-container {
        height: 250px;
    }

    .prev,
    .next {
        font-size: 18px;
        padding: 10px;
    }

    .slide-text {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* ============================================
   GALLERY SHOWCASE STYLES
   ============================================ */
.gallery-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9f0 0%, #e8f5f4 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(26, 77, 67, 0.95) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
        height: 300px;
    }

    .gallery-item:not(.gallery-item-large) {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: span 1;
        height: 250px;
    }

    .gallery-item:not(.gallery-item-large) {
        height: 200px;
    }

    .gallery-overlay {
        transform: translateY(0);
        padding: 20px;
    }
}

/* ============================================
   PARALLAX SECTION STYLES (SITEWIDE)
   ============================================ */
.parallax-section {
    position: relative;
    min-height: 550px;
    padding: 80px 20px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 67, 0.85) 0%, rgba(18, 56, 49, 0.9) 100%);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.parallax-icon {
    font-size: 60px;
    color: var(--secondary-light);
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.parallax-content h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.parallax-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.parallax-content .btn {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

.parallax-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 162, 39, 0.5);
    background: var(--secondary-light);
}

.parallax-decorative {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    font-size: 200px;
    color: #fff;
}

.parallax-decorative.left {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.parallax-decorative.right {
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .parallax-section {
        height: 400px;
        background-attachment: scroll;
    }

    .parallax-content h2 {
        font-size: 2rem;
    }

    .parallax-content p {
        font-size: 1rem;
    }

    .parallax-icon {
        font-size: 45px;
    }

    .parallax-decorative {
        display: none;
    }
}

@media (max-width: 480px) {
    .parallax-section {
        height: 350px;
    }

    .parallax-content h2 {
        font-size: 1.6rem;
    }

    .parallax-content .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* ============================================
   WHY AYURVEDA SECTION (SITEWIDE)
   ============================================ */
.why-ayurveda-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9f0 100%);
}

.ayurveda-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(26, 77, 67, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(26, 77, 67, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(26, 77, 67, 0.15);
}

.benefit-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-green-light) 0%, #d4f0ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.benefit-icon-wrap i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon-wrap {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scale(1.1) rotate(10deg);
}

.benefit-card:hover .benefit-icon-wrap i {
    color: #fff;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .ayurveda-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ayurveda-benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 30px 25px;
    }
}

/* ============================================
   HEALING PHILOSOPHY (THREE DOSHAS) SECTION
   ============================================ */
.healing-philosophy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a4d43 0%, #0f2e28 100%);
    position: relative;
    overflow: hidden;
}

.healing-philosophy-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.dosha-symbol {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0.9;
}

.philosophy-vata .dosha-symbol {
    color: #87CEEB;
}

.philosophy-pitta .dosha-symbol {
    color: #FF6B6B;
}

.philosophy-kapha .dosha-symbol {
    color: #98D8AA;
}

.philosophy-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.philosophy-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.philosophy-icon {
    display: block;
    font-size: 2.2rem;
    opacity: 0.25;
    margin-top: 25px;
    text-align: center;
}

.philosophy-vata .philosophy-icon {
    color: #87CEEB;
}

.philosophy-pitta .philosophy-icon {
    color: #FF6B6B;
}

.philosophy-kapha .philosophy-icon {
    color: #98D8AA;
}

@media (max-width: 991px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .philosophy-card {
        padding: 40px 30px;
    }
}

/* ============================================
   QUICK APPOINTMENT BAR (SITEWIDE)
   ============================================ */
.quick-appointment-bar {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #e8c547 100%);
    padding: 30px 0;
}

.appointment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.appointment-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.appointment-text>i {
    font-size: 45px;
    color: var(--primary-dark);
    opacity: 0.9;
}

.appointment-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0 0 5px;
}

.appointment-text p {
    color: rgba(18, 56, 49, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.appointment-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-call {
    background: var(--primary-dark);
    color: #fff;
}

.btn-call:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(18, 56, 49, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .appointment-content {
        flex-direction: column;
        text-align: center;
    }

    .appointment-text {
        flex-direction: column;
    }

    .appointment-text>i {
        font-size: 35px;
    }

    .appointment-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-appointment {
        justify-content: center;
    }
}

/* ============================================
   NEWSLETTER SECTION (SITEWIDE)
   ============================================ */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9f0 0%, #e8f5f4 100%);
}

.newsletter-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    box-shadow: 0 20px 60px rgba(26, 77, 67, 0.08);
    border: 1px solid rgba(26, 77, 67, 0.05);
}

.newsletter-content {
    flex: 1;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.newsletter-icon i {
    font-size: 28px;
    color: #fff;
}

.newsletter-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.newsletter-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.newsletter-form {
    flex: 1;
    max-width: 450px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0;
    background: #f5f7f6;
    border-radius: 50px;
    padding: 8px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 20px;
    font-size: 1rem;
    outline: none;
    color: var(--text-dark);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 77, 67, 0.3);
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-note i {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .newsletter-icon {
        margin: 0 auto 20px;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .form-note {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .newsletter-form .form-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 15px;
    }

    .newsletter-form input {
        text-align: center;
    }

    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
}

/* --- NEW FEATURES: Patient Magnet (Appended) --- */

/* 1. Prakriti Quiz Section */
.quiz-section {
    background: #fff9f0;
    /* Soft warm background */
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.quiz-container {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #ffebb5;
}

.quiz-badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-question {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.quiz-option-btn {
    padding: 20px;
    border: 2px solid #eee;
    background: #fff;
    color: #555;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.quiz-option-btn:hover,
.quiz-option-btn.selected {
    border-color: var(--secondary-color);
    background: #fffcf5;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.quiz-option-btn i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.quiz-result-form {
    max-width: 500px;
    margin: 0 auto;
}

.quiz-result-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
}

/* 2. Virtual Herb Garden (3D Look) */
.garden-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, #f4fcf4);
    perspective: 1200px;
    /* For 3D effect */
    overflow: hidden;
}

.garden-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.herb-card {
    width: 320px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.herb-card:hover {
    transform: rotateY(180deg);
}

.herb-front,
.herb-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.herb-front {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.herb-image-wrapper {
    width: 100%;
    height: 70%;
    overflow: hidden;
    position: relative;
}

.herb-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.herb-front:hover .herb-image-wrapper img {
    transform: scale(1.1);
}

.herb-info {
    padding: 20px;
    text-align: center;
    width: 100%;
}

.herb-info h3 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.6rem;
}

.herb-info span {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.herb-hint {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
}

.herb-back {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: #fff;
    transform: rotateY(180deg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.herb-back h3 {
    color: var(--secondary-light);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.herb-back p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 3. Patient Journey Stories */
.journey-section {
    padding: 80px 0;
    background: #fff;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.journey-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.journey-card:hover {
    transform: translateY(-5px);
}

.journey-video-placeholder {
    height: 250px;
    background-color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.journey-video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.journey-video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: #fff;
}

.journey-content {
    padding: 30px;
}

.journey-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.journey-tags {
    margin-bottom: 15px;
}

.journey-tag {
    background: #f0f8ff;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 5px;
}

.quote-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 4. Health Tools */
.tools-section {
    padding: 80px 0;
    background: #f8fbfd;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.tool-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eff3f6;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: #fff9f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.tool-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tool-card p {
    color: #666;
    margin-bottom: 25px;
}

/* Local Content */
.local-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.local-card {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #fffdf5;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    border: 1px dashed #e1dcd5;
}

.local-text h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

@media (max-width: 768px) {

    .garden-grid,
    .journey-grid,
    .tools-grid,
    .quiz-options {
        grid-template-columns: 1fr;
    }

    .local-card {
        flex-direction: column;
        text-align: center;
    }
}

/* --- FAQ & Testimonials & Brand Story --- */

/* FAQ Accordion */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.faq-question {
    padding: 20px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fcf8;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand Story */
.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Video Consult Cards */
.feature-card .btn-secondary {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Testimonial Auto-Slider */
.testimonials-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* Allows track to be as wide as needed */
    animation: scrollTesti 30s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTesti {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Ensure content is duplicated for seamless loop */
}

.testi-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    flex-shrink: 0;
}

.testi-card .stars {
    color: gold;
    margin-bottom: 15px;
}

.testi-card p {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.testi-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: right;
}

/* --- Pop-up & Sticky Bar --- */
.magnet-popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--secondary-color);
    animation: popUpAnim 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes popUpAnim {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    text-align: center;
}

.popup-body {
    padding: 25px;
    text-align: center;
}

.popup-body h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    line-height: 20px;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* Sticky Mobile Bar */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: none;
    /* Mobile only */
}

.sticky-btn {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: #1a4d43;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-btn.btn-call {
    background: #fff;
    color: var(--primary-color);
}

.sticky-btn.btn-chat {
    background: #25D366;
    color: #fff;
}

@media (max-width: 768px) {
    .sticky-mobile-bar {
        display: flex;
    }

    .whatsapp-float {
        bottom: 95px !important;
        left: 15px !important;
        right: auto !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
        box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4);
        z-index: 10005 !important;
    }

    .upload-prescription-float {
        bottom: 95px !important;
        right: 15px !important;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        z-index: 10005 !important;
    }
}

/* Extra small: shrink upload button to fit with text */
@media (max-width: 480px) {
    .upload-prescription-float {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        bottom: 95px !important;
        right: 15px !important;
        border-radius: 20px !important;
    }

    .upload-prescription-float i {
        font-size: 0.9rem !important;
        margin-right: 5px !important;
    }
}

/* --- Modern Gallery --- */
.modern-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item.large {
    grid-column: span 2;
    height: 520px;
}

@media (max-width: 768px) {
    .gallery-item.large {
        grid-column: span 1;
        height: 250px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Diagnosis Hub --- */
.diagnosis-hub-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color) !important;
}

.diagnosis-hub-card:hover .icon i {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .diagnosis-hub-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Premium Doctor Profile Styles --- */
.doctor-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #e6f4f1;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.qualification-box {
    background: #e6f4f1;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #2d7a6e;
    margin: 30px 0;
}

.qualification-box p {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.qualification-box p span {
    color: #444;
    font-weight: 400;
}

.doctor-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.doc-stat-card {
    background: #e6f4f1;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.doc-stat-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.doc-stat-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.upload-prescription-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2d5a27;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.upload-prescription-float i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .doctor-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Diagnosis Hub Styles --- */
.diagnosis-hub-section {
    background: #fdfbf5;
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.diagnosis-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.diag-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.diag-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.diag-icon {
    width: 70px;
    height: 70px;
    background: #e6f4f1;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
}

.diag-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.diag-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .diagnosis-hub-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .diagnosis-hub-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Global Inline Style Overrides for Mobile Responsiveness --- */
@media (max-width: 991px) {

    /* Override hardcoded inline grids to prevent horizontal scrolling */
    [style*="display:grid"],
    [style*="display: grid"],
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Fix hardcoded flexbox side-by-side elements in hero headers */
    [style*="display:flex; align-items:center; gap:20px;"],
    [style*="display: flex; align-items: center; gap: 20px;"] {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 15px !important;
    }

    [style*="align-items:start"],
    [style*="align-items: start"] {
        align-items: center !important;
        text-align: center !important;
    }
}

/* =========================================
   Modern Mosaic Gallery & Lightbox
   ========================================= */
.modern-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 40px;
}

.modern-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.modern-gallery .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.modern-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-gallery .gallery-item:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.modern-gallery .gallery-item:hover img {
    transform: scale(1.08);
}

.modern-gallery .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 15px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.modern-gallery .gallery-overlay span {
    font-size: 1rem;
    font-weight: 500;
}

/* Lightbox UI */
#custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#custom-lightbox.active {
    display: flex;
    opacity: 1;
}

#custom-lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#custom-lightbox.active img {
    transform: scale(1);
}

#lightbox-caption {
    position: absolute;
    bottom: 40px;
    color: #fff;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    width: 100%;
}

.lightbox-close {
 position: absolute;
 top: 30px;
 right: 40px;
 color: #fff;
 font-size: 40px;
 cursor: pointer;
 line-height: 1;
 z-index: 100000;
}

@media (max-width: 991px) {
 .modern-gallery {
 grid-template-columns: repeat(2, 1fr);
 }
}

@media (max-width: 576px) {
 .modern-gallery {
 grid-template-columns: 1fr;
 grid-auto-rows: 200px;
 }
 .modern-gallery .gallery-item.large {
 grid-column: span 1;
 grid-row: span 1;
 }
}


/* =========================================
   DYNAMIC FLOATING ACTION BUTTON (FAB) MENU
   ========================================= */
.fab-menu-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 15px;
}

.fab-main-btn {
    width: 65px;
    height: 65px;
    background: #1b3c33;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    z-index: 10002;
}

.fab-main-btn:hover {
    transform: scale(1.1) rotate(45deg);
    background: #234d41;
}

.fab-options {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.fab-menu-container.active .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fab-label {
    background: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b3c33;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fab-item:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

.fab-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.fab-icon.whatsapp { background: #25d366; }
.fab-icon.prescription { background: #1b3c33; }
.fab-icon.report { background: #2d7a6e; }
.fab-icon.test { background: #d4a017; }

.fab-item:hover .fab-icon {
    transform: scale(1.15);
}

/* Position Adjustment for Mobile (Sticky Bar compensation) */
@media (max-width: 768px) {
    .fab-menu-container {
        bottom: 120px;
        right: 20px;
    }
}


/* =========================================
   S I T E W I D E   S T I C K Y   H E A D E R
   ========================================= */
.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10001;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.fab-icon.appointment { background: #d4a017; }


/* Mobile Menu Z-Index & Visibility Fixes */
@media (max-width: 991px) {
    .header { z-index: 10000; }
    .nav-menu { 
        z-index: 9999 !important; 
        top: 0; 
        padding-top: 100px; 
        height: 100vh;
        pointer-events: none; /* Prevent clicks when hidden */
    }
    .mobile-menu-toggle { 
        z-index: 10001 !important;
        position: relative;
    }
    .nav-menu.active { 
        display: flex !important; 
        transform: translateY(0) !important; 
        opacity: 1 !important; 
        visibility: visible !important;
        pointer-events: auto; /* Enable clicks when visible */
    }
}


/* =====================================================
   QUIZ PAGES — Clinical, Professional & Dosha
   ===================================================== */

/* ── Shared Quiz Wrapper ── */
.clinical-container,
.pro-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

/* ── Clinical Section Cards ── */
.clinical-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color, #1a4d43);
}

.clinical-section h3 {
    color: var(--primary-color, #1a4d43);
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clinical-section h3 i {
    color: var(--secondary-color, #c9a227);
    font-size: 1.1rem;
}

/* ── Clinical Question Rows ── */
.clinical-question {
    margin-bottom: 22px;
}

.clinical-question label {
    display: block;
    font-weight: 600;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.clinical-question select {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.95rem;
    color: var(--text-dark, #2c3e50);
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a4d43' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.clinical-question select:focus {
    outline: none;
    border-color: var(--primary-color, #1a4d43);
    background-color: #fff;
}

/* ── Professional Quiz Tabs ── */
.quiz-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 3px solid #eee;
    padding-bottom: 0;
}

.quiz-tab {
    padding: 12px 30px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-light, #6c757d);
    background: #f0f0f0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-bottom: none;
    position: relative;
    bottom: -3px;
}

.quiz-tab.active,
.quiz-tab:hover {
    background: var(--primary-color, #1a4d43);
    color: #fff;
    border-color: var(--primary-color, #1a4d43);
}

/* ── Professional Quiz Panels ── */
.quiz-panel {
    display: none;
    background: #fff;
    border-radius: 0 20px 20px 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeInPanel 0.3s ease;
}

.quiz-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Professional Question Rows ── */
.pro-question {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}

.pro-question:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.pro-question > label {
    display: block;
    font-weight: 700;
    color: var(--primary-color, #1a4d43);
    margin-bottom: 14px;
    font-size: 1rem;
}

/* ── Radio Option Pills ── */
.pro-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pro-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark, #2c3e50);
    background: #fff;
    transition: all 0.25s ease;
    user-select: none;
}

.pro-option:hover {
    border-color: var(--primary-color, #1a4d43);
    background: rgba(26, 77, 67, 0.05);
}

.pro-option input[type="radio"] {
    accent-color: var(--primary-color, #1a4d43);
    width: 16px;
    height: 16px;
}

.pro-option input[type="radio"]:checked + span {
    color: var(--primary-color, #1a4d43);
    font-weight: 700;
}

.pro-option:has(input:checked) {
    border-color: var(--primary-color, #1a4d43);
    background: rgba(26, 77, 67, 0.08);
}

/* ── Result Box ── */
.result-box {
    background: linear-gradient(135deg, var(--primary-color, #1a4d43), #266b5e);
    color: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(26, 77, 67, 0.3);
}

.result-box h2 {
    color: var(--secondary-light, #e8c547);
    font-size: 2rem;
    margin-bottom: 30px;
}

.result-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── Dosha Result Badge ── */
.dosha-result {
    display: inline-block;
    background: var(--secondary-color, #c9a227);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 18px 50px;
    border-radius: 60px;
    margin: 15px auto;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

/* ── Capture / Lead Form ── */
#capture-form .clinical-section,
#capture-section {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#capture-form input,
#capture-section input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: var(--font-body, 'Poppins', sans-serif);
    transition: border-color 0.3s;
}

#capture-form input:focus,
#capture-section input:focus {
    outline: none;
    border-color: var(--primary-color, #1a4d43);
}

/* ── Quiz Nav Buttons ── */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.quiz-nav .btn {
    min-width: 160px;
}

/* ── Progress Bar (Dosha Quiz) ── */
#quiz-progress-container {
    background: #f0f0f0;
    border-radius: 20px;
    height: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

#quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color, #1a4d43), var(--secondary-color, #c9a227));
    border-radius: 20px;
    transition: width 0.4s ease;
}

#quiz-step-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light, #6c757d);
    margin-bottom: 20px;
    font-weight: 500;
}

/* ── Dosha Quiz Cards (option buttons) ── */
.quiz-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.quiz-option-btn {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark, #2c3e50);
    font-size: 0.9rem;
    font-family: var(--font-body, 'Poppins', sans-serif);
}

.quiz-option-btn:hover {
    border-color: var(--primary-color, #1a4d43);
    background: rgba(26, 77, 67, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 67, 0.15);
}

.quiz-option-btn i {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary-color, #c9a227);
    margin-bottom: 8px;
}

/* ── Question Step (Dosha Quiz) ── */
.quiz-step {
    display: none;
    animation: fadeInPanel 0.3s ease;
}
.quiz-step.active {
    display: block;
}

/* ── Responsive Quiz ── */
@media (max-width: 768px) {
    .clinical-section,
    .quiz-panel,
    #capture-form .clinical-section {
        padding: 25px 20px;
    }

    .quiz-tabs {
        flex-wrap: wrap;
    }

    .quiz-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .pro-options {
        flex-direction: column;
    }

    .pro-option {
        width: 100%;
    }

    .dosha-result {
        font-size: 1.6rem;
        padding: 14px 35px;
    }

    .result-box {
        padding: 35px 20px;
    }
}
