@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

/* =============================================
   DESIGN TOKENS — albane.xyz Premium Design System
   ============================================= */
:root {
    /* Brand Colors - Directly from logo1.png */
    --primary-red: #FF3F00;
    --primary-red-hover: #E63900;
    --primary-red-glow: rgba(255, 63, 0, 0.25);
    --primary-black: #0B1120;
    /* Soft midnight blue for reduced eye strain */
    --primary-black-soft: #111827;

    /* Luxury Gradients */
    --grad-red: linear-gradient(135deg, #FF4500 0%, #E63900 100%);
    --grad-dark: linear-gradient(135deg, #0B1120 0%, #111827 100%);

    /* Design Tokens */
    --bg-dark: var(--primary-black);
    --card-bg: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --shadow-premium: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy compatibility (Mapping old vars to new ones) */
    --primary-orange: var(--primary-red);
    --primary-orange-light: #FF854D;

    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-orange: 0 15px 30px -5px rgba(255, 63, 0, 0.3);

    /* Perfection Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    /* Motion */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


/* --- ELITE COMPONENTS --- */
/* =============================================
   ORANGE PILL NEWSLETTER (User Reference)
   ============================================= */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg-page);
}

.newsletter-card-elite {
    background: var(--primary-orange);
    border-radius: 45px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(255, 63, 0, 0.2);
}

/* White glow on the right */
.newsletter-card-elite::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-grid {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
    text-align: right;
}

.newsletter-text h2 {
    font-size: 38px;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.newsletter-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin-bottom: 0;
}

.newsletter-action {
    flex-shrink: 0;
}

.glass-input-wrapper {
    background: white;
    padding: 8px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    width: 480px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.elite-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 25px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    outline: none;
    direction: ltr;
    text-align: left;
}

.btn-elite-subscribe {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 100px;
    font-weight: 950;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-elite-subscribe:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 63, 0, 0.3);
}

@media (max-width: 1024px) {
    .newsletter-card-elite {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }

    .newsletter-grid {
        flex-direction: column;
        gap: 30px;
    }

    .newsletter-text {
        text-align: center;
    }

    .glass-input-wrapper {
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 480px) {
    .newsletter-text h2 {
        font-size: 28px;
    }

    .glass-input-wrapper {
        flex-direction: column;
        padding: 10px;
        border-radius: 30px;
    }

    .elite-input {
        padding: 15px;
        text-align: center;
    }

    .btn-elite-subscribe {
        width: 100%;
    }
}

.elite-footer {
    background: #020617;
    padding: 120px 0 50px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

.footer-logo {
    font-size: 36px;
    font-weight: 950;
    text-decoration: none;
    color: white;
    display: block;
    margin-bottom: 30px;
}

.footer-about {
    font-size: 17px;
    color: #94A3B8;
    line-height: 1.9;
    font-weight: 700;
    max-width: 380px;
    margin-bottom: 35px;
}

.social-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    margin-top: 25px;
    align-items: center;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.social-links a:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 63, 0, 0.3);
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 950;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 18px;
    color: #F8FAFC;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 4px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 18px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-10px);
}

.footer-bottom {
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-weight: 800;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 50px 25px;
        gap: 40px;
    }

    .newsletter-form {
        min-width: 100%;
        flex-direction: column;
        gap: 10px;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .newsletter-form input {
        background: white;
        height: 70px;
        border-radius: 22px;
        width: 100%;
        margin-bottom: 10px;
    }

    .btn-newsletter {
        height: 70px;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

/* =============================================
   ADVANCED PREMIUM UTILITIES
   ============================================= */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-xl);
}

.dark-glass-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-premium);
}

.premium-gradient-bg {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.orange-gradient-bg {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8C00 100%);
}

.text-gradient {
    background: linear-gradient(to right, var(--text-dark), var(--primary-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-float {
    transition: var(--transition-base);
}

.hover-float:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.elite-dropdown.active .elite-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.elite-dropdown.active .elite-dropdown-trigger i[data-lucide="chevron-down"] {
    transform: rotate(180deg);
}

.elite-option {
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.elite-search-panel {
    background: rgba(5, 7, 10, 0.6) !important;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

@media (max-width: 850px) {
    .elite-search-panel {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .elite-dropdown {
        min-width: 100% !important;
    }

    .elite-dropdown-trigger {
        padding: 12px 20px !important;
    }

    .elite-search-panel button {
        width: 100% !important;
        justify-content: center !important;
        padding: 18px !important;
        min-height: 60px !important;
    }
}

.elite-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.elite-option:hover,
.elite-option.active {
    background: var(--primary-red) !important;
    color: white !important;
}

.elite-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.elite-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.elite-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.elite-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

@media (max-width: 768px) {
    .elite-search-panel {
        flex-direction: column !important;
        padding: 20px !important;
        border-radius: 25px !important;
        gap: 10px !important;
    }

    .elite-dropdown {
        width: 100% !important;
    }

    .elite-dropdown-menu {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        border-radius: 30px 30px 0 0 !important;
        max-height: 70vh !important;
        z-index: 10000 !important;
        padding: 20px 10px 40px !important;
        box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5) !important;
    }

    .elite-dropdown.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        z-index: 9999;
    }

    /* Mobile Text Utilities */
    .mobile-h1 {
        font-size: 32px !important;
    }

    .mobile-h2 {
        font-size: 26px !important;
    }

    .mobile-p {
        font-size: 15px !important;
    }

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 63, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 63, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 63, 0, 0);
    }
}

/* =============================================
   PREMIUM UTILITIES & GLASSMORPHISM
   ============================================= */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-premium);
}

.badge-premium {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

.badge-hot {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.badge-new {
    background: #ecfdf5;
    color: #10b981;
    border: 1px solid #d1fae5;
}

.badge-sale {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.section-tag-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-orange);
    font-weight: 950;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-tag-premium::before {
    content: '';
    width: 25px;
    height: 2px;
    background: var(--primary-orange);
    display: block;
}

.premium-btn-hover {
    transition: var(--transition);
}

.premium-btn-hover:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-orange);
}

