/* CSS Variables & Theme */
:root {
    /* Spiritual Palette - Updated V5 */
    --color-bg: #80864f;
    /* Green - Index Background */
    --color-text-main: #f7f2e0;
    /* Beige Text */
    --color-text-muted: #e6dfc8;
    /* Slightly darker Beige for hierarchy */

    --color-primary: #BF897F;
    /* Terracotta/Pink - Buttons/Accents */
    --color-primary-dark: #a6766d;
    /* Darker Terracotta */

    /* Secondary Colors */
    --color-secondary-beige: #f7f2e0;
    --color-secondary-blue: #dac2b2;

    /* Footer */
    --color-footer-bg: #80864F;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --radius-md: 8px;
    --radius-lg: 16px;

    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

.hidden,
.d-none {
    display: none !important;
}

/* Utility Classes for Modal (Tailwind-mock) */
.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.bg-black\/80 {
    background-color: rgba(0, 0, 0, 0.8);
}

.backdrop-blur-sm {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.z-50 {
    z-index: 9999;
}

/* Override to be safe */
.flex {
    display: flex;
}

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

.justify-center {
    justify-content: center;
}

.p-4 {
    padding: 1rem;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    /* Ensure full height */
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Sticky Footer Setup */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Dashboard Page Theme Overrides */
.dashboard-page {
    --color-bg: #f7f2e0;
    --color-text-main: #80864f;
    --color-text-muted: #6e664c;
    /* Ensure background updates */
    background-color: var(--color-bg);
    color: var(--color-text-main);
}

main {
    flex: 1;
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-serif);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    /* Prevent text wrap inside button */
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Footer Variables Default */
:root {
    --color-footer-text: #ffffff;
}

.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    text-align: center;
    padding: 10px 0 10px;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
    width: 100%;
    /* Force full width */
}

/* Ensure footer content is centered */
.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 20px;
}

.footer a,
.footer p,
.footer span {
    color: inherit !important;
    /* Allow inheritance but keep specificity high against other overrides if needed, or better: var(--color-footer-text) */
    color: var(--color-footer-text) !important;
    margin: 0;
    padding: 2px 0;
    line-height: 1.4;
}

.btn-outline {
    border-color: var(--color-text-main);
    color: var(--color-text-main);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: var(--color-primary);
    /* Green text on Beige hover */
}

.cta-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--color-bg);
    /* Green */
    color: var(--color-text-main) !important;
    /* Beige Text */
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: var(--color-bg);
    /* Darker Green */
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.7;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Padding is now dynamic via JS, but set default to match JS (20px) to prevent jump */
    /* Padding matches JS default */
    padding: var(--nav-padding, 20px) 0;
    font-size: var(--nav-font-size, 16px);
    /* Default to Transparent to prevent Green Flash on load */
    background: transparent;
    color: var(--nav-text, #f7f2e0);
    z-index: 1000;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-welcome-msg {
    display: none;
    /* Default hidden */
    position: absolute;
    right: 70px;
    /* Position to left of menu toggle */
    top: 75%;
    /* Lower position */
    transform: translateY(-50%);
    font-weight: 500;
    font-size: 0.9rem;
    color: inherit;
}


.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    position: relative;
    /* Anchor absolute children */
}

/* Brand Container - Forced Row Layout */
.brand-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: 100%;
    min-width: max-content;
    gap: 15px;
    /* Space between logo and text */
    /* overflow: hidden; Removed to prevent clipping */
    /* border: 1px dotted blue; */
    /* Debug Border */
}

/* Link wrapper for logo */
.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    order: 0;
    /* Revert to Left */
    flex-shrink: 0;
    /* CRITICAL: Prevent logo from disappearing if space is tight */
    /* border: 1px dashed red; */
    /* Debug Border */
}

/* Logo Image */
.header-logo {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    /* Fixed square size as requested */
    object-fit: contain;
    display: block !important;
    /* OVERRIDE HIDDEN CLASS */
}

/* Brand Text Column */
.brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    order: 1;
}

.brand-info .logo {
    font-size: 1.5em;
    /* Use em to scale with navbar font-size setting */
    line-height: 1.1;
    margin-bottom: 2px;
    color: inherit;
    /* Removed white-space: nowrap to allow wrap on very small screens, 
       but keeping it usually looks better. User said "narrowed", maybe they meant "condensed"?
       I will use 'Montserrat' explicitly to match body if that was the case, 
       or ensure it's inheriting 'Cormorant Garamond' properly. */
    font-family: var(--font-serif);
    letter-spacing: 0.5px;
    /* Add breathing room */
}

/* Social Icons in Header */
.header-socials {
    display: flex;
    gap: 15px;
    /* Restored gap */
}

.header-socials a {
    display: flex;
    color: var(--nav-text, inherit) !important;
    /* Force correct color */
    transition: transform 0.3s ease;
}

.header-socials a:hover {
    transform: translateY(-2px);
    color: var(--color-primary);
    /* Hover effect */
}

.header-socials svg {
    width: 20px;
    /* Restored size */
    height: 20px;
}

/* Navigation Refactor Maintained Above */

.header-socials svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.nav-links,
.nav-actions {
    display: none !important;
    /* Hide standard desktop links */
}

/* Ensure Nav Links Scale */
.nav-links a {
    font-size: 1em !important;
}

/* Always show hamburger */
.menu-toggle {
    display: block;
    /* Visible on all devices */
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    /* Inherit from navbar */
}

.menu-toggle svg {
    width: 32px;
    height: 32px;
}

/* Sidebar Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -105%;
    /* Hidden off-screen (Percentage ensures full hide) */
    width: 350px;
    /* Fixed width sidebar */
    height: auto;
    /* User requested not full height */
    min-height: 300px;
    border-bottom-left-radius: 20px;
    background: #fff;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 30px 30px;
    /* Reduced from 80/40/50 */
    gap: 15px;
    /* Reduced from 40px */
    transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    max-height: 100vh;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 22px;
    /* Increased for better presence */
    color: #80864f;
    /* Fixed Green for contrast on white sidebar */
    /* Green text for visibility on white */
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
    /* Added border radius for better highlight feel */
}

.mobile-links-list a:hover,
#mobile-logout-btn:hover {
    color: var(--color-primary);
    background-color: var(--color-secondary-beige);
    /* Light beige highlight */
    padding-left: 25px !important;
    /* Slightly increased padding animation */
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #80864f;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    /* Solid Color from Theme */
    z-index: -1;
}

@keyframes pulseBg {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 5px;
    /* Reduced from 20px */
    color: var(--color-text-main);
    /* Beige for readability on Green */
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* Animations included in CSS for simplicity */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

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

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

/* Section Common */
.section-tag {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

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

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 200px 200px 0 0;
    /* Arch shape */
    color: #999;
}

/* New Smaller Image for Home */
/* New Smaller Image for Home */
.about-image-small {
    width: 100%;
    max-width: 220px;
    height: 220px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto;
    object-fit: contain;
    overflow: hidden;
    box-shadow: none;
}

.about-image-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Services */
/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.services-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primary-dark);
}

.service-benefits {
    margin: 20px 0;
    flex: 1;
}

.service-benefits h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-benefits ul {
    margin-bottom: 15px;
}

.service-benefits li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    /* More readable, same as p */
    font-size: 0.95rem;
}

.service-benefits i {
    color: var(--color-secondary);
    width: 18px;
}

.service-visual {
    height: 240px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #fff 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
    /* Image on top */
}

