/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
   :root {
    /* Color Palette */
    --clr-primary: #557A46; /* Sage Green */
    --clr-primary-dark: #3A4D39; /* Deep Green */
    --clr-primary-light: #7A9D54;
    --clr-secondary: #D4A373; /* Warm Sand/Wood */
    --clr-dark: #2C2C2C; /* Deep Gray for text */
    --clr-light: #F9F7F3; /* Off white background */
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-dark);
    background-color: var(--clr-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--clr-primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: var(--space-xxl) 0;
}

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

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

/* Typography utilities */
.section-subtitle {
    display: block;
    color: var(--clr-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    color: #666;
    font-size: 1.1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-white);
    color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-primary-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 10000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

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

@media (min-width: 769px) {
    .nav-actions {
        margin-left: 2rem;
        flex-shrink: 0;
    }
}

.logo {
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-white);
}

.logo span {
    color: var(--clr-secondary);
}

.brand-text {
    line-height: 1;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .logo {
        font-size: 1rem;
    }
}

.navbar.scrolled .logo {
    color: var(--clr-primary-dark);
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
    color: var(--clr-white);
    font-size: 1.25rem;
    border: 2px solid rgba(255,255,255,0.12);
}
.logo-mark i { transform: translateY(1px); }

.navbar.scrolled .logo-mark {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: rgba(85,122,70,0.15);
}

/* Logo image styling */
.logo-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    display: inline-block;
    background: transparent;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

.navbar.scrolled .logo-img {
    box-shadow: none;
    border-color: rgba(85,122,70,0.12);
}

.navbar.scrolled .btn-outline {
    color: var(--clr-dark);
    border-color: rgba(85, 122, 70, 0.6);
}

.navbar.scrolled .btn-outline:hover {
    background-color: rgba(85, 122, 70, 0.1);
    color: var(--clr-dark);
}

.navbar.scrolled .notification-btn {
    border-color: rgba(85, 122, 70, 0.25);
    background: rgba(85, 122, 70, 0.06);
    color: var(--clr-primary-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links { z-index: 10001; }

.nav-links a { pointer-events: auto; }

.nav-links a {
    color: var(--clr-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--clr-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--clr-secondary);
}

.nav-links a.active::after {
    width: 100%;
    background-color: var(--clr-secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-white);
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--clr-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/3b739845-d61a-4817-a8ab-3bdc67d4acf0.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--clr-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(44,44,44,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero .subtitle {
    display: block;
    font-size: 1.125rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    color: var(--clr-secondary);
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--clr-white);
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Journey / How it works section */
.journey-section {
    background-color: var(--clr-primary-dark);
    color: var(--clr-white);
    padding: 5rem 0;
}
.journey-section .section-subtitle {
    color: rgba(212,163,115,0.9);
}
.journey-section .section-title {
    color: var(--clr-white);
    margin-bottom: 0.5rem;
}
.journey-section .section-desc {
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
}
.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
    margin-top: 1.5rem;
}
.journey-step {
    text-align: center;
}
.journey-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--clr-white);
    position: relative;
    margin-bottom: 1rem;
}
.journey-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #f2b94a;
    color: #1a1a1a;
    border-radius: 50%;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 0.9rem;
}
.journey-step h3 {
    color: var(--clr-white);
    margin: 0.5rem 0 0.75rem;
}
.journey-step p {
    color: rgba(255,255,255,0.85);
    max-width: 320px;
    margin: 0 auto;
}
.journey-cta {
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .journey-grid { grid-template-columns: 1fr; gap: 2rem; }
    .journey-icon { width: 90px; height: 90px; font-size: 1.6rem; }
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    border: 10px solid var(--clr-light);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    text-align: center;
    font-family: var(--font-heading);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.features-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--clr-primary-dark);
}

.features-list i {
    color: var(--clr-secondary);
    font-size: 1.25rem;
}

/* ==========================================================================
   Wellness Section (Cards Grid)
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--clr-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
    overflow: hidden;
    height: 240px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Gallery styles */
.gallery-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}
.gallery-item.hidden { display: none !important; }

