@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@400;500;700&display=swap');

/* ==========================================================================
   CSS ARCHITECTURE: AGEWELLUGANDA
   Phase 2: Premium UI Framework (No JS)
   ========================================================================== */

/* 1. IMPORTS & VARIABLES */

:root {
    /* Color System */
    --primary-sage: #758A70;
    --primary-sage-dark: #4A5B46;
    --secondary-gold: #D4AF37;
    --secondary-gold-hover: #B5952F;
    --support-ivory: #FAF7F2;
    --support-beige: #EDE7DE;
    --text-charcoal: #2A2E2B;
    --text-light: #F4F6F4;
    
    /* Gradients & Overlays */
    --glass-bg: rgba(42, 46, 43, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hero-overlay: linear-gradient(135deg, rgba(42, 46, 43, 0.85) 0%, rgba(74, 91, 70, 0.75) 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-soft: 0 10px 30px rgba(42, 46, 43, 0.08);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-width: 1280px;
    --padding-section: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-charcoal);
    background-color: var(--support-ivory);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 3. BUTTONS & UI ELEMENTS */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
}

.btn-primary:hover {
    background-color: var(--secondary-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-charcoal);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-sage-dark);
    border: 1px solid var(--primary-sage-dark);
    margin-top: 2rem;
}

.btn-outline:hover {
    background-color: var(--primary-sage-dark);
    color: var(--text-light);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.section-kicker {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-sage);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.text-center { text-align: center; }

/* 4. NAVIGATION BAR (GLASSMORPHISM) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.navbar-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.brand-name {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--support-ivory);
    font-size: 0.95rem;
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--secondary-gold);
}

.nav-book-link {
    color: var(--secondary-gold) !important;
    font-weight: 700 !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-placeholder {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: var(--support-ivory);
    border-radius: 2px;
}

/* 5. HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1511884642898-4c92249e20b6?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: var(--padding-section);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: var(--text-light);
    margin-top: 4rem; /* Offset for navbar */
}

.hero-subtitle {
    display: block;
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--secondary-gold);
}

.hero-title {
    color: var(--text-light);
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 6. TRUST INDICATORS */
.trust-indicators {
    background-color: var(--support-beige);
    padding: 4rem clamp(1.5rem, 5vw, 4rem);
    position: relative;
    z-index: 10;
    margin-top: -2rem;
}

.trust-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-card {
    background: var(--support-ivory);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.trust-card:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: #555;
    font-size: 0.95rem;
}

/* 7. FOUNDER SECTION */
.founder-section {
    padding: var(--padding-section);
    background-color: var(--support-ivory);
}

.founder-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--support-beige);
}

.founder-img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-heavy);
}

.founder-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-sage);
    color: var(--support-ivory);
    padding: 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.founder-greeting {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary-sage-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.founder-text {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #444;
}

/* 8. FEATURED SERVICES */
.services-section {
    padding: var(--padding-section);
    background-color: var(--primary-sage-dark);
    color: var(--support-ivory);
}

.services-section .section-title {
    color: var(--support-ivory);
}

.services-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--support-beige);
    opacity: 0.8;
}

.services-scroll-container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.scroll-arrow {
    background: var(--support-ivory);
    color: var(--primary-sage-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    position: absolute;
    z-index: 10;
    transition: var(--transition-smooth);
}

.scroll-arrow:hover {
    background: var(--secondary-gold);
}

.scroll-left { left: -25px; }
.scroll-right { right: -25px; }

.services-track {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 3rem 0;
    scrollbar-width: none; /* Firefox */
}

.services-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.service-card {
    min-width: 450px;
    flex: 0 0 auto;
    background: var(--support-ivory);
    border-radius: var(--radius-lg);
    scroll-snap-align: center;
    color: var(--text-charcoal);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image-container {
    position: relative;
    height: 300px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-mini-card {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-heavy);
    z-index: 2;
    border: 1px solid var(--support-beige);
}

.specialist-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.specialist-info {
    display: flex;
    flex-direction: column;
}

.specialist-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-sage-dark);
}

.specialist-exp {
    font-size: 0.75rem;
    color: #666;
}

.specialist-tag {
    font-size: 0.7rem;
    background: var(--support-beige);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-top: 4px;
    width: fit-content;
}

