/* ========================================================================
   DIVINE LOVE ENERGY - COMPREHENSIVE STYLESHEET
   ========================================================================
   
   Organization:
   1. CSS VARIABLES & RESET
   2. TYPOGRAPHY & BASE ELEMENTS
   3. NAVIGATION
   4. BUTTONS & CTAs
   5. CARDS & COMPONENTS
   6. LAYOUT CONTAINERS
   7. FORMS
   8. PAGE-SPECIFIC STYLES
   9. RESPONSIVE DESIGN
   10. FOOTER
   
   Last Updated: December 24, 2025
   ======================================================================== */

/* ========================================================================
   1. CSS VARIABLES & RESET
   ======================================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cosmic Colors */
    --primary-cosmic: #1a1a2e;
    --deep-space: #0b1426;
    --cosmic-purple: #533483;
    --cosmic-gold: #d4af37;
    --healing-green: #4caf50;
    
    /* Text Colors */
    --text-primary: #F3F4F6;
    --text-white: #ffffff;
    --text-muted: rgba(243, 244, 246, 0.8);
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #d4af37, #e6c46b, #f4e08a);
    
    /* Shadows */
    --shadow-cosmic: 0 8px 25px rgba(83, 52, 131, 0.3);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--deep-space);
    background-image: url('../assets/dle-wc-bg-cosmic.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
}

/* Main content wrapper - accounts for fixed navbar */
.main-content {
    margin-top: 6rem; /* Account for fixed navbar height */
}

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

/* Test container - specific for test page - FULL WIDTH */
.test-container {
    width: 100%;                       /* Full width */
    margin: 0;                         /* No auto centering */
    padding: 4rem 2rem;                /* Standard padding */
}

/* Content inside containers should be centered and constrained */
.test-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark cosmic containers (shared across multiple pages) */
.packages-container.dark-cosmic,
.practitioner-container.dark-cosmic,
.contact-container.dark-cosmic,
.booking-container.dark-cosmic,
.team-container.dark-cosmic {
    background: rgba(11, 20, 38, 0.95);
    padding: 4rem 2rem !important;
    position: relative;
    z-index: 0;
}

/* Dark cosmic modifier - SIMPLIFIED */

/* ===== SHARED CALENDAR STYLES (for admin and booking) ===== */
.calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0;
}

.calendar-section {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.calendar-header {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--cosmic-gold);
}

.calendar-nav {
    background: transparent;
    border: 1px solid var(--cosmic-gold);
    color: var(--cosmic-gold);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 0.5rem;
}

.calendar-nav:hover {
    background: var(--cosmic-gold);
    color: var(--deep-space);
}

/* REUSABLE GRADIENT SHADE DIVIDERS - Site-wide system */

/* Base gradient shade divider - apply to any section */
.gradient-shade {
    position: relative;
    padding: 0;
}

/* Top shape divider - fades FROM 0 opacity TO blue */
.gradient-shade::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(11, 20, 38, 0) 0%,
        rgba(11, 20, 38, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Bottom shape divider - fades FROM blue TO 0 opacity */
.gradient-shade::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(11, 20, 38, 0.95) 0%,
        rgba(11, 20, 38, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Variant: Shorter gradient for smaller sections */
.gradient-shade-short::before {
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(11, 20, 38, 0.95) 10%,
        rgba(11, 20, 38, 0.95) 90%,
        transparent 100%);
}

/* Variant: Lighter gradient for subtle effects */
.gradient-shade-light::before {
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(11, 20, 38, 0.6) 15%,
        rgba(11, 20, 38, 0.6) 85%,
        transparent 100%);
}

/* Containers need solid blue background + shape dividers add edge transitions */

/* Enhanced secondary button styling for dark cosmic containers */
.test-container.dark-cosmic .cta-button.secondary {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.3);
}

/* SIMPLE 3-DIV GRADIENT SHAPE DIVIDERS */

/* Top gradient - fades FROM transparent TO blue */
.gradient-top {
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(11, 20, 38, 0) 0%,
        rgba(11, 20, 38, 0.95) 100%);
}

/* Bottom gradient - fades FROM blue TO transparent */
.gradient-bottom {
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(11, 20, 38, 0.95) 0%,
        rgba(11, 20, 38, 0) 100%);
}

