/* 
   Yogtirth Ayurveda Stylesheet 
   Primary: #FF6B00; Secondary: #FF8C42; Accent: #2E7D32, #66BB6A; Base: #FFFFFF 
*/

:root {
    --primary: #FF6B00;
    --primary-light: #ffaa6e;
    --secondary: #FF8C42;
    --accent: #2E7D32;
    --accent-light: #66BB6A;
    --base: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-offwhite: #FFFBF7;
    --text-main: #333333;
    --text-muted: #666666;
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--base);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal="left"] {
    transform: translateX(-50px);
}
[data-reveal="right"] {
    transform: translateX(50px);
}
[data-reveal="scale"] {
    transform: scale(0.88);
    opacity: 0;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}
/* Stagger children delay */
[data-reveal-group] > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal-group].revealed > * {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: 0.15s; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: 0.25s; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: 0.35s; }
[data-reveal-group].revealed > *:nth-child(5) { transition-delay: 0.45s; }
[data-reveal-group].revealed > *:nth-child(6) { transition-delay: 0.55s; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 700; }
h2 { font-size: 2.5rem; line-height: 1.3; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }
p { margin-bottom: 1rem; color: var(--text-muted); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-offwhite);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.text-primary { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--base);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background-color: #e66000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--base);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--base);
    box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}
.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* Top Banner */
.top-banner {
    background-color: var(--accent);
    color: var(--base);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
}
.top-banner p {
    margin: 0;
    color: var(--base);
}
.banner-link {
    color: #ffd27a;
    font-weight: 600;
    margin-left: 10px;
}

/* Navbar */
.navbar {
    background-color: var(--base);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    background-color: var(--primary);
    color: var(--base);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}
.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-menu li a {
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}
.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--primary);
}

.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--base);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    padding: 8px 20px;
}
.dropdown-menu li a:hover {
    padding-left: 5px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent);
}

/* ==============================
   HERO SLIDER — Fixed
   ============================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 88vh;
    min-height: 550px;
    overflow: hidden;
}

/* Each slide fills the whole container */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}
.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide caption pill — inside the slide, bottom right */
.slide-label {
    position: absolute;
    bottom: 80px;
    right: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    z-index: 3;
}

/* Gradient overlay — sits above slides, below content */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.93) 0%,
        rgba(255, 255, 255, 0.60) 45%,
        rgba(255, 255, 255, 0.0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Text content — above slides and overlay */
.slider-content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 5;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.slider-arrow:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.4);
}

.hero-content {
    max-width: 580px;
    padding: 20px 0;
}

.hero-content .badge {
    display: inline-block;
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.hero-content h1 {
    color: var(--accent);
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #1B5E20 100%);
    padding: 30px 0;
    color: var(--base);
    position: relative;
    z-index: 3;
    margin-top: -30px;
    border-radius: var(--border-radius-lg);
    /* 3D shadow effect */
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.trust-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}
.trust-item:hover {
    transform: scale(1.06);
}
.trust-icon {
    font-size: 2.5rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.trust-text h3 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--base);
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.trust-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* Common Section Styles */
.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    margin-bottom: 10px;
    font-weight: 700;
}
.section-title {
    color: var(--accent);
    margin-bottom: 15px;
}
.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
}
.about-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--base);
    padding: 20px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 5px solid var(--bg-offwhite);
}
.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.experience-badge .text {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
}
.feature-list {
    margin-top: 20px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
}
.feature-list i {
    color: var(--accent-light);
    font-size: 1.2rem;
}

/* Treatments Section */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.treatment-card {
    background: var(--base);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-offwhite);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.treatment-card:hover .card-icon {
    background: var(--accent);
    color: var(--base);
}

/* Panchkarma Section */
.panchkarma-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.therapy-card {
    background: var(--base);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.therapy-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.therapy-card:hover .therapy-img {
    transform: scale(1.05);
}
.therapy-content {
    padding: 25px;
}
.therapy-desc {
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.therapy-benefits {
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.therapy-benefits li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}
.therapy-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: bold;
}

/* Why Choose Us & Ashram Life */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: var(--base);
}
.accordion-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--base);
    transition: background 0.3s ease;
}
.accordion-header h4 {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
}
.accordion-item.active .accordion-header {
    background: var(--accent);
    color: var(--base);
}
.accordion-item.active .accordion-header h4 {
    color: var(--base);
}
.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-item.active .accordion-body {
    padding: 20px;
    max-height: 300px;
}