.service-content {
    padding: 3rem 2rem 2rem 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.view-service-link {
    font-weight: 700;
    color: var(--secondary-gold);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

/* 9. ABOUT SECTION */
.about-section {
    padding: var(--padding-section);
    background-color: var(--support-beige);
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    transition: var(--transition-smooth);
}

.about-video-wrapper:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 46, 43, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.play-icon {
    width: 80px;
    height: 80px;
    background: var(--support-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-sage-dark);
    padding-left: 5px; /* Visual center for triangle */
}

.about-list {
    list-style: none;
    margin: 2rem 0;
}

.about-list li {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #444;
}

.about-list li span {
    color: var(--secondary-gold);
    font-weight: bold;
}

/* 10. QUOTE SECTION */
.quote-section {
    position: relative;
    padding: clamp(6rem, 12vw, 10rem) 2rem;
    background-image: url('https://images.unsplash.com/photo-1499810631641-541e76d678a2?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 46, 43, 0.7);
}

.quote-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.wellness-quote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--secondary-gold);
    line-height: 1.3;
    font-style: italic;
}

/* 11. FOOTER */
.premium-footer {
    background-color: var(--text-charcoal);
    color: var(--support-ivory);
    padding: 6rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.footer-statement {
    color: var(--support-beige);
    opacity: 0.7;
    font-size: 1rem;
    max-width: 300px;
}

.premium-footer h4 {
    color: var(--support-ivory);
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--support-beige);
    opacity: 0.7;
}

.footer-links a:hover {
    color: var(--secondary-gold);
    opacity: 1;
}

.footer-contact p {
    color: var(--support-beige);
    opacity: 0.7;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-placeholder {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--support-beige);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.social-placeholder:hover {
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
    border-color: var(--secondary-gold);
}

.footer-bottom {
    text-align: center;
    color: var(--support-beige);
    opacity: 0.5;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--support-beige);
}

.footer-bottom a:hover {
    color: var(--support-ivory);
}

/* 12. RESPONSIVE DESIGN (MEDIA QUERIES) */

/* Large Tablets / Small Desktops */
@media (max-width: 1024px) {
    .founder-container, .about-container {
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-primary {
        display: none;
    }
    
    .mobile-menu-placeholder {
        display: flex;
    }

    .founder-container, .about-container {
        grid-template-columns: 1fr;
    }
    
    .founder-image-wrapper {
        margin-bottom: 2rem;
    }

    .service-card {
        min-width: 85vw;
    }
    
    .scroll-arrow {
        display: none; /* Hide visual arrows on touch devices */
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .founder-badge {
        right: 10px;
        bottom: -15px;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   CSS ARCHITECTURE: AGEWELLUGANDA
   Phase 2.1: Premium Services Page (No JS)
   ========================================================================== */

/* 1. IMPORTS & VARIABLES */

:root {
    /* Color System */
    --primary-sage: #758A70;
    --primary-sage-dark: #4A5B46;
    --secondary-gold: #D4AF37;
    --secondary-gold-hover: #B5952F;
    --support-ivory: #FAF7F2;
    --support-beige: #EDE7DE;
    --text-charcoal: #2A2E2B;
    --text-light: #F4F6F4;
    
    /* Gradients & Overlays */
    --glass-bg: rgba(42, 46, 43, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hero-overlay: linear-gradient(135deg, rgba(42, 46, 43, 0.85) 0%, rgba(74, 91, 70, 0.75) 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-soft: 0 10px 30px rgba(42, 46, 43, 0.08);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-width: 1280px;
    --padding-section: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-charcoal);
    background-color: var(--support-ivory);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 3. NAVIGATION BAR (REUSED SYSTEM) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.navbar-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand { display: flex; align-items: center; gap: 1rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--font-heading); color: var(--text-light); font-size: 1.5rem; font-weight: 700; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--support-ivory); font-size: 0.95rem; font-weight: 400; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary-gold); }
.nav-book-link { color: var(--secondary-gold) !important; font-weight: 700 !important; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--secondary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.mobile-menu-placeholder { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger-line { width: 25px; height: 2px; background-color: var(--support-ivory); border-radius: 2px; }

/* 4. SERVICES HEADER / INTRO */
.services-hero {
    position: relative;
    padding: clamp(10rem, 15vw, 14rem) 2rem 6rem 2rem;
    background-image: url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.page-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.page-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.8;
}

/* 5. SERVICES CATALOG (ALTERNATING RHYTHM) */
.services-catalog {
    background-color: var(--support-ivory);
    padding: var(--padding-section);
}

.catalog-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(6rem, 10vw, 10rem);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Alternating logic applied directly to HTML structure via class */
.service-block.reverse-layout {
    direction: rtl;
}

.service-block.reverse-layout > * {
    direction: ltr;
}

.service-visual {
    position: relative;
    border-radius: var(--radius-lg);
}

.main-service-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    object-fit: cover;
}

/* Specialist Mini-Card (Floating Badge) */
.specialist-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-heavy);
    z-index: 5;
    min-width: 280px;
}

.service-block.reverse-layout .specialist-badge {
    right: auto;
    left: -30px; /* Swap sides for reverse layout */
}

.badge-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-name {
    font-weight: 700;
    color: var(--primary-sage-dark);
    font-size: 1.05rem;
}

.badge-exp {
    font-size: 0.85rem;
    color: #666;
    margin: 2px 0;
}

.badge-spec {
    font-size: 0.75rem;
    background: var(--support-beige);
    color: var(--text-charcoal);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    width: fit-content;
    font-weight: 600;
}

/* Service Details Content */
.service-details {
    padding: 2rem 0;
}

.service-focus {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-sage);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-charcoal);
}

.service-description {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Call to Action Button */
.btn-schedule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.125rem;
    background-color: var(--text-charcoal);
    color: var(--secondary-gold);
    border: 1px solid var(--secondary-gold);
    transition: var(--transition-smooth);
}

.btn-schedule:hover {
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* 6. FOOTER (REUSED SYSTEM) */
.premium-footer {
    background-color: var(--text-charcoal);
    color: var(--support-ivory);
    padding: 6rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-logo { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 1.5rem; }
.footer-statement { color: var(--support-beige); opacity: 0.7; font-size: 1rem; max-width: 300px; }
.premium-footer h4 { color: var(--support-ivory); font-family: var(--font-body); font-size: 1.25rem; margin-bottom: 1.5rem; letter-spacing: 1px; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--support-beige); opacity: 0.7; }
.footer-links a:hover { color: var(--secondary-gold); opacity: 1; }

.footer-contact p { color: var(--support-beige); opacity: 0.7; margin-bottom: 1rem; display: flex; gap: 0.5rem; }
.social-icons { display: flex; gap: 1rem; }
.social-placeholder {
    width: 45px; height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--support-beige); transition: var(--transition-smooth); cursor: pointer;
}
.social-placeholder:hover {
    background-color: var(--secondary-gold); color: var(--text-charcoal); border-color: var(--secondary-gold);
}

.footer-bottom { text-align: center; color: var(--support-beige); opacity: 0.5; font-size: 0.875rem; }
.footer-bottom a { color: var(--support-beige); }
.footer-bottom a:hover { color: var(--support-ivory); }

/* 7. RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 1024px) {
    .service-block {
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Navbar Adjustment */
    .nav-links, .nav-actions .btn-primary { display: none; }
    .mobile-menu-placeholder { display: flex; }

    /* Service Layout Reset */
    .service-block, .service-block.reverse-layout {
        grid-template-columns: 1fr;
        direction: ltr; /* Reset text direction */
        gap: 4rem;
    }

    .service-block.reverse-layout > * {
        direction: ltr;
    }

    /* Badge Repositioning for Mobile */
    .specialist-badge {
        bottom: -40px;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        max-width: 350px;
        justify-content: center;
    }

    .service-block.reverse-layout .specialist-badge {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-details {
        padding-top: 3rem; /* Add breathing room below floating badge */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .specialist-badge {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .btn-schedule {
        width: 100%;
    }
}

/* ==========================================================================
   CSS ARCHITECTURE: AGEWELLUGANDA
   Phase 2.2: Premium Contact Page (No JS)
   ========================================================================== */

/* 1. IMPORTS & VARIABLES (Reused Base System) */

:root {
    /* Color System */
    --primary-sage: #758A70;
    --primary-sage-dark: #4A5B46;
    --secondary-gold: #D4AF37;
    --secondary-gold-hover: #B5952F;
    --support-ivory: #FAF7F2;
    --support-beige: #EDE7DE;
    --text-charcoal: #2A2E2B;
    --text-light: #F4F6F4;
    
    /* Gradients & Overlays */
    --glass-bg: rgba(42, 46, 43, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hero-overlay: linear-gradient(135deg, rgba(42, 46, 43, 0.85) 0%, rgba(74, 91, 70, 0.75) 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-soft: 0 10px 30px rgba(42, 46, 43, 0.08);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-width: 1280px;
    --padding-section: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-charcoal);
    background-color: var(--support-ivory);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 3. NAVIGATION BAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.navbar-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand { display: flex; align-items: center; gap: 1rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--font-heading); color: var(--text-light); font-size: 1.5rem; font-weight: 700; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--support-ivory); font-size: 0.95rem; font-weight: 400; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary-gold); }
.nav-book-link { color: var(--secondary-gold) !important; font-weight: 700 !important; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--secondary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.mobile-menu-placeholder { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger-line { width: 25px; height: 2px; background-color: var(--support-ivory); border-radius: 2px; }

/* 4. CONTACT HERO SECTION */
.contact-hero {
    position: relative;
    padding: clamp(10rem, 15vw, 14rem) 2rem 6rem 2rem;
    background-image: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.hero-subtitle {
    display: block;
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--secondary-gold);
}

.page-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.8;
}

/* 5. MAIN CONTACT SECTION (FORM & INFO) */
.contact-main-section {
    background-color: var(--support-beige);
    padding: var(--padding-section);
}

.contact-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: stretch;
}

/* Info Cards Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--support-ivory);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(117, 138, 112, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-sage);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-sage-dark);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-sage-dark);
}

.info-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Premium Form */
.contact-form-wrapper {
    background: var(--support-ivory);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-sage-dark);
    letter-spacing: 0.5px;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 1.25rem;
    background: var(--support-beige);
    border: 1px solid rgba(117, 138, 112, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-charcoal);
    transition: var(--transition-smooth);
}

.premium-form input:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--secondary-gold);
    background: var(--support-ivory);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.btn-submit {
    margin-top: 1rem;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.125rem;
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: var(--text-charcoal);
    color: var(--secondary-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* 6. WHATSAPP CTA BANNER */
.whatsapp-banner {
    position: relative;
    padding: clamp(5rem, 8vw, 7rem) 2rem;
    background-image: url('https://images.unsplash.com/photo-1511884642898-4c92249e20b6?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.whatsapp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 91, 70, 0.9) 0%, rgba(42, 46, 43, 0.85) 100%);
    z-index: 1;
}

.whatsapp-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

.whatsapp-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.whatsapp-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.whatsapp-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.125rem;
    background-color: var(--support-ivory);
    color: var(--primary-sage-dark);
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
}

/* 7. LOCATION & VISUAL SECTION */
.location-visual-section {
    background-color: var(--support-ivory);
    padding: var(--padding-section);
}

.location-visual-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

/* Map Placeholder */
.map-card {
    background: var(--support-beige);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.map-header {
    margin-bottom: 2rem;
}

.map-header h2 {
    font-size: 2.5rem;
    color: var(--primary-sage-dark);
    margin-bottom: 0.5rem;
}

.map-header p {
    color: #555;
    font-size: 1.1rem;
}

.map-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-heavy);
}

.map-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.map-image-wrapper:hover .map-placeholder-img {
    transform: scale(1.05);
}

.map-overlay-text {
    position: absolute;
    inset: 0;
    background: rgba(42, 46, 43, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.map-overlay-text span {
    background: var(--support-ivory);
    color: var(--text-charcoal);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
}

/* Wellness Visuals Grid */
.wellness-visuals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.visual-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.visual-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.visual-img-wide {
    grid-column: 1 / -1;
    height: 300px;
}

/* 8. FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 70px;
    height: 70px;
    background-color: var(--secondary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    z-index: 999;
    transition: var(--transition-smooth);
    border: 2px solid var(--support-ivory);
    color: var(--support-ivory) !important;
    text-decoration: none;
}
.floating-whatsapp i {
    font-size: 2.2rem;
    line-height: 1;
}

.floating-icon {
    font-size: 2.2rem;
    line-height: 1;
    margin-top: 2px;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: var(--primary-sage-dark);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* 9. FOOTER (Reused Base System) */
.premium-footer {
    background-color: var(--text-charcoal);
    color: var(--support-ivory);
    padding: 6rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-logo { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 1.5rem; }
.footer-statement { color: var(--support-beige); opacity: 0.7; font-size: 1rem; max-width: 300px; }
.premium-footer h4 { color: var(--support-ivory); font-family: var(--font-body); font-size: 1.25rem; margin-bottom: 1.5rem; letter-spacing: 1px; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--support-beige); opacity: 0.7; }
.footer-links a:hover { color: var(--secondary-gold); opacity: 1; }

.footer-contact address p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    font-style: normal;
    color: var(--support-beige);
    opacity: 0.7;
}
.footer-contact address p i {
    color: var(--secondary-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}
.social-icons { display: flex; gap: 1rem; }
.social-placeholder {
    width: 45px; height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--support-beige); transition: var(--transition-smooth); cursor: pointer;
}
.social-placeholder:hover {
    background-color: var(--secondary-gold); color: var(--text-charcoal); border-color: var(--secondary-gold);
}

.footer-bottom { text-align: center; color: var(--support-beige); opacity: 0.5; font-size: 0.875rem; }
.footer-bottom a { color: var(--support-beige); }
.footer-bottom a:hover { color: var(--support-ivory); }

/* 10. RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 1024px) {
    .contact-container, .location-visual-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Navbar Adjustment */
    .nav-links, .nav-actions .btn-primary { display: none; }
    .mobile-menu-placeholder { display: flex; }

    /* Forms & Grid Resets */
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .wellness-visuals-grid {
        grid-template-columns: 1fr;
    }
    
    .visual-img, .visual-img-wide {
        height: 250px;
    }
    
    .map-overlay-text span {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   CSS ARCHITECTURE: AGEWELLUGANDA
   Phase 2.3: Premium About Us Page (No JS)
   ========================================================================== */

/* 1. IMPORTS & VARIABLES */

:root {
    /* Color System */
    --primary-sage: #758A70;
    --primary-sage-dark: #4A5B46;
    --secondary-gold: #D4AF37;
    --secondary-gold-hover: #B5952F;
    --support-ivory: #FAF7F2;
    --support-beige: #EDE7DE;
    --text-charcoal: #2A2E2B;
    --text-light: #F4F6F4;
    
    /* Gradients & Overlays */
    --glass-bg: rgba(42, 46, 43, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hero-overlay: linear-gradient(135deg, rgba(42, 46, 43, 0.85) 0%, rgba(74, 91, 70, 0.75) 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-soft: 0 10px 30px rgba(42, 46, 43, 0.08);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-width: 1100px; /* Slightly narrower for reading comfort on About Page */
    --padding-section: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-charcoal);
    background-color: var(--support-ivory);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.text-center { text-align: center; }

/* 3. BUTTONS */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary { background-color: var(--secondary-gold); color: var(--text-charcoal); }
.btn-primary:hover { background-color: var(--secondary-gold-hover); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-secondary { background-color: transparent; color: var(--text-light); border: 1px solid var(--text-light); }
.btn-secondary:hover { background-color: var(--text-light); color: var(--text-charcoal); }

.btn-large { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

/* 4. NAVIGATION BAR (Reused System) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand { display: flex; align-items: center; gap: 1rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--font-heading); color: var(--text-light); font-size: 1.5rem; font-weight: 700; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--support-ivory); font-size: 0.95rem; font-weight: 400; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary-gold); }
.nav-book-link { color: var(--secondary-gold) !important; font-weight: 700 !important; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.mobile-menu-placeholder { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger-line { width: 25px; height: 2px; background-color: var(--support-ivory); border-radius: 2px; }

/* 5. ABOUT HERO SECTION */
.about-hero {
    position: relative;
    padding: clamp(12rem, 18vw, 16rem) 2rem 8rem 2rem;
    background-image: url('https://images.unsplash.com/photo-1473221326025-9183b464bb7e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 46, 43, 0.7) 0%, rgba(74, 91, 70, 0.85) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.hero-kicker {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--secondary-gold);
    font-weight: 700;
}

.about-hero .page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.1;
}

.about-hero .page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.8;
}

/* 6. EDITORIAL STORY SECTION */
.editorial-story-section {
    background-color: var(--support-ivory);
    padding: var(--padding-section);
}

.editorial-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(4rem, 8vw, 6rem);
    align-items: center;
}

.editorial-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--primary-sage-dark);
    margin-bottom: 2rem;
}

.story-narrative p {
    font-size: 1.125rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.story-visual-cards {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.story-card {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--support-beige);
    box-shadow: var(--shadow-soft);
}

.story-card img {
    aspect-ratio: 3/4;
    width: 100%;
}

.story-card figcaption {
    padding: 1rem;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--primary-sage-dark);
    text-align: center;
    border-top: 1px solid rgba(117, 138, 112, 0.2);
}

.card-offset-down { transform: translateY(2rem); }
.card-offset-up { transform: translateY(-2rem); }

/* 7. FOUNDER EDITORIAL SECTION */
.founder-editorial-section {
    background-color: var(--support-beige);
    padding: var(--padding-section);
}

.founder-editorial-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(4rem, 8vw, 6rem);
    align-items: center;
}

.founder-portrait-wrapper {
    position: relative;
}

.founder-portrait {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    width: 100%;
    aspect-ratio: 4/5;
}

.founder-name-plate {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--support-ivory);
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-heavy);
    border-left: 4px solid var(--secondary-gold);
}