/* Therapy metadata: duration and price display */
.therapy-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #444;
}
.therapy-time {
    background-color: #f5f5f5;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    color: #555;
    font-weight: 600;
}
.therapy-price {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-weight: 700;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.therapy-book-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    letter-spacing: normal;
    text-transform: none;
}

.therapy-book-btn i {
    display: none;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background-color: var(--clr-primary-dark);
    color: var(--clr-white);
    padding: 6rem 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../img/4173a541-bcfd-49e8-8f6a-7c26a66c740e.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--clr-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Footer - Compact & Elegant
   ========================================================================== */
.footer {
    background: linear-gradient(160deg, #1d2e1c 0%, #2a3d29 60%, #1A1A1A 100%);
    color: #aaa;
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr;
    gap: 3rem;
    padding: 3.5rem 0 2.5rem;
}

/* Brand column */
.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-white);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-brand .footer-logo span {
    color: var(--clr-secondary);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #999;
    max-width: 260px;
    margin-bottom: 1.25rem;
}

/* Social icons */
.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    background-color: rgba(255,255,255,0.07);
    color: #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-2px);
}

/* Columns */
.footer-col h4 {
    color: var(--clr-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul a {
    color: #999;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.footer-col ul a i {
    font-size: 0.95rem;
    color: var(--clr-secondary);
    opacity: 0.7;
}

.footer-col ul a:hover {
    color: var(--clr-secondary);
    padding-left: 4px;
}

/* Contact list */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem !important;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #999;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-contact-list i {
    color: var(--clr-secondary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom-inner i {
    vertical-align: middle;
}

/* ==========================================================================
   Accessibility & Utility Classes
   ========================================================================== */

/* Phone Link Styling */
.phone-link {
    color: var(--clr-primary);
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--clr-primary-dark);
    text-decoration: underline;
}

/* Heart Icon Color */
.heart-icon {
    color: var(--clr-secondary) !important;
}

/* Dashboard Logout Button */
.logout-btn {
    margin-top: auto;
}

/* Submit Form Button */
.submit-form-btn {
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}


/* ==========================================================================
   Doctors Section
   ========================================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.doctor-card {
    background-color: var(--clr-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.doctor-img-wrapper {
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f5f0;
}

.doctor-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.8s ease;
}

.doctor-card:hover .doctor-img-wrapper img {
    transform: scale(1.02);
}

.doctor-info {
    padding: 1.75rem;
}

.doctor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.doctor-title {
    display: block;
    color: var(--clr-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.doctor-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.doctor-tags span {
    background-color: rgba(85, 122, 70, 0.1);
    color: var(--clr-primary-dark);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   Packages Section
   ========================================================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
    margin-top: 1rem;
}

.package-card {
    background-color: var(--clr-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-featured {
    background: linear-gradient(145deg, var(--clr-primary-dark), #2d6a4f);
    color: var(--clr-white);
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}

.package-featured:hover {
    transform: scale(1.04) translateY(-8px);
}

.package-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    position: relative;
}

.package-featured .package-header {
    border-bottom-color: rgba(255,255,255,0.2);
}

.package-badge {
    display: inline-block;
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.package-featured .package-header h3 {
    color: var(--clr-white);
}

.package-duration {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 1rem;
}

.package-featured .package-duration {
    color: rgba(255,255,255,0.7);
}

.package-price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.package-featured .package-price {
    color: var(--clr-secondary);
}

.package-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
    font-family: var(--font-body);
}

.package-featured .package-price span {
    color: rgba(255,255,255,0.6);
}

.package-features {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    list-style: none;
    margin-bottom: 0.5rem;
    overflow:scroll;
    height: 400px
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

/* Desktop: show two packages in view and keep clean spacing */
@media (min-width: 900px) {
    .packages-grid {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .packages-grid.collapsed .package-card:nth-child(n+3) {
        display: none;
    }

    .packages-header-controls {
        display: flex;
        justify-content: flex-end;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .packages-header-controls .btn {
        min-width: 220px;
    }

    .packages-arrow {
        display: none;
    }
}

/* Packages arrow buttons */
.packages-wrapper {
    position: relative;
}

.packages-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.06);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.packages-arrow:hover {
    background: rgba(0,0,0,0.12);
}

.packages-arrow-left {
    left: -10px;
}

.packages-arrow-right {
    right: -10px;
}

.packages-arrow.hidden {
    opacity: 0.2;
    pointer-events: none;
}

/* Therapies wrapper & arrows reuse similar styling as packages */
.therapies-wrapper {
    position: relative;
}

.therapies-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.06);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.therapies-arrow:hover { background: rgba(0,0,0,0.12); }
.therapies-arrow-left { left: -8px; }
.therapies-arrow-right { right: -8px; }
.therapies-arrow.hidden { opacity: 0.2; pointer-events: none; }

@media (min-width: 900px) {
    /* Make therapy cards horizontal scrollable showing two cards per view */
    .cards-grid {
        display: flex;
        gap: 1.25rem;
        align-items: start;
        margin-top: 1rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .cards-grid::-webkit-scrollbar { height: 10px; }
    .cards-grid::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 10px; }

    .card {
        flex: 0 0 48%;
        scroll-snap-align: start;
        margin: 0;
    }
}

.package-featured .package-features li {
    color: rgba(255,255,255,0.85);
}

.package-features i {
    color: var(--clr-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.package-featured .package-features i {
    color: var(--clr-secondary);
}

.package-features li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.package-features li.disabled i {
    color: #999;
}

.package-card .btn {
    margin: 0 2rem 2rem;
    display: block;
    text-align: center;
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--clr-white);
    border-radius: 50px;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-outline-dark:hover {
    background-color: var(--clr-white);
    color: var(--clr-primary-dark);
    border-color: var(--clr-white);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-color: var(--clr-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(85, 122, 70, 0.3);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.map-col iframe {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .package-featured {
        transform: scale(1);
    }
    .package-featured:hover {
        transform: translateY(-8px);
    }
}

/* ==========================================================================
   Booking Section
   ========================================================================== */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--clr-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(85, 122, 70, 0.1);
}

textarea.form-input {
    resize: vertical;
    margin-bottom: 1.5rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.form-message {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 1rem;
    animation: fadeSlideDown 0.4s ease;
}

.form-success {
    background: linear-gradient(135deg, #e9f7ef, #d4edda);
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-error {
    background: linear-gradient(135deg, #fdf3f3, #f8d7da);
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-message i {
    font-size: 1.75rem;
    flex-shrink: 0;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

.spin {
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@media (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
    }
    .booking-form {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.slide-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-in {
    opacity: 1 !important;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1 !important;
}

.doctor-card {
    opacity: 1 !important;
}

.package-card {
    opacity: 1 !important;
}

.gallery-item {
    opacity: 1 !important;
}

.review-card {
    opacity: 1 !important;
}

.contact-info-col {
    opacity: 1 !important;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 480px) {
    .modal-container {
        padding: 1.5rem;
    }
}

/* --- Gallery Section Styles --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .experience-badge {
        right: 20px;
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--clr-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--clr-dark);
    }
    
    .nav-actions {
        gap: 0.4rem;
    }

    .nav-actions .btn-primary {
        display: inline-block;
        padding: 0.55rem 0.7rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .nav-actions .btn-outline {
        display: inline-block;
        padding: 0.55rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }

    .mobile-menu-btn {
        display: block;
        order: 3;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Modals & User Panel
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background-color: var(--clr-white);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10002;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

/* Auth Modal Specifics */
.auth-modal {
    padding: 3rem 2.5rem;
}

.auth-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    background: none;
    border: none;
    padding-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--clr-primary-dark);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-primary);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group-single {
    margin-bottom: 1.5rem;
}

.form-group-single label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group-single input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    transition: var(--transition);
}

.password-input-wrap:focus-within {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(85, 122, 70, 0.1);
}

.password-input-wrap input {
    border: none;
    box-shadow: none;
    background: transparent;
    padding-right: 3rem;
}

.password-input-wrap input:focus {
    outline: none;
    box-shadow: none;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--clr-primary);
}

.form-group-single input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(85, 122, 70, 0.1);
}

.btn-block {
    width: 100%;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.auth-switch a {
    color: var(--clr-primary);
    font-weight: 600;
}

/* Dashboard Modal Specifics */
.dashboard-modal {
    max-width: 1300px;
    width: 95%;
    display: grid;
    grid-template-columns: 300px 1fr;
    padding: 0;
    overflow: hidden;
    height: 90vh;
    border: 1px solid #ece6dc;
    background-color: #f7f4ef;
}

.dashboard-sidebar {
    background-color: #faf6ef;
    padding: 2rem 1.5rem;
    border-right: 1px solid #ece6dc;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Enable scrolling for many menu items */
    max-height: 100%;
}

.user-info-brief {
    text-align: center;
    margin-bottom: 2.5rem;
}

.user-avatar {
    width: 90px;
    height: 90px;
    background-color: var(--clr-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
}

.user-info-brief h3 {
    margin-bottom: 0.25rem;
    font-size: 1.3rem;
    color: var(--clr-dark);
}

.user-info-brief p {
    font-size: 0.88rem;
    color: #7a7a7a;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-nav-item {
    background: #fff;
    border: 1px solid transparent;
    padding: 0.95rem 1.25rem;
    text-align: left;
    font-family: inherit;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #5d5d5d;
    transition: var(--transition);
}

.dashboard-nav-item i {
    font-size: 1.2rem;
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
    background-color: #fff;
    color: var(--clr-primary-dark);
    border-color: rgba(85, 122, 70, 0.15);
    box-shadow: var(--shadow-sm);
}

.logout-btn {
    margin-top: auto !important;
    color: #e63946 !important;
    background: #fff5f5 !important;
    border: 1px solid rgba(230, 57, 70, 0.15) !important;
}

.logout-btn:hover {
    background-color: #e63946 !important;
    color: white !important;
}

.dashboard-content {
    padding: 3rem 3.5rem;
    background-color: var(--clr-white);
    overflow-y: auto;
    height: 100%;
}

.view-header {
    margin-bottom: 2rem;
}

.view-header h2 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.view-header p {
    color: #7a7a7a;
    line-height: 1.7;
}

.dashboard-view {
    display: none;
}

.dashboard-view.active {
    display: block;
}

/* Admin Form Panel */
.admin-form-container {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #eee;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.admin-tab {
    background: #f5f1e9;
    border: 1px solid transparent;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    color: #6f6a65;
    cursor: pointer;
    transition: var(--transition);
}

.admin-tab.active {
    background: var(--clr-primary);
    color: white;
    border-color: rgba(85, 122, 70, 0.2);
    box-shadow: var(--shadow-sm);
}

.admin-content-view {
    padding-top: 0.5rem;
}

.admin-section {
    background-color: #fbf8f3;
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.admin-section h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: var(--clr-primary-dark);
}

.admin-input {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 16px;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.admin-input:focus,
.admin-textarea:focus,
.admin-select:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(85, 122, 70, 0.08);
}

.admin-textarea,
.admin-select {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 16px;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.admin-items-grid {
    display: grid;
    gap: 1rem;
}

.admin-card {
    background: #fff;
    border: 1px solid #e5e1d5;
    border-radius: 20px;
    padding: 1rem 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(85, 122, 70, 0.04);
}

.admin-card.header-row {
    display: grid;
    grid-template-columns: minmax(auto, 140px) 1fr;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.admin-card .admin-item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: flex-start;
}

.admin-card .admin-item-row .field-group {
    display: grid;
    gap: 0.5rem;
}

.admin-card .admin-item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.admin-card button {
    margin-top: 0.5rem;
}

.admin-card textarea {
    min-height: 96px;
}

.admin-actions-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.admin-actions-row.admin-actions-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: white;
    padding: 1rem 0 0.75rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.admin-actions-row.admin-actions-top .btn {
    margin-top: 0;
}

.admin-actions-row.admin-actions-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.admin-status-success {
    color: #276749;
}

.admin-status-error {
    color: #b83280;
}

.admin-notice {
    display: block;
    font-size: 0.95rem;
    color: #6f6a65;
}

.btn-outline {
    border: 1px solid rgba(85, 122, 70, 0.18);
    color: var(--clr-primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(85, 122, 70, 0.08);
}

.btn-sm {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.dashboard-modal .dashboard-sidebar::-webkit-scrollbar,
.dashboard-content::-webkit-scrollbar {
    width: 8px;
}

.dashboard-modal .dashboard-sidebar::-webkit-scrollbar-thumb,
.dashboard-content::-webkit-scrollbar-thumb {
    background: rgba(85, 122, 70, 0.2);
    border-radius: 999px;
}

@media (max-width: 980px) {
    .dashboard-modal {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 95vh;
    }
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid #ece6dc;
        padding: 1.5rem;
    }
    .dashboard-content {
        padding: 2rem;
    }
    .dashboard-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    .dashboard-nav-item {
        flex: 0 0 auto;
    }
}

/* Booking Cards in Dashboard */
.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.booking-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.booking-actions-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.delete-booking-btn {
    background: #fff0f0;
    color: #e63946;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.delete-booking-btn:hover {
    background: #e63946;
    color: white;
    transform: scale(1.1);
}

.booking-item:hover {
    border-color: var(--clr-primary-light);
    box-shadow: var(--shadow-sm);
}

.booking-main-info h4 {
    margin-bottom: 0.25rem;
}

.booking-meta {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    gap: 1rem;
}

.booking-status {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending { background: #fff8e1; color: #f57c00; }
.status-confirmed { background: #e8f5e9; color: #2e7d32; }

.empty-state {
    text-align: center;
    padding: 3rem 0;
    color: #bbb;
}

.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

@media (max-width: 800px) {
    .dashboard-modal {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 1.5rem;
    }
    .dashboard-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    .dashboard-nav-item {
        white-space: nowrap;
    }
}

/* Diet Plan Styles */
.diet-day-selector {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.diet-day-selector span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}

.diet-day-selector span.active {
    color: var(--clr-primary);
    position: relative;
}

.diet-day-selector span.active::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-primary);
}

.diet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.diet-card {
    background-color: #f9f7f3;
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--clr-secondary);
    transition: var(--transition);
}

.diet-card:hover {
    transform: translateX(5px);
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.diet-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-secondary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.diet-card h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.diet-card p {
    font-size: 0.85rem;
    color: #666;
}

/* ========================================================================== 
   Mobile Layout Overrides
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        width: min(100% - 2rem, 1200px);
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .navbar {
        padding: 0.85rem 0;
    }

    .logo-img {
        width: 44px;
        height: 44px;
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .nav-actions {
        margin-right: 0.75rem;
    }

    .mobile-menu-btn {
        font-size: 1.65rem;
        line-height: 1;
    }

    .hero {
        min-height: 680px;
        height: 100svh;
    }

    .hero .subtitle {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
        line-height: 1.5;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 11vw, 3rem);
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        max-width: 22rem;
    }

    .hero-btns .btn {
        text-align: center;
    }

    .about-container {
        gap: 2.5rem;
    }

    .about-image {
        min-height: 280px;
    }

    .experience-badge {
        width: 112px;
        height: 112px;
        right: 12px;
        bottom: -12px;
        border-width: 7px;
    }

    .experience-badge .number {
        font-size: 1.6rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .doctors-grid,
    .packages-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .therapies-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        padding: 0 0.15rem 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .therapies-wrapper {
        max-width: 100%;
        overflow: hidden;
    }

    .therapies-grid .card {
        flex: 0 0 min(88vw, 340px);
        scroll-snap-align: start;
    }

    .therapies-grid::-webkit-scrollbar {
        height: 6px;
    }

    .therapies-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.16);
        border-radius: 10px;
    }

    .therapies-arrow,
    .packages-arrow {
        display: none;
    }

    .card-content,
    .doctor-info {
        padding: 1.35rem;
    }

    .card-img-wrapper {
        height: 210px;
    }

    .therapy-meta {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .package-card,
    .doctor-card,
    .card {
        min-width: 0;
    }

    .package-header,
    .package-features {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }

    .package-features {
        height: auto;
        max-height: 320px;
        overflow-y: auto;
    }

    .package-card .btn {
        margin-left: 1.35rem;
        margin-right: 1.35rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .contact-grid {
        gap: 2.5rem;
    }

    .contact-item {
        gap: 0.85rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .booking-form {
        padding: 1.35rem;
        border-radius: 16px;
    }

    .form-group {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .form-input {
        padding: 0.9rem 1rem;
    }

    .modal {
        padding: 0.75rem;
    }

    .modal-container {
        max-height: calc(100svh - 1.5rem);
        border-radius: 16px;
    }

    .auth-modal {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .dashboard-modal {
        width: 100%;
        max-height: calc(100svh - 1.5rem);
        border-radius: 16px;
    }

    .dashboard-sidebar {
        padding: 1rem;
    }

    .user-info-brief {
        margin-bottom: 1rem;
    }

    .user-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .dashboard-content {
        padding: 1.25rem;
    }

    .view-header h2 {
        font-size: 1.7rem;
    }

    .booking-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding: 1.1rem;
    }

    .booking-meta {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }

    .booking-actions-status {
        width: 100%;
        justify-content: space-between;
    }

    .admin-form-container,
    .admin-section {
        padding: 1rem;
        border-radius: 16px;
    }

    .admin-card .admin-item-row,
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
}

@media (max-width: 380px) {
    .container {
        width: min(100% - 1.25rem, 1200px);
    }

    .section {
        padding: 3.25rem 0;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .nav-actions .btn-primary,
    .nav-actions .btn-outline {
        padding: 0.45rem 0.55rem;
        font-size: 0.72rem;
    }

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

/* Payment Table Styles */
.table-responsive {
    overflow-x: auto;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.payment-table th {
    text-align: left;
    padding: 1rem;
    background-color: #f9f7f3;
    color: #555;
    font-weight: 600;
    border-bottom: 2px solid #eee;
}

.payment-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: #666;
}

.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-badge.paid {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--clr-primary);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--clr-secondary);
}

/* New Dashboard Views Styling */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.health-form select,
.health-form input,
.health-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.health-form select:focus,
.health-form input:focus,
.health-form textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(85, 122, 70, 0.1);
}

.health-form label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #555;
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.offer-card-mini {
    background: #fdfaf5;
    border: 2px dashed #d4a373;
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.offer-card-mini:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--clr-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 1;
}

.offer-card-mini h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--clr-primary-dark);
}

.offer-card-mini p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1.25rem;
}

/* Inbox Messages Styles */
.messages-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    transition: var(--transition);
}

.message-item:hover {
    border-color: var(--clr-primary-light);
    box-shadow: var(--shadow-sm);
}

.message-item.unread {
    border-left: 4px solid var(--clr-primary);
    background: #f8faf7;
}

.msg-icon {
    width: 40px;
    height: 40px;
    background: #f0f4ef;
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.msg-body h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.msg-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.msg-time {
    font-size: 0.75rem;
    color: #999;
}

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

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: left;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-stars {
    color: #FFB347;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-card p {
    font-style: italic;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: var(--clr-primary-dark);
}

.review-author span {
    font-size: 0.85rem;
    color: #888;
}

/* Rating Input in Dashboard */
.rating-input {
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.rating-input i {
    cursor: pointer;
    transition: var(--transition);
}

.rating-input i.active {
    color: #FFB347;
}

/* Star Button Styling */
.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.5rem;
    color: #ddd;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.star-btn:hover,
.star-btn:focus {
    color: #FFB347;
    outline: 2px solid var(--clr-primary);
    outline-offset: 2px;
}

.star-btn.active {
    color: #FFB347;
}

/* Hidden Element Utility */
.hidden-element {
    display: none !important;
}

/* Resort Map Styling */
.resort-map {
    border: 0;
    border-radius: 16px;
}

/* WhatsApp Container */
.whatsapp-container {
    margin-top: 1rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366 !important;
    color: white !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.2rem !important;
    border-radius: 999px !important;
    font-weight: 600;
}

.whatsapp-btn:hover {
    background: #20ba5f !important;
}

.whatsapp-direct-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.whatsapp-icon {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #E8F7EE;
    color: #25D366;
    font-size: 1.3rem;
}

.whatsapp-direct-item h4 {
    margin-bottom: 0.5rem;
}

.whatsapp-floating {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    background: #25D366;
    color: white;
    padding: 0.95rem 1rem;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10005;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.whatsapp-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.25);
}

.whatsapp-floating i {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .whatsapp-floating {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.85rem 0.95rem;
    }
}

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

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- Lightbox Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: block;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0.8)}
    to {transform:scale(1)}
}