/* =============================================
   GLOBAL RESET
   ============================================= */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-page);
    position: relative;
    overflow-x: hidden;
}

.sidebar {
    width: var(--sidebar-width);
    background: white;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1000;
    border-inline-end: 1px solid var(--border-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.sidebar-header {
    padding: 36px 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.sidebar-header .logo {
    font-size: 24px;
}

.nav-menu {
    flex: 1;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.nav-item i {
    font-size: 20px;
}

.nav-item:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.nav-item.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: var(--shadow-orange);
}

.sidebar-footer {
    padding: 20px 16px;
    border-top: 1px solid var(--border-color);
}

.main-content {
    flex: 1;
    padding: 40px;
    min-width: 0;
    background: var(--bg-page);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    min-height: 80px;
}


.user-avatar-header {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    box-shadow: var(--shadow-orange);
}


@media (max-width: 1024px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        right: -100%;
        width: 280px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex !important;
    }

    [dir="ltr"] .sidebar {
        right: auto;
        left: -100%;
    }

    .sidebar.active {
        right: 0;
    }

    [dir="ltr"] .sidebar.active {
        left: 0;
    }

    .main-content {
        padding: 20px;
    }

    .menu-toggle {
        display: flex !important;
        width: 50px;
        height: 50px;
        background: var(--primary-orange);
        color: white;
        border-radius: 15px;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        box-shadow: var(--shadow-orange);
        transition: var(--transition-fast);
        z-index: 1001;
    }

    .menu-toggle:active {
        transform: scale(0.9);
    }
}




/* =============================================
   PREMIUM CARDS & BOXES
   ============================================= */
.card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    border-color: var(--primary-orange);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-banner {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0F172A 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.dashboard-banner::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.stat-card:hover {
    border-color: var(--primary-orange-mid);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.stat-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-black);
}

/* Icons Colors */
.icon-orange {
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary-orange);
}

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.icon-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
}

/* =============================================
   FORM ELEMENTS (Premium)
   ============================================= */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.premium-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    outline: none;
}

.premium-input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px var(--primary-orange-light);
}

.premium-textarea {
    min-height: 120px;
    resize: vertical;
}

/* =============================================
   DASHBOARD COMPONENTS (Shared)
   ============================================= */
.tab-section {
    display: none;
    animation: slide-up 0.4s ease;
}

.tab-section.active {
    display: block;
}

/* Enhanced Status Badges */
.status-badge {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.status-pending {
    background: #FFF7ED;
    color: #EA580C;
}

.status-pending::before {
    background: #F97316;
}

.status-accepted {
    background: #ECFDF5;
    color: #059669;
}

.status-accepted::before {
    background: #10B981;
}

.status-completed {
    background: #EFF6FF;
    color: #2563EB;
}

.status-completed::before {
    background: #3B82F6;
}

.status-cancelled {
    background: #FEF2F2;
    color: #DC2626;
}

.status-cancelled::before {
    background: #EF4444;
}

.status-new {
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary-orange);
}

.status-new::before {
    background: var(--primary-orange);
}