.founder-name-plate h3 {
    font-size: 1.25rem;
    color: var(--primary-sage-dark);
    margin-bottom: 0.25rem;
}

.founder-name-plate span {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-gold);
    line-height: 1.4;
    font-style: italic;
    margin-bottom: 2rem;
    border-left: 2px solid var(--primary-sage);
    padding-left: 1.5rem;
}

.founder-narrative p {
    font-size: 1.125rem;
    color: #444;
    margin-bottom: 1.5rem;
}

/* 8. WHY SERVICES EXIST (PURPOSE SECTION) */
.purpose-section {
    background-color: var(--support-ivory);
    padding: var(--padding-section);
}

.purpose-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.purpose-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--primary-sage-dark);
    margin-bottom: 1rem;
}

.purpose-header p {
    font-size: 1.125rem;
    color: #555;
}

.purpose-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.purpose-card {
    background: var(--support-beige);
    padding: 3rem;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--primary-sage);
    transition: var(--transition-smooth);
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.purpose-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-charcoal);
}

.purpose-reason {
    font-size: 1.05rem;
    color: #555;
}

.purpose-reason strong {
    color: var(--primary-sage-dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* 9. THE AGEWELL EXPERIENCE */
.experience-section {
    background-color: var(--primary-sage-dark);
    padding: var(--padding-section);
    color: var(--support-ivory);
}

.experience-section h2 {
    color: var(--support-ivory);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 4rem;
}

.experience-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.experience-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.exp-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.experience-card h4 {
    color: var(--secondary-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.experience-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* 10. INSPIRATIONAL CTA SECTION */
.inspirational-cta {
    position: relative;
    padding: clamp(8rem, 12vw, 10rem) 2rem;
    background-image: url('https://images.unsplash.com/photo-1511884642898-4c92249e20b6?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.inspirational-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 46, 43, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.cta-content h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    color: var(--secondary-gold);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 11. FOOTER (Reused Base System) */
.premium-footer {
    background-color: var(--text-charcoal);
    color: var(--support-ivory);
    padding: 6rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-logo { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 1.5rem; }
.footer-statement { color: var(--support-beige); opacity: 0.7; font-size: 1rem; max-width: 300px; }
.premium-footer h4 { color: var(--support-ivory); font-family: var(--font-body); font-size: 1.25rem; margin-bottom: 1.5rem; letter-spacing: 1px; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--support-beige); opacity: 0.7; }
.footer-links a:hover { color: var(--secondary-gold); opacity: 1; }

.footer-contact p { color: var(--support-beige); opacity: 0.7; margin-bottom: 1rem; display: flex; gap: 0.5rem; }
.social-icons { display: flex; gap: 1rem; }
.social-placeholder {
    width: 45px; height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--support-beige); transition: var(--transition-smooth); cursor: pointer;
}
.social-placeholder:hover {
    background-color: var(--secondary-gold); color: var(--text-charcoal); border-color: var(--secondary-gold);
}

.footer-bottom { text-align: center; color: var(--support-beige); opacity: 0.5; font-size: 0.875rem; }
.footer-bottom a { color: var(--support-beige); }
.footer-bottom a:hover { color: var(--support-ivory); }

/* 12. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .editorial-container, .founder-editorial-container {
        gap: 3rem;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 850px) {
    .editorial-container {
        grid-template-columns: 1fr;
    }
    
    .story-visual-cards {
        max-width: 600px;
        margin: 0 auto;
        padding-top: 2rem;
    }

    .founder-editorial-container {
        grid-template-columns: 1fr;
        direction: rtl; /* Flip visual order on mobile to show image first */
    }
    
    .founder-editorial-container > * {
        direction: ltr; /* Fix text direction */
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-primary { display: none; }
    .mobile-menu-placeholder { display: flex; }
    
    .founder-name-plate {
        right: 10px;
        bottom: -10px;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-actions { flex-direction: column; width: 100%; }
    .btn-large { width: 100%; }
    
    .story-visual-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-offset-down, .card-offset-up { transform: none; }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   Google Fonts Import
   ========================================================================== */

/* ==========================================================================
   Design System Variables & Theme
   ========================================================================== */
:root {
    --color-deep: #2D4A3E;       /* Sage Green */
    --color-sand: #E8D5B0;       /* Sand/Accent */
    --color-gold: #B8963E;       /* Champagne Gold */
    --color-offwhite: #FAF7F2;   /* Warm Ivory */
    --color-text: #1C1C1C;       /* Deep Charcoal */
    --color-danger: #D9534F;     /* Subtle Red for destructive actions */
    
    /* Premium SaaS Shadows & Borders */
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
    --border-glass: 1px solid rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--color-text);
    /* Subtle decorative background gradient to make glassmorphism pop */
    background: radial-gradient(circle at 0% 0%, rgba(184, 150, 62, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 100% 100%, rgba(45, 74, 62, 0.06) 0%, transparent 40%),
                var(--color-offwhite);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--color-deep);
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.text-gold { color: var(--color-gold); }
.text-muted { color: #888; }
.text-strikethrough { text-decoration: line-through; opacity: 0.6; }
.text-danger { color: var(--color-danger) !important; }

/* ==========================================================================
   Glassmorphism Utilities
   ========================================================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-gold {
    background-color: var(--color-gold);
    color: #ffffff;
}

.btn-gold:hover {
    background-color: #9A7A2E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 150, 62, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid #ddd;
}

.btn-outline:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
body.dashboard-page .navbar {
    position: sticky !important;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

/* Profile Chip */
.profile-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px 6px 6px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.profile-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    background-color: var(--secondary-gold);
    color: var(--text-charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 14px;
}

/* ==========================================================================
   Dashboard Layout Structure
   ========================================================================== */
/* ==========================================================================
   Dashboard Layout Structure
   ========================================================================== */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin: 40px auto 80px auto;
    max-width: 1400px;
    width: 100%;
    min-height: calc(100vh - 180px);
}

.dashboard-mobile-bar {
    display: none;
}

/* ==========================================================================
   Sidebar (Desktop & Mobile Drawer Layouts)
   ========================================================================== */
.sidebar {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    position: sticky;
    top: 100px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-close-btn {
    display: none;
}

/* Welcome Card in Sidebar */
.user-welcome-card {
    margin-bottom: 28px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.user-avatar-container {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.user-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #B5952F 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.user-status-dot {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 13px;
    height: 13px;
    background-color: #2ECC71;
    border: 2px solid #FAF7F2;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}

.user-welcome-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
}

.welcome-text {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-charcoal);
    opacity: 0.6;
    font-weight: 700;
}

.user-display-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--primary-sage-dark);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-charcoal);
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(117, 138, 112, 0.08);
    color: var(--primary-sage-dark);
}

.nav-item svg {
    opacity: 0.6;
    transition: opacity 0.2s ease;
    stroke: var(--text-charcoal);
}

.sidebar-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.sidebar-footer .nav-item.text-danger {
    color: #D9534F;
}

.sidebar-footer .nav-item.text-danger:hover {
    background: rgba(217, 83, 79, 0.08);
    color: #C9302C;
}

.sidebar-footer .nav-item.text-danger svg {
    stroke: #D9534F;
}

/* ==========================================================================
   Pure CSS State Management
   ========================================================================== */
.tab-radio { display: none; }

.dashboard-panel {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#tab-upcoming:checked ~ .dashboard-wrapper .panel-upcoming,
#tab-history:checked ~ .dashboard-wrapper .panel-history,
#tab-settings:checked ~ .dashboard-wrapper .panel-settings {
    display: block;
}

#tab-upcoming:checked ~ .dashboard-wrapper .sidebar-nav label[for="tab-upcoming"],
#tab-history:checked ~ .dashboard-wrapper .sidebar-nav label[for="tab-history"],
#tab-settings:checked ~ .dashboard-wrapper .sidebar-nav label[for="tab-settings"] {
    background: rgba(184, 150, 62, 0.08);
    color: var(--secondary-gold);
    border-left: 3px solid var(--secondary-gold);
    font-weight: 700;
}

#tab-upcoming:checked ~ .dashboard-wrapper .sidebar-nav label[for="tab-upcoming"] svg,
#tab-history:checked ~ .dashboard-wrapper .sidebar-nav label[for="tab-history"] svg,
#tab-settings:checked ~ .dashboard-wrapper .sidebar-nav label[for="tab-settings"] svg {
    opacity: 1;
    stroke: var(--secondary-gold);
}

/* ==========================================================================
   Main Content Panels & Cards
   ========================================================================== */
.panel-header {
    margin-bottom: 32px;
}

.panel-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-sage-dark);
    margin-bottom: 6px;
}

