:root {
    --bs-primary: #4055A5;
    --bs-primary-rgb: 64, 85, 165;
    --bs-link-color: #4055A5;
    --bs-link-hover-color: #1C2752;
    --primary-color: #4055A5;
    /* Official Brand Primary Warm Blue */
    --primary-dark: #1C2752;
    /* Official Brand Deep Navy */
    --primary-light: #6D8FD6;
    /* Official Brand Support Sky Blue */
    --accent-gold: #D4AF37;
    /* Official Brand Accent Gold */
    --accent-gold-light: #F7EFE0;
    /* Official Brand Calm Beige */
    --bg-comfort: #E6F0FF;
    /* Official Brand Comfort Ice Blue */
    --bg-main: #F4F7FC;
    /* Soft Neutral Page Background */
    --text-dark: #1C2752;
    /* Rich Deep Navy Text */
    --text-muted: #64748B;
    /* Slate Muted Text */
    --glass-bg: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(109, 143, 214, 0.18);
    --card-shadow: 0 12px 32px -8px rgba(64, 85, 165, 0.08);
    --sidebar-bg: linear-gradient(180deg, #1C2752 0%, #2A3B7C 100%);
    --premium-font: 'Cairo', 'Tajawal', sans-serif;
}

/* Bootstrap Primary Overrides with Royal Gradient */
.btn-primary,
.bg-primary,
.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

.btn-primary {
    box-shadow: 0 4px 15px rgba(64, 85, 165, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.show {
    background: linear-gradient(135deg, var(--primary-dark), #151D3F) !important;
    border-color: #151D3F !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(28, 39, 82, 0.35);
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.bg-primary-subtle {
    background-color: rgba(64, 85, 165, 0.1) !important;
}

.text-primary-emphasis {
    color: var(--primary-dark) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: #ffffff !important;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--premium-font);
    background-color: var(--bg-main);
    color: var(--text-dark);
    min-height: 100vh;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* LTR English Overrides */
html[dir="ltr"] .navbar-floating-capsule,
html[dir="ltr"] .hero-wrapper,
html[dir="ltr"] .about-wrapper,
html[dir="ltr"] .services-wrapper,
html[dir="ltr"] .reels-wrapper,
html[dir="ltr"] .testimonials-wrapper,
html[dir="ltr"] .booking-banner-wrapper,
html[dir="ltr"] .footer-luxury,
html[dir="ltr"] .modal-content {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .credentials-list {
    text-align: left !important;
}

html[dir="ltr"] .credentials-list li i {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

html[dir="ltr"] .hero-availability-badge i,
html[dir="ltr"] .hero-stat i {
    margin-right: 0.35rem !important;
    margin-left: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--text-dark);
}

/* ═══ Admin Sidebar & Layout ═════════════════════════════════════ */
.admin-sidebar {
    background: var(--sidebar-bg);
    min-height: 100vh;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.admin-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
}

.admin-sidebar .sidebar-link i {
    font-size: 1.25rem;
    min-width: 28px;
    transition: transform 0.2s ease;
}

.admin-sidebar .sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(-3px);
}

.admin-sidebar .sidebar-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(59, 82, 164, 0.4);
}

.admin-sidebar .sidebar-link.active i {
    color: #ffffff !important;
}

/* Sidebar Submenu Styles */
.admin-sidebar .sidebar-submenu {
    list-style: none;
    padding-right: 1rem;
    margin-right: 0.75rem;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.admin-sidebar .sidebar-submenu .sidebar-link {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    margin-bottom: 2px;
}

.admin-sidebar .sidebar-submenu .sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .sidebar-submenu .sidebar-link.active {
    color: #ffffff;
    background: rgba(64, 85, 165, 0.4);
    font-weight: 700;
    border-right: 3px solid var(--accent-gold);
    box-shadow: none;
}

.admin-sidebar .submenu-toggle i.chevron-icon {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.admin-sidebar .submenu-toggle[aria-expanded="true"] i.chevron-icon {
    transform: rotate(180deg);
}

.admin-sidebar.collapsed {
    width: 80px !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.admin-sidebar.collapsed .link-text,
.admin-sidebar.collapsed .brand-text,
.admin-sidebar.collapsed hr {
    display: none !important;
}

.admin-sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding: 0.8rem;
}

.admin-sidebar.collapsed .sidebar-link i {
    min-width: auto;
    font-size: 1.4rem;
}

main.expanded {
    width: calc(100% - 80px) !important;
}

.admin-profile-pill {
    background: #ffffff;
    border-color: #e2e8f0;
    transition: all 0.2s ease;
}
.admin-profile-pill:hover {
    background: #f8fafc;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(64, 85, 165, 0.12) !important;
}

/* ==========================================================================
   Luxury Floating Toast & Alert Popups
   ========================================================================== */
.luxury-toast-container {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 99999;
    max-width: 440px;
    width: calc(100% - 48px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

[dir="rtl"] .luxury-toast-container {
    left: 24px;
    right: auto;
}

.luxury-toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
    animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-toast.hide-toast {
    transform: translateY(-20px) scale(0.92);
    opacity: 0;
    pointer-events: none;
}

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

.luxury-toast::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
}

.luxury-toast.toast-success::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.luxury-toast.toast-danger::before,
.luxury-toast.toast-error::before {
    background: linear-gradient(180deg, #ef4444, #b91c1c);
}

.luxury-toast.toast-warning::before {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

.luxury-toast.toast-info::before {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.luxury-toast .toast-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
}

.luxury-toast.toast-success .toast-icon-wrapper {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.luxury-toast.toast-danger .toast-icon-wrapper,
.luxury-toast.toast-error .toast-icon-wrapper {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.luxury-toast.toast-warning .toast-icon-wrapper {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.luxury-toast.toast-info .toast-icon-wrapper {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.luxury-toast .toast-content {
    flex-grow: 1;
    min-width: 0;
    padding-top: 2px;
}

.luxury-toast .toast-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.3;
}

.luxury-toast .toast-message {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.luxury-toast .toast-close-btn {
    background: #f1f5f9;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.luxury-toast .toast-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.1);
}

.luxury-toast .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
}

.luxury-toast .toast-progress-bar {
    height: 100%;
    width: 100%;
    animation: toastProgressBar 5s linear forwards;
}

.luxury-toast.toast-success .toast-progress-bar { background: #10b981; }
.luxury-toast.toast-danger .toast-progress-bar,
.luxury-toast.toast-error .toast-progress-bar { background: #ef4444; }
.luxury-toast.toast-warning .toast-progress-bar { background: #f59e0b; }
.luxury-toast.toast-info .toast-progress-bar { background: #3b82f6; }

@keyframes toastProgressBar {
    from { width: 100%; }
    to { width: 0%; }
}

/* Modern Inline Alert Upgrades */
.alert {
    border: none !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
}

.alert-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-right: 4px solid #10b981 !important;
}

.alert-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-right: 4px solid #ef4444 !important;
}

.alert-warning {
    background: #fffbeb !important;
    color: #92400e !important;
    border-right: 4px solid #f59e0b !important;
}

.alert-info {
    background: #eff6ff !important;
    color: #1e40af !important;
    border-right: 4px solid #3b82f6 !important;
}

/* Navbar Styling */
.navbar-premium {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar-premium .navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.4rem;
}

.navbar-premium .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active {
    color: var(--primary-color);
}

/* Custom Hero Section */
.hero-wrapper {
    position: relative;
    padding: 3.5rem 0 2rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(59, 82, 164, 0.06) 0%, transparent 60%);
}

.hero-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px -10px rgba(59, 82, 164, 0.12);
    border: 1px solid var(--glass-border);
}

.doctor-portrait-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(59, 82, 164, 0.18);
    border: 5px solid #ffffff;
}

.doctor-portrait-frame img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.doctor-portrait-frame:hover img {
    transform: scale(1.03);
}

/* Custom Buttons */
.btn-royal-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(59, 82, 164, 0.3);
}

.btn-royal-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(59, 82, 164, 0.4);
}

.btn-royal-outline {
    background: #ffffff;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-royal-outline:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* About Box (Matching Screenshot) */
.about-box {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(59, 82, 164, 0.15);
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(59, 82, 164, 0.05);
}

.about-box-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.3rem;
}

/* ════ Specialty Tags / Modern Compact Capsules ══════════════ */
.specialties-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(64, 85, 165, 0.25) transparent;
}
.specialties-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}
.specialties-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(64, 85, 165, 0.25);
    border-radius: 10px;
}
.specialties-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}
@media (max-width: 576px) {
    .specialties-grid {
        flex-wrap: nowrap;
        gap: 0.4rem;
        padding-bottom: 4px;
    }
    .specialties-grid .tag-pill {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
.tag-pill {
    background: #f0f4fc;
    color: var(--primary-color, #1C2752);
    border-radius: 50px;
    padding: 0.38rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border: 1px solid rgba(64, 85, 165, 0.16);
    box-shadow: 0 1px 3px rgba(28, 39, 82, 0.04);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    line-height: 1.35;
}
.tag-pill i {
    font-size: 0.95rem;
    color: var(--primary-color, #1C2752);
    font-weight: 800;
    transition: all 0.2s ease;
}
.tag-pill:hover {
    background: var(--primary-color, #1C2752) !important;
    color: #ffffff !important;
    border-color: var(--primary-color, #1C2752) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 39, 82, 0.22);
}
.tag-pill:hover i {
    color: #ffffff !important;
}

/* Reel / Video Cards (TikTok / YouTube Shorts) */
.reel-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.reel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(59, 82, 164, 0.15);
}

.reel-thumbnail-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #000;
}

.reel-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.4s ease;
}

.reel-card:hover .reel-thumbnail-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}

.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.reel-card:hover .reel-play-btn {
    background: var(--primary-color);
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.15);
}

.reel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.reel-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: #ffffff;
}

.reel-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.reel-stats {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Service Consultation Cards */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: var(--card-shadow);
    padding: 1.8rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.service-card.active {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 82, 164, 0.15);
}

.service-price-tag {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
}

/* Slot Time Button Widget */
.slot-btn {
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    background: #ffffff;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

.slot-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #F0F4FB;
}

.slot-btn.selected {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 15px rgba(59, 82, 164, 0.3);
}

/* Step Wizard Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #E2E8F0;
    z-index: 1;
    transform: translateY(-50%);
}

.step-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #CBD5E1;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-node.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(59, 82, 164, 0.15);
}

.step-node.completed {
    background: #10B981;
    border-color: #10B981;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-card {
        padding: 1.5rem;
    }

    .doctor-portrait-frame img {
        max-height: 340px;
    }

    .btn-royal-primary,
    .btn-royal-outline {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ════ Navbar Scroll Effect ════════════════════════════════════ */
.navbar-premium.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 82, 164, 0.3);
}

/* ════ Footer ══════════════════════════════════════════════════ */
.site-footer {
    background: #1C2752;
    background: linear-gradient(135deg, #1C2752 0%, #151D3F 100%);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0;
}

.footer-logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
}

.footer-brand-logo {
    max-height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.footer-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-link-arrow {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.25s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-links a:hover .footer-link-arrow {
    opacity: 1;
    color: #6D8FD6;
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-dev-link {
    color: #E6F0FF !important;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.footer-dev-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-btn.whatsapp:hover {
    background: #25d366;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.8rem;
    border-radius: 30px;
    font-size: 0.78rem;
}

/* ════ WhatsApp Floating Button ═════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 1000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    animation: wa-entrance 0.5s ease 2s backwards;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
}

@keyframes wa-entrance {
    from {
        opacity: 0;
        transform: scale(0)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.wa-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f43f5e;
    border: 2px solid #fff;
    animation: wa-pulse-anim 2s ease infinite;
}

@keyframes wa-pulse-anim {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.3)
    }
}

/* ════ Section Spacing ═══════════════════════════════════════ */
section {
    scroll-margin-top: 80px;
}

/* ════ Booking Banner CTA ══════════════════════════════════════ */
.booking-banner-wrapper {
    background: linear-gradient(135deg, #1C2752 0%, #2A3B7C 55%, #4055A5 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.booking-banner-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.booking-banner-img {
    width: 100%;
    height: 340px;
    max-height: 380px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ════ Popup Modal & Switch Toggle ════════════════════════════ */
.popup-type-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 16px;
}

.popup-switch-btn {
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #64748b;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.popup-switch-btn.active {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ════ MOBILE APP MATCHING BOOKING MODAL STYLES ══════════════ */
.modal-backdrop.show {
    backdrop-filter: blur(12px) saturate(160%);
    background-color: rgba(15, 23, 42, 0.65);
}

.mobile-app-modal-dialog {
    max-width: 530px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3rem);
}

.mobile-app-modal-content {
    border-radius: 28px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    background: #F8FAFC;
    animation: modalEntrance 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@keyframes modalEntrance {
    0% {
        opacity: 0;
        transform: scale(0.92) translate3d(0, 25px, 0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translate3d(0, 0, 0);
    }
}

.mobile-app-header {
    background: #ffffff;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.mobile-app-header-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1E293B;
    margin: 0;
}

.mobile-app-body {
    padding: 1.25rem 1.4rem 6rem 1.4rem;
    background: #F8FAFC;
    overflow-y: auto;
    flex-grow: 1;
    max-height: calc(90vh - 65px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

.mobile-app-body::-webkit-scrollbar {
    width: 5px;
}

.mobile-app-body::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-app-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 10px;
}

.mobile-app-body::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.7);
}

.mobile-app-body.screen-3-active {
    padding: 1.25rem 1.4rem 1.25rem 1.4rem !important;
    overflow-y: visible !important;
    max-height: none !important;
}

/* Duration Pills Grid (Clean 3 Columns Stacked) */
.app-section-title {
    font-weight: 800;
    font-size: 1.02rem;
    color: #0F172A;
    margin-bottom: 0.8rem;
}

.app-duration-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
}

.app-duration-item {
    background: #ffffff !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 18px !important;
    padding: 0.85rem 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.app-duration-item:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(59, 82, 164, 0.12) !important;
}

.app-duration-item.selected {
    border-color: var(--primary-color) !important;
    background: linear-gradient(145deg, #ffffff, #F0F4FF) !important;
    box-shadow: 0 8px 25px rgba(59, 82, 164, 0.18) !important;
    transform: translateY(-2px) !important;
}

.app-duration-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    transition: transform 0.3s ease;
}

.app-duration-item.selected .app-duration-icon {
    transform: rotate(180deg);
}

.app-duration-time {
    font-weight: 800;
    font-size: 0.92rem;
    color: #1E293B;
    margin-bottom: 0.15rem;
}

.app-duration-price {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--primary-color);
}

/* App Input & Textarea */
.app-input {
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    font-size: 0.92rem;
    background: #ffffff;
    transition: all 0.25s ease;
}

.app-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 82, 164, 0.14);
    background: #ffffff;
}

/* Payment Method Cards */
.app-payment-card {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 18px;
    padding: 0.95rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-payment-card:hover {
    border-color: var(--primary-color);
    transform: translateX(-4px);
}

.app-payment-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(145deg, #ffffff, #F0F4FF);
    box-shadow: 0 6px 20px rgba(59, 82, 164, 0.12);
}

.app-payment-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.app-payment-card.selected .app-payment-radio {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.app-payment-card.selected .app-payment-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    animation: pulseRadio 0.3s ease;
}

@keyframes pulseRadio {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

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

/* App Calendar Grid */
.app-calendar-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.35rem;
    border: 1px solid #E2E8F0;
    margin-bottom: 1.4rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.app-calendar-month {
    text-align: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.app-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.app-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}

.app-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.92rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.25s ease;
}

.app-calendar-day:hover {
    background: #F1F5F9;
    transform: scale(1.08);
}

.app-calendar-day.selected {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(59, 82, 164, 0.35);
    transform: scale(1.05);
}

.app-calendar-day.disabled-day {
    opacity: 0.3;
    color: #94a3b8 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    background: transparent !important;
    text-decoration: line-through;
}

.app-calendar-day.today-day:not(.selected) {
    border: 1.5px dashed var(--primary-color);
    color: var(--primary-color);
}

.country-select-luxury {
    background-color: #f8fafc;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s ease;
}

.country-select-luxury:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 85, 165, 0.12);
}

/* Time Slots Pills */
.app-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    max-height: 210px;
    overflow-y: auto;
    padding: 4px 6px;
    scrollbar-width: thin;
}

.app-slot-pill {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 800;
    font-size: 0.92rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.25s ease;
}

.app-slot-pill:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.app-slot-pill.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(59, 82, 164, 0.3);
    transform: translateY(-2px);
}

/* Blue Info Callout Box */
.app-notice-box {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border-radius: 22px;
    padding: 1.1rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.4rem;
    border: 1px solid rgba(67, 56, 202, 0.15);
}

.app-notice-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(59, 82, 164, 0.3);
}

/* Sticky Bottom Action Bar */
.mobile-app-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #F1F5F9;
    padding: 0.9rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 10;
}