/* REAL SITE CONTAINERS - CLEAN SYSTEM */

/* About container styles completely moved to css/pages/about.css */

/* Services container - using clean system (NO dark-cosmic) */
.services-container {
    width: 100%;                       /* Full width */
    margin: 0;                         /* No auto centering */
    padding: 4rem 0;                /* Standard padding */
}

/* Content inside services containers should be centered and constrained */
.services-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* About container rules moved to css/pages/about.css for modular architecture */

/* About container button styling moved to css/pages/about.css for modular architecture */

/* Packages container - using clean system WITH dark-cosmic */
.packages-container {
    width: 100%;                       /* Full width */
    margin: 0;                         /* No auto centering */
    padding: 4rem 2rem;                /* Standard padding */
}

/* Content inside packages containers should be centered and constrained */
.packages-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* REMOVED - Using unified rule above */

/* Enhanced secondary button styling for dark cosmic packages containers */
.packages-container.dark-cosmic .cta-button.secondary {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.3);
}

.packages-container.dark-cosmic .cta-button.secondary:hover {
    background: var(--gold-gradient);
    color: var(--primary-cosmic);
    transform: translateY(-2px);
    text-shadow: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.5);
}

/* Test page styling */
.test-section {
    padding: 2rem 0;
}

.test-section-dark {
    padding: 0; /* Let container handle its own spacing */
}

/* ========================================================================
   2. TYPOGRAPHY & BASE ELEMENTS
   ======================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }

.golden-text {
    position: relative;
    background: linear-gradient(90deg, #d4af37, #e6c46b, #f4e08a, #e6c46b, #d4af37);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    animation: energyFlow 3s linear infinite;
}

.section-title {
    text-align: center;
    color: var(--text-white);
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-description,
.section-description p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ========================================================================
   3. ANIMATIONS
   ======================================================================== */

@keyframes energyFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes quotePulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Pulse animation moved to css/pages/index.css */

/* Float animation moved to css/pages/index.css */