.panel-header p {
    font-size: 1rem;
    color: var(--text-charcoal);
    opacity: 0.7;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 24px 28px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.dashboard-card:hover {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 30px rgba(74, 91, 70, 0.08);
    border-color: rgba(184, 150, 62, 0.3);
}

.dashboard-card.fade-out {
    opacity: 0 !important;
    transform: translateY(15px) scale(0.95) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dashboard-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.booking-ref {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--secondary-gold);
    margin-bottom: 6px;
}

.service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-sage-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.appointment-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-charcoal);
    margin-bottom: 8px;
}

.appointment-date span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.text-muted {
    font-size: 0.9rem;
    color: var(--text-charcoal);
    opacity: 0.75;
}

.text-muted .label {
    font-weight: 600;
    color: var(--primary-sage-dark);
}

.dashboard-card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 6px;
    font-weight: 700;
}

/* Premium Status Badges */
.badge {
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
}

.badge-confirmed {
    background-color: rgba(74, 91, 70, 0.1);
    color: var(--primary-sage-dark);
    border: 1px solid rgba(74, 91, 70, 0.2);
}

.badge-pending {
    background-color: rgba(212, 175, 55, 0.1);
    color: #B5952F;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.badge-completed {
    background-color: rgba(45, 115, 140, 0.1);
    color: #2E758C;
    border: 1px solid rgba(45, 115, 140, 0.2);
}

.badge-cancelled {
    background-color: rgba(217, 83, 79, 0.1);
    color: #D9534F;
    border: 1px solid rgba(217, 83, 79, 0.2);
}

/* ==========================================================================
   Settings Card & Inputs
   ========================================================================== */
.settings-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.form-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary-sage-dark);
    font-weight: 600;
}

.form-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 32px 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-sage-dark);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(117, 138, 112, 0.25);
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: var(--text-charcoal);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background-color: #ffffff;
}

.form-actions {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

.btn-gold {
    background-color: var(--secondary-gold);
    color: #ffffff;
    border: none;
}

.btn-gold:hover {
    background-color: var(--secondary-gold-hover);
}

/* ==========================================================================
   Modals Styling (Reschedule & Details Panels)
   ========================================================================== */
.reschedule-modal-overlay,
.details-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 46, 43, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px;
}

.reschedule-modal-overlay.active,
.details-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.reschedule-modal-card,
.details-modal-card {
    background: rgba(250, 247, 242, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    padding: 36px;
    transform: translateY(24px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    color: var(--text-charcoal);
}

.reschedule-modal-overlay.active .reschedule-modal-card,
.details-modal-overlay.active .details-modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--text-charcoal);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-sage-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.modal-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    color: var(--text-charcoal);
    opacity: 0.7;
    margin-bottom: 24px;
}

.readonly-input {
    background-color: rgba(0,0,0,0.03) !important;
    border-color: rgba(0,0,0,0.08) !important;
    cursor: not-allowed;
    font-weight: 600;
}

.reschedule-modal-card select {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(117, 138, 112, 0.25);
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: var(--text-charcoal);
    outline: none;
    transition: all 0.3s ease;
}

.reschedule-modal-card select:focus {
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.reschedule-modal-card .modal-actions,
.details-modal-card .modal-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Detail Modal Grid styling */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-charcoal);
    opacity: 0.55;
    font-weight: 700;
}

.detail-value {
    font-size: 0.98rem;
    color: var(--primary-sage-dark);
    font-weight: 700;
}

.details-instructions {
    text-align: left;
}

.details-instructions h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--primary-sage-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.details-instructions p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-charcoal);
    opacity: 0.8;
}

.loading-placeholder {
    padding: 48px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-charcoal);
    opacity: 0.6;
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    border: 1px dashed rgba(117,138,112,0.2);
}

/* ==========================================================================
   Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
    .dashboard-wrapper {
        grid-template-columns: 260px 1fr;
        gap: 24px;
    }
    .settings-card { padding: 32px; }
}

@media (max-width: 1024px) {
    .hide-mobile { display: none !important; }
    
    .dashboard-wrapper {
        display: block;
        margin-top: 10px;
        min-height: calc(100vh - 220px);
    }

    /* Mobile Sub-Header Toggle Bar */
    .dashboard-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 18px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 10px;
        margin-top: 10px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    }

    /* Mobile Sidebar Toggle Button */
    .btn-sidebar-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(117, 138, 112, 0.1);
        border: 1px solid rgba(117, 138, 112, 0.25);
        border-radius: 6px;
        padding: 8px 14px;
        font-family: 'Lato', sans-serif;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--primary-sage-dark);
        cursor: pointer;
        transition: all 0.2s ease;
        outline: none;
        appearance: none;
        -webkit-appearance: none;
    }

    .btn-sidebar-toggle:hover {
        background: rgba(117, 138, 112, 0.18);
        border-color: rgba(117, 138, 112, 0.35);
    }

    .btn-sidebar-toggle svg {
        stroke: var(--primary-sage-dark);
    }

    /* Transform Sidebar to a Mobile Drawer */
    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 290px;
        height: 100vh;
        z-index: 2100 !important; /* Fixed: Must be higher than overlay's z-index 1999 */
        background: rgba(250, 247, 242, 0.98) !important;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: none;
        border-right: 1px solid rgba(0,0,0,0.08);
        border-radius: 0;
        padding: 40px 24px;
        box-shadow: 20px 0 40px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 1.8rem;
        background: transparent;
        border: none;
        color: var(--text-charcoal);
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.2s ease;
        z-index: 2110 !important; /* Fixed: Must be higher than overlay's z-index 1999 */
    }
    
    .sidebar-close-btn:hover {
        opacity: 1;
    }

    /* Mobile Sidebar Overlay Backdrop */
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(42, 46, 43, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 2000; /* Fixed: Must be higher than navbar z-index 1000 but below sidebar 2100 */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-nav {
        margin-top: 16px;
    }

    .nav-item {
        border-left: 3px solid transparent;
        border-bottom: none !important;
        border-radius: 8px;
    }

    /* Settings columns stack on mobile */
    .form-row { 
        grid-template-columns: 1fr; 
        gap: 16px; 
    }

    .dashboard-card-body { 
        flex-direction: column; 
        gap: 12px;
    }

    .dashboard-card-body .badge {
        align-self: flex-start;
    }

    .dashboard-card-footer {
        justify-content: space-between;
    }

    .dashboard-card-footer button {
        flex: 1;
        text-align: center;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Contact Slider Viewport and Track for Mobile Carousel */
    .contact-slider-viewport {
        overflow: hidden;
        height: 200px;
        position: relative;
        width: 100%;
        margin-bottom: 24px;
        border-radius: 12px;
        border: 1px solid rgba(117, 138, 112, 0.2);
    }
    
    .contact-slider-track {
        display: flex !important;
        flex-direction: column !important;
        transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
        height: auto !important;
        width: 100% !important;
    }
    
    .contact-slider-track .info-card {
        height: 200px; /* Fallback height, overridden dynamically by JS */
        flex-shrink: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        background: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .panel-header h2 { font-size: 1.8rem; }
    .settings-card { padding: 24px 16px; }
    .reschedule-modal-card, .details-modal-card { padding: 24px 16px; }
}

/* ==========================================================================
   CSS ARCHITECTURE: AGEWELL UGANDA (BOOKING)
   ========================================================================== */

   /* ==========================================================================
   CSS ARCHITECTURE: AGEWELL UGANDA
   Premium UI Framework (Playfair Display & Lato)
   ========================================================================== */

/* 1. IMPORTS & VARIABLES */

:root {
    /* Premium Color System */
    --primary-sage: #758A70;
    --primary-sage-dark: #4A5B46;
    --secondary-gold: #D4AF37;
    --secondary-gold-hover: #B5952F;
    --support-ivory: #FAF7F2;
    --support-beige: #EDE7DE;
    --text-charcoal: #2A2E2B;
    --text-light: #F4F6F4;
    
    /* Gradients & Overlays */
    --glass-bg: rgba(42, 46, 43, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hero-overlay: linear-gradient(135deg, rgba(42, 46, 43, 0.85) 0%, rgba(74, 91, 70, 0.75) 100%);
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-charcoal);
    background-color: var(--support-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-sage-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3. BUTTONS */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-gold);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-gold);
    border: 2px solid var(--secondary-gold);
}

.btn-outline:hover {
    background-color: var(--secondary-gold);
    color: #ffffff;
}

.btn-full {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* 4. NAVBAR (Glassmorphism Style) */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: 'Lato', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
}

.nav-links a {
    position: relative;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a.active-page-link {
    opacity: 1;
    color: var(--secondary-gold);
}

.nav-links a.active::after,
.nav-links a.active-page-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-placeholder {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
}

/* 5. PAGE HERO SECTION */
.appointments-hero {
    background: var(--hero-overlay), 
                url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 180px 20px 120px;
    text-align: center;
    color: var(--text-light);
}

.appointments-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-light);
}