.btn-app-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border-radius: 30px;
    padding: 0.85rem 2.6rem;
    font-weight: 800;
    font-size: 1.02rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(59, 82, 164, 0.35);
}

.btn-app-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 82, 164, 0.45);
    color: #ffffff;
}

/* ════ LUXURY APPOINTMENT VOUCHER CARD & ACTION BUTTONS ════ */
.luxury-status-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin: 0 auto 10px auto;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}

.luxury-notice-box {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-right: 4px solid #f59e0b;
    border-radius: 16px;
    padding: 12px 14px;
    text-align: start;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.luxury-voucher-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin-bottom: 12px;
    text-align: start;
}

.voucher-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px dashed #cbd5e1;
    position: relative;
}

.voucher-header::before,
.voucher-header::after {
    content: '';
    position: absolute;
    bottom: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    z-index: 2;
}
.voucher-header::before { right: -10px; }
.voucher-header::after { left: -10px; }

.voucher-ref-badge {
    background: #eff6ff;
    color: var(--primary-color);
    font-family: monospace;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid #bfdbfe;
    letter-spacing: 0.5px;
    direction: ltr;
}

.voucher-body {
    padding: 14px 16px 12px 16px;
}

.voucher-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
}

.voucher-row:last-child {
    border-bottom: none;
}

