/* ============================================
   HOMEPAGE & MAIN SITE DESIGN SYSTEM
   Premium, Warm, Wellness-Themed
   ============================================ */

:root {
    /* Primary Colors */
    --color-primary: #4A9C82;
    --color-primary-dark: #164E4A;
    --color-primary-light: #6BB8A1;
    --color-secondary: #FFF7EC;
    --color-accent: #FF9C7A;
    --color-accent-light: #FFB399;
    /* Backgrounds */
    --color-bg-main: #F4F9F4;
    --color-bg-gradient: linear-gradient(135deg, #F8FBF8 0%, #FFF7EC 100%);
    --color-bg-card: #FFFFFF;
    --color-bg-section: rgba(255, 247, 236, 0.3);
    /* Text Colors */
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #666666;
    --color-text-light: #999999;
    --color-text-white: #FFFFFF;
    /* Borders & Shadows */
    --color-border: #E8E8E8;
    --color-border-light: #F0F0F0;
    /* Soft Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.1);
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    /* Typography */
    --font-heading: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-main);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: rgba(255, 247, 236, 0.65);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-2xl);
    transition: box-shadow var(--transition-base);
}

    .navbar.scrolled {
        box-shadow: var(--shadow-md);
    }

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: var(--spacing-2xl);
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
    white-space: nowrap;
}

    .navbar-brand img {
        height: 40px;
        width: auto;
    }

.navbar-brand-premium {
    /*flex-direction: column;*/
    align-items: flex-start;
    gap: var(--spacing-xs);
    white-space: normal;
    line-height: 1.2;
}

    .navbar-brand-premium .brand-icon {
        font-size: 1.75rem;
        line-height: 1;
    }

    .navbar-brand-premium .brand-text {
        font-size: var(--font-size-sm);
        color: var(--color-text-primary);
        font-weight: 600;
    }

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: var(--spacing-2xl) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
    justify-content: center !important;
}

    .navbar-nav li {
        margin: 0 !important;
        display: block !important;
    }

    .navbar-nav a {
        text-decoration: none;
        color: var(--color-text-primary);
        font-weight: 500;
        transition: color var(--transition-fast);
        font-size: var(--font-size-sm);
        display: inline-block !important;
        padding: 0 !important;
    }

        .navbar-nav a:hover {
            color: var(--color-primary);
        }

/* Hamburger Toggle Button */
.hamburger-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    gap: 6px;
}

    .hamburger-toggle span {
        width: 24px;
        height: 2.5px;
        background-color: var(--color-text-primary);
        border-radius: 2px;
        transition: all var(--transition-base);
        display: block;
    }

    .hamburger-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

/* Mobile Menu Container */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    flex: 1;
    justify-content: space-between;
    flex-direction: row;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-shrink: 0;
}

/* Login Button */
.btn-login {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-size-lg);
}

    .btn-login:hover {
        background-color: var(--color-primary);
        color: var(--color-text-white);
    }

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-trigger {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    border: none;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-lg);
    transition: all var(--transition-fast);
}

    .profile-trigger:hover {
        background-color: var(--color-primary);
        color: var(--color-text-white);
    }

.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--spacing-sm);
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    display: none;
    z-index: 1050;
}

.profile-dropdown.active .profile-menu {
    display: block;
}

.profile-menu a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--color-border-light);
    font-size: var(--font-size-sm);
}

    .profile-menu a:last-child {
        border-bottom: none;
    }

    .profile-menu a:hover {
        background-color: var(--color-secondary);
        color: var(--color-primary);
        padding-left: var(--spacing-xl);
    }

/* Panel Link - Highlighted */
.navbar-panel-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

    .navbar-panel-link:hover {
        background-color: var(--color-primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

/* Appointment Button */
.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-accent);
    color: var(--color-text-white);
    padding: var(--spacing-sm) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

    .btn-appointment:hover {
        background-color: var(--color-accent-light);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .btn-appointment:active {
        transform: translateY(0);
    }

/* ============================================
   NAVBAR PREMIUM - Bootstrap Navbar Styling
   ============================================ */

.navbar-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: rgba(255, 247, 236, 0.65);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1000;
    padding: 0 var(--spacing-2xl);
    transition: box-shadow var(--transition-base);
}

    .navbar-premium.scrolled {
        box-shadow: var(--shadow-md);
    }

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: var(--spacing-2xl);
    position: relative;
}