.appointments-hero p {
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 6. APPOINTMENTS MAIN & BOOKING CARD */
.appointments-main {
    background-color: var(--support-ivory);
    padding: 0 20px 100px;
}

.booking-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    max-width: 750px;
    margin: -80px auto 80px; /* Pulls the card cleanly over the hero background */
    padding: 50px 60px;
    position: relative;
    z-index: 10;
}

.booking-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-sage-dark);
    margin-bottom: 8px;
}

.booking-card-header p {
    font-family: 'Lato', sans-serif;
    color: #666;
    font-size: 1.05rem;
}

/* 7. ELEGANT FORM ELEMENTS */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 8px;
}

.helper-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--support-beige);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background-color: var(--support-ivory);
    color: var(--text-charcoal);
    transition: all 0.3s ease;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

select.form-control {
    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='%234A5B46' 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 1.2rem center;
    background-size: 1.2em;
    cursor: pointer;
}

/* Highlighted Date Selection Area */
.date-group {
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 30px;
    border-radius: 8px;
}

.date-group .form-control {
    background-color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-sage-dark);
}

/* Refined Fee Notice */
.fee-notice {
    background-color: var(--support-ivory);
    border-left: 4px solid var(--secondary-gold);
    padding: 20px 24px;
    margin-bottom: 40px;
    border-radius: 4px;
}

.fee-notice p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-charcoal);
    line-height: 1.6;
}

.fee-notice strong {
    color: var(--secondary-gold);
    font-size: 1.05rem;
}

/* 8. HELP SECTION */
.help-section {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.help-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-sage-dark);
    margin-bottom: 16px;
}

.help-section p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: var(--text-charcoal);
    margin-bottom: 32px;
    opacity: 0.8;
}

.help-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 9. PREMIUM FOOTER */
.footer {
    background-color: var(--primary-sage-dark);
    color: var(--support-ivory);
    padding: 80px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary-gold);
    margin-bottom: 16px;
}

.footer-brand p {
    font-family: 'Lato', sans-serif;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--support-ivory);
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Lato', sans-serif;
    color: var(--support-ivory);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-gold);
}

.footer-contact address p {
    font-family: 'Lato', sans-serif;
    font-style: normal;
    margin-bottom: 12px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: var(--support-ivory);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.social-placeholder:hover {
    background-color: var(--secondary-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--support-ivory);
}

.footer-bottom a:hover {
    color: var(--secondary-gold);
}

/* 10. WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20BA5A;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .nav-links {
        gap: 20px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links {
        display: none; 
    }
    .nav-actions .btn-primary {
        display: none;
    }
    .mobile-menu-placeholder {
        display: flex;
    }

    /* Hero */
    .appointments-hero {
        padding: 140px 20px 80px;
    }
    .appointments-hero h1 {
        font-size: 2.2rem;
    }

    /* Booking Card */
    .booking-card {
        padding: 30px 20px;
        margin-top: -30px;
    }
    .booking-card-header h2 {
        font-size: 1.8rem;
    }

    /* Date Group */
    .date-group {
        padding: 20px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .social-icons {
        justify-content: center;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .appointments-hero {
        padding: 120px 16px 60px;
    }
    .appointments-hero h1 {
        font-size: 1.8rem;
    }
    .booking-card {
        margin-top: 0;
        margin-bottom: 40px;
        padding: 24px 16px;
    }
    .help-buttons {
        flex-direction: column;
    }
    .btn-primary, .btn-outline {
        width: 100%;
    }
}

/* ==========================================================================
   SIGNIN DESIGNS
   ========================================================================== */

   /* ==========================================================================
   CSS ARCHITECTURE: AGEWELL UGANDA (SAAS AUTHENTICATION)
   Premium UI Framework (Playfair Display & Lato)
   ========================================================================== */

/* 1. IMPORTS & VARIABLES */

:root {
    /* Premium Color Palette */
    --primary-sage: #758A70;
    --primary-sage-dark: #4A5B46;
    --secondary-gold: #D4AF37;
    --secondary-gold-hover: #B5952F;
    --support-ivory: #FAF7F2;
    --text-charcoal: #2A2E2B;
    --text-light: #ffffff;
    
    /* Luxury Auth Glassmorphism */
    --auth-glass-bg: rgba(250, 247, 242, 0.92); /* Ivory tinted glass */
    --auth-glass-border: rgba(255, 255, 255, 0.4);
    --auth-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    
    /* Background Overlay */
    --bg-overlay: linear-gradient(135deg, rgba(42, 46, 43, 0.6) 0%, rgba(42, 46, 43, 0.85) 100%);
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.auth-body {
    font-family: 'Lato', sans-serif;
    color: var(--text-charcoal);
    /* Premium Full-Screen Background */
    background: var(--bg-overlay), 
                url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-sage-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. AUTHENTICATION WRAPPER */
.auth-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

/* 4. PREMIUM GLASSMORPHISM CARD */
.auth-card {
    background: var(--auth-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--auth-glass-border);
    box-shadow: var(--auth-shadow);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

/* 5. BRANDING & HEADER */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    height: 48px;
    margin: 0 auto 24px auto;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--primary-sage-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.auth-header p {
    font-size: 0.95rem;
    color: #666;
}

/* 6. FORM ELEMENTS */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 8px;
}

.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.password-header label {
    margin-bottom: 0;
}

.forgot-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-gold);
}

.forgot-link:hover {
    color: var(--secondary-gold-hover);
    text-decoration: underline;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-charcoal);
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* 7. BUTTONS */
.btn-primary, .btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background-color: var(--secondary-gold);
    color: #ffffff;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-gold-hover);
    transform: translateY(-2px);
    /* Premium Glow Effect */
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Google Button */
.btn-google {
    background-color: #ffffff;
    color: var(--text-charcoal);
    border: 1px solid rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.btn-google:hover {
    background-color: #f9f9f9;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 8. DIVIDER */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: #888;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-divider span {
    padding: 0 16px;
}

/* 9. SIGN UP LINK */
.auth-footer-link {
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
    color: #666;
}

.auth-footer-link a {
    color: var(--primary-sage-dark);
    font-weight: 700;
}

.auth-footer-link a:hover {
    color: var(--secondary-gold);
    text-decoration: underline;
}

/* 10. MINIMAL FOOTER */
.auth-footer {
    text-align: center;
    padding: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Lato', sans-serif;
}

/* ==========================================================================
   RESPONSIVENESS (Mobile First Scalability)
   ========================================================================== */

/* Mobile Phones */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 24px 16px;
    }

    .auth-card {
        padding: 40px 24px;
        border-radius: 12px;
    }

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .auth-logo {
        height: 40px;
        margin-bottom: 20px;
    }

    .form-control {
        padding: 12px 16px;
    }

    .btn-primary, .btn-google {
        padding: 12px 24px;
    }
}
/* SIGNUP DESIGNS
/* ==========================================================================
   CSS ARCHITECTURE: AGEWELL UGANDA (SAAS AUTHENTICATION)
   Premium UI Framework (Playfair Display & Lato)
   ========================================================================== */

/* 1. IMPORTS & VARIABLES */

:root {
    /* Premium Color Palette */
    --primary-sage: #758A70;
    --primary-sage-dark: #4A5B46;
    --secondary-gold: #D4AF37;
    --secondary-gold-hover: #B5952F;
    --support-ivory: #FAF7F2;
    --text-charcoal: #2A2E2B;
    --text-light: #ffffff;
    
    /* Luxury Auth Glassmorphism */
    --auth-glass-bg: rgba(250, 247, 242, 0.92); /* Ivory tinted glass */
    --auth-glass-border: rgba(255, 255, 255, 0.4);
    --auth-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    
    /* Background Overlay */
    --bg-overlay: linear-gradient(135deg, rgba(42, 46, 43, 0.6) 0%, rgba(42, 46, 43, 0.85) 100%);
}

/* 2. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.auth-body {
    font-family: 'Lato', sans-serif;
    color: var(--text-charcoal);
    /* Premium Full-Screen Background */
    background: var(--bg-overlay), 
                url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-sage-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. AUTHENTICATION WRAPPER */
.auth-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

/* 4. PREMIUM GLASSMORPHISM CARD */
.auth-card {
    background: var(--auth-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--auth-glass-border);
    box-shadow: var(--auth-shadow);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

/* 5. BRANDING & HEADER */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    height: 48px;
    margin: 0 auto 24px auto;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--primary-sage-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.auth-header p {
    font-size: 0.95rem;
    color: #666;
}

/* 6. FORM ELEMENTS */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 8px;
}

/* Form Controls & Password Wrapper */
.password-input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-charcoal);
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.password-input-wrapper .form-control {
    padding-right: 48px; /* Room for the eye icon */
}