/* ========================================================================
   4. NAVIGATION
   ======================================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.75rem;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--primary-cosmic);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    letter-spacing: 2px;

}

.nav-link:hover {
    color: var(--cosmic-gold);
    font-weight: 400;
}

.navbar.scrolled .nav-link.active {
    color: var(--cosmic-gold);
}

.nav-link.active {
    color: var(--cosmic-gold);
}

.nav-link.booking-btn {
    background: var(--gold-gradient);
    color: var(--primary-cosmic);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-link.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--deep-space);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

.navbar.scrolled .hamburger span {
    background: var(--cosmic-purple);
}

/* ========================================================================
   5. BUTTONS & CTAs
   ======================================================================== */

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.cta-button.primary {
    background: var(--gold-gradient);
    color: var(--primary-cosmic);
    box-shadow: var(--shadow-gold);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.cta-button.secondary {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: var(--cosmic-gold);
    border: 2px solid var(--cosmic-gold);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}


.cta-button.secondary:hover {
    background: var(--gold-gradient);
    color: var(--primary-cosmic);
    transform: translateY(-2px);
    text-shadow: none;
}

.cta-button.large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

.package-btn {
    background: linear-gradient(135deg, var(--cosmic-gold), #e6c46b);
    color: var(--deep-space);
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    margin-top: auto;
    margin-bottom: 0.5rem;
}

.package-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.service-book-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.service-book-btn:hover {
    background: var(--text-white);
    color: var(--cosmic-purple);
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(135deg, var(--cosmic-gold), #e6c46b);
    color: var(--deep-space);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================================================
   6. CARDS & COMPONENTS
   ======================================================================== */

/* Package Cards */
.package-card {
    background: rgba(11, 20, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    gap: 0.25rem;
}

.package-card.featured {
    border-color: var(--cosmic-gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.05);
}

/* .package-card.ultimate {
    background: linear-gradient(135deg, rgba(83, 52, 131, 0.3), rgba(212, 175, 55, 0.2));
} */

.package-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-gold);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-card h3 {
    color: var(--cosmic-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.package-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.package-icon {
    margin-bottom: 1rem;
}

.package-icon img {
    width: 95%;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    max-width: 300px;
}

/* Package Pricing Elements */
.package-price {
    color: var(--cosmic-gold);
    font-size: 2rem;
    font-weight: 700;
}

.savings,
.package-savings {
    background: transparent;
    color: #4caf50;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.original-price {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: line-through;
}

/* Package Badges */
.package-badge,
.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cosmic-gold), #e6c46b);
    color: var(--deep-space);
    padding: 5px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    z-index: 10;
}

/* Service Cards */
.service-detail-card {
    background: rgba(11, 20, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-gold);
}

.service-price {
    color: var(--deep-space);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-block;
}

/* Value Cards */
.value-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-gold);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card h3 {
    position: relative;
    z-index: 2;
    color: var(--cosmic-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Feature Cards */
.feature-item {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-cosmic);
}


/* ========================================================================
   7. ICONS
   ======================================================================== */

.value-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

/* ========================================================================
   8. FORMS
   ======================================================================== */

.contact-form,
.booking-form {
    background: rgba(11, 20, 38, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

/* Booking Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 0 8rem 0;
}

.info-item {
    text-align: center;
    padding: 2rem 1rem;
}

.info-icon {
    font-size: 3rem;
    color: var(--cosmic-gold);
    margin-bottom: 1rem;
}

.info-item h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Info Grid Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-item {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .info-grid {
        gap: 1.5rem;
    }
}







/* ========================================================================
   9. LAYOUT CONTAINERS & GRIDS
   ======================================================================== */

/* Package Grid */
.packages-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Services Grid - for services.php page */
.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


/* ========================================================================
   10. PAGE-SPECIFIC STYLES
   ======================================================================== */

/* Hero Section styles moved to css/pages/index.css */

/* Dark Cosmic Sections */
.dark-cosmic {
    background: linear-gradient(180deg, 
        rgba(11, 20, 38, 0) 0%, 
        rgba(11, 20, 38, 0.1) 5%, 
        rgba(11, 20, 38, 0.3) 8%, 
        rgba(11, 20, 38, 0.6) 12%, 
        rgba(11, 20, 38, 0.85) 15%, 
        rgba(11, 20, 38, 0.95) 20%, 
        rgba(11, 20, 38, 0.95) 80%, 
        rgba(11, 20, 38, 0.85) 85%, 
        rgba(11, 20, 38, 0.6) 88%, 
        rgba(11, 20, 38, 0.3) 92%, 
        rgba(11, 20, 38, 0.1) 95%, 
        rgba(11, 20, 38, 0) 100%);
    position: relative;
    padding: 0;
}

/* About Section - shared across pages */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.about-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.video-card {
    border-radius: 20px;
    text-align: center;
}

.intro-video {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
}

/* Services Section - shared styling */
.services-section .section-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 3rem;
    text-align: center;
}

/* Services Slider moved to css/pages/index.css */

/* GSAP Services Slider moved to css/pages/index.css */

/* Packages Section - shared styling */
.packages-section {
}

/* Final CTA Section moved to css/pages/index.css */


/* ===== SHARED PAGE ELEMENTS ===== */

/* Page Hero Section (shared across all pages) */
.page-hero {
    padding: 180px 0 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white), var(--cosmic-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section (shared) */
.cta-section {
    background: linear-gradient(135deg, rgba(83, 52, 131, 0.8), rgba(212, 175, 55, 0.3));
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About page styles moved to css/pages/about.css */
/* Contact page styles moved to css/pages/contact.css */


/* Enhanced Submit Button States */
.cta-button.primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cta-button.secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2) !important;
    color: rgba(212, 175, 55, 0.5) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    transform: none !important;
    box-shadow: none !important;
}

.cta-button.secondary:disabled:hover {
    background: rgba(0, 0, 0, 0.2) !important;
    color: rgba(212, 175, 55, 0.5) !important;
    transform: none !important;
}

.cta-button.primary .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.modal-show {
    display: flex !important;
}

.modal-hide {
    display: none !important;
}

.body-modal-open {
    overflow: hidden !important;
}

.body-modal-closed {
    overflow: auto !important;
}

/* BOOKING PAGE SPECIFIC STYLES - EXTRACTED FROM PHP FILE! */
/* Admin-Style Modal for Booking Page */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    margin: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.2rem !important;
    color: var(--cosmic-gold) !important;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-white);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--cosmic-gold);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
}

/* Admin-style scrollbar */
.modal-body::-webkit-scrollbar {
    width: 4px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.3);
    border-radius: 2px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 rgba(241, 245, 249, 0.3);
}

.modal-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-image {
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Hide availability badge in modal - info shown in text already */
.modal-body .availability-badge {
    display: none;
}

.modal-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--cosmic-gold);
    font-size: 1.5rem;
}