.voucher-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
}

.voucher-label i {
    font-size: 0.95rem;
    color: var(--primary-color);
}

.voucher-val {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    text-align: end;
}

.voucher-total-box {
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    border-radius: 14px;
    padding: 10px 14px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
}

.voucher-total-label {
    font-size: 0.86rem;
    font-weight: 800;
    color: #1e293b;
}

.voucher-total-amount {
    font-size: 1.22rem;
    font-weight: 900;
    color: var(--primary-color);
}

.btn-voucher-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.94rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 22px rgba(59, 82, 164, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    width: 100%;
    cursor: pointer;
}

.btn-voucher-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 82, 164, 0.45);
    color: #ffffff !important;
}

.btn-voucher-whatsapp {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
    transition: all 0.25s ease;
    text-decoration: none !important;
    width: 100%;
}

.btn-voucher-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
    color: #ffffff !important;
}

.btn-voucher-secondary {
    background: #ffffff;
    color: #64748b !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 0.86rem;
    width: 100%;
    transition: all 0.2s ease;
    cursor: pointer;
    display: block;
    text-align: center;
}

.btn-voucher-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155 !important;
}

/* ════ SCROLL REVEAL & LUXURY SITE-WIDE ANIMATIONS ════════════ */
.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Luxury Card Hover Animations */
.service-card,
.reel-card-new,
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(59, 82, 164, 0.15) !important;
}