/* Eye Toggle Placeholder */
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.3s ease;
}

.password-toggle-btn:hover {
    color: var(--secondary-gold);
}

/* Legal Terms UI */
.legal-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.legal-text a {
    color: var(--primary-sage-dark);
    font-weight: 700;
}

.legal-text a:hover {
    color: var(--secondary-gold);
    text-decoration: underline;
}

/* 7. BUTTONS */
.btn-primary, .btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background-color: var(--secondary-gold);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Google Button */
.btn-google {
    background-color: #ffffff;
    color: var(--text-charcoal);
    border: 1px solid rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.btn-google:hover {
    background-color: #f9f9f9;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 8. DIVIDER */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: #888;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-divider span {
    padding: 0 16px;
}

/* 9. SIGN IN LINK */
.auth-footer-link {
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
    color: #666;
}

.auth-footer-link a {
    color: var(--primary-sage-dark);
    font-weight: 700;
}

.auth-footer-link a:hover {
    color: var(--secondary-gold);
    text-decoration: underline;
}

/* 10. MINIMAL FOOTER */
.auth-footer {
    text-align: center;
    padding: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Lato', sans-serif;
}

/* ==========================================================================
   RESPONSIVENESS (Mobile First Scalability)
   ========================================================================== */

@media (max-width: 480px) {
    .auth-wrapper {
        padding: 24px 16px;
    }

    .auth-card {
        padding: 40px 24px;
        border-radius: 12px;
    }

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .auth-logo {
        height: 40px;
        margin-bottom: 20px;
    }

    .form-control {
        padding: 12px 16px;
    }

    .btn-primary, .btn-google {
        padding: 12px 24px;
    }
}
   /* the hamburger buttons */

    /* ===== MOBILE NAV (HAMBURGER FIX) ===== */
@media (max-width: 1024px) {
    .mobile-menu-placeholder,
    .mobile-menu-btn {
        display: flex !important; /* Forces visibility over desktop display: none */
        position: relative;
        z-index: 1001; /* Keeps button above the z-index: 1000 nav-links menu */
        cursor: pointer;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
    }

    /* Premium Glassmorphism Mobile Dropdown Menu */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(42, 46, 43, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem 24px;
        gap: 1.5rem;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        align-items: flex-start;
    }

    .nav-links.active a {
        display: block;
        width: 100%;
        font-size: 1.1rem;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--support-ivory) !important;
    }

    .nav-links.active a:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   PHASE B & C STYLING UPGRADES: AGEWELL UGANDA
   ========================================================================== */

/* 1. Scrolled Navbar Transition */
.navbar {
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.navbar-scrolled {
    background: rgba(42, 46, 43, 0.95) !important;
    padding: 0.6rem 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 2. Services Vertical Dot Navigator */
.services-nav-dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--secondary-gold, #D4AF37);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.nav-dot.active {
    background: var(--secondary-gold, #D4AF37);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Tooltip on Hover */
.nav-dot::after {
    content: attr(data-title);
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(42, 46, 43, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--support-ivory, #FAF7F2);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-body, sans-serif);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-soft);
}

.nav-dot:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 1024px) {
    .services-nav-dots {
        display: none !important;
    }
}

/* 3. Hero Scroll Indicator Cues */
.scroll-indicator-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--secondary-gold, #D4AF37);
    font-size: 0.8rem;
    font-family: var(--font-body, sans-serif);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator-cue:hover {
    opacity: 1;
}

.scroll-indicator-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--secondary-gold, #D4AF37);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary-gold, #D4AF37);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 1.8s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    80% { opacity: 0; transform: translate(-50%, 14px); }
    100% { opacity: 0; }
}

/* 4. Automated Vertical Trust Slider Carousel */
.trust-indicators {
    padding: 3rem 1.5rem !important;
    margin-top: 0 !important;
}

.trust-slider-viewport {
    max-width: 650px;
    height: 120px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-md, 16px);
}

.trust-slider-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.trust-slide-card {
    height: 120px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
    background: var(--support-ivory, #FAF7F2);
    border-radius: var(--radius-md, 16px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(117, 138, 112, 0.12);
    box-sizing: border-box;
    justify-content: flex-start;
    transition: background-color 0.3s ease;
}

.trust-slide-card:hover {
    background-color: #ffffff;
}

.trust-slide-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.trust-slide-content {
    text-align: left;
}

.trust-slide-content h3 {
    font-family: var(--font-heading, serif);
    font-size: 1.25rem;
    color: var(--primary-sage-dark, #4A5B46);
    margin-bottom: 4px;
}

.trust-slide-content p {
    font-family: var(--font-body, sans-serif);
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 580px) {
    .trust-slider-viewport {
        height: 140px;
    }
    .trust-slide-card {
        height: 140px;
        padding: 15px 20px;
    }
    .trust-slide-content h3 {
        font-size: 1.15rem;
    }
    .trust-slide-content p {
        font-size: 0.85rem;
    }
}

/* 5. Navbar Auth Sync & Dropdown Styles */
.nav-actions {
    position: relative;
}

.nav-profile-chip-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-signout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth, all 0.3s ease);
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-signout-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #D9534F;
    color: #D9534F;
    transform: translateY(-2px);
}

/* Hide signin when logged in */
body.logged-in .nav-actions .btn-primary {
    display: none !important;
}

body:not(.logged-in) .nav-profile-chip-container {
    display: none !important;
}

/* Mobile Dropdown Accessibility Utilities */
@media (max-width: 1024px) {
    .nav-links.active .mobile-only-link {
        display: block !important;
        width: 100%;
        margin-top: 10px;
    }
    
    .nav-links.active .mobile-only-link.nav-signout-btn {
        text-align: left;
        padding: 8px 0;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: transparent;
        font-size: 1.1rem;
        font-weight: 400;
        color: #D9534F !important;
        justify-content: flex-start;
    }

    .nav-links.active .mobile-only-link.nav-signout-btn:hover {
        background: transparent;
        color: #D9534F !important;
        transform: none;
    }
}

@media (min-width: 1025px) {
    .mobile-only-link {
        display: none !important;
    }
}

/* Scoped Navbar Button Sizes to prevent navbar layout squeeze */
.nav-actions .btn-primary,
.nav-actions .nav-signout-btn {
    padding: 8px 18px !important;
    font-size: 0.9rem !important;
}

/* Mobile Top Navbar Sizing & Spacing Sync */
@media (max-width: 1024px) {
    /* Hide profile name and sign-out button on the top mobile navbar */
    .nav-profile-chip-container .profile-name,
    .nav-profile-chip-container .nav-signout-btn {
        display: none !important;
    }
    
    /* Make the profile chip a clean avatar container with zero padding/borders */
    .nav-profile-chip-container .profile-chip {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .nav-profile-chip-container {
        gap: 0 !important;
    }
}

/* Swipe hint default (hidden on desktop) */
.swipe-hint {
    display: none;
    font-size: 0.85rem;
    color: var(--secondary-gold);
    margin-top: 6px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Responsive adjustments for Featured Services Slider on mobile */
@media (max-width: 768px) {
    .swipe-hint {
        display: inline-block;
    }

    .services-track {
        gap: 1.25rem !important;
        padding-bottom: 2rem !important;
    }
    
    .service-card {
        min-width: 290px !important;
        max-width: 310px !important;
    }
    
    .service-image-container {
        height: 185px !important;
    }
    
    .specialist-mini-card {
        padding: 0.6rem !important;
        bottom: -15px !important;
        right: 15px !important;
        gap: 0.75rem !important;
    }
    
    .specialist-avatar {
        width: 32px !important;
        height: 32px !important;
    }
    
    .specialist-name {
        font-size: 0.8rem !important;
    }
    
    .specialist-exp, .specialist-tag {
        font-size: 0.7rem !important;
    }
}

/* Dashboard Card Grid & Sizing on Mobile */
@media (max-width: 768px) {
    .dashboard-card-body {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .dashboard-card-footer {
        width: 100% !important;
        margin-top: 16px !important;
        padding-top: 16px !important;
    }
    .dashboard-card-footer .btn {
        width: 100% !important;
        height: 44px !important; /* Touch target size */
    }
    .user-greeting {
        text-align: center !important;
    }
}

body.dashboard-page .container {
    max-width: 1400px !important;
}

/* ==========================================================================
   ADMIN PORTAL DESIGN SYSTEM (EXECUTIVE SAAS UPGRADES)
   ========================================================================== */
body.admin-body {
    font-family: 'Lato', sans-serif !important;
    background: radial-gradient(circle at 100% 0%, rgba(117, 138, 112, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 0% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
                #1e221f !important; /* Premium ultra-dark slate background */
    color: #FAF7F2 !important;
    min-height: 100vh;
    overflow-x: hidden;
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Premium Glassmorphic Sidebar */
.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: rgba(30, 34, 31, 0.6) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    z-index: 2001;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-info .brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FAF7F2;
    letter-spacing: 0.5px;
}

.brand-info .brand-badge {
    font-size: 0.75rem;
    color: var(--secondary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(250, 247, 242, 0.7);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.25s ease;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #FAF7F2;
    transform: translateX(4px);
}

.sidebar-nav-item.active {
    background: rgba(212, 175, 55, 0.08);
    color: var(--secondary-gold);
    border-left: 3px solid var(--secondary-gold);
    font-weight: 700;
    border-radius: 0 8px 8px 0;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(217, 83, 79, 0.05);
    border: 1px solid rgba(217, 83, 79, 0.15);
    border-radius: 8px;
    color: #D9534F;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.25s ease;
}

.sidebar-footer-item:hover {
    background: #D9534F;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 83, 79, 0.25);
    transform: translateY(-1px);
}

/* Main Area */
.admin-main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

.admin-header {
    position: sticky;
    top: 0;
    background: rgba(30, 34, 31, 0.7) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #FAF7F2;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FAF7F2;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-greeting {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.admin-role {
    font-size: 0.75rem;
    color: rgba(250, 247, 242, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-name {
    font-size: 0.95rem;
    color: #FAF7F2;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-gold);
    color: var(--text-charcoal);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.admin-content-container {
    padding: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

/* Panel Management */
.dashboard-panel {
    display: none;
}

.dashboard-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-intro-header {
    margin-bottom: 32px;
}

.panel-intro-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #FAF7F2;
    margin-bottom: 6px;
}

.panel-intro-header p {
    font-size: 1.05rem;
    color: rgba(250, 247, 242, 0.6);
}

/* Executive summary cards */
.admin-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 24px;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.admin-card.accent-gold {
    border-top: 4px solid var(--secondary-gold) !important;
}

.admin-card.accent-sage {
    border-top: 4px solid var(--primary-sage) !important;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 1.5rem;
}

.card-title {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-metric {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #FAF7F2;
    margin-bottom: 8px;
}

.card-trend {
    font-size: 0.8rem;
    color: rgba(250, 247, 242, 0.4);
    font-weight: 600;
}

/* Secondary Overview Grid */
.admin-overview-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.overview-chart-preview {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.overview-chart-preview h3,
.overview-practitioners-summary h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #FAF7F2;
    margin-bottom: 20px;
}

.overview-mock-sparkline {
    height: 150px;
    display: flex;
    align-items: center;
}

.sparkline-svg {
    width: 100%;
    height: 100%;
}

.chart-caption {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.4);
    margin-top: 16px;
}

.overview-practitioners-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.operations-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.operations-bullets li {
    font-size: 0.95rem;
    color: rgba(250, 247, 242, 0.7);
    padding-left: 20px;
    position: relative;
}

.operations-bullets li::before {
    content: '✦';
    color: var(--secondary-gold);
    position: absolute;
    left: 0;
    top: 0;
}

/* Analytics Split Layout */
.analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.analytics-chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.chart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #FAF7F2;
}

.chart-legend {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-color.gold { background: var(--secondary-gold); }

.chart-svg-wrapper {
    height: 250px;
    display: flex;
    align-items: center;
}

.analytics-main-svg {
    width: 100%;
    height: 100%;
}

.analytics-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.trend-summary-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.trend-summary-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: rgba(250, 247, 242, 0.7);
    margin-bottom: 12px;
}

.trend-card-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #FAF7F2;
    display: block;
    margin-bottom: 4px;
}

.trend-card-sub {
    font-size: 0.85rem;
    font-weight: 600;
}

.service-bar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.performance-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.performance-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.performance-name {
    color: rgba(250, 247, 242, 0.70);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.performance-count {
    color: var(--secondary-gold);
    font-weight: 700;
}

.performance-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.performance-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-sage), var(--secondary-gold));
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* Premium CRUD Tables */
.table-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.crud-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.crud-table th {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 24px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.crud-table td {
    padding: 16px 24px;
    font-size: 0.95rem;
    color: rgba(250, 247, 242, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.crud-table tr:last-child td {
    border-bottom: none;
}

.crud-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.crud-table code {
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--secondary-gold);
}

.badge-category {
    background: rgba(117, 138, 112, 0.15) !important;
    color: var(--primary-sage) !important;
    border: 1px solid rgba(117, 138, 112, 0.25) !important;
}

.badge-cancelled {
    background: rgba(217, 83, 79, 0.1) !important;
    color: #D9534F !important;
    border: 1px solid rgba(217, 83, 79, 0.2) !important;
}

.row-cancelled-fade {
    opacity: 0.55;
}

.action-buttons-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.crud-table .btn-sm {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
}

/* Service Management Cards */
.services-mgmt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.service-mgmt-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-mgmt-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.service-mgmt-img-container {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.service-mgmt-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(212, 175, 55, 0.9) !important;
    color: var(--text-charcoal) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.service-mgmt-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-mgmt-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #FAF7F2;
    margin-bottom: 6px;
}

.service-mgmt-price {
    font-size: 1.1rem;
    color: var(--secondary-gold);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-mgmt-desc {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.6);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.assigned-emp-pill {
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.7);
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.02);
    width: fit-content;
}

.service-mgmt-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(0,0,0,0.1);
}

.service-mgmt-footer .btn {
    width: 100%;
}

/* Employee management layout */
.employee-mgmt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.employee-mgmt-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.employee-mgmt-card:hover {
    border-color: rgba(255,255,255,0.1) !important;
}

.employee-avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary-gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.employee-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-card-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #FAF7F2;
    margin-bottom: 4px;
}

.employee-card-details .badge {
    margin-bottom: 12px;
}

.emp-experience {
    font-size: 0.85rem;
    color: var(--secondary-gold);
    font-weight: 700;
    margin-bottom: 8px;
}

.emp-bio {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.6);
    line-height: 1.5;
    margin-bottom: 16px;
}

.emp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 12px;
}

.employee-card-actions {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 16px;
}

.employee-card-actions .btn {
    width: 100%;
}

/* Premium Inbox Split Layout */
.message-inbox-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    height: 500px;
}

.inbox-list {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.inbox-item {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.inbox-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.inbox-item.unread {
    background: rgba(212, 175, 55, 0.03);
    border-left: 3px solid var(--secondary-gold);
}

.inbox-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.inbox-sender {
    font-weight: 700;
    font-size: 0.95rem;
    color: #FAF7F2;
}

.inbox-item.unread .inbox-sender {
    color: var(--secondary-gold);
}

.inbox-date {
    font-size: 0.75rem;
    color: rgba(250, 247, 242, 0.4);
}

.inbox-subject {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(250, 247, 242, 0.85);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-body-snippet {
    font-size: 0.8rem;
    color: rgba(250, 247, 242, 0.5);
    line-height: 1.4;
}

.inbox-preview-pane {
    height: 100%;
}

.preview-empty-state {
    height: 100%;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(250, 247, 242, 0.4);
    gap: 12px;
}

.empty-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.message-view-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.message-view-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.message-view-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #FAF7F2;
    margin-bottom: 8px;
}

.msg-meta-text {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.5);
    margin-bottom: 4px;
}

.message-view-body {
    flex: 1;
    overflow-y: auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(250, 247, 242, 0.8);
    white-space: pre-wrap;
}

.message-view-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 24px;
}

/* Expense Tracker Layouts */
.expenses-split-layout {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 24px;
}

.notes-truncate {
    display: block;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expenses-summary-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sum-label {
    font-size: 0.95rem;
    color: rgba(250, 247, 242, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sum-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #FAF7F2;
}

.mt-8 { margin-top: 32px; }
.mt-4 { margin-top: 16px; }

/* Admin settings branding settings overrides */
body.admin-body .settings-form .form-group input,
body.admin-body .settings-form .form-group textarea,
body.admin-body .settings-form .form-group select {
    background: rgba(0,0,0,0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #FAF7F2 !important;
}

body.admin-body .settings-form .form-group input:focus,
body.admin-body .settings-form .form-group textarea:focus,
body.admin-body .settings-form .form-group select:focus {
    border-color: var(--secondary-gold) !important;
    background: rgba(0,0,0,0.3) !important;
}

/* ==========================================================================
   ADMIN RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .admin-layout {
        grid-template-columns: 240px 1fr;
    }
    .admin-sidebar {
        padding: 24px 16px;
    }
    .admin-header {
        padding: 16px 24px;
    }
    .admin-content-container {
        padding: 24px;
    }
    .admin-overview-details-grid,
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    .expenses-split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 2001;
        transition: transform 0.3s ease;
    }

    .admin-sidebar.open {
        transform: translateX(280px);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .message-inbox-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .inbox-list {
        height: 300px;
        margin-bottom: 24px;
    }

    .inbox-preview-pane {
        height: auto;
    }

    /* Transform Table on Mobile */
    .crud-table, 
    .crud-table thead, 
    .crud-table tbody, 
    .crud-table th, 
    .crud-table td, 
    .crud-table tr { 
        display: block; 
    }
    
    .crud-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .crud-table tr { 
        border: 1px solid rgba(255, 255, 255, 0.05); 
        margin-bottom: 12px;
        border-radius: 12px;
        padding: 8px 12px;
        background: rgba(255,255,255,0.01);
    }
    
    .crud-table td { 
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02); 
        position: relative;
        padding-left: 45% !important; 
        text-align: right !important;
        padding: 10px 8px !important;
    }

    .crud-table td:last-child {
        border-bottom: none;
    }
    
    .crud-table td::before { 
        position: absolute;
        top: 10px;
        left: 8px;
        width: 40%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--secondary-gold);
        content: attr(data-label);
    }

    .action-buttons-group {
        justify-content: flex-end;
    }
}

/* Laptop/Tablet Navbar Squeeze Resolution */
@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-profile-chip-container .profile-name {
        display: none !important;
    }
    .nav-links {
        gap: 16px !important;
    }
}

/* Global Tablet & Landscape Phone Navbar Collapse Override (up to 1024px) */
@media (max-width: 1024px) {
    .nav-links {
        display: none !important;
    }
    .nav-links.active {
        display: flex !important;
    }
    .nav-actions .btn-primary {
        display: none !important;
    }
    .mobile-menu-placeholder {
        display: flex !important;
    }
}

/* ==========================================================================
   ADMIN PORTAL PREMIUM LIGHT/WARM REDESIGN OVERRIDES
   ========================================================================== */
body.admin-body {
    background: radial-gradient(circle at 100% 0%, rgba(95, 125, 97, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 0% 100%, rgba(184, 144, 71, 0.05) 0%, transparent 40%),
                #F8F6F2 !important; /* Premium warm cream/beige background */
    color: #2C352B !important; /* Soft deep forest charcoal text */
}

/* Sidebar overrides - Keep it dark/deep forest for premium contrast */
body.admin-body .admin-sidebar {
    background: #172618 !important; /* Deep forest green */
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

body.admin-body .sidebar-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.admin-body .brand-info .brand-name {
    color: #FAF7F2 !important;
}

body.admin-body .brand-info .brand-badge {
    color: #E2B96B !important;
}

body.admin-body .sidebar-nav-item {
    color: rgba(250, 247, 242, 0.65) !important;
}

body.admin-body .sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #FAF7F2 !important;
}

body.admin-body .sidebar-nav-item.active {
    background: rgba(226, 185, 107, 0.12) !important;
    color: #E2B96B !important;
    border-left: 3px solid #E2B96B !important;
}

body.admin-body .sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Header overrides */
body.admin-body .admin-header {
    background: rgba(248, 246, 242, 0.8) !important; /* matching warm cream background */
    border-bottom: 1px solid rgba(28, 43, 27, 0.08) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.admin-body .header-title {
    color: #172618 !important;
}

body.admin-body .admin-role {
    color: rgba(28, 43, 27, 0.5) !important;
}

body.admin-body .admin-name {
    color: #172618 !important;
}

body.admin-body .admin-avatar {
    background: #B89047 !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(28, 43, 27, 0.08) !important;
}

body.admin-body .mobile-menu-btn span {
    background: #172618 !important;
}

/* Panel Header */
body.admin-body .panel-intro-header h2 {
    color: #172618 !important;
}

body.admin-body .panel-intro-header p {
    color: rgba(28, 43, 27, 0.6) !important;
}

/* Cards grid & cards */
body.admin-body .admin-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(28, 43, 27, 0.06) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 27, 0.03) !important;
}

body.admin-body .admin-card:hover {
    background: #FFFFFF !important;
    border-color: rgba(184, 144, 71, 0.3) !important;
    box-shadow: 0 10px 30px rgba(28, 43, 27, 0.06) !important;
}

body.admin-body .admin-card.accent-gold {
    border-top: 4px solid #B89047 !important;
}

body.admin-body .admin-card.accent-sage {
    border-top: 4px solid #5F7D61 !important;
}

body.admin-body .card-title {
    color: rgba(28, 43, 27, 0.5) !important;
}

body.admin-body .card-metric {
    color: #172618 !important;
}

body.admin-body .card-trend {
    color: rgba(28, 43, 27, 0.4) !important;
}

body.admin-body .card-trend.text-success {
    color: #487A46 !important;
}

body.admin-body .card-trend.text-danger {
    color: #C0392B !important;
}

/* Detailed panels and sections */
body.admin-body .overview-chart-preview,
body.admin-body .overview-practitioners-summary,
body.admin-body .trend-summary-card,
body.admin-body .analytics-chart-container {
    background: #FFFFFF !important;
    border: 1px solid rgba(28, 43, 27, 0.06) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 27, 0.03) !important;
}

body.admin-body .overview-chart-preview h3,
body.admin-body .overview-practitioners-summary h3,
body.admin-body .chart-header h3,
body.admin-body .trend-summary-card h4 {
    color: #172618 !important;
}

body.admin-body .chart-legend {
    color: rgba(28, 43, 27, 0.6) !important;
}

body.admin-body .trend-card-value {
    color: #172618 !important;
}

body.admin-body .chart-caption {
    color: rgba(28, 43, 27, 0.4) !important;
}

body.admin-body .operations-bullets li {
    color: rgba(28, 43, 27, 0.7) !important;
}

body.admin-body .operations-bullets li::before {
    color: #B89047 !important;
}

/* Tables styling */
body.admin-body .table-container {
    background: #FFFFFF !important;
    border: 1px solid rgba(28, 43, 27, 0.06) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 27, 0.03) !important;
}

body.admin-body .crud-table th {
    background: #F4F1EA !important;
    color: #172618 !important;
    border-bottom: 1px solid rgba(28, 43, 27, 0.08) !important;
}

body.admin-body .crud-table td {
    color: #2C352B !important;
    border-bottom: 1px solid rgba(28, 43, 27, 0.04) !important;
}

body.admin-body .crud-table tbody tr:hover {
    background: rgba(244, 241, 234, 0.3) !important;
}

body.admin-body .crud-table code {
    background: rgba(184, 144, 71, 0.08) !important;
    color: #9E742E !important;
}

body.admin-body .assigned-emp-pill {
    background: #F4F1EA !important;
    border: 1px solid rgba(28, 43, 27, 0.08) !important;
    color: #172618 !important;
}

/* Inbox/Message list */
body.admin-body .inbox-list {
    background: #FFFFFF !important;
    border: 1px solid rgba(28, 43, 27, 0.06) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 27, 0.03) !important;
}

body.admin-body .inbox-item {
    border-bottom: 1px solid rgba(28, 43, 27, 0.04) !important;
}

body.admin-body .inbox-item:hover {
    background: rgba(244, 241, 234, 0.2) !important;
}

body.admin-body .inbox-item.unread {
    background: rgba(184, 144, 71, 0.04) !important;
    border-left: 3px solid #B89047 !important;
}

body.admin-body .inbox-sender {
    color: #172618 !important;
}

body.admin-body .inbox-item.unread .inbox-sender {
    color: #9E742E !important;
}

body.admin-body .inbox-date {
    color: rgba(28, 43, 27, 0.5) !important;
}

body.admin-body .inbox-subject {
    color: #2C352B !important;
}

body.admin-body .inbox-body-snippet {
    color: rgba(28, 43, 27, 0.5) !important;
}

body.admin-body .preview-empty-state {
    border: 1px dashed rgba(28, 43, 27, 0.1) !important;
    color: rgba(28, 43, 27, 0.4) !important;
}

body.admin-body .message-view-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(28, 43, 27, 0.06) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 27, 0.03) !important;
}