.ashram-card {
    background: var(--accent);
    color: var(--base);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    height: 100%;
}
.ashram-card h3 {
    color: var(--base);
}
.ashram-card p {
    color: rgba(255, 255, 255, 0.8);
}
.timeline {
    margin-top: 30px;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    height: calc(100% - 10px);
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}
.timeline-item {
    position: relative;
    padding-left: 45px;
    margin-bottom: 25px;
}
.timeline-item h5 {
    color: var(--base);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Video Tabs UI */
.video-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-link {
    padding: 12px 25px;
    background: var(--base);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tab-link.active, .tab-link:hover {
    background: var(--accent);
    color: var(--base);
    border-color: var(--accent);
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Interactive Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.video-card {
    background: var(--base);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.video-iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}
.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-card-body {
    padding: 20px;
    border-top: 2px solid var(--accent);
}
.video-card-body h4 {
    margin-bottom: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--accent);
}
.video-card-body p {
    font-size: 0.9rem;
    margin-bottom: 0;
}
.category-title {
    color: var(--accent);
    margin-top: 60px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.timeline-item h5 i {
    position: absolute;
    left: 0;
    background: var(--base);
    color: var(--accent);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.testimonial-card {
    background: var(--bg-offwhite);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 1px solid #eee;
}
.rating {
    color: #FFB100;
    margin-bottom: 15px;
}
.review-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}
.patient-info h4 {
    margin: 0;
    color: var(--accent);
}
.patient-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Appointment Section */
.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.contact-item i {
    background: var(--bg-light);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}
.contact-item h4 {
    margin: 0 0 5px 0;
    font-family: var(--font-sans);
}
.contact-item p {
    margin: 0;
}

.appointment-form-card {
    background: var(--base);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary);
}
.appointment-form-card h3 {
    margin-bottom: 25px;
    text-align: center;
}
.form-group {
    margin-bottom: 20px;
}
.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: #fcfcfc;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--base);
}
.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #1A1A1A;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-logo .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}
.footer-logo .logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--base);
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--base);
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-links h3 {
    color: var(--base);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.footer-bottom {
    background: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Sticky Action Buttons */
.sticky-whatsapp, .sticky-call {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--base);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.sticky-whatsapp {
    bottom: 20px;
    background-color: #25D366;
}
.sticky-call {
    bottom: 90px;
    background-color: var(--primary);
}
.sticky-whatsapp:hover, .sticky-call:hover {
    transform: scale(1.1);
}

/* Exit Popup Modern */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.exit-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}
.exit-popup-modal.popup-modern {
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: var(--base);
    border-radius: 12px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}
.exit-popup-overlay.show .exit-popup-modal.popup-modern {
    transform: translateY(0) scale(1);
}
.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.popup-image {
    flex: 1;
    background: url('https://www.yogtirth.com/wp-content/uploads/2025/08/Screenshot-2025-08-21-160228.png') center/cover no-repeat;
    background-position: top center;
}
.popup-body {
    flex: 1;
    padding: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup-badge {
    background: rgba(46, 125, 50, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    display: table;
    margin-bottom: 12px;
}
.popup-body h3 {
    color: var(--accent);
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 10px;
    font-family: var(--font-serif);
}
.popup-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.popup-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}
.popup-btn {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}
.popup-secure {
    text-align: center;
    margin-top: 15px !important;
    font-size: 0.8rem !important;
    color: #999 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero { min-height: 60vh; }
    .about-grid, .two-col-grid, .appointment-wrapper {
        grid-template-columns: 1fr;
    }
    .trust-container {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .trust-item {
        width: 45%;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .exit-popup-modal.popup-modern {
        flex-direction: column;
        max-width: 90%;
        max-height: 90vh;
        overflow-y: auto;
    }
    .popup-image {
        min-height: 150px;
    }
    .popup-body {
        padding: 30px 20px;
    }
    .popup-body h3 {
        font-size: 1.5rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .hero-container {
        justify-content: center;
    }
    .hero-content {
        text-align: center;
    }
    .treatment-details .container, .page-header p {
        grid-template-columns: 1fr !important;
    }
    .nav-menu, .nav-buttons {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero-actions {
        flex-direction: column;
    }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--base);
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        gap: 15px;
    }
    .nav-menu.active .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }
    .trust-item {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MOUSE PARALLAX on Hero ===== */
.hero-slider .slide {
    will-change: transform;
    transform-origin: center center;
}

/* ===== MICRO-ANIMATION ENHANCEMENTS ===== */
.treatment-card, .video-card, .expert-card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease !important;
}
.treatment-card:hover, .video-card:hover, .expert-card:hover {
    transform: translateY(-8px) scale(1.015) !important;
    box-shadow: 0 20px 40px rgba(46,125,50,0.15) !important;
}
.trust-item {
    transition: transform 0.3s ease;
}
.trust-item:hover {
    transform: scale(1.06);
}
.tab-link {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.tab-link:hover {
    transform: translateY(-3px) !important;
}
.social-links a {
    transition: transform 0.3s ease, background 0.3s ease !important;
}
.social-links a:hover {
    transform: translateY(-5px) rotate(5deg) !important;
}
/* Cursor glow blob */
#cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,125,50,0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: left 0.1s ease, top 0.1s ease;
    mix-blend-mode: multiply;
}