.modal-info p {
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-benefits, .modal-includes {
    margin-bottom: 1rem;
}

.modal-benefits h4, .modal-includes h4 {
    margin: 0 0 0.5rem 0;
    color: var(--cosmic-gold);
    font-size: 1rem;
}

.modal-benefits ul, .modal-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-benefits li, .modal-includes li {
    padding: 0.25rem 0;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-benefits i, .modal-includes i {
    color: #10b981;
    width: 16px;
}

.modal-pricing {
    border-radius: 8px;
    margin-top: 1rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cosmic-gold);
    margin-bottom: 0.25rem;
}

.modal-savings {
    color: #10b981;
    font-weight: 600;
}

.modal-availability {
    color: var(--text-white);
    font-size: 0.9rem;
}

.modal-footer {
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(26, 26, 46, 0.8);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}


.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--cosmic-gold);
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust based on content */
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    padding: 0 0 1.5rem 0;
}

/* ========================================================================
   11. FOOTER
   ======================================================================== */

.footer {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--cosmic-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.8rem;
}

.footer-left {
    text-align: left;
}

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

.footer-right {
    text-align: right;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.dti-registration {
    display: flex;
    justify-content: flex-end;
}

.dti-link {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dti-link:hover {
    color: var(--cosmic-gold);
    text-decoration: underline;
}

/* DTI Modal Styles */
.dti-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.dti-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dti-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.dti-close:hover {
    color: #333;
}

.dti-modal-content h3 {
    color: var(--cosmic-purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.dti-modal-content p {
    color: #666;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.dti-qr-large img {
    width: 120px;
    height: 120px;
    margin: 1rem 0;
    border: 2px solid var(--cosmic-gold);
    border-radius: 8px;
}

.dti-scan-text {
    color: #999;
    font-size: 0.8rem;
    font-style: italic;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--cosmic-gold);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--cosmic-gold);
    color: var(--deep-space);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-muted);
}

.footer-bottom p {
    font-size: 0.7rem;
}

/* ========================================================================
   12. RESPONSIVE DESIGN
   ======================================================================== */

@media (max-width: 768px) {
    /* Fix mobile background issues - prevent shifting when browser toolbar hides */
    html {
        background: var(--deep-space);
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height */
    }
    
    /* Use pseudo-element for truly fixed background on mobile */
    html::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 120vh; /* Slightly taller to account for browser toolbar changes */
        background: var(--deep-space);
        background-image: url('../assets/dle-wc-bg-cosmic.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1; /* Behind all content */
        pointer-events: none; /* Don't interfere with interactions */
        will-change: transform; /* Optimize for mobile performance */
        backface-visibility: hidden; /* Prevent flickering on mobile */
    }
    
    body {
        background: transparent !important; /* Remove background from body */
        background-attachment: scroll !important;
        background-image: none !important;
        min-height: 100vh;
        min-height: 100dvh;
        position: relative; /* Ensure proper stacking context */
    }
    
    /* Fix blue container issue at bottom */
    html, body {
        height: 100%;
        overflow-x: hidden;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    
    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: rgba(26, 26, 46, 0.98);
        gap: 1rem;
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding-top: 80px; /* Space for navbar */
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999; /* Lower than navbar */
        overflow-y: auto;
    }
    
    /* Mobile hamburger visibility - ensure it stays visible when menu is open */
    .nav-menu.active ~ .hamburger,
    .hamburger {
        display: flex !important;
        z-index: 1001; /* Above the mobile menu */
    }
    
    
    .nav-menu.active .nav-link {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        border-radius: 0;
        text-align: center;
        transition: background-color 0.3s ease;
        text-decoration: none;
        display: block;
        color: var(--text-white) !important;
    }
    
    .nav-menu.active .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
    }
    
    .nav-menu.active .nav-link.active {
        color: var(--cosmic-gold) !important;
        font-weight: 600;
    }
    
    .nav-menu.active .nav-link.booking-btn {
        background: var(--gold-gradient);
        color: var(--primary-cosmic) !important;
        border-radius: 6px;
        font-weight: 600;
        margin: 0.5rem 2rem;
        padding: 0.75rem 1rem;
        border: none;
    }
    
    .nav-menu.active .nav-link.booking-btn:hover {
        background: var(--gold-gradient);
        color: var(--deep-space) !important;
        transform: none;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .dti-registration {
        align-items: center;
        justify-content: center;
    }
    
    .page-hero {
        padding: 120px 0 0 0;
    }
    
    .about-grid,
    .about-content,
    .practitioner-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .values-grid,
    .services-grid,
    .packages-grid,
    .packages-grid-3col,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* NEW: Services showcase mobile layout */
    .services-single-column {
        gap: 2rem;
    }
    
    .service-showcase-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-left {
        padding: 1.5rem;
    }
    
    .service-right {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-price {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* NEW: Packages showcase mobile layout */
    .packages-single-column {
        gap: 2rem;
    }
    
    .package-showcase-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .package-left {
        padding: 1.5rem;
    }
    
    .package-right {
        padding: 1.5rem;
    }
    
    .package-title {
        font-size: 1.5rem;
    }
    
    .package-price {
        font-size: 1.2rem;
    }
    
    .package-description {
        font-size: 1rem;
    }
    
    .package-pricing-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* FAQ single column on mobile */
    .faq-2-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 0;
    }
    
    /* Package features single column on mobile */
    .package-features-2-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-section,
    .values-section,
    .practitioner-section,
    .team-section,
    .cta-section,
    .services-detail,
    .packages-detail,
    .contact-section,
    .package-features-section,
    .contact-faq-section,
    .faq-section {
        padding: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
/* All styling now handled by clean container classes above - no more conflicts */
    
    .packages-grid-3col {
        margin-top: 2rem;
        gap: 1.5rem;
    }
    
    /* Mobile-specific improvements moved to css/pages/index.css */
    
    .service-card,
    .package-card {
        margin-bottom: 1rem;
    }
    
    .package-card h3 {
        font-size: 1.1rem;
    }
    
    .package-card .price {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Services slider mobile styles moved to css/pages/index.css */
    
    /* GSAP Services Slider mobile styles moved to css/pages/index.css */
    
    /* Final CTA mobile styles moved to css/pages/index.css */
    
    /* About text mobile styling */
    .about-text h2 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Team info mobile styling */
    .team-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .team-info p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Values section mobile */
    .values-section {
        padding: 0 !important;
    }
    
    .value-card h3 {
        font-size: 1.1rem;
    }
    
    .value-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Dark cosmic containers mobile adjustments */
    .test-container.dark-cosmic,
    .packages-container.dark-cosmic,
    .practitioner-container.dark-cosmic,
    .team-container.dark-cosmic,
    .services-container.dark-cosmic,
    .contact-container.dark-cosmic,
    .booking-container.dark-cosmic {
        padding: 2.5rem 1rem !important;
    }
    
    /* Gradient dividers mobile adjustments */
    .gradient-top,
    .gradient-bottom {
        height: 60px;
    }
    
    /* Packages section title mobile styling */
    /* REMOVED - Using new packages-container system instead */
}

/* Tablet Responsiveness (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 1rem;
    }
    
    /* Hero tablet styles moved to css/pages/index.css */
    
    /* Services grid - 2 columns on tablet (legacy) - for services.php */
    .services-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Fix packages-grid-3col breaking - keep 3 columns on tablet */
    .packages-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Fix navbar spacing on tablet - ensure nav items don't get cramped */
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        gap: 2rem; /* Reduce gap slightly on tablet */
    }
    
    /* NEW: Services showcase tablet adjustments */
    .service-showcase-card {
        grid-template-columns: 230px 1fr;
        gap: 0;
    }
    
    .service-left {
        padding: 1.5rem;
    }
    
    .service-right {
        padding: 2rem;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-price {
        font-size: 1.3rem;
    }
    
    /* NEW: Packages showcase tablet adjustments */
    .package-showcase-card {
        grid-template-columns: 230px 1fr;
        gap: 0;
    }
    
    .package-left {
        padding: 1.5rem;
    }
    
    .package-right {
        padding: 2rem;
    }
    
    .package-title {
        font-size: 1.8rem;
    }
    
    .package-price {
        font-size: 1.3rem;
    }
    
    /* FAQ 2-column stays the same on tablet */
    
    /* Packages grid - 2 columns on tablet */
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Featured package styling for tablet - keep normal grid position since we have 3 columns */
    .packages-grid-3col .package-card.featured {
        grid-column: auto; /* Don't span all columns on tablet */
        max-width: none; /* Allow full width within grid cell */
        margin: 0; /* Reset centering */
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Testimonials slider adjustments */
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-slide {
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Footer remains 3-column on tablet */
    .footer-content {
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 1.5rem;
    }
    
    /* About grid */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    /* Service details */
    .service-detail-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    /* Package features remain readable */
    .package-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Large Mobile/Small Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Hero styles moved to css/pages/index.css */
    
    .services-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* NEW: Services showcase mobile-tablet adjustments */
    .service-showcase-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-left {
        padding: 2rem;
        order: 1;
    }
    
    .service-right {
        padding: 2rem;
        order: 2;
    }
    
    .service-image-container {
        margin-bottom: 1.5rem;
    }
    
    /* NEW: Packages showcase mobile-tablet adjustments */
    .package-showcase-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .package-left {
        padding: 2rem;
        order: 1;
    }
    
    .package-right {
        padding: 2rem;
        order: 2;
    }
    
    .package-image-container {
        margin-bottom: 1.5rem;
    }
    
    .package-pricing-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* FAQ 2-column on small tablets */
    .faq-2-column {
        gap: 1.5rem;
    }
    
    /* About page tablet adjustments */
    .about-content,
    .team-member-row,
    .team-member-row.right {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    /* Ensure image appears first on tablets too */
    .team-member-row.right .team-photo-container {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Dark cosmic containers tablet adjustments */
    .test-container.dark-cosmic,
    .packages-container.dark-cosmic,
    .practitioner-container.dark-cosmic,
    .team-container.dark-cosmic,
    .services-container.dark-cosmic,
    .contact-container.dark-cosmic,
    .booking-container.dark-cosmic {
        padding: 3rem 1.5rem !important;
    }
    
    /* Gradient dividers tablet adjustments */
    .gradient-top,
    .gradient-bottom {
        height: 80px;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Hero small mobile styles moved to css/pages/index.css */
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .package-card .price {
        font-size: 1.5rem;
    }
    
    .package-card .original-price {
        font-size: 0.8rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    /* Services slider already set to 1 card in main mobile rules */
    
    /* GSAP Services Slider small mobile styles moved to css/pages/index.css */
    
    /* DTI modal adjustments for small screens */
    .dti-modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
        max-width: 280px;
    }
    
    .dti-qr-large img {
        width: 100px;
        height: 100px;
    }
}

/* Mobile navbar - auto-hiding with scroll detection */
@media (max-width: 767px) {
    .navbar {
        background: transparent !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        padding: 1rem 0.75rem;
        transform: translateY(0);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    /* Mobile navbar auto-hide with transform approach */
    @media (max-width: 1024px) {
        .navbar {
            position: fixed !important;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 1000;
            transition: transform 0.3s ease !important; /* Smooth transition */
        }
        
        /* Hidden state - moves navbar off-screen */
        .navbar.nav-hidden {
            transform: translateY(-100%) !important; /* Moves off-screen */
        }
    }
    
    /* Hide navbar on scroll down - fallback for JS approach */
    .navbar.navbar-hidden {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }
    
    /* Show navbar on scroll up or when at top - fallback for JS approach */
    .navbar.navbar-visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-container {
        justify-content: flex-end; /* Move hamburger to right */
        padding: 1rem 0;
    }
    
    .hamburger {
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .hamburger span {
        background: var(--text-white) !important;
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    
    /* Always show navbar when menu is open */
    .navbar.menu-open {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Mobile menu styling */
    .nav-menu.active {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
    }
    
    /* Alternative: Floating Menu Button (hidden by default) */
    .mobile-menu-btn {
        display: none; /* Enable by uncommenting in header.php and setting display: flex */
        flex-direction: column;
        align-items: center;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(15px);
        padding: 0.75rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
    }
    
    .mobile-menu-btn i {
        color: var(--text-white);
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .mobile-menu-btn span {
        color: var(--text-white);
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(0, 0, 0, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
}

/* ========================================================================
   END OF STYLESHEET
   ======================================================================== */