.reel-card-new:hover {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3) !important;
}

.testimonial-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(59, 82, 164, 0.12) !important;
}

/* Success Card Screen 3 */
.app-success-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.4rem;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
}

.app-success-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid #F8FAFC;
    font-size: 0.92rem;
}

.app-success-row:last-child {
    border-bottom: none;
}

/* ════ LUXURY FLOATING GLASSMORPHIC NAVBAR ════════════════════ */
.navbar-floating-wrapper {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 0.75rem 0;
    transition: padding 0.25s ease;
}

.navbar-floating-wrapper.scrolled {
    padding: 0.35rem 0;
}

.navbar-floating-capsule {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    padding: 0.5rem 1.6rem !important;
    transform: translateZ(0);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.navbar-floating-wrapper.scrolled .navbar-floating-capsule {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.14);
}

/* Luxury Nav Links */
.nav-link-luxury {
    font-weight: 700;
    font-size: 0.92rem;
    color: #334155;
    position: relative;
    padding: 0.45rem 0.9rem !important;
    transition: color 0.2s ease;
    border-radius: 20px;
    white-space: nowrap;
}

.nav-link-luxury:hover {
    color: var(--primary-color) !important;
}

.nav-link-luxury::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 18px;
    height: 2.5px;
    border-radius: 3px;
    background: var(--primary-color);
    transition: transform 0.2s ease;
}