.aura-circle {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(157, 132, 183, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
}

/* Specific Services Visuals */
.service-visual.innerdance {
    background: linear-gradient(135deg, #E6E6FA 0%, #fff 100%);
}

.aura-circle.innerdance {
    background: radial-gradient(circle, rgba(157, 132, 183, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}

.service-visual.constellations {
    background: linear-gradient(135deg, #FFE4E1 0%, #fff 100%);
}

.aura-circle.constellations {
    background: radial-gradient(circle, rgba(233, 150, 122, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}

.service-visual.expansion {
    background: linear-gradient(135deg, #F0F8FF 0%, #fff 100%);
}

.aura-circle.expansion {
    background: radial-gradient(circle, rgba(135, 206, 235, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}


/* Events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
    gap: 30px;
}


.event-card {
    display: flex;
    flex-direction: column;
    /* Stack Image and Content vertically */
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

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

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    padding: 15px;
    border-radius: var(--radius-md);
    min-width: 70px;
    height: 80px;
    color: var(--color-text-main);
    /* Beige Text */
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-date.multi-date {
    width: auto;
    min-width: 60px;
    max-width: 100px;
    padding: 0 10px;
}

.event-date .multi-text {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-main);
    text-align: center;
    line-height: 1.2;
}

/* Final Batch Utilities */
.mt-10 {
    margin-top: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-24 {
    margin-left: 24px;
}

.min-w-200 {
    min-width: 200px;
}

.hidden {
    display: none !important;
}

.flex-grow {
    flex-grow: 1;
}

.w-auto {
    width: auto !important;
}

.admin-section-divider {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.grid-2-col-gap-15 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.flex-gap-5 {
    display: flex;
    gap: 5px;
}

.color-preview-box {
    width: 50px;
    height: 35px;
    padding: 0;
    border: none;
}

.color-hex-input {
    width: 80px;
    text-transform: uppercase;
}

.admin-grid-2-col-gap-40 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.text-center-primary {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.scrollable-list-500 {
    max-height: 500px;
    overflow-y: auto;
}

.grid-2-col-gap-20 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.col-span-full {
    grid-column: 1 / -1;
}

.relative {
    position: relative;
}

.event-details h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.event-meta {
    font-size: 0.9rem;
    color: #8a523b;
    /* Brown/Dark Terracotta */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Community */
.community-section {
    background-color: #fff;
}

.social-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border: 1px solid #eee;
    border-radius: 50px;
    font-weight: 500;
}

.social-btn:hover {
    background: #f9f9f9;
}

.footer-centered {
    margin-top: 60px;
    text-align: center;
    padding: 40px 0;
}

.newsletter-box {
    margin-top: 50px;
    padding: 40px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 0px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    outline: none;
    background-color: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
}

/* =========================================
   New Header Layout & Mobile Polish
   ========================================= */

/* Brand & Socials Container */
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    /* Space between logo and socials */
}

/* Ensure Logo is left-aligned */
.logo {
    margin-right: 0;
    line-height: 1;
}

/* Header Socials - Below Brand */
.header-socials {
    display: flex;
    gap: 15px;
    margin: 0;
    /* Reset margins */
}

.header-socials a {
    color: var(--color-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header-socials a:hover {
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.header-socials svg {
    width: 18px;
    /* Slightly smaller for elegance */
    height: 18px;
}

/* Navbar Layout Updates */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nav Links - Center/Right Aligned */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0 auto;
    /* Pushes to center if possible, or adjust flex */
}

.nav-actions {
    display: flex;
    align-items: center;
}

/* Booking Header Overlap Removed */

/* Mobile & Responsive Refinements */
@media (max-width: 900px) {

    .nav-links,
    .nav-actions {
        display: none;
        /* Hide desktop nav items on tablet/mobile */
    }

    .menu-toggle {
        display: block;
        /* Show hamburger */
    }

    .header-welcome-msg {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 600px) {

    /* Navbar padding compression */
    .navbar {
        padding: 5px 0;
    }

    .container.nav-content {
        width: 95%;
        /* Use more width on mobile */
    }

    /* Reduce Brand Size */
    .logo {
        font-size: 1.2rem;
    }

    /* Social Icons Mobile */
    .header-socials {
        display: flex;
        gap: 12px;
        margin-left: 0;
        margin-top: 5px;
    }

    .header-socials svg {
        width: 22px;
        height: 22px;
    }

    /* Mobile Menu */
    .mobile-menu {
        padding: 70px 20px 30px;
        width: 60%;
        max-width: 320px;
        /* Reduce width on mobile */
    }

    /* Calendar Mobile Styles Removed */

    /* Landscape Mode Optimization (Reduced Height) */
    /* Landscape Optimization Removed */

    /* Footer */
    .footer {
        background: var(--color-footer-bg, #1a1a1a);
        color: var(--color-footer-text, #fff);
        padding: 5px 0 10px;
        text-align: center;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .dashboard-page .footer {
        padding: 5px 0 10px !important;
    }

    .dashboard-page .footer .logo-text,
    .dashboard-page .footer .footer-links {
        margin-bottom: 5px !important;
    }

    .dashboard-page .footer .logo-text {
        display: none !important;
    }

    .footer .logo-text {
        font-family: var(--font-serif);
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .footer-links {
        margin-bottom: 5px;
    }

    .footer-links a {
        color: #999;
        margin: 0 15px;
        font-size: 0.9rem;
    }

    .copyright {
        color: #555;
        font-size: 0.8rem;
    }

    .services-section {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .services-carousel-wrapper {
        position: relative;
        /* Ensure it sits on top of bg */
        z-index: 2;
    }

    /* Optional overlay if image is too bright */
    .services-section.has-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* Darken slightly */
        z-index: 1;
    }

    .services-section.has-bg .section-title,
    .services-section.has-bg .section-tag {
        position: relative;
        z-index: 2;
        color: #fff;
        /* Ensure text is visible on bg */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    /* Responsive */
    @media (max-width: 768px) {

        .nav-links,
        .menu-toggle {
            display: none;
        }

        .menu-toggle {
            display: block;
        }



        .about-grid,
        .services-card,
        .contact-layout,
        .newsletter-form {
            grid-template-columns: 1fr;
            flex-direction: column;
        }

        .service-visual {
            height: 200px;
        }

        .newsletter-form button {
            margin-top: 10px;
            width: 100%;
        }
    }

    /* Authentication Pages */
}

/* Authentication Pages (Global) */
.auth-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #FDFBF7 0%, #E6E6FA 100%);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.back-link {
    display: block;
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.auth-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.auth-card .logo {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.auth-form {
    margin: 5px 0px 20px;
}

.auth-footer {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.auth-footer a {
    color: var(--color-primary-dark);
    font-weight: 500;
}

/* Dashboard & Audio */
.section-padding {
    padding-top: 120px;
    /* Space for fixed navbar */
    padding-bottom: 80px;
}

.welcome-msg {
    color: var(--color-primary-dark);
    font-weight: 500;
}

.meditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.audio-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.audio-card:hover {
    transform: translateY(-3px);
}

.audio-visual {
    height: 150px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
}

.audio-visual svg {
    width: 48px;
    height: 48px;
    opacity: 0.7;
}

.audio-visual.relax {
    background: linear-gradient(135deg, #E6E6FA 0%, #fff 100%);
}

.audio-visual.locked-bg {
    background: #f0f0f0;
    color: #999;
}

.audio-info {
    padding: 20px;
}

.audio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.audio-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.audio-player {
    width: 100%;
    margin-top: 10px;
    height: 35px;
}

/* Audio Player Customization REMOVED to fix warning */

/* Marketing Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.popup-card {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.popup-visual {
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #fff 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-aura {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
}

.popup-content {
    padding: 30px;
}

.popup-content h2 {
    color: var(--color-primary-dark);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}


/* Booking Styles Removed */


.no-slots {
    color: var(--color-text-muted);
    font-style: italic;
    opacity: 0.7;
}

/* Ensure Modal CSS is correct (refreshing/ensuring layout) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 32, 0.4);
    /* Softer overlay */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}


.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

.modal-content h3 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

#bookingDetailsText {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
}

/* Ensure Select Matches Inputs */
.auth-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #e1d7ce !important;
    font-size: 1rem;
    color: #5c5540 !important;
    transition: all 0.3s ease;
    appearance: none;
    /* Remove default arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.auth-form select:focus {
    border-color: #6e664c;
    background-color: #e1d7ce;
    outline: none;
}



/* RESTORED TESTIMONIALS & BOOKING FIXES */

/* Booking/Members Page Overlap Fix */
.booking-page-section,
.section-padding {
    padding-top: 140px !important;
    /* Force overlap clearance */
    padding-bottom: 80px;
    min-height: 80vh;
}

/* Restored Testimonials (Dynamic Container) */
/* Restored Testimonials (Single View Focus) */
#dynamic-testimonials-container {
    display: flex;
    width: 100%;
    overflow-x: hidden;
    /* Hide scrollbar but allow JS scroll */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 0;
    /* Remove padding from container, let wrapper handle spacing */
    align-items: center;
}

#dynamic-testimonials-container .review-card {
    min-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    /* Force 100% width */
    scroll-snap-align: center;

    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    /* Ensure padding includes in width */
}

#dynamic-testimonials-container .review-card p {
    font-size: 1.4rem;
    line-height: 1.6;
    font-family: var(--font-serif);
    font-style: italic;
    color: #4F553D;
    margin-bottom: 25px;
    max-width: 800px;
    /* Limit text width for readability */
    margin-left: auto;
    margin-right: auto;
}

#dynamic-testimonials-container .review-card .author {
    color: var(--color-primary);
    font-weight: 600;
    /*font-size: 1.1rem;*/
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    /* Reduced max-width for better focus on text */
    margin: 0 auto;
    overflow: hidden;
    /* Arrows inside padding should be visible */
    padding: 0 80px;
    /* Increase padding for arrows */
    box-sizing: border-box;
}

/* Navigation Buttons */
/* Navigation Buttons (Desktop) */
.nav-btn,
.carousel-nav {
    position: absolute;
    /* Overlay */
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-primary);
    /* Beige/Gold text */
    width: 60px;
    /* Larger hit area */
    height: 60px;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s;
    z-index: 1000;
    margin: 0;
    /* Remove static margin */
}

.nav-btn:hover,
.carousel-nav:hover {
    background: transparent;
    /* No fill */
    color: var(--color-primary-dark);
    transform: translateY(-50%) scale(1.2);
    /* Grow effect */
}

/* Specific Positioning */
.nav-btn.prev-btn,
.carousel-nav.prev-btn,
.carousel-nav.prev {
    left: 0;
    /* Sit in the left padding */
}

.nav-btn.next-btn,
.carousel-nav.next-btn,
.carousel-nav.next {
    right: 0;
    /* Sit in the right padding */
}

/* SVG Icon Size */
.nav-btn svg,
.carousel-nav svg {
    width: 40px !important;
    height: 40px !important;
    stroke-width: 1.5;
}

.carousel-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 45px;
    /* Increased from 30px for more space */
    padding: 0 30px 50px 30px;
    width: 100%;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    align-items: stretch;
    /* Ensure equal height */
}

/* Force Cards to show Grab cursor (override link pointer) */
.carousel-card {
    cursor: grab !important;
}

/* Active Drag State */
.carousel-container.active,
.carousel-container.active .carousel-card {
    cursor: grabbing !important;
}

/* Tablet / Mobile Landscape (2 Cards) */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-container {
        grid-auto-columns: calc((100% - 30px) / 2);
        /* Tablet: 2 Cards (minus 1 gap of 30px) */
    }
}

@supports (scrollbar-width: none) {
    .carousel-container {
        scrollbar-width: none;
    }
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container:hover {
    animation: none;
}

/* Mobile & Tablet Overrides */
@media (max-width: 768px) {
    .carousel-wrapper {
        max-width: 100%;
        padding: 0;
    }

    /* Hide Desktop Arrows and new class .carousel-nav */
    .nav-btn,
    .carousel-nav {
        display: none !important;
    }

    #dynamic-testimonials-container .review-card {
        box-sizing: border-box;
        /* Ensure padding doesn't add to width */
        min-width: 90%;
        /* Relative to container, not viewport */
        width: 90%;
        margin: 0 5%;
        /* Center: (100% - 90%) / 2 = 5% */
        padding: 40px 25px;
        /* Comfortable padding */

        /* Box shadow for depth? */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        /* Softer shadow */
    }

    #dynamic-testimonials-container {
        padding-left: 0;
        padding-right: 0;
        /* Ensure scroll snapping works with margins */
        scroll-padding: 0 5%;
        /* Match margin for snap */
    }

    #dynamic-testimonials-container .review-card p {
        font-size: 1.1rem;
    }

    /* Standardize Carousel Text Height */
    .carousel-content p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .carousel-loader-content {
        width: 100%;
        text-align: center;
        padding: 40px;
    }

    .carousel-loader-content i {
        width: 32px;
        height: 32px;
        margin: 0 auto;
    }

    /* Mobile: Stack meditation cards in a single column */
    .carousel-container {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: hidden;
        overflow-y: visible;
        gap: 30px;
        padding: 20px 20px 50px 20px;
        scroll-snap-type: none;
        width: 100%;
        box-sizing: border-box;
        cursor: default;
    }

    /* Exception: Testimonials carousel stays horizontal on mobile */
    #dynamic-testimonials-container {
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 10px 0 20px 0;
        gap: 0;
    }

    .carousel-card {
        min-width: 0;
        width: 100%;
        margin: 0 auto 30px auto;
        scroll-snap-align: none;
        height: auto;
        flex: 0 0 auto;
        box-sizing: border-box;
    }

    .carousel-card:last-child {
        margin-bottom: 0;
    }

    /* Fill grid height */
}

.carousel-image {
    height: 250px !important;
    /* Taller image as requested */
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-card {
    min-width: 280px;
    width: calc((100% - 60px) / 3);
    /* Desktop: 3 cards visible */
    flex: 0 0 auto;
    scroll-snap-align: center;
    /* Center snap feels better for flex */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.carousel-image {
    height: 160px;
    background: #fcfcfc;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Taller image as requested */
}

/* Mobile Landscape Compact Header & Dynamic Carousel */
@media (max-height: 600px) and (orientation: landscape) {

    /* Compact Header Space */
    .section-padding {
        padding-top: 80px !important;
        padding-bottom: 20px !important;
    }

    .dashboard-header {
        margin-bottom: 20px !important;
    }

    .dashboard-header h1 {
        font-size: 1.5rem !important;
    }

    /* Dynamic Carousel Height */
    .carousel-image {
        height: 55vh !important;
        /* Fit screen vertically */
    }

    .carousel-card {
        height: auto !important;
        /* Allow flex height */
    }

    .carousel-container {
        padding-bottom: 20px !important;
        /* Reduce bottom padding */
    }
}

/* Icon Color Overrides */
.bg-green-light {
    color: #2e7d32;
    background-color: #e8f5e9;
}

.bg-blue-light {
    color: #1565c0;
    background-color: #e3f2fd;
}

.bg-purple-light {
    color: #7b1fa2;
    background-color: #f3e5f5;
}

.bg-orange-light {
    color: #ef6c00;
    background-color: #fff3e0;
}

.carousel-image svg {
    stroke: currentColor;
}

.carousel-content {
    padding: 20px;
}

.carousel-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-primary-dark);
}

.carousel-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --- Dashboard Layout --- */
body.dashboard-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background: #fdfbf7;
}

/* Sidebar */
.sidebar {
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-header {
    margin-bottom: 40px;
}

/* Override logo size for sidebar */
.sidebar .logo {
    font-size: 1.5rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-color-alt);
    color: var(--color-primary-dark);
}

.nav-item i {
    width: 20px;
}

.sidebar-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.user-info .user-name {
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 5px;
}

.logout-link {
    color: #e57373;
    font-size: 0.85rem;
    text-decoration: none;
}

/* Main Dashboard Area */
.dashboard-main {
    padding: 40px;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--color-primary-dark);
}

.date-display {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #fff 100%);
}

.stat-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Logo Image */
.header-logo {
    max-height: 40px;
    /* Adjust based on navbar height */
    width: auto;
    margin-right: 10px;
    display: none;
    /* Default hidden */
    object-fit: contain;
}

/* Ensure Logo Link aligns items */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nav-text);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
}


/* --- Section Color Themes (Alternating) --- */

/* Default Body is Terracotta (#b16a4c), Text Beige */

/* Navbar.scrolled */

.navbar.scrolled {
    background-color: var(--color-secondary-beige);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Match footer intensity */
}

/* Force Solid Navbar (overrides JS) */
.navbar.navbar-always-solid {
    background-color: var(--nav-bg) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.navbar-always-solid .logo,
.navbar.navbar-always-solid .nav-links a,
.navbar.navbar-always-solid .menu-toggle,
.navbar.navbar-always-solid .header-socials a {
    color: var(--nav-text) !important;
}

/* Beige Sections (About, Events - Contact has special handling) */
.about-section,
.events-section {
    background-color: var(--color-secondary-beige);
    color: #b16a4c;
    /* Terracotta text on Beige */
}

/* Blue Sections (Services, Reviews) */
.services-section,
.reviews-section {
    background-color: var(--color-secondary-blue);
    color: #fff;
}

/* Headings colors correction */
.about-section h2,
.events-section h2 {
    color: #b16a4c;
}

/* --- Mobile Navbar & Arrow Overrides --- */
/* --- Mobile Navbar & Arrow Overrides --- */
@media (max-width: 768px) {

    /* Compact Navbar on Mobile/Tablet */
    .navbar {
        padding: 5px 0 !important;
    }

    /* Hide Arrows on Mobile Only */
    .nav-btn,
    .carousel-arrow,
    .carousel-nav {
        display: none !important;
    }
}

.about-section h3,
.events-section h3 {
    color: #6e664c;
    /* Green headings on Beige */
}

.services-section h2,
.reviews-section h2 {
    color: #fff;
}

/* Contact Section (Special: Beige Section, Terracotta Card) */
.contact-section {
    background-color: var(--color-secondary-beige);
    color: #b16a4c;
}

.contact-section .section-title,
.contact-section p {
    color: #6e664c;
    /* Green text outside form */
}

/* Contact Form Specifics */
.contact-form-wrapper {
    background-color: #b16a4c;
    /* Terracotta Card */
    color: #e1d7ce;
    /* Beige Text inside card */
    padding: 30px;
    border-radius: 12px;
}

.contact-form-wrapper h3 {
    color: #e1d7ce !important;
    /* Force Beige heading */
}

.contact-form-wrapper label {
    color: #e1d7ce !important;
}

/* Inputs (Beige Background) */
.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    background-color: #e1d7ce !important;
    color: #6e664c !important;
    /* Green text inside inputs */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: rgba(110, 102, 76, 0.6);
}

/* Buttons in form */
.contact-form-wrapper .btn-primary {
    background-color: #6e664c;
    /* Green button on Terracotta */
    color: #fff;
}

.contact-form-wrapper .btn-primary:hover {
    background-color: #5c5540;
}

/* Card Overrides */
.services-card {
    background-color: #fff;
    color: #6e664c;
}

.services-card h3 {
    color: #b16a4c;
}

.services-card p {
    color: #666;
}

.event-card {
    background-color: #fff;
}

.event-date {
    background-color: #b16a4c;
    /* Terracotta badge */
}

/* Review Cards */
.review-card {
    background: transparent;
    border: none;
    padding: 20px;
    /* Keep spacing/padding for layout, remove visual box */
    text-align: center;
    /* Ensure centered text */
}

.review-card .author {
    color: #e1d7ce;
}

@media (max-width: 768px) {
    body.dashboard-body {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
        /* Mobile menu needed later, simplified for now */
    }
}

/* --- Login / Auth Page Theme --- */
body.auth-page {
    background-color: #b16a4c !important;
    /* Terracotta Background Force */
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background-color: #6e664c;
    /* Green Card */
    color: #e1d7ce;
    /* Beige Text (Titles/Labels) */
    padding: 2.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.auth-card h2 {
    color: #e1d7ce;
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    color: #e1d7ce;
    font-size: 0.9rem;
}

/* Inputs: Beige BG, Brown Text */
.auth-form input,
.auth-form textarea {
    background-color: #e1d7ce !important;
    color: #5c5540 !important;
    /* Brown Text inside inputs */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    font-family: var(--font-sans);
}

.auth-form input::placeholder {
    color: rgba(92, 85, 64, 0.6);
}

.auth-card .btn-primary {
    background-color: #b16a4c;
    /* Terracotta Text */
    font-size: 13px;
    margin-top: 5px;
}

/* =========================================
   Testimonial Selector Card (Compact & Action Buttons) - FINAL
   ========================================= */
.testimonial-selector-card.compact {
    padding: 10px 12px;
    gap: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-selector-card.compact .testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Ensure text container truncates properly */
.testimonial-selector-card.compact .testimonial-card-header>div:first-child {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    flex-grow: 1;
}

.testimonial-selector-card.compact .testimonial-card-text {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    padding-right: 5px;
}

/* Actions Group Inline */
.testimonial-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Space between icons */
    flex-shrink: 0;
    /* Prevent shrinking */
    margin-left: auto;
    /* Push to right */
    white-space: nowrap;
}

/* Checkbox specific styling */
.testimonial-card-actions .checkbox-wrapper input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--color-primary);
    margin: 0;
    position: static;
    /* Override absolute positioning */
    transform: none;
    /* Override scale transform */
}

/* Icon-only Buttons */
.btn-icon-only {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    /* Flex to center icon */
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.2s, transform 0.1s;
    min-width: 24px;
    height: 24px;
}

.btn-icon-only:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Service Detail Utilities - to replace inline styles */
.svc-testimonials-section-hidden {
    display: none;
    margin-top: 0px;
}

.svc-image-full {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.svc-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-title.custom-primary {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Fix for Compact Card Checkbox Positioning */
.testimonial-selector-card.compact input[type="checkbox"] {
    position: static !important;
    transform: scale(1.2);
    /* Keep slightly larger */
    margin: 0;
}

/* =========================================
   Testimonial Selector Card (Compact & Action Buttons) - FINAL
   ========================================= */
.testimonial-selector-card.compact {
    padding: 10px 12px;
    gap: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-selector-card.compact .testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


/* =========================================
   Modal Styles (Premium)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin: 0;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    padding: 5px;
}

.modal-close-btn:hover {
    color: var(--color-primary);
}

.modal-form-group {
    margin-bottom: 15px;
}

.modal-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.auth-card .btn-primary:hover {
    background-color: #8a523b;
}

.auth-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #e1d7ce;
}

.auth-footer a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.back-link {
    color: #fff;
    position: absolute;
    top: 20px;
    left: 20px;
    font-weight: 500;
}

/* Fix Logout Button Visibility */
#logout-btn.btn-outline {
    color: #6e664c !important;
    border-color: #6e664c !important;
}

#logout-btn.btn-outline:hover {
    background-color: #6e664c !important;
    color: #e1d7ce !important;
}

.footer-bottom {
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

/* Footer & Developer Credit */
.developer-credit {
    font-size: 10px !important;
    opacity: 0.6;
    margin-top: 10px;
    letter-spacing: 1px;
}

.logo-text,
.footer-links a,
.copyright {
    font-size: 12px !important;
}

/* Fixed syntax error here */
.footer-credit {
    margin-top: 10px;
}

/* --- Mobile Menu Scroll Fix --- */
.mobile-menu {
    overflow-y: auto !important;
    max-height: 100vh !important;
    padding-bottom: 120px !important;
    /* Extra space for bottom button details */
    display: flex;
    flex-direction: column;
}

/* Ensure content doesn't get cut off */
.mobile-links-list {
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* Compact Mobile Menu Items - Unified */
.mobile-links-list li a,
#mobile-logout-btn {
    display: block;
    /* Ensure it takes full width */
    width: 100%;
    padding: 10px 15px !important;
    /* increased padding for better touch target and visual */
    font-size: 20px !important;
    line-height: 1.2 !important;
    border-radius: 8px;
    /* consistent with earlier styles */
}

.mobile-socials {
    display: flex;
    margin-top: 10px;
    margin-bottom: 30px;
    gap: 15px;
}

.mobile-socials a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* --- About Page Split Layout --- */
.about-split-section {
    display: flex;
    align-items: flex-start;
    /* Align top */
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.about-split-section.reverse {
    flex-direction: row-reverse;
    /* Swap Text/Image for Section 2 */
}

/* Containers */
.about-image-container,
.about-text-content {
    flex: 1;
    /* 50% width each */
    width: 100%;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
    /* Slight visual adjustment */
}

/* Image Styling */
.about-split-img {
    width: 100%;
    height: 650px;
    /* Fixed height for vertical aspect */
    object-fit: cover;
    border-radius: 12px;
    /* Soft corners */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .about-split-section {
        flex-direction: column !important;
        /* Force stack */
        gap: 30px;
        margin-bottom: 60px;
    }

    .about-split-section.reverse {
        flex-direction: column !important;
        /* Stack normally (Text then Image, or Image then Text?) */
        /* If we want image first on mobile for Section 2 (which is Text, Image in DOM): */
        /* flex-direction: column-reverse !important; would put image first. */
    }

    .about-split-img {
        height: 500px;
        /* Slightly shorter on mobile but still vertical */
        max-height: 70vh;
    }
}

/* --- Extracted Inline Styles (Lint Fixes) --- */


.mobile-member-link {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
}

.service-detail-content.wide {
    max-width: 1200px;
    padding: 40px 20px;
}

.cta-actions-container {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Bulk Cleanup Utility Classes --- */
.text-center-large {
    text-align: center;
    margin-top: 80px;
    font-size: 2rem;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    margin-top: 10px;
}

.footer-credits {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 10px;
    letter-spacing: 1px;
}

.admin-panel-container {
    display: none;
    max-width: 900px;
    margin: 0 auto 60px;
}

.admin-panel-title {
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
}

.admin-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.admin-section-title {
    font-family: var(--font-serif);
    margin-bottom: 15px;
}

.form-group-row {
    display: flex;
    gap: 10px;
}

.form-group-half {
    flex: 1;
}

.admin-toggle-btn {
    display: none;
    margin: 20px auto 0;
    background-color: #333;
    color: white;
}

.user-name-display {
    margin-right: 15px;
    font-weight: 500;
}

/* --- Theme Page Utilities --- */
.btn-back-dashboard {
    padding: 8px 16px !important;
    font-size: 0.8em !important;
}

.meditation-subtitle {
    font-size: 0.9rem;
    color: #666;
}

.footer-margin-top {
    margin-top: 60px;
}

/* Auth Page Utilities */
.password-wrapper {
    position: relative;
}

.password-input {
    padding-right: 40px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.auth-small-text {
    font-size: 0.6rem;
    opacity: 0.5;
    display: block;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* Admin Panel Utilities */
.admin-icon {
    margin-right: 10px;
    width: 18px;
}

.admin-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.members-header-flex {
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.members-actions-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.access-mode-toggle-btn {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.admin-list-container {
    border-left: 1px solid #eee;
    padding-left: 40px;
}

.admin-textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 8px;
}

.bg-whitesmoke {
    background: whitesmoke;
}

.color-input {
    width: 50px;
    height: 35px;
    padding: 0;
    border: none;
    cursor: pointer;
}

.color-text-input {
    width: 80px;
    text-transform: uppercase;
}

.admin-input-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: whitesmoke;
}

.admin-help-text {
    color: #666;
}

.admin-action-bar {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    background: white;
    padding: 15px;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* More Admin Utils to remove inline styles */
.mb-40 {
    margin-bottom: 40px;
}

.mobile-member-link-block {
    display: block;
    padding: 10px 0;
}

.flex-align-center-gap-10 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flex-gap-20-center {
    display: flex;
    gap: 20px;
    align-items: center;
}

.bg-whitesmoke-rounded {
    background: whitesmoke;
    padding: 10px;
    border-radius: 8px;
}

.w-18-h-18 {
    width: 18px;
    height: 18px;
}

.margin-0 {
    margin: 0 !important;
}

.admin-file-url-input {
    margin-bottom: 5px;
    background: whitesmoke;
    border: 1px solid #ddd;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

/* ─── File Preview Card ─────────────────────────────── */
.file-preview-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 8px;
    transition: border-color 0.2s, background 0.2s;
}

.file-preview-box.pending-delete {
    background: #fff5f5;
    border-color: #f28b82;
    opacity: 0.8;
}

.file-preview-media {
    flex-shrink: 0;
}

.file-preview-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.file-preview-icon {
    width: 72px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    border-radius: 8px;
    color: #666;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-preview-info .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.file-preview-actions {
    display: flex;
    gap: 6px;
}

.file-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1.5px solid #ccc;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    color: #555;
    transition: all 0.15s;
}

.file-preview-btn.keep.active {
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32;
}

.file-preview-btn.remove.active {
    border-color: #d32f2f;
    background: #ffebee;
    color: #c62828;
}

.file-preview-btn:hover {
    filter: brightness(0.95);
}

/* Booking / Content Page Utilities */
.content-padded {
    padding-top: 120px;
    min-height: 60vh;
}

.booking-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #666;
}

.btn-with-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

/* --- New Premium Service Carousel --- */
.services-carousel-wrapper {
    position: relative;
    /* Reduced width as requested */
    width: 90vw;
    margin-left: calc(-45vw + 50%);
    /* Centered */
    overflow: hidden;
    padding: 0 5%;
    /* Responsive padding for arrows */
}

.services-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 120px) / 3);
    /* Desktop Width */
    align-items: stretch;
    overflow-x: auto;
    scroll-behavior: auto !important;
    gap: 30px;
    padding: 0 30px 50px 30px;
    /* Increased bottom padding */
    /* Added 30px padding Left/Right for edge gaps */
    cursor: grab;
    -ms-overflow-style: none;

    /* IE and Edge handled by -ms-overflow-style above */
}

@supports (scrollbar-width: none) {
    .services-carousel {
        scrollbar-width: none;
        /* Firefox */
    }
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

.services-carousel.active {
    cursor: grabbing;
}

/* Navigation Arrows */
/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.2s;
    opacity: 0.8;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.carousel-arrow.prev {
    left: 2%;
}

.carousel-arrow.next {
    right: 2%;
}

/* Snap properties */
.services-carousel {
    scroll-snap-type: x mandatory;
}

.premium-card {
    scroll-snap-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .carousel-arrow {
        display: none !important;
    }

    .services-carousel-wrapper {
        width: 100vw;
        margin-left: -50vw;
        left: 50%;
        padding: 0;
        overflow: visible;
        /* Prevent clipping */
    }

    .services-carousel {
        grid-auto-columns: 280px;
        /* Mobile Width */
        gap: 30px;
    }

    .premium-card {
        /* On mobile, show fewer cards? Or allow them to snap center */
        /* Currently it's flexible, but let's ensure snap aligns nicely */
        scroll-snap-align: center;
    }
}

/* Premium Card Design */
.premium-card {
    /* Dynamic Layout handled by Grid Container now */
    height: 100%;
    /* Fill Grid Cell Height */
    width: 100%;
    /* Fill Grid Cell Width */
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Loading Placeholder */
.loading-placeholder {
    color: var(--color-text-light);
    min-width: 300px;
    width: 100%;
}

/* Top Half: Visual */
.premium-card-top {
    position: relative;
    height: 350px;
    /* Square-ish top */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Overlay Removed: styles moved to JS multiple backgrounds */

.premium-card-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
}

.premium-title {
    font-family: var(--font-serif);
    /* e.g., Cormorant */
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    line-height: 1.1;
}

.premium-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.premium-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.75rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.premium-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Bottom Half: Info */
.premium-card-bottom {
    background-color: #4a4e32;
    /* Dark Olive/Brown from image idea. Adjust to match theme or explicit color */
    color: white;
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.premium-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    font-family: var(--font-sans);
}

.premium-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    /* Push to bottom */
}

.btn-premium-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 10px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-premium-outline:hover {
    background: white;
    color: #4a4e32;
    /* Match card-bottom bg */
    border-color: white;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .services-carousel {
        grid-auto-columns: 280px;
        /* Mobile Width */
        gap: 30px;
        /* Standard gap */
    }

    .premium-card {
        min-height: 0;
        overflow: visible;
    }

    .premium-card-top {
        height: 200px;
    }

    .premium-card-bottom {
        padding: 20px 15px 40px 15px !important;
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        flex-grow: 1;
    }

    .premium-actions {
        margin-bottom: 10px;
    }

    .premium-desc {
        flex: 0 0 auto;
        height: 150px;
        /* Fixed height for text */
        overflow: hidden;
        /* Hide excess text */
        margin-bottom: 20px;
    }

    .premium-desc * {
        font-size: 0.725rem !important;
        /* Force override TinyMCE */
        line-height: 1.4 !important;
        /* Force override TinyMCE */
    }

    .services-carousel-wrapper {
        padding: 0 10px;
        overflow: visible;
    }
}


/* End of File */


/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: block;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

.float-whatsapp img {
    width: 60px;
    height: 60px;
    display: block;
}

/* Admin Utils */
.admin-logo-preview-img {
    max-height: 50px;
    margin-top: 10px;
    display: block;
    object-fit: contain;
}


/* --- Testimonials Carousel (Public Fix) --- */
.reviews-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: var(--color-bg);
    /* Ensure matching bg */
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
    /* Hide scrollbar */
    -ms-overflow-style: none;
}

@supports (scrollbar-width: none) {
    .carousel-container {
        scrollbar-width: none;
        /* Firefox */
    }
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Public Review Card */
.review-card {
    flex: 0 0 100%;
    /* Strictly one card per view */
    scroll-snap-align: center;
    padding: 40px;
    text-align: center;
    background: #fff;
    /* White card */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    /* Vertical breathing room */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Card Content */
.review-card p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: #4a4e32;
    /* Contrast text */
    margin-bottom: 20px;
    line-height: 1.5;
}

.review-card .author {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Buttons */
.nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
    padding: 10px;
    z-index: 10;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    transform: scale(1.1);
    color: var(--color-primary);
}

.nav-btn svg {
    width: 32px;
    height: 32px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .reviews-section {
        padding: 40px 0;
    }

    .carousel-wrapper {
        max-width: 100%;
        padding: 0;
        /* Remove padding to fix alignment */
    }

    .review-card {
        padding: 30px 20px;
        border-radius: 12px;
        margin: 0;
        /* Align perfectly */
        border: none;
        /* Clean look */
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }

    .review-card p {
        font-size: 1.1rem;
    }

    .nav-btn {
        display: none !important;
        /* Hide Arrows */
    }
}


/* About Page Split Layout */
.about-split-section {
    display: flex;
    align-items: flex-start;
    /* Ensure top alignment */
    gap: 40px;
    margin-bottom: 60px;
}

.about-split-section .about-image-container,
.about-split-section .about-text-content {
    flex: 1;
}

/* Lower specific images to align with paragraph text */
/* Lower specific images to align with paragraph text */
#about-intro .about-image-container {
    margin-top: 20px;
}

/* User Req: Text down, Image up */
#about-art .about-text-content {
    margin-top: 10px;
    /* Push text down */
}

#about-art .about-image-container {
    margin-top: 40px;
    /* Pull image up (reduced from 150px) */
}

@media (max-width: 768px) {
    .about-split-section {
        flex-direction: column;
    }

    .about-split-section .about-image-container {
        order: -1;
        /* Image always on top on mobile */
    }

    .about-split-section#about-art .about-image-container {
        border: none;
        /* Ensure it inherits order: -1 from above, or explicitly set it */
        order: -1 !important;
    }

    /* Reset margins on mobile */
    #about-art .about-text-content,
    #about-art .about-image-container {
        margin-top: 0;
    }
}


/* --- Service Card Refinements (Session Fixes v3 - Fixed Height) --- */
.premium-card {
    display: flex;
    flex-direction: column;
    height: 600px !important;
    /* Fixed Height as requested (600px) */
}

.premium-card-top {
    flex: 1;
    /* 50% height */
    min-height: 0;
    /* Flex fix */
}

.premium-card-bottom {
    flex: 1;
    /* 50% height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 20px !important;
    overflow: hidden;
    /* Prevent spill */
}

.premium-desc {
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 12px !important;
    flex-grow: 1;
    overflow: hidden;
    /* Cut off text if too long */
}

.premium-actions {
    display: flex !important;
    flex-direction: row !important;
    /* Force row */
    flex-wrap: nowrap !important;
    /* preventing wrap */
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.btn-premium-outline {
    flex: 1;
    /* Equal focus */
    text-align: center;
    padding: 8px 4px !important;
    /* Slightly reduced horizontal padding */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Button Hover Refinement */
.btn-premium-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    border-color: white !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* --- Admin Panel Redesign (Horizontal Services) --- */
.admin-service-list-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

.admin-service-list-horizontal .admin-event-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    width: 140px;
    height: auto;
    padding: 10px !important;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-service-list-horizontal .admin-event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.admin-service-list-horizontal .event-info {
    margin-bottom: 10px;
}

.admin-service-list-horizontal .event-info strong {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom Input Style for Services */
.input-sand {
    background-color: #E1D7CE !important;
    border: 1px solid #c9bdae !important;
    color: #333 !important;
}

.input-sand::placeholder {
    color: #7a7065;
}

.input-sand:focus {
    border-color: #8c7e6e !important;
    background-color: #e8ded5 !important;
}

/* --- Fix Premium Card Overlay --- */
.premium-card {
    position: relative;
    overflow: hidden;
}

.premium-card-top {
    position: relative;
}

.premium-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.premium-card-content {
    position: relative;
    z-index: 2;
}

.premium-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.1;
    /* Reduced line height as requested */
    color: #fff;
    font-family: var(--font-serif);
}

.premium-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.3;
}

.premium-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff;
    /* Ensure good contrast on dark cards */
}

/* Helper for Small Color Inputs */
.input-color-sm {
    height: 30px;
    cursor: pointer;
    padding: 0px !important;
    width: 100%;
    border: none;
    background-color: #E1D7CE;
    /* input-sand default */
}

/* Fix Lints: Clean up inline styles */

/* About page: full-width title */
.about-title-full {
    width: 100%;
    margin-bottom: 40px;
}

/* About page: title with bottom margin */
.about-title-mb {
    margin-bottom: 30px;
}

/* About page: left-aligned CTA buttons */
.cta-actions--left {
    justify-content: flex-start;
    margin-top: 30px;
}

/* Dashboard: Testimonials background color input */
.svc-testi-bg-input {
    width: 50px;
    height: 40px;
    padding: 0;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 4px;
}

/* Fix Lints: Clean up dashboard inline styles */
.admin-textarea-large {
    height: 170px;
    resize: none;
}

.input-file-full {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.icon-14 {
    width: 14px;
}

.h-100 {
    height: 100%;
}

.input-range-full {
    width: 100%;
    height: 5px;
    cursor: pointer;
}

.fs-9 {
    font-size: 9px;
}


/* =========================================
   Admin Styles
   ========================================= */
.admin-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* Legal Section (Privacy/Terms) - Clear Fixed Header */
.legal-section {
    padding-top: 160px;
}

/* Dashboard spacing override */
.dashboard-page .section-padding {
    padding-top: 160px;
}

/* Admin Toggle Button (Restored) */
.admin-toggle-btn {
    display: none;
    /* JS toggles to flex */
    margin: 20px auto 40px auto;
    background-color: #2c2c2c;
    color: #e6dfc8;
    border-radius: 50px;
    padding: 12px 35px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid #444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-toggle-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Testimonials Selector Grid Layout */
.testimonial-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.testimonial-selector-card {
    position: relative;
    border: 1px solid #eee;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-selector-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Hide actual checkbox but keep functionality */
.testimonial-selector-card input[type="checkbox"] {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(1.3);
    cursor: pointer;
    z-index: 2;
    accent-color: var(--color-primary);
}

/* Selected State */
.testimonial-selector-card.selected {
    border: 2px solid var(--color-primary);
    background-color: var(--color-secondary-beige);
}

.testimonial-card-header {
    font-weight: 600;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin-right: 30px;
    /* Space for checkbox */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-card-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
    margin-top: 5px;
}

/* Admin Review Card (New Layout) */
.admin-review-card {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s;
}

.admin-review-card:hover {
    background: #fcfcfc;
}

.admin-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.admin-review-title-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
    /* Enable truncation in flex child */
}

.admin-review-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
    flex-shrink: 0;
    /* Keep name full width if possible */
}

.admin-review-role-separator {
    color: #999;
    flex-shrink: 0;
}

.admin-review-role {
    font-size: 0.85rem;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Allow it to shrink */
    min-width: 0;
}

.admin-review-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-icon-sm {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 4px;
}

.btn-icon-sm svg {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}

.btn-icon-sm:hover {
    color: var(--color-primary);
    background: #eee;
}

.btn-icon-sm.delete:hover {
    color: #ef4444;
    background: #fee2e2;
}

.admin-review-text {
    font-size: 12px;
    color: #000;
    line-height: 1.3;
    margin: 0;
    font-family: sans-serif;
    font-weight: 400;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#admin-reviews-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for the list */
#admin-reviews-list::-webkit-scrollbar {
    width: 6px;
}

#admin-reviews-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

/* Fix for Outline Button Visibility */
.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary) !important;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

/* Legal Pages */
.legal-section {
    padding: 160px 0 60px 0;
    min-height: 60vh;
}

.legal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.legal-content h1,
.legal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* --- Utilities for Inline Fixes --- */
.resource-display {
    border: 1px solid #ddd;
}

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

.text-break-all {
    word-break: break-all;
}

.btn-remove-sm {
    color: red !important;
    font-size: 0.8rem !important;
}

.progress-track {
    background: #ddd;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    background: var(--color-primary);
    width: 0%;
    height: 100%;
    transition: width 0.2s;
}

.legal-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.legal-content strong {
    font-weight: 600;
}

/* --- Dashboard Grid View --- */
.meditations-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.meditation-grid-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 300px;
    /* Fixed height as requested */
    display: flex;
    flex-direction: column;
}

.meditation-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.grid-card-image {
    height: 200px;
    /* Dominant image */
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* =========================================
   Service Detail Styles (Moved from Inline)
   ========================================= */
.service-detail-header {
    background: var(--bg-color-alt);
    padding: 150px 20px 60px;
    text-align: center;
}

.service-detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-main);
    width: 100%;
    box-sizing: border-box;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 40px;
}

.testimonial-card-highlight {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-style: italic;
    color: #666;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}

/* =========================================
   Universal Carousel Container
   ========================================= */
.carousel-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
    /* Space for scrollbar or shadow */
    width: 100%;
    /* Hide Scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
}

@supports (scrollbar-width: none) {
    .carousel-container {
        scrollbar-width: none;
        /* Firefox */
    }
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Mobile Responsiveness for Services */
@media (max-width: 768px) {
    .service-detail-header {
        padding: 100px 20px 40px;
    }

    .service-detail-content {
        padding: 40px 20px;
        font-size: 1rem;
    }

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

    /* Ensure internal paragraph text breaks if needed */
    .service-detail-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .cta-actions {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .cta-actions .btn,
    .cta-actions .btn-outline {
        width: 100%;
        text-align: center;
        display: block;
    }

    .premium-desc {
        font-size: 1.1rem;
        /* Larger font for mobile readability */
    }
}

/* --- Admin Service Card Mini (Horizontal 170px Layout) --- */
#admin-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.admin-service-card-mini {
    position: relative;
    width: 172px;
    /* 170px content + border */
    height: auto !important;
    /* Override any fixed height */
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    cursor: grab;
    transition: transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #ddd;
}

.admin-service-card-mini:active {
    cursor: grabbing;
}

.admin-service-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.mini-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px 8px 0 0;
}