body.admin-body .message-view-header {
    border-bottom: 1px solid rgba(28, 43, 27, 0.08) !important;
}

body.admin-body .message-view-header h2 {
    color: #172618 !important;
}

body.admin-body .msg-meta-text {
    color: rgba(28, 43, 27, 0.5) !important;
}

body.admin-body .message-view-body {
    color: #2C352B !important;
}

body.admin-body .message-view-footer {
    border-top: 1px solid rgba(28, 43, 27, 0.08) !important;
}

/* Expenses */
body.admin-body .expenses-summary-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(28, 43, 27, 0.06) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 27, 0.03) !important;
}

body.admin-body .sum-label {
    color: rgba(28, 43, 27, 0.5) !important;
}

body.admin-body .sum-value {
    color: #172618 !important;
}

/* Services & Employees */
body.admin-body .service-mgmt-card, 
body.admin-body .employee-mgmt-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(28, 43, 27, 0.06) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 27, 0.03) !important;
}

body.admin-body .service-mgmt-body h3, 
body.admin-body .employee-card-details h3 {
    color: #172618 !important;
}

body.admin-body .service-mgmt-price, 
body.admin-body .emp-experience {
    color: #9E742E !important;
}

body.admin-body .service-mgmt-desc, 
body.admin-body .emp-bio {
    color: #2C352B !important;
}