/* Navbar Toggler - Hamburger Button */
.navbar-toggler-custom {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex; /* Show by default (mobile first) */
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

    .navbar-toggler-custom:focus {
        outline: none;
        box-shadow: none;
    }

    .navbar-toggler-custom .navbar-toggler-icon {
        width: 24px;
        height: 2px;
        background-color: var(--color-text-primary);
        position: relative;
        display: block;
        transition: all var(--transition-base);
    }

        .navbar-toggler-custom .navbar-toggler-icon::before,
        .navbar-toggler-custom .navbar-toggler-icon::after {
            content: '';
            position: absolute;
            width: 24px;
            height: 2px;
            background-color: var(--color-text-primary);
            left: 0;
            transition: all var(--transition-base);
        }

        .navbar-toggler-custom .navbar-toggler-icon::before {
            top: -8px;
        }

        .navbar-toggler-custom .navbar-toggler-icon::after {
            bottom: -8px;
        }

    .navbar-toggler-custom:not(.collapsed) .navbar-toggler-icon {
        background-color: transparent;
    }

        .navbar-toggler-custom:not(.collapsed) .navbar-toggler-icon::before {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .navbar-toggler-custom:not(.collapsed) .navbar-toggler-icon::after {
            transform: rotate(-45deg) translate(5px, -5px);
        }

/* Navigation Menu Center - Desktop (Horizontal) */
.navbar-nav-center {
    justify-content: center;
    flex: 1;
    gap: var(--spacing-2xl);
    flex-direction: row !important; /* Horizontal on desktop */
}

/* Desktop Navbar (768px and above) */
@media (min-width: 769px) {
    .navbar-toggler-custom {
        display: none !important; /* Hide hamburger on desktop */
    }

    .navbar-collapse {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        max-width: none !important;
        background-color: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        transform: none !important;
        overflow: visible !important;
        display: flex !important;
    }

    .navbar-nav-center {
        flex-direction: row !important; /* Keep horizontal */
    }

    .navbar-overlay {
        display: none !important;
    }
}

/* Nav Item Premium */
.nav-item-premium {
    position: relative;
}

/* Nav Link Premium */
.nav-link-premium {
    color: var(--color-text-primary) !important;
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: 0 !important;
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block !important;
}

    .nav-link-premium:hover {
        color: var(--color-primary) !important;
    }

    .nav-link-premium.active {
        color: var(--color-primary) !important;
    }

/* Navbar CTA Container */
.navbar-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

/* Appointment Button Premium */
.btn-appointment-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-accent);
    color: var(--color-text-white);
    padding: var(--spacing-sm) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    font-size: var(--font-size-sm);
}

    .btn-appointment-premium:hover {
        background-color: var(--color-accent-light);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .btn-appointment-premium:active {
        transform: translateY(0);
    }

/* ============================================
   FLOATING APPOINTMENT CTA
   ============================================ */

.floating-cta {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    z-index: 999;
    transition: all var(--transition-base);
    cursor: pointer;
    font-size: var(--font-size-2xl);
    border: none;
}

    .floating-cta:hover {
        transform: scale(1.1);
        box-shadow: var(--shadow-xl);
    }

.floating-cta-text {
    display: none;
}

@media (min-width: 768px) {
    .floating-cta {
        width: auto;
        padding: var(--spacing-md) var(--spacing-xl);
        border-radius: var(--radius-full);
        gap: var(--spacing-sm);
        font-size: var(--font-size-lg);
    }

    .floating-cta-text {
        display: inline;
        font-weight: 600;
        font-family: var(--font-heading);
    }
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.floating-cta:hover {
    animation: bounce 0.6s ease-in-out infinite;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 70px;
    padding: var(--spacing-4xl) var(--spacing-2xl);
    background: var(--color-bg-gradient);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

    .hero-content h1 {
        color: var(--color-primary);
        font-size: var(--font-size-5xl);
        line-height: 1.3;
    }

    .hero-content p {
        font-size: var(--font-size-lg);
        color: var(--color-text-secondary);
    }

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

    .btn-primary:hover {
        background-color: var(--color-primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: transparent;
    color: var(--color-primary);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

    .btn-outline:hover {
        background-color: var(--color-primary);
        color: var(--color-text-white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

/* Blog Link Button */
.btn-blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: transparent;
    color: var(--color-primary);
    padding: var(--spacing-md) 0;
    border: none;
    border-radius: 0;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

    .btn-blog-link:hover {
        color: var(--color-accent);
        padding-right: var(--spacing-md);
    }

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

/* ============================================
   CARDS
   ============================================ */

.card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

    .card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-2px);
    }

.card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.card-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-4xl) var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.form-label {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    background-color: var(--color-bg-card);
    transition: all var(--transition-fast);
}

    .form-control:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(74, 156, 130, 0.1);
    }

.form-control-icon {
    position: relative;
}

    .form-control-icon i {
        position: absolute;
        left: var(--spacing-lg);
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-primary);
        font-size: var(--font-size-lg);
        pointer-events: none;
    }

    .form-control-icon input {
        padding-left: 50px;
    }

/* ============================================
   UTILITIES
   ============================================ */

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-white {
    color: var(--color-text-white);
}

.text-center {
    text-align: center;
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.mt-2xl {
    margin-top: var(--spacing-2xl);
}

.mt-3xl {
    margin-top: var(--spacing-3xl);
}

.mt-4xl {
    margin-top: var(--spacing-4xl);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.mb-2xl {
    margin-bottom: var(--spacing-2xl);
}

.p-lg {
    padding: var(--spacing-lg);
}

.p-xl {
    padding: var(--spacing-xl);
}

.rounded {
    border-radius: var(--radius-lg);
}

.rounded-full {
    border-radius: var(--radius-full);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .navbar-nav {
        gap: var(--spacing-lg);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .hero-content h1 {
        font-size: var(--font-size-4xl);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.625rem;
    }

    /* Navbar Premium Mobile Styling */
    .navbar-premium {
        padding: 0 var(--spacing-lg);
        height: 60px;
    }

    /* Show hamburger on mobile */
    .navbar-toggler-custom {
        display: flex !important;
    }

    /* Right Slide-Out Sidebar Menu (Mobile Only) */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        /*bottom: 0;*/
        width: 75%;
        max-width: 420px;
        background-color: rgba(255, 247, 236, 0.99);
        backdrop-filter: blur(15px);
        padding: var(--spacing-2xl) var(--spacing-lg);
        box-shadow: var(--shadow-xl);
        z-index: 1050;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important; /* Show on mobile */
        flex-direction: row;
        flex-wrap:wrap;


    }

        /* Show the sidebar with smooth slide-in from right animation */
        .navbar-collapse.show {
            transform: translateX(0);
        }

    /* Mobile overlay backdrop */
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
        z-index: 1040;
        pointer-events: none;
        transition: background-color 350ms cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 350ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Show overlay when menu is open */
    .navbar-collapse.show ~ .navbar-overlay,
    .navbar-premium:has(.navbar-collapse.show) ~ .navbar-overlay {
        background-color: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(2px);
        pointer-events: auto;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Navigation vertical layout */
    .navbar-nav-center {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: var(--spacing-md) !important;
        justify-content: flex-start !important;
        flex: 1;
    }

    .nav-item-premium {
        width: 100%;
        margin: 0 !important;
    }

    /* Premium nav links in sidebar */
    .nav-link-premium {
        display: block !important;
        padding: var(--spacing-md) var(--spacing-lg) !important;
        border-radius: var(--radius-md);
        background-color: rgba(74, 156, 130, 0.08);
        transition: all var(--transition-fast);
        color: var(--color-text-primary) !important;
        font-size: var(--font-size-sm) !important;
        font-weight: 500 !important;
        border-left: 3px solid transparent;
    }

        .nav-link-premium:hover {
            background-color: rgba(74, 156, 130, 0.15) !important;
            padding-left: var(--spacing-xl) !important;
            border-left-color: var(--color-primary) !important;
            color: var(--color-primary) !important;
        }

        .nav-link-premium.active {
            background-color: rgba(74, 156, 130, 0.2) !important;
            border-left-color: var(--color-primary) !important;
            color: var(--color-primary) !important;
        }

    /* CTA Section in sidebar */
    .navbar-cta {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        gap: var(--spacing-md);
        margin-top: auto;
        padding-top: var(--spacing-lg);
        border-top: 1px solid rgba(74, 156, 130, 0.1);
    }

    .btn-appointment-premium {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg) !important;
    }

    .navbar-menu.active {
        max-height: 500px;
        opacity: 1;
        box-shadow: var(--shadow-md);
    }

    /* Mobile navbar items styling */
    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: var(--spacing-md) !important;
        justify-content: flex-start !important;
    }

        .navbar-nav li {
            margin: 0 !important;
        }

        .navbar-nav a {
            display: block !important;
            padding: var(--spacing-md) var(--spacing-lg) !important;
            border-radius: var(--radius-md);
            background-color: rgba(74, 156, 130, 0.05);
            transition: all var(--transition-fast);
        }

            .navbar-nav a:hover {
                background-color: rgba(74, 156, 130, 0.1);
                padding-left: var(--spacing-xl);
            }

    /* Mobile actions styling */
    .navbar-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .btn-login,
    .btn-appointment,
    .navbar-panel-link {
        width: 100% !important;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg) !important;
    }

    .hero {
        margin-top: 60px;
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Navbar Premium Extra Small Screens */
    .navbar-premium {
        height: 55px;
        padding: 0 var(--spacing-md);
    }

    .navbar-brand-premium {
        gap: 0;
    }

        .navbar-brand-premium .brand-text {
            font-size: 10px;
            line-height: 1.1;
        }

        .navbar-brand-premium .brand-icon {
            font-size: 1.25rem;
        }

    .navbar-collapse {
        width: 75%;
        max-width: 100%;
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .navbar-nav-center {
        gap: var(--spacing-sm);
    }

    .nav-link-premium {
        padding: var(--spacing-sm) var(--spacing-md) !important;
        font-size: 13px !important;
    }

    .navbar-cta {
        gap: var(--spacing-sm);
    }

    .btn-appointment-premium {
        padding: var(--spacing-sm) var(--spacing-lg) !important;
        font-size: 12px !important;
    }

    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }

    .floating-cta {
        width: 50px;
        height: 50px;
    }

    .floating-cta-text {
        display: none !important;
    }
}