/* Premium Modal System */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 40px 30px 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    animation: modal-slide 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modal-slide {
    from {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close-x {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close-x:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

/* Toast Notification (Shared) */
#toastContainer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 14.5px;
    min-width: 320px;
    border-left: 6px solid var(--primary-orange);
    transform: translateX(120%);
    transition: transform 0.45s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

[dir="rtl"] .toast {
    border-left: none;
    border-right: 6px solid var(--primary-orange);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--success-green);
}

.toast.success i {
    color: var(--success-green);
}

.toast.error {
    border-color: var(--error-red);
}

.toast.error i {
    color: var(--error-red);
}

/* Toggle Switch (Shared) */
.toggle-switch {
    width: 48px;
    height: 26px;
    background: #E2E8F0;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch.on {
    background: var(--success-green);
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch.on .toggle-thumb {
    left: calc(100% - 23px);
}

/* =============================================
   PREMIUM ANIMATIONS
   ============================================= */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   GLOBAL RESET
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Fix: Ensure Icons use their own font-family and override the global Tajawal reset */
[class^="ri-"],
[class*=" ri-"],
[class^="ri-"]::before,
[class*=" ri-"]::before {
    font-family: 'remixicon' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}

body {
    background-color: var(--bg-page);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 28px;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-orange {
    color: var(--primary-orange);
}

.text-muted {
    color: var(--text-muted);
}

.text-bold {
    font-weight: 700;
}

.w-full {
    width: 100%;
}

.flex-1 {
    flex: 1;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.m-0 {
    margin: 0;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

/* =============================================
   SEARCH COMPONENTS
   ============================================= */
.hero-search-container {
    background: white;
    padding: 10px;
    border-radius: var(--radius-xl);
    display: flex;
    gap: 10px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: var(--shadow-premium);
    flex-wrap: wrap;
}

.search-input-group,
.filter-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    position: relative;
    border-radius: 16px;
    transition: var(--transition);
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.search-input-group:hover,
.filter-group:hover,
.search-input-group:focus-within,
.filter-group:focus-within {
    background: white;
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.08);
}

/* Perfect Laser Circling Effect */
.border-beam-container {
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 2px;
    background: transparent;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
}

.search-input-group:hover .border-beam-container,
.search-input-group:focus-within .border-beam-container,
.filter-group:hover .border-beam-container,
.filter-group:focus-within .border-beam-container {
    opacity: 1;
}

.border-beam-container::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            transparent 320deg,
            var(--primary-orange) 345deg,
            var(--primary-orange) 360deg);
    animation: rotate-beam 3s linear infinite;
}

@keyframes rotate-beam {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.search-input-group i,
.filter-group i {
    color: var(--primary-orange);
    font-size: 20px;
    position: relative;
    z-index: 10;
}

.search-input-group select,
.search-input-group input,
.filter-group select,
.filter-group input {
    border: none !important;
    outline: none !important;
    width: 100%;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
    background: transparent !important;
    position: relative;
    z-index: 10;
    cursor: pointer;
    padding: 5px 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


@media (max-width: 768px) {
    .hero-search-container {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 15px;
    }

    .search-input-group {
        border-bottom: 1px solid var(--border-color);
        padding: 15px 5px;
        border-radius: 0;
    }

    .search-input-group:last-of-type {
        border-bottom: none;
    }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: rgba(5, 7, 10, 0.85) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 20000;
    transition: var(--transition-base);
}

@media (max-width: 1024px) {
    .navbar {
        padding: 10px 0 !important;
    }
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
}

.logo {
    font-size: 26px;
    font-weight: 950;
    letter-spacing: 0;
    color: var(--primary-orange);
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    transition: var(--transition-base);
    direction: ltr !important;
    flex-shrink: 0;
}

.logo img {
    height: 45px !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 10px;
    display: block !important;
}

@media (max-width: 1024px) {
    .logo {
        font-size: 20px;
        gap: 8px !important;
    }

    .logo img {
        height: 38px !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 17px;
        gap: 6px !important;
    }

    .logo img {
        height: 32px !important;
    }
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none !important;
    }
}

.nav-link {
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-auth-btns {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 1024px) {
    .nav-auth-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 20px;
    }

    .nav-auth-btns .btn {
        width: 100% !important;
    }
}

.user-info:hover .user-name-small {
    color: var(--primary-orange);
}

.user-info:hover .user-avatar-sm {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px var(--primary-orange-light);
}

/* User Profile in Nav */
.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 15px;
    border-right: 1px solid var(--border-color);
    margin-right: 5px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.user-avatar-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-orange-light);
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name-small {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
}

.user-role-small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-logout-btn {
    padding: 8px 14px;
    font-size: 13px;
    height: 38px;
}

@media (max-width: 1024px) {
    .user-profile-nav {
        flex-direction: column;
        align-items: flex-start;
        border-right: none;
        padding-right: 0;
        margin-top: 20px;
        width: 100%;
        gap: 20px;
    }

    .user-info {
        width: 100%;
        padding: 15px;
        background: var(--bg-light);
        border-radius: 12px;
    }
}

.nav-link i {
    display: none;
    /* Hide icons on desktop by default */
}

@media (max-width: 1024px) {
    .nav-link i {
        display: inline-block;
        /* Show icons on mobile/tablet */
    }
}

.mobile-nav-header {
    display: none;
    /* Hidden on desktop */
}


/* =============================================
   LANGUAGE SWITCHER
   ============================================= */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid transparent;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn i:first-child {
    font-size: 18px;
    color: var(--primary-orange);
}

.lang-btn i:last-child {
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--bg-light);
    border-color: var(--border-color);
}

.lang-switcher:hover .lang-btn,
.lang-switcher:focus-within .lang-btn {
    background: white;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.1);
}

.lang-switcher:hover .lang-btn i:last-child,
.lang-switcher:focus-within .lang-btn i:last-child {
    transform: rotate(180deg);
    color: var(--primary-orange);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    min-width: 160px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    padding: 8px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lang-dropdown a {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lang-dropdown a:hover {
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    padding-right: 20px;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
    transform-origin: top left;
}

[dir="rtl"] .lang-dropdown a:hover {
    padding-right: 16px;
    padding-left: 20px;
}

@media (max-width: 1024px) {
    .lang-switcher {
        width: 100%;
        margin-top: 10px;
    }

    .lang-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        margin-top: 10px;
        display: none;
    }

    .lang-switcher:hover .lang-dropdown,
    .lang-switcher:focus-within .lang-dropdown {
        display: flex;
    }

    .lang-btn {
        width: 100%;
        justify-content: space-between;
        background: var(--bg-light);
        padding: 14px 20px;
    }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 69, 0, 0.30);
}

.btn-outline {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: var(--primary-orange-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: var(--primary-orange-mid);
    transform: translateY(-2px);
    border-color: var(--primary-orange);
}

.btn-elite-primary {
    background: linear-gradient(135deg, #FF3F00 0%, #FF6229 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 950;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 63, 0, 0.25);
    border: none;
    cursor: pointer;
}

.btn-elite-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 63, 0, 0.4);
    filter: brightness(1.1);
}

.btn-elite-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 950;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-elite-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-outline-danger {
    background: transparent;
    color: #EF4444;
    border: 1.5px solid #FEE2E2;
}

.btn-outline-danger:hover {
    background: #FEF2F2;
    border-color: #EF4444;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   PREMIUM HERO & HOME PAGE
   ============================================= */
.premium-hero {
    position: relative;
    padding: 140px 0 160px;
    background: #0F172A;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 64px;
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 0;
}

.hero-description {
    font-size: 19px;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.8;
    line-height: 1.8;
    font-weight: 500;
}

/* SEARCH BOX */
/* SEARCH BOX (Premium) */
.premium-search-box {
    background: #FFFFFF;
    padding: 12px;
    border-radius: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    max-width: 950px;
    margin: 0 auto 50px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2), 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F5F9;
    align-items: center;
    position: relative;
    z-index: 20;
}

.search-field {
    padding: 10px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: #F8FBFE;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.search-field:hover {
    background: #FFFFFF;
    border-color: rgba(255, 69, 0, 0.2);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.search-field label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
}

.search-field label i {
    color: var(--primary-orange);
    font-size: 15px;
}

.search-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 17px;
    font-weight: 950;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    padding: 4px 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Custom dropdown arrow for search-select in RTL */
.search-field::after {
    content: "↓";
    /* Simple arrow if lucide is not font-based */
    position: absolute;
    left: 25px;
    bottom: 18px;
    font-size: 14px;
    font-weight: 950;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.search-field:hover::after {
    color: var(--primary-orange);
    transform: translateY(2px);
}

.hero-search-btn {
    background: linear-gradient(135deg, #FF3F00 0%, #FF6D00 100%);
    color: #FFFFFF;
    border: none;
    padding: 20px 45px;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 950;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px -10px rgba(255, 69, 0, 0.4);
    height: 100%;
}

.hero-search-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.4);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 800;
    opacity: 0.9;
}

.trust-item i {
    color: var(--primary-orange);
    font-size: 18px;
}

@media (max-width: 992px) {
    .premium-search-box {
        grid-template-columns: 1fr;
        border-radius: 40px;
        padding: 20px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }
}

/* =============================================
   SECTION LAYOUT
   ============================================= */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: 0;
}