.mini-card-img-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #4F553D 0%, #30332E 100%);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide old overlay (kept for safety) */
.mini-card-overlay {
    display: none !important;
}

.mini-card-title {
    padding: 8px 5px;
    color: #333;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.2;
    background: #fff;
    border-top: 1px solid #eee;
    min-height: 45px;
    /* Ensure 2 lines fit */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-card-actions {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.btn-icon-action {
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    color: #555;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon-action svg {
    width: 16px;
    height: 16px;
}

.btn-icon-action:hover {
    background-color: #eee;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-icon-action.delete:hover {
    color: #e53e3e;
    background-color: #fee2e2;
    border-color: #e53e3e;
}

/* --- Testimonials Selector (Round 4 - Sorted Cards) --- */
.testimonials-selector-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.testimonial-card-v4 {
    position: relative;
    border: 1px solid #eee;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-card-v4:hover {
    border-color: #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Selection State */
.testimonial-card-v4.selected {
    border: 2px solid var(--color-primary);
    background-color: var(--color-secondary-beige, #fcfcfc);
    /* Fallback */
}

.testimonial-card-v4 input[type="checkbox"] {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(1.3);
    cursor: pointer;
    z-index: 2;
}

/* Line 1: Name (Bold) */
.card-line-1 {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    padding-right: 30px;
    /* Space for checkbox */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Line 2: Text (Plain, Truncated) */
.card-line-2 {
    font-weight: 400;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit roughly to 3 visual lines of text if long */
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em;
    /* Ensure some height consistency */
}

/* Line 3: Role (Bold) */
.card-line-3 {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-top: auto;
    /* Push to bottom if flex column grows */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Testimonials Selector (Compact Version) --- */
.testimonials-selector-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* Slightly narrower col */
    gap: 10px;
    /* Reduced gap */
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
    /* Reduced padding */
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.testimonial-card-v4 {
    position: relative;
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
    /* Reduced padding from 15px */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Reduced gap from 8px */
}

/* Checkbox position adjustment */
.testimonial-card-v4 input[type="checkbox"] {
    position: absolute;
    top: 10px;
    right: 10px;
    transform: scale(1.1);
    /* Slightly smaller scale */
}

/* Line 1: Name (Compact) */
.card-line-1 {
    font-weight: 700;
    font-size: 0.85rem;
    /* Reduced from 0.95rem */
    color: #333;
    padding-right: 25px;
    margin-bottom: 2px;
}

/* Line 2: Text (Compact) */
.card-line-2 {
    font-weight: 400;
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
    color: #555;
    line-height: 1.3;
    /* Tighter line height */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
    /* Remove fixed min-height for compactness */
}

/* Line 3: Role (Compact) */
.card-line-3 {
    font-weight: 700;
    font-size: 0.75rem;
    /* Reduced from 0.85rem */
    color: var(--color-primary);
    margin-top: 4px;
}

/* --- Testimonials Text Override (10px) --- */
.testimonial-card-v4 .card-line-2 {
    font-size: 10px !important;
    line-height: 1.25;
}

/* --- Testimonials Carousel (Public Fix - Robust) --- */
.reviews-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: var(--color-bg);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 480px;
    /* Increased to account for taller testimonials cards */
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
    -ms-overflow-style: none;
}

@supports (scrollbar-width: none) {
    .carousel-container {
        scrollbar-width: none;
    }
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Desktop Card Style */
.review-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: #4a4e32;
    margin-bottom: 20px;
    line-height: 1.5;
}

.review-card .author {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nav Buttons */
.nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
    padding: 10px;
    z-index: 10;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    transform: scale(1.1);
    color: var(--color-primary);
}

.nav-btn svg {
    width: 32px;
    height: 32px;
}

/* Mobile Breakout Layout - High Specificity Force */
@media (max-width: 768px) {
    .reviews-section {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .carousel-wrapper {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        padding: 0 !important;
    }

    .carousel-container {
        padding: 0 !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* Target with ID for max specificity */
    #dynamic-testimonials-container .review-card,
    .carousel-container .review-card {
        flex: 0 0 85vw !important;
        width: 85vw !important;
        min-width: 85vw !important;
        max-width: 85vw !important;
        margin: 0 7.5vw !important;
        /* Center: (100-85)/2 */
        padding: 30px 20px !important;
        border-radius: 12px !important;
        border: none !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
        scroll-snap-align: center;
    }

    .review-card p {
        font-size: 1.1rem !important;
    }

    .nav-btn {
        display: none !important;
    }
}

/* --- About Page CTA Buttons --- */
.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-actions {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 15px;
    }

    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* --- About Page CMS Styles --- */
.about-page-main {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    /* Robust grow */
    min-height: 100vh;
    /* Ensure it takes at least full screen */
}

.about-split-section {
    width: 100%;
    padding: 0;
    /* Remove padding to ensure sections touch */
}

.about-split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 20px;
    /* Content Padding */
}

.about-image-container,
.about-text-content {
    flex: 1;
    width: 100%;
}

.about-split-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .about-split-container {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
        padding: 40px 20px;
    }

    .cta-actions {
        justify-content: center !important;
    }
}

/* CMS Variables Application */
#about-intro {
    background-color: var(--about-intro-bg, #ffffff);
    color: var(--about-intro-text, #000000);
    padding-top: 100px;
    margin-bottom: 0 !important;
    /* Ensure no gap after intro */
}

#about-art {
    background-color: var(--about-art-bg, #f7f2e0);
    color: var(--about-art-text, #000000);
    margin-top: 0 !important;
    /* Ensure no gap before art */
    padding-bottom: 0 !important;
    /* Remove padding so footer sits at bottom */
    flex-grow: 1;
    /* Stretch to fill remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ensure footer connects */
/* Ensure footer connects */
/* Ensure footer connects */
.about-footer {
    border-top: none !important;
    box-shadow: none !important;
    padding-top: 40px !important;
    padding-bottom: 20px !important;
    background: transparent !important;
    color: inherit !important;
    width: 100%;
}

.about-footer .container,
.about-footer .footer-content {
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    /* Prevent flex interference */
}

.about-footer p,
.about-footer a,
.about-footer span {
    color: inherit !important;
    opacity: 0.8;
}

.about-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Global gap fix for split sections */
.about-split-section+.about-split-section {
    margin-top: 0;
}

/* --- About Page V2 (Refactor) --- */

.about-v2-body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.about-v2-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

.about-v2-section {
    width: 100%;
    /* padding: 60px 0; */
    padding: 0;
    /* Reset internal padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* transition: background-color 0.3s ease; */
}

/* Section 1: Intro */
#about-intro.about-v2-section {
    background-color: var(--about-intro-bg, #ffffff);
    color: var(--about-intro-text, #000000);
    padding-top: 150px;
}

/* Section 2: Expanded Art with Footer */
.about-v2-expanded {
    flex-grow: 1;
    background-color: var(--about-art-bg, #f7f2e0);
    color: var(--about-art-text, #000000);
    padding-bottom: 0 !important;
    justify-content: space-between;
}

/* Specific Footer Override for V2 */
.about-v2-expanded .about-footer {
    color: var(--color-footer-text, #80864f) !important;
    background-color: var(--color-footer-bg, #f7f2e0) !important;
    /* Fixed: Allow footer BG color */
    margin-top: 0 !important;
    /* Reset margin since it is inside flex */
}

.about-v2-expanded .about-footer p,
.about-v2-expanded .about-footer a,
.about-v2-expanded .about-footer span {
    color: inherit !important;
    opacity: 1;
}

/* Grid Layout */
.about-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    /* Internal content padding */
    flex-grow: 1;
    /* Fill space inside the expanded section */
}

/* Images */
.about-v2-img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-v2-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 550px;
}

.about-Formatted-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 900px) {
    .about-v2-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 40px 20px;
    }

    .about-v2-col-text h1,
    .about-v2-col-text .cta-actions,
    .about-v2-col-text h1.section-title.text-left-md {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Reverse Mobile for Art Section (Image Top, Text Bottom is typical, or keep as is) */
    /* User usually prefers Image -> Text flow on mobile */
    /* Reverse Mobile for Art Section */
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-v2-expanded {
        padding-top: 40px;
    }
}

/* Closing @media (max-width: 900px) */

/* --- Service Detail Hero Layout (Parallax Style) --- */

/* Full-width Section with Background Image */
.svc-hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    /* Occupy most of screen */
    background-size: cover !important;
    /* Force cover to prevent tiling */
    background-position: center !important;
    background-repeat: no-repeat !important;

    /* Flexbox to center the overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;

    /* Parallax Effect (Desktop) */
    background-attachment: fixed;
}

/* Overlay if no image - or purely for depth */
.svc-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for better contrast */
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* The Content Box (Semi-transparent) */
.svc-overlay-container {
    position: relative;
    z-index: 2;
    /* ABOVE the ::before overlay */
    width: 100%;
    max-width: 800px;
    /* Limit width */
    margin: 0 auto;
    /* Center horizontally */

    /* Default style */
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;

    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

    /* Text */
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    backdrop-filter: blur(10px);
}

/* Text styles within the overlay */
.svc-overlay-container h1,
.svc-overlay-container h2 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.svc-overlay-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .svc-hero-section {
        padding: 60px 20px;
        background-attachment: scroll;
        /* Disable parallax on mobile */
    }

    .svc-overlay-container {
        padding: 30px 20px;
    }
}

/* Closing @media (max-width: 768px) */

/* The Content Box (Semi-transparent) - Redefined for Desktop/General */
.svc-overlay-container {
    position: relative;
    z-index: 2;
    /* ABOVE the ::before overlay */
    width: 100%;
    max-width: 800px;
    /* Limit width */
    margin: 0 auto;
    /* Center horizontally */

    /* Default style - BG managed by JS now for strict opacity control */
    color: #333;

    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

    /* Text */
    text-align: center;
}

/* --- Utilities for Service Detail (Replacing Inline Styles) --- */
.visually-hidden-seo {
    display: none;
    /* Or use accessible hiding pattern if needed for SEO, but user had display:none */
}

.main-full-width {
    padding: 0 !important;
}

.cta-actions-container {
    padding: 40px 20px;
    background: var(--bg-color);
    text-align: center;
    /* Generally standard for CTA containers */
}

/* --- Carousel Enhancements for Service Detail --- */
.carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    /* Space for buttons */
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--color-primary-dark);
}

.carousel-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-card {
    flex: 0 0 350px !important;
    /* Precise width for carousel logic */
    max-width: 85vw !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
        /* Swipe is better on mobile */
    }

    .carousel-nav {
        display: none !important;
    }

    .carousel-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .carousel-card {
        flex: 0 0 85vw !important;
        min-width: 85vw !important;
        flex-shrink: 0 !important;
    }

    /* Dashboard Meditations Exception - Single Column */
    .dashboard-page .carousel-container {
        flex-direction: column !important;
        gap: 30px !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        padding: 20px 20px 50px 20px !important;
    }

    .dashboard-page .carousel-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        margin: 0 auto !important;
    }
}

/* Maintenance Mode Dashboard Styles */
details.admin-card.maintenance-card {
    border: 2px solid #28a745;
    /* Initial state is green outline */
    transition: all 0.3s ease;
}

details.admin-card.maintenance-card summary.maintenance-card-header {
    background: #e6f4ea;
    /* Soft green tint */
    color: #137333;
    /* Dark green text */
    position: relative;
    /* For absolute badge positioning */
}

.maintenance-header-pos {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    /* Slightly smaller for the header */
    padding: 4px 12px;
}

details.admin-card.maintenance-card.offline {
    border: 2px solid #dc3545;
    /* Red outline when offline */
}

details.admin-card.maintenance-card.offline summary.maintenance-card-header {
    background: #ffebeb;
    /* Visually distinct red tint */
    color: #dc3545;
    /* Red text */
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #137333 !important;
}

/* Maintenance Badge */
.maintenance-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    min-width: 100px;
    transition: background-color 0.3s ease;
}

.maintenance-badge.online {
    background-color: #28a745;
    color: white !important;
    border: 2px solid #1e7e34;
}

.maintenance-badge.offline {
    background-color: #dc3545;
    color: white !important;
    border: 2px solid #bd2130;
}

/* Fix for smooth scrolling anchor jump to contact form */
#contact {
    scroll-margin-top: 120px;
    /* Accounts for fixed navbar height */
}

/* Booking Page Form Wrappers */
.booking-contact-form-wrapper {
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-contact-form-wrapper h3 {
    text-align: center;
}

/* --- Service Detail CTA Button Group --- */
.svc-btn-group {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .svc-btn-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .svc-btn-group .btn {
        white-space: nowrap;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        padding: 10px 16px;
    }
}