body.admin-body .service-mgmt-footer {
    background: #F4F1EA !important;
    border-top: 1px solid rgba(28, 43, 27, 0.06) !important;
}

body.admin-body .emp-contact-info {
    color: rgba(28, 43, 27, 0.5) !important;
    border-top: 1px solid rgba(28, 43, 27, 0.06) !important;
}

body.admin-body .employee-card-actions {
    border-top: 1px solid rgba(28, 43, 27, 0.06) !important;
}

/* Forms and CRUD inputs */
body.admin-body input,
body.admin-body textarea,
body.admin-body select,
body.admin-body .form-control {
    background: #FFFFFF !important;
    border: 1px solid #D6D2C4 !important;
    color: #2C352B !important;
}

body.admin-body input:focus,
body.admin-body textarea:focus,
body.admin-body select:focus,
body.admin-body .form-control:focus {
    border-color: #B89047 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(184, 144, 71, 0.1) !important;
    outline: none !important;
}

body.admin-body label,
body.admin-body .form-group label,
body.admin-body .form-label {
    color: #172618 !important;
}

body.admin-body input::placeholder,
body.admin-body textarea::placeholder {
    color: rgba(28, 43, 27, 0.4) !important;
}

@media (max-width: 768px) {
    body.admin-body .crud-table tr {
        background: #FFFFFF !important;
        border: 1px solid rgba(28, 43, 27, 0.08) !important;
    }
    body.admin-body .crud-table td {
        border-bottom: 1px solid rgba(28, 43, 27, 0.04) !important;
    }
}
}