.nav-link-luxury:hover::after,
.nav-link-luxury.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link-luxury.active {
    color: var(--primary-color) !important;
    font-weight: 800;
}

/* Luxury Icon-Only Nav Buttons */
.btn-nav-icon-luxury {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    border: 1.5px solid #E2E8F0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-nav-icon-luxury:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #F8FAFC;
    transform: translateY(-1px);
}

.btn-nav-icon-account {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(59, 82, 164, 0.25);
    text-decoration: none;
}

.btn-nav-icon-account:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 8px 18px rgba(59, 82, 164, 0.38);
    color: #ffffff !important;
}

.btn-nav-booking-luxury {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(59, 82, 164, 0.3);
}

.btn-nav-booking-luxury:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-nav-booking-luxury:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ════ MOBILE RESPONSIVENESS OVERHAUL ═════════════════════════ */
@media (max-width: 991.98px) {
    .navbar-floating-capsule {
        border-radius: 24px !important;
        padding: 0.5rem 1rem !important;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        border-radius: 20px;
        padding: 1.25rem;
        margin-top: 0.75rem;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
        border: 1px solid #F1F5F9;
    }

    .nav-link-luxury {
        padding: 0.65rem 1rem !important;
        font-size: 1rem;
    }

    .btn-nav-booking-luxury {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: #ffffff !important;
        border: none;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(59, 82, 164, 0.3);
    }
}

@media (max-width: 575.98px) {
    .mobile-app-modal-dialog {
        max-width: 96vw !important;
        width: 96vw !important;
        margin: 0.5rem auto !important;
        min-height: calc(100% - 1rem) !important;
    }

    .mobile-app-modal-content {
        border-radius: 24px !important;
        max-height: 94vh !important;
    }

    .mobile-app-header {
        padding: 0.85rem 1.1rem !important;
    }

    .mobile-app-header-title {
        font-size: 1.02rem !important;
    }

    .mobile-app-body {
        padding: 0.95rem 0.95rem 5.5rem 0.95rem !important;
        max-height: calc(94vh - 56px) !important;
    }

    .mobile-app-body.screen-3-active {
        padding: 0.85rem 0.85rem 1rem 0.85rem !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .mobile-app-bottom-bar {
        padding: 0.75rem 1rem !important;
        gap: 0.6rem !important;
    }

    .mobile-app-bottom-bar .btn-app-primary {
        padding: 0.75rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .app-section-title {
        font-size: 0.95rem !important;
        margin-bottom: 0.6rem !important;
    }

    .app-duration-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.4rem !important;
    }

    .app-duration-item {
        padding: 0.6rem 0.25rem !important;
        border-radius: 14px !important;
    }

    .app-duration-time {
        font-size: 0.8rem !important;
    }

    .app-duration-price {
        font-size: 0.82rem !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .stats-card-modern {
        padding: 1rem !important;
    }
}

/* ════ GALLERY COLLAGE & LIGHTBOX MODAL ═══════════════════════ */
.gallery-grid-collage {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    height: 480px;
}

.gallery-col-stacked {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #1E293B;
    height: 100%;
}

.gallery-item.item-large {
    height: 100%;
}

.gallery-col-stacked .gallery-item {
    height: calc(50% - 0.5rem);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-size: 1.8rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: background 0.3s ease;
}

.gallery-item:hover .more-overlay {
    background: rgba(15, 23, 42, 0.85);
}

.more-count {
    font-size: 2.2rem;
    font-weight: 800;
    color: #F4E8D1;
    letter-spacing: 1px;
}

/* Lightbox Modal Popup */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 10;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    max-width: 82vw;
    max-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    top: -15px;
    left: -15px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 20;
}

.btn-lightbox-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 10px 25px rgba(59, 82, 164, 0.4);
}

.btn-lightbox-arrow.btn-prev {
    right: 15px;
}

.btn-lightbox-arrow.btn-next {
    left: 15px;
}