.section-title p {
    font-size: 17px;
    color: var(--text-muted);
}

/* =============================================
   FLOATING ACTION BUTTON (WHATSAPP)
   ============================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 2000;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 30px;
}

/* =============================================
   TESTIMONIALS & STATS
   ============================================= */
.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-premium);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .count {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 5px;
}

.stat-item .label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
}

/* =============================================
   SERVICES GRID (PREMIUM)
   ============================================= */
.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-chip {
    background: white;
    padding: 30px 20px;
    border-radius: 30px;
    border: 1.5px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.service-chip:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.12);
}

.chip-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
}

.service-chip:hover .chip-icon {
    background: var(--primary-orange);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.service-chip span {
    font-size: 16px;
    font-weight: 950;
    color: var(--text-dark);
}

/* STATS GRID */
.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0;
}

.stat-box-premium {
    text-align: center;
}

.stat-num {
    font-size: 48px;
    font-weight: 950;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-muted);
}

/* HOW IT WORKS (STEPS) */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.step-num {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 56px;
    font-weight: 950;
    color: #F1F5F9;
    z-index: 1;
    line-height: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.step-title {
    font-size: 22px;
    font-weight: 950;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-desc {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.8;
}

/* WHY US */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.why-title {
    font-size: 42px;
    font-weight: 950;
    margin-bottom: 40px;
    line-height: 1.2;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.why-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.why-list h4 {
    font-size: 18px;
    font-weight: 950;
    margin-bottom: 8px;
}

.why-list p {
    font-size: 15px;
    opacity: 0.7;
    font-weight: 500;
    line-height: 1.7;
}

/* NEWSLETTER */
.newsletter-premium {
    background: linear-gradient(135deg, #FF3F00 0%, #FF6B35 100%);
    border-radius: 50px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 40px 100px rgba(255, 69, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-premium::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.newsletter-inner {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-field {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    background: white;
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter-field input {
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter-field {
        flex-direction: column;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .newsletter-field input {
        background: white !important;
        border-radius: 20px !important;
    }
}

/* =============================================
   SECTION LAYOUT
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1.5px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.1);
}

.service-icon-box {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 69, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #FF3F00;
    transition: var(--transition);
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.service-card:hover .service-icon-box {
    background-color: rgba(255, 69, 0, 0.2);
    transform: scale(1.05);
}


.service-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.service-card p {
    display: none;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card {
        padding: 30px 15px;
    }
}


/* =============================================
   PORTFOLIO & GALLERY
   ============================================= */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '\eb96';
    font-family: 'remixicon';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

/* =============================================
   STICKY CONTACT BOX
   ============================================= */
.sticky-contact-box {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    text-align: center;
}

/* =============================================
   ARTISAN CARDS (Refined)
   ============================================= */
.verified-badge {
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rating-stars {
    color: var(--warning-yellow);
    display: flex;
    gap: 2px;
}

.rating-stars i {
    font-size: 14px;
}

/* =============================================
   CARD (Global)
   ============================================= */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

/* =============================================
   FORMS & AUTH
   ============================================= */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}

.form-group label i {
    color: var(--primary-orange);
    margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px var(--primary-orange-mid);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #F1F5F9 0%, #E8EFF7 100%);
}

.auth-card {
    max-width: 500px;
    width: 100%;
    padding: 44px;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 20px 16px;
        align-items: flex-start;
        padding-top: 30px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .auth-card h1 {
        font-size: 22px !important;
    }

    .auth-card .form-group label {
        font-size: 13px;
    }

    .auth-card .form-group input,
    .auth-card .form-group select,
    .auth-card .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* Force form grid to single column on mobile */
    .auth-card [style*="grid-template-columns: 1fr 1fr"],
    .auth-card [style*="grid-template-columns:1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* Role selector on mobile */
    .role-selector {
        gap: 10px;
    }

    .role-option {
        padding: 16px 12px;
    }

    .role-option i {
        font-size: 26px;
    }

    .role-option span {
        font-size: 13px;
    }

    /* Password label and forgot link */
    .auth-card [style*="justify-content: space-between"] {
        flex-wrap: wrap;
        gap: 5px;
    }
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-orange);
    color: white;
    border-radius: 14px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.25);
    transition: var(--transition);
    border: none;
    outline: none;
    z-index: 1001;
}


.menu-toggle:active {
    transform: scale(0.92);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(100%);
        box-shadow: none;
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    }

    .main-content {
        margin-right: 0;
        width: 100%;
        padding: 24px 18px;
    }

    .menu-toggle {
        display: flex;
        width: 45px;
        height: 45px;
        align-items: center;
        justify-content: center;
        background: var(--primary-orange-light);
        color: var(--primary-orange);
        border-radius: 12px;
        cursor: pointer;
        font-size: 24px;
        transition: var(--transition);
    }

    .nav-link i {
        font-size: 20px;
        color: var(--primary-orange);
        opacity: 0.8;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger links animation */
    .nav-links.active .nav-link:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-links.active .nav-link:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-child(5) {
        transition-delay: 0.25s;
    }

    .user-profile-nav {
        margin: auto 0 0;
        padding: 25px;
        background: white;
        border-top: 1px solid var(--border-color);
    }

    .user-info {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .user-avatar-sm {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        object-fit: cover;
        border: 2px solid white;
        box-shadow: var(--shadow-soft);
    }

    .user-details {
        display: flex;
        flex-direction: column;
    }

    .user-name-small {
        font-weight: 800;
        font-size: 15px;
        color: var(--text-dark);
    }

    .user-role-small {
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 600;
    }

    .mobile-auth-btns {
        padding: 25px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .why-us-grid h2 {
        font-size: 32px !important;
    }

    .why-us-grid ul {
        align-items: center;
    }

    .why-us-grid li {
        text-align: right;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        min-height: 60vh;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-search-container {
        padding: 10px;
        gap: 8px;
        flex-direction: column;
    }

    .search-input-group,
    .filter-group {
        padding: 10px 12px;
        border-radius: 10px;
        background: #F8FAFC;
        width: 100%;
        border: 1px solid var(--border-color);
    }

    .search-input-group select,
    .search-input-group input,
    .filter-group select,
    .filter-group input {
        font-size: 14px;
    }

    .search-input-group i,
    .filter-group i {
        font-size: 18px;
    }

    /* Disable laser effect on mobile for better visibility/performance */
    .border-beam-container {
        display: none !important;
    }

    .hero-search-container .btn-primary {
        width: 100%;
        padding: 16px !important;
        margin-top: 5px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }

    /* Grid Adjustments */
    .services-grid,
    .artisans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar {
        transform: translateX(100%);
        box-shadow: none;
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    }

    .main-content {
        margin-right: 0 !important;
        width: 100% !important;
        padding: 50px 15px 20px 15px;
        /* Added top padding for menu toggle */
    }

    body>.menu-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 2000;
        box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
    }

    .top-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-us-grid h2 {
        font-size: 28px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-grid>div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-grid .logo {
        margin-left: auto;
        margin-right: auto;
    }

    /* Chat Mobile Logic */
    #chatInbox {
        width: 100% !important;
        border-left: none !important;
    }

    #chatWindow {
        position: absolute;
        inset: 0;
        z-index: 100;
        display: none !important;
    }

    #chatWindow.open {
        display: flex !important;
    }

    .mobile-back-btn {
        display: flex;
    }

    /* Social Icons in Footer */
    .social-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: var(--transition);
        font-size: 18px;
    }

    .social-icon:hover {
        background: var(--primary-orange);
        transform: translateY(-3px);
        color: white;
    }

    .social-icon.whatsapp-hover:hover {
        background: #25D366;
    }

    .footer-link {
        opacity: 0.8;
        transition: var(--transition);
        display: inline-block;
    }

    .footer-link:hover {
        opacity: 1;
        color: var(--primary-orange);
        transform: translateX(-5px);
    }

    [dir="ltr"] .footer-link:hover {
        transform: translateX(5px);
    }

    /* Floating WhatsApp Button Fixes */
    .floating-whatsapp {
        position: fixed;
        bottom: 90px;
        left: 25px;
        width: 60px;
        height: 60px;
        background: #25D366;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
        z-index: 2000;
        transition: var(--transition);
        animation: pulse-whatsapp 2s infinite;
    }

    .floating-whatsapp:hover {
        transform: scale(1.1) translateY(-5px);
        box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    }

    /* Global Body Bottom Spacing for Mobile Nav */
    @media (max-width: 768px) {
        body {
            padding-bottom: 80px;
        }

        .floating-whatsapp {
            bottom: 100px;
            /* Above mobile bottom nav */
            width: 50px;
            height: 50px;
            font-size: 26px;
        }
    }

    /* =============================================
   LEGAL PAGES (Privacy, Terms) Mobile
   ============================================= */
    .legal-content {
        padding: 30px 20px !important;
        margin-top: -40px !important;
        border-radius: 20px !important;
    }

    .legal-header {
        padding: 60px 0 100px !important;
    }

    .legal-header h1 {
        font-size: 28px !important;
    }

    .legal-header p {
        font-size: 14px !important;
        padding: 0 15px;
    }

    .legal-section h2 {
        font-size: 18px !important;
        gap: 8px !important;
    }

    .legal-section p,
    .legal-section li {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    /* =============================================
       FAQ PAGE Mobile  
       ============================================= */
    .page-banner {
        padding: 60px 20px !important;
    }

    .page-banner h1 {
        font-size: 28px !important;
    }

    .page-banner p {
        font-size: 14px !important;
        padding: 0 10px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 0 18px;
    }

    /* =============================================
       MODAL Mobile Fixes
       ============================================= */
    .modal-box {
        padding: 25px 20px !important;
        border-radius: 20px !important;
        max-height: 85vh !important;
    }

    .modal-overlay {
        padding: 15px !important;
    }

    .modal-artisan {
        padding: 14px !important;
        gap: 12px !important;
    }

    .modal-artisan img {
        width: 50px !important;
        height: 50px !important;
    }

    /* =============================================
       FILTER BAR Mobile 
       ============================================= */
    .filter-bar {
        flex-direction: column;
        padding: 18px;
        gap: 12px;
        border-radius: 18px;
    }

    .filter-bar .btn-primary {
        width: 100%;
        margin-right: 0 !important;
    }

    .filter-container {
        margin-top: -40px;
        padding: 0 16px;
    }

    /* =============================================
       BOOKING FORM Mobile Grid Fix
       ============================================= */
    .modal-box [style*="grid-template-columns: 1fr 1fr"],
    .modal-box [style*="grid-template-columns:1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
}

/* =============================================
   SKELETON ANIMATION
   ============================================= */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Premium Loader */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-bottom-color: var(--primary-orange);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.mobile-back-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 20px;
    cursor: pointer;
}

.skeleton-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
}

/* Modal System */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: white;
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.modal-artisan {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.success-state {
    display: none;
    text-align: center;
    padding: 20px 0;
}

/* =============================================
   MOBILE NAVIGATION (DRAWER)
   ============================================= */
@media (max-width: 1024px) {
    .nav-links {
        background: #05070A !important;
        width: 300px !important;
        height: 100vh !important;
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        z-index: 20001 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow-y: auto !important;
    }

    .nav-links.active {
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    [dir="rtl"] .nav-links {
        left: auto !important;
        right: -320px !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    [dir="rtl"] .nav-links.active {
        right: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        background: #05070A;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .btn-close-menu {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: var(--bg-light);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: white;
        cursor: pointer;
    }

    .nav-link {
        padding: 16px 25px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02) !important;
        font-size: 16px !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        justify-content: flex-start !important;
        background: transparent !important;
    }

    .nav-link i {
        display: inline-block !important;
        font-size: 20px !important;
        color: var(--primary-orange) !important;
        margin: 0 !important;
    }

    .nav-auth-btns {
        padding: 25px !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-top: 0 !important;
    }

    .nav-auth-btns .btn {
        width: 100% !important;
        height: 50px !important;
    }

    /* Dashboard Sidebar Mobile Polish */
    .sidebar {
        width: 280px !important;
        position: fixed !important;
        right: -280px !important;
        z-index: 5000 !important;
        transition: 0.4s ease !important;
        top: 0 !important;
        height: 100vh !important;
    }

    .sidebar.active {
        right: 0 !important;
    }
}

/* =============================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: white;
    border-top: 1px solid var(--border-color);
    z-index: 1500;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.1);
    justify-content: space-around;
    align-items: center;
    padding: 0 5px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    background: transparent;
    border: none;
}

.mobile-nav-btn i {
    font-size: 24px;
    stroke-width: 2px;
}

.mobile-nav-btn.active {
    color: var(--primary-orange);
}

.mobile-nav-btn.active i {
    transform: translateY(-2px);
}

/* Elite Trust Grid Styles */
.elite-trust-grid {
    transition: var(--transition-base);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    font-size: 32px;
    color: var(--primary-orange);
}

.trust-value {
    display: block;
    font-size: 36px;
    font-weight: 950;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-label {
    font-size: 15px;
    font-weight: 800;
    color: #94A3B8;
}

@media (max-width: 768px) {
    .elite-trust-grid {
        grid-template-columns: 1fr !important;
        text-align: right !important;
        gap: 30px !important;
        padding: 0 20px;
    }

    .trust-item {
        flex-direction: row-reverse !important;
        justify-content: flex-start !important;
        gap: 20px !important;
    }

    .trust-content {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 10px;
    }

    .trust-value {
        font-size: 22px !important;
        margin-bottom: 0 !important;
        color: white !important;
    }

    .trust-label {
        font-size: 18px !important;
        color: #CBD5E1 !important;
    }

    .trust-icon {
        font-size: 24px !important;
    }
}

/* =============================================
   MEDIA QUERIES — POLISHING
   ============================================= */

@media (max-width: 768px) {
    body {
        padding-bottom: 85px !important;
        /* Space for Bottom Nav */
    }

    .mobile-bottom-nav {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto !important;
        padding: 60px 0 90px !important;
    }

    .hero h1 {
        font-size: 32px !important;
    }

    .hero-search-container {
        flex-direction: column !important;
        border-radius: 20px !important;
        padding: 10px !important;
    }

    .search-input-group {
        width: 100% !important;
        border: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        border-radius: 0 !important;
    }

    .search-input-group:last-of-type {
        border-bottom: none !important;
    }

    /* Grids */
    .services-grid,
    .artisans-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .service-card,
    .artisan-card,
    .product-card {
        padding: 20px 14px !important;
    }

    .service-icon {
        width: 55px !important;
        height: 55px !important;
        font-size: 26px !important;
    }

    .service-card p,
    .artisan-bio {
        display: none !important;
        /* Hide bios on main grid for space */
    }

    .artisan-card {
        min-height: auto !important;
    }

    .artisan-top {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .artisan-avatar {
        width: 65px !important;
        height: 65px !important;
    }

    .artisan-footer {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .artisan-footer>div:last-child {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }

    .artisan-footer .btn {
        flex: 1 !important;
        padding: 10px !important;
    }

    /* Layouts */
    .why-us-grid,
    .how-it-works-grid,
    .footer-grid,
    .contact-layout,
    .dashboard-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .section-title h2 {
        font-size: 26px !important;
    }

    /* Modal */
    .modal-box {
        padding: 25px !important;
        max-width: 95% !important;
    }

    /* Filters on Artisan/Shop pages */
    .filter-bar {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 18px !important;
    }

    .filter-group {
        width: 100% !important;
        flex: none !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px !important;
    }

    .services-grid,
    .product-grid {
        gap: 8px !important;
    }

    .btn {
        height: 48px !important;
    }
}

/* =============================================
   PROFESSIONAL SHOP ENHANCEMENTS
   ============================================= */

/* 1. Shopping Cart UI */
.cart-floating-btn {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: var(--primary-orange);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-orange);
    cursor: pointer;
    z-index: 1500;
    transition: var(--transition);
}

.cart-floating-btn.hidden {
    display: none;
}

.cart-floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.4);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FFD700;
    color: var(--text-black);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    border: 2px solid white;
}

/* 2. Side Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    left: -420px;
    width: 420px;
    height: 100%;
    background: white;
    z-index: 3000;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    left: 0;
}

.cart-header {
    padding: 30px;
    background: var(--text-black);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-close {
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    animation: slide-up 0.3s ease;
    transition: var(--transition);
}

.cart-item:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-soft);
}

.cart-item img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 12px;
    background: #f8f8f8;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-black);
}

.cart-item-price {
    color: var(--primary-orange);
    font-weight: 800;
    font-size: 16px;
}

.cart-item-remove {
    color: var(--error-red);
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.cart-item-remove:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-color);
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 900;
}

/* 3. Premium Badges */
.badge-hot {
    background: linear-gradient(135deg, #FF3F00, #FFD700);
}

.badge-new {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.badge-sale {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
}

/* 4. Filter Chips & Quick Actions */
.quick-view-modal {
    max-width: 850px !important;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .quick-view-grid {
        grid-template-columns: 1fr;
    }
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid var(--primary-orange-mid);
    transition: var(--transition);
}

.chip:hover {
    background: var(--primary-orange);
    color: white;
}

.chip i {
    cursor: pointer;
}

/* 5. Tooltip & Notifications */
.badge-premium {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        left: -100%;
    }
}

/* =============================================
   GLOBAL PROFESSIONAL COMPONENTS
   ============================================= */

/* 1. Top Promo Bar */
.top-notice-bar {
    background: #0F172A;
    background: linear-gradient(90deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 1100;
}

.top-notice-bar span {
    color: var(--primary-orange);
    text-decoration: underline;
    cursor: pointer;
}

/* 2. Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 40px;
    right: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 69, 0, 0.2);
    padding: 24px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 5000;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.visible {
    bottom: 30px;
}

.cookie-content {
    flex: 1;
}

.cookie-content h4 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--text-black);
}

.cookie-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: -300px;
        left: 20px;
        right: 20px;
        padding: 25px;
        gap: 20px;
    }

    .cookie-banner.visible {
        bottom: 20px;
    }
}

/* 3. Newsletter Section */
.newsletter-card {
    background: white;
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    max-width: 900px;
    margin: -80px auto 80px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 10;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: right;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

/* 4. Premium Inputs & Elements */
.premium-input {
    width: 100%;
    padding: 14px 20px;
    background: #F8FAFC;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.premium-input:focus {
    background: white;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px var(--primary-orange-mid);
}

.premium-input::placeholder {
    color: var(--text-light);
    font-weight: 500;
}

/* RTL Support for inputs */
[dir="rtl"] .premium-input {
    text-align: right;
}

/* Newsletter Refinement */
.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange), #FFD700);
    border-radius: 30px 30px 0 0;
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 40px 20px;
        margin: -50px 20px 50px;
    }

    .newsletter-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =============================================
   MAIN PAGE COMPONENTS
   ============================================= */
.premium-hero {
    background: var(--bg-dark);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* =============================================
   RESPONSIVE ELITE UTILITIES
   ============================================= */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-header-premium h2 {
        font-size: 32px !important;
    }
}

.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 640px) {
    .responsive-grid {
        grid-template-columns: 1fr;
    }
}

.mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 769px) {
    .mobile-stack {
        flex-direction: row;
        align-items: center;
    }
}

.hide-mobile {
    @media (max-width: 768px) {
        display: none !important;
    }
}

.show-mobile {
    display: none !important;

    @media (max-width: 768px) {
        display: flex !important;
    }
}

/* Specific component responsiveness */
@media (max-width: 768px) {
    .premium-hero {
        padding: 60px 0 !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 36px !important;
    }

    .hero-description {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }

    .dark-glass-panel {
        padding: 15px !important;
        border-radius: 25px !important;
        flex-direction: column;
    }

    .dark-glass-panel>div {
        width: 100% !important;
        min-width: 100% !important;
    }

    .dark-glass-panel button {
        width: 100% !important;
    }

    .why-us-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .why-title {
        font-size: 32px !important;
    }

    .why-us-image {
        margin-top: 30px;
    }
}

/* =============================================
   HOME PAGE NEW ELITE SECTIONS
   ============================================= */
.artisan-card-premium {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.artisan-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: white !important;
    border-color: var(--primary-orange-mid) !important;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =============================================
   MOBILE PERFECTION & RESPONSIVENESS
   ============================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 20px !important;
    }

    /* Typography scaling */
    h1,
    .hero-title {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }

    h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .section-header-premium h2 {
        font-size: 32px !important;
    }

    /* Hero Search adjustments */
    .elite-search-panel {
        padding: 20px !important;
        gap: 10px !important;
        border-radius: 20px !important;
    }

    .elite-dropdown-trigger {
        height: 55px !important;
        padding: 0 15px !important;
    }

    /* Stats Section */
    .stats-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .stat-item {
        padding: 20px 10px !important;
    }

    .stat-number {
        font-size: 24px !important;
    }

    /* Service Grid */
    .services-grid-premium {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .service-chip {
        padding: 25px 15px !important;
        border-radius: 25px !important;
    }

    .chip-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    /* Trending & Testimonials */
    .artisan-card-premium {
        border-radius: 25px !important;
    }

    .testimonial-card {
        padding: 25px !important;
        border-radius: 30px !important;
    }

    /* Bottom Nav Padding */
    body {
        padding-bottom: 80px !important;
    }
}

/* Safe area for modern phones */
@supports (padding: env(safe-area-inset-bottom)) {
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(70px + env(safe-area-inset-bottom));
    }
}

/* Animations for Mobile */
@media (max-width: 768px) {
    .hover-float:hover {
        transform: translateY(-5px);
    }

    .section {
        padding: 60px 0 !important;
    }
}

/* =============================================
   GLOBAL MOBILE RESPONSIVENESS FIXES (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {

    /* 1. Ensure all containers have width: 100% and proper padding */
    .container,
    .dashboard-container,
    .wrapper,
    .main-content,
    main,
    section,
    .glass-card,
    .glass-card-v3,
    .card {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* 2. Stack horizontal elements vertically */
    .row,
    .flex-row,
    .grid,
    .hero-section,
    .hero-content,
    .footer-content,
    .card-group,
    .dashboard-grid,
    .stat-grid,
    .stat-grid-v3,
    .footer-grid,
    .services-grid,
    .artisans-grid,
    .newsletter-grid,
    .newsletter-card-elite,
    .contact-grid,
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    /* 3. Responsive images and tables */
    img,
    video,
    canvas,
    svg,
    iframe {
        max-width: 100% !important;
        height: auto !important;
    }

    table,
    .premium-table,
    .table-container,
    .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* 4. Fix navigation menu */
    .nav-menu,
    .header-nav,
    .sidebar-brand {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
    }

    .navbar .container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
    }

    .nav-item,
    .nav-link-v3 {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Prevent horizontal scrolling globally */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
}

/* =============================================
   HOME PAGE NEW ELITE SECTIONS
   ============================================= */
.artisan-card-premium {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.artisan-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: white !important;
    border-color: var(--primary-orange-mid) !important;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =============================================
   MOBILE PERFECTION & RESPONSIVENESS
   ============================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 20px !important;
    }

    /* Typography scaling */
    h1,
    .hero-title {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }

    h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .section-header-premium h2 {
        font-size: 32px !important;
    }

    /* Hero Search adjustments */
    .elite-search-panel {
        padding: 25px 20px !important;
        gap: 15px !important;
        border-radius: 25px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .elite-dropdown-trigger {
        height: 60px !important;
        padding: 0 20px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .search-btn-elite {
        width: 100% !important;
        height: 65px !important;
        justify-content: center !important;
        font-size: 18px !important;
        border-radius: 20px !important;
    }

    .premium-hero {
        padding: 80px 0 60px !important;
        text-align: center !important;
    }

    .premium-hero h1 {
        font-size: 30px !important;
        margin-bottom: 20px !important;
    }

    .premium-hero p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        opacity: 0.8 !important;
        max-width: 100% !important;
    }

    /* Stats Section */
    .stats-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .stat-item {
        padding: 20px 10px !important;
    }

    .stat-number {
        font-size: 24px !important;
    }

    /* Service Grid */
    .services-grid-premium {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .service-chip {
        padding: 25px 15px !important;
        border-radius: 25px !important;
    }

    .chip-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    /* Trending & Testimonials */
    .artisan-card-premium {
        border-radius: 25px !important;
    }

    .testimonial-card {
        padding: 25px !important;
        border-radius: 30px !important;
    }

    /* Bottom Nav Padding */
    body {
        padding-bottom: 80px !important;
    }
}

/* Safe area for modern phones */
@supports (padding: env(safe-area-inset-bottom)) {
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(70px + env(safe-area-inset-bottom));
    }
}

/* Animations for Mobile */
@media (max-width: 768px) {
    .hover-float:hover {
        transform: translateY(-5px);
    }

    .section {
        padding: 60px 0 !important;
    }
}

/* =============================================
   GLOBAL MOBILE RESPONSIVENESS FIXES (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {

    /* 1. Ensure all containers have width: 100% and proper padding */
    .container,
    .dashboard-container,
    .wrapper,
    .main-content,
    main,
    section,
    .glass-card,
    .glass-card-v3,
    .card {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* 2. Stack horizontal elements vertically */
    .row,
    .flex-row,
    .grid,
    .hero-section,
    .hero-content,
    .footer-content,
    .card-group,
    .dashboard-grid,
    .stat-grid,
    .stat-grid-v3,
    .footer-grid,
    .services-grid,
    .artisans-grid,
    .newsletter-grid,
    .newsletter-card-elite,
    .contact-grid,
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    /* 3. Responsive images and tables */
    img,
    video,
    canvas,
    svg,
    iframe {
        max-width: 100% !important;
        height: auto !important;
    }

    table,
    .premium-table,
    .table-container,
    .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* 4. Fix navigation menu */
    .nav-menu,
    .header-nav,
    .sidebar-brand {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
    }

    .navbar .container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
    }

    .nav-item,
    .nav-link-v3 {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Prevent horizontal scrolling globally */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .hero-trust {
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        margin-top: 50px !important;
        padding: 0 20px !important;
    }

    .trust-item {
        font-size: 14px !important;
        width: 100% !important;
        justify-content: center !important;
        opacity: 0.8 !important;
    }

    .trust-item i {
        color: var(--primary-red) !important;
    }
}

@media (max-width: 768px) {
    .section-header-premium h2 {
        font-size: 30px !important;
        letter-spacing: 0 !important;
    }

    .hover-float {
        padding: 30px 20px !important;
        border-radius: 30px !important;
    }

    .how-it-works-grid {
        gap: 25px !important;
    }
}

.hero-trust-elite {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.elite-trust-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.elite-trust-chip i {
    color: var(--primary-red);
    width: 18px;
    height: 18px;
}

.elite-trust-chip:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    border-color: rgba(255, 63, 0, 0.3);
}

.elite-stats-section {
    width: 100% !important;
    overflow: hidden !important;
}

.elite-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 0 auto !important;
    max-width: 1300px !important;
}

.elite-stat-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 50px 20px !important;
    border-radius: 35px !important;
    text-align: center !important;
    transition: all 0.4s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.elite-stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 63, 0, 0.3);
}

.elite-stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 63, 0, 0.12);
    color: var(--primary-red);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
}

.elite-stat-number {
    font-size: 42px;
    font-weight: 950;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #bbb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0;
}

.elite-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 800;
}

@media (max-width: 480px) {
    .hero-trust-elite {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
        margin-top: 40px !important;
    }

    .elite-trust-chip {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 991px) {
    .elite-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .elite-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 5px !important;
    }

    .elite-stat-card {
        padding: 30px 15px !important;
        border-radius: 25px !important;
    }

    .elite-stat-number {
        font-size: 24px !important;
    }
}

/* =============================================
   BRAND ANIMATIONS (Inspired by logo1.png)
   ============================================= */
.footer-logo-img,
.navbar-logo img,
.footer-logo-official img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 15px rgba(255, 63, 0, 0.2));
}

.footer-logo-img:hover,
.navbar-logo img:hover,
.footer-logo-official img:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 0 25px rgba(255, 63, 0, 0.5));
}

@keyframes swoosh-glow {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.text-orange {
    background: linear-gradient(90deg, #FF3F00, #FF854D, #FF3F00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: swoosh-glow 4s linear infinite;
    display: inline-block;
}

/* Premium Scroll Animations (Global) */
.reveal-hidden {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typewriter Cursor Effect for Header */
#typewriter-text {
    border-inline-end: 4px solid var(--primary-orange);
    padding-inline-end: 4px;
    animation: blinkCursor 0.75s step-end infinite;
    display: inline-block;
    min-width: 20px;
    line-height: inherit;
    white-space: nowrap;
}

@keyframes blinkCursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-orange);
    }
}