@media (max-width: 767.98px) {
    .gallery-grid-collage {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .gallery-item.item-large {
        grid-column: span 2;
        height: 240px;
    }

    .gallery-col-stacked .gallery-item {
        height: 140px;
    }

    .btn-lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}

/* ════ BRAND IDENTITY COMPONENT OVERRIDES ═════════════════════ */
.testimonials-wrapper {
    background: linear-gradient(180deg, #F4F7FC 0%, #E6F0FF 100%);
    padding: 5rem 0;
}

.testimonial-card {
    background: #F7EFE0 !important;
    /* Official Brand Calm Cream */
    border-radius: 24px !important;
    padding: 2.2rem !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    box-shadow: 0 10px 30px rgba(64, 85, 165, 0.05) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.testimonial-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(64, 85, 165, 0.12) !important;
}

.testimonial-card .stars i {
    color: #D4AF37 !important;
    /* Official Brand Accent Gold */
    font-size: 1.1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4055A5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(64, 85, 165, 0.25);
}

.services-wrapper {
    background: #E6F0FF !important;
    /* Official Brand Comfort Ice Blue */
    padding: 5rem 0;
}

.service-card-new {
    background: #FFFFFF !important;
    border-radius: 28px !important;
    padding: 2.25rem 2rem !important;
    box-shadow: 0 10px 30px rgba(28, 39, 82, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    border: 1.5px solid rgba(109, 143, 214, 0.2) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #6D8FD6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-new:hover {
    transform: translateY(-8px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 22px 50px -10px rgba(64, 85, 165, 0.18), 0 8px 20px -5px rgba(64, 85, 165, 0.08) !important;
}

.service-card-new:hover::before {
    opacity: 1;
}

.service-card-new.popular {
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 40px rgba(64, 85, 165, 0.12) !important;
}

.service-card-new.popular::before {
    opacity: 1;
}

.service-card-new.clinic-card-luxury:hover {
    border-color: #E11D48 !important;
    box-shadow: 0 22px 50px -10px rgba(225, 29, 72, 0.18) !important;
}

.service-card-new.clinic-card-luxury::before {
    background: linear-gradient(90deg, #E11D48, #FDA4AF);
}

.luxury-popular-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #1C2752 0%, #4055A5 100%);
    color: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(28, 39, 82, 0.25);
    z-index: 3;
}

.pricing-icon-bubble {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(64, 85, 165, 0.08), rgba(109, 143, 214, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.clinic-card-luxury .pricing-icon-bubble {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(244, 63, 94, 0.15));
    color: #E11D48;
}

.service-card-new:hover .pricing-icon-bubble {
    transform: scale(1.08) rotate(3deg);
}

.pricing-amount-box {
    background: #F8FAFC;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.pricing-main-price {
    font-size: 2.1rem;
    font-weight: 900;
    color: #1C2752;
    line-height: 1;
}

.pricing-main-price small {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748B;
    margin-right: 4px;
}

.pricing-channels-strip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.pricing-channel-pill {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pricing-channel-pill .price-tag {
    color: var(--primary-color);
    font-weight: 800;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.pricing-features-list li {
    font-size: 0.88rem;
    color: #475569;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
}

.pricing-features-list li i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.clinic-location-pill {
    background: rgba(225, 29, 72, 0.05);
    border: 1px solid rgba(225, 29, 72, 0.15);
    border-radius: 12px;
    padding: 0.6rem 0.85rem;
    font-size: 0.825rem;
    color: #881337;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



/* ════ Soothing Auth Page Styling ═════════════════════════════ */
.auth-page-wrapper {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #F4F7FC 0%, #E6F0FF 100%);
    padding: 3rem 1rem;
    position: relative;
}

.auth-card-luxury {
    background: #FFFFFF;
    border-radius: 28px;
    border: 1.5px solid rgba(109, 143, 214, 0.22);
    box-shadow: 0 25px 60px -15px rgba(64, 85, 165, 0.12), 0 10px 25px -5px rgba(64, 85, 165, 0.05);
    padding: 2.75rem 2.25rem;
    position: relative;
    overflow: hidden;
}

.auth-logo-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(64, 85, 165, 0.28);
    margin-bottom: 1rem;
}

.auth-input-group {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    transition: all 0.25s ease;
    overflow: hidden;
}

.auth-input-group:focus-within {
    background: #FFFFFF;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(64, 85, 165, 0.12);
}

.auth-input-group .input-group-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding-inline: 1rem;
}

.auth-input-group .form-control {
    background: transparent;
    border: none;
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
    color: #1C2752;
    box-shadow: none !important;
}

.auth-input-group .form-control::placeholder {
    color: #94A3B8;
}

.auth-input-group select.form-select {
    background-color: transparent;
    border: none;
    padding: 0.85rem 0.5rem;
    font-size: 0.92rem;
    color: #1C2752;
    box-shadow: none !important;
    font-weight: 700;
}

/* ═══ Modal Booking Type Switcher ═════════════════════════════ */
.app-type-toggle-btn {
    background: #F1F5F9;
    color: #475569;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-type-toggle-btn:hover {
    background: #E2E8F0;
    color: #1E293B;
}

.app-type-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: #FFFFFF !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 18px rgba(64, 85, 165, 0.25) !important;
}

/* ═══ Services Booking Type Switcher ═══════════════════════════ */
.booking-type-toggle-container {
    background: #FFFFFF;
    border: 2px solid rgba(64, 85, 165, 0.15);
    border-radius: 50px;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px -4px rgba(64, 85, 165, 0.12);
}

.booking-type-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.booking-type-toggle-btn:hover {
    color: var(--primary-color);
}

.booking-type-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(64, 85, 165, 0.35);
}

.booking-type-toggle-btn.active .badge-default-tag {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

.service-card-new {
    transition: all 0.35s ease !important;
}

.clinic-view-content {
    display: none;
}

.services-grid-wrapper.mode-clinic .online-view-content {
    display: none !important;
}

.services-grid-wrapper.mode-clinic .clinic-view-content {
    display: block !important;
}

/* ════ SaaS & Auth Utility Components ═════════════════════════ */
.saas-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    padding: 1.75rem;
    transition: all 0.25s ease;
}

.saas-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
}

.saas-badge-blue {
    background-color: #EFF6FF;
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.saas-badge-green {
    background-color: #ECFDF5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.saas-badge-amber {
    background-color: #FEF3C7;
    color: #D97706;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.btn-saas-primary {
    background-color: #2563EB;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-saas-primary:hover {
    background-color: #1D4ED8;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.btn-saas-secondary {
    background-color: #FFFFFF;
    color: #0F172A !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-saas-secondary:hover {
    background-color: #F8FAFC;
    border-color: #94A3B8;
}

.btn-saas-ghost {
    background: transparent;
    color: #64748B;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-saas-ghost:hover {
    color: #2563EB;
    background-color: #EFF6FF;
}

.form-control-saas {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #0F172A;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-saas:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-label-saas {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.4rem;
}

.table-saas {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #FFFFFF;
}

.table-saas th {
    background-color: #F8FAFC;
    color: #64748B;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #E2E8F0;
}

.table-saas td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #0F172A;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: middle;
}

.table-saas tbody tr:last-child td {
    border-bottom: none;
}

.table-saas tbody tr:hover {
    background-color: #F8FAFC;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE-FIRST LUXURY RESPONSIVENESS & FLUID DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Services Swiper Slider Styling ──────────────────────── */
.services-swiper-container {
    position: relative;
    padding: 0.5rem 0 2rem 0;
    width: 100%;
}

.services-swiper-online,
.services-swiper-clinic {
    padding: 12px 6px 36px 6px !important;
    overflow: hidden !important;
}

@media (max-width: 991px) {

    .services-swiper-online,
    .services-swiper-clinic {
        overflow: visible !important;
    }
}

.services-pagination-online,
.services-pagination-clinic {
    position: relative !important;
    margin-top: 1.25rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.services-pagination-online .swiper-pagination-bullet,
.services-pagination-clinic .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #4055A5;
    opacity: 0.25;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 !important;
    cursor: pointer;
}

.services-pagination-clinic .swiper-pagination-bullet {
    background: #E11D48;
}

.services-pagination-online .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 20px;
    opacity: 1;
    background: linear-gradient(90deg, #1C2752, #4055A5);
}

.services-pagination-clinic .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 20px;
    opacity: 1;
    background: linear-gradient(90deg, #881337, #E11D48);
}

/* ── Testimonials Swiper Styling ────────────────────────────── */
.testimonials-swiper-container {
    position: relative;
    padding: 0.5rem 0 1.5rem 0;
    width: 100%;
}

.testimonials-swiper {
    padding: 12px 6px 36px 6px !important;
    overflow: hidden !important;
}

@media (max-width: 991px) {
    .testimonials-swiper {
        overflow: visible !important;
    }
}

.testimonials-pagination {
    position: relative !important;
    margin-top: 1.5rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #4055A5;
    opacity: 0.25;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 !important;
    cursor: pointer;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 20px;
    opacity: 1;
    background: linear-gradient(90deg, #1C2752, #4055A5);
}

/* ── 2. Fluid Typography & Spacing Rules ────────────────────── */
:root {
    --fluid-hero-title: clamp(1.85rem, 4.5vw + 0.5rem, 3rem);
    --fluid-section-title: clamp(1.45rem, 3vw + 0.5rem, 2.3rem);
    --fluid-section-subtitle: clamp(0.9rem, 1.5vw + 0.4rem, 1.125rem);
}

.hero-title {
    font-size: var(--fluid-hero-title) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: var(--fluid-section-title) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.015em;
}

.section-subtitle {
    font-size: var(--fluid-section-subtitle) !important;
    line-height: 1.6 !important;
}

/* ── 3. Category Toggle Container Mobile Optimization ───────── */
@media (max-width: 576px) {
    .booking-type-toggle-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
        border-radius: 20px;
    }

    .booking-type-toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* ── 4. Mobile Cards & Layout Alignment ─────────────────────── */
@media (max-width: 768px) {

    /* Main wrapper paddings */
    .hero-wrapper {
        padding-top: 5.5rem !important;
        padding-bottom: 2.5rem !important;
        text-align: center;
    }

    .hero-wrapper .d-flex.gap-3 {
        justify-content: center;
    }

    .services-wrapper {
        padding: 3.5rem 0 !important;
    }

    .service-card-new {
        padding: 1.75rem 1.35rem !important;
        border-radius: 22px !important;
    }

    .pricing-main-price {
        font-size: 1.75rem !important;
    }

    .pricing-icon-bubble {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.35rem !important;
        border-radius: 14px !important;
    }

    /* Hero Doctor cutout photo */
    .hero-photo-frame {
        max-height: 380px !important;
        margin: 1.5rem auto 0 auto !important;
    }

    /* Stats Grid */
    .hero-stats-row {
        margin-top: 1.5rem !important;
    }

    .stat-card-luxury {
        padding: 1rem 0.75rem !important;
    }

    .stat-number {
        font-size: 1.6rem !important;
    }

    .stat-label {
        font-size: 0.8rem !important;
    }

    /* Gallery Mobile */
    .gallery-collage-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .gallery-item {
        border-radius: 16px !important;
        height: 170px !important;
    }

    /* Mobile offcanvas and navbar */
    .navbar-brand-text {
        font-size: 1rem !important;
    }

    .site-footer {
        padding-top: 3.5rem !important;
        padding-bottom: 2rem !important;
        text-align: center;
    }

    .site-footer .d-flex.gap-3 {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }
}

/* ── 5. Booking Modal Mobile Bottom Sheet UX ────────────────── */
@media (max-width: 768px) {
    #bookingModal .modal-dialog {
        margin: 0 !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100% !important;
        border-radius: 28px 28px 0 0;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    #bookingModal.show .modal-dialog {
        transform: translateY(0) !important;
    }

    #bookingModal .modal-content {
        border-radius: 28px 28px 0 0 !important;
        max-height: 88vh;
        display: flex;
        flex-direction: column;
    }

    #bookingModal .modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1.25rem 1rem !important;
    }

    .app-calendar-grid {
        gap: 4px !important;
    }

    .app-calendar-day {
        min-height: 48px !important;
        font-size: 0.85rem !important;
    }

    .app-slots-grid {
        max-height: 180px !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   LUXURY VOUCHER / BOOKING CONFIRMATION CARD (SCREEN 3)
   ═══════════════════════════════════════════════════════════════ */
.luxury-status-circle {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 10px 25px -4px rgba(245, 158, 11, 0.35);
    margin-bottom: 0.85rem;
    animation: luxuryPulse 2.4s infinite ease-in-out;
}

@keyframes luxuryPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px -4px rgba(245, 158, 11, 0.35);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 14px 30px -2px rgba(245, 158, 11, 0.5);
    }
}

.luxury-notice-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-right: 4px solid #f59e0b;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.15rem;
    text-align: right;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.luxury-voucher-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.15rem;
    position: relative;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    text-align: right;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.luxury-voucher-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
}

.voucher-header {
    background: #f8fafc;
    border-bottom: 1.5px dashed #cbd5e1;
    padding: 0.9rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Boarding pass circular notches */
.voucher-header::before,
.voucher-header::after {
    content: '';
    position: absolute;
    bottom: -9px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    z-index: 2;
}

.voucher-header::before {
    left: -9px;
}

.voucher-header::after {
    right: -9px;
}

.voucher-ref-badge {
    background: linear-gradient(135deg, var(--primary-color, #3b52a4), #2a3d7c);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: monospace;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(59, 82, 164, 0.25);
}

.voucher-body {
    padding: 1.15rem;
}

.voucher-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.voucher-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0.85rem;
}

.voucher-label {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.voucher-label i {
    color: var(--primary-color, #3b52a4);
    font-size: 0.95rem;
}

.voucher-val {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.88rem;
}

.voucher-total-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #bbf7d0;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.voucher-total-label {
    font-weight: 800;
    font-size: 0.88rem;
    color: #15803d;
}

.voucher-total-amount {
    font-weight: 900;
    font-size: 1.25rem;
    color: #166534;
    font-family: inherit;
}

/* Action Buttons */
.btn-voucher-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.8rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px -3px rgba(37, 211, 102, 0.35);
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    width: 100%;
}

.btn-voucher-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -2px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

.btn-voucher-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, var(--primary-color, #3b52a4) 0%, #1e293b 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 10px 24px -3px rgba(59, 82, 164, 0.4);
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    width: 100%;
}

.btn-voucher-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -2px rgba(59, 82, 164, 0.5);
    color: #ffffff !important;
}

.btn-voucher-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #475569 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.7rem 1.15rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.btn-voucher-secondary:hover {
    background: #f1f5f9;
    color: #1e293b !important;
    border-color: #cbd5e1;
}

/* ═══════════════════════════════════════════════════════════════
   PATIENT DASHBOARD LUXURY MOBILE & COMPACT STYLING
   ═══════════════════════════════════════════════════════════════ */
.patient-booking-card-mobile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.patient-booking-card-mobile:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* ═══════════════════════════════════════════════════════════════
   LUXURY MOBILE SIDE DRAWER MENU (منيو جانبي احترافي)
   ═══════════════════════════════════════════════════════════════ */
.custom-hamburger-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.custom-hamburger-btn:hover,
.custom-hamburger-btn:active {
    background: #eff6ff;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.luxury-mobile-drawer {
    width: 320px !important;
    max-width: 86vw !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 0 50px rgba(15, 23, 42, 0.2) !important;
    z-index: 99999 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.luxury-mobile-drawer.offcanvas-start {
    border-radius: 0 24px 24px 0 !important;
}

.luxury-mobile-drawer.offcanvas-end {
    border-radius: 24px 0 0 24px !important;
}

.offcanvas-backdrop.show {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: rgba(15, 23, 42, 0.45);
    z-index: 99998 !important;
}

.btn-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-drawer-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.drawer-user-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1.5px solid #dbeafe;
}

.drawer-guest-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.drawer-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(59, 82, 164, 0.25);
}

.drawer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 0.94rem;
    transition: all 0.2s ease;
}

.drawer-nav-item i:first-child {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
}

.drawer-nav-item:hover {
    background: #f1f5f9;
    color: var(--primary-color);
    transform: translateX(-3px);
}

.drawer-nav-item.active {
    background: #eff6ff;
    color: var(--primary-color);
    font-weight: 800;
    border-right: 3.5px solid var(--primary-color);
}