/* ===== Header Style 1 ===== */

        /* Top Bar */
        .header1-topbar {
            background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-800));
            color: rgba(255, 255, 255, 0.9);
        }

        .header1-topbar-link {
            color: rgba(255, 255, 255, 0.85);
            transition: color 0.2s ease;
        }

        .header1-topbar-link:hover {
            color: white;
        }

        .header1-theme-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            border-radius: 0.375rem;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.9);
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .header1-theme-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .header1-theme-toggle .sun-icon {
            display: none;
        }

        .header1-theme-toggle .moon-icon {
            display: block;
        }

        .dark .header1-theme-toggle .sun-icon {
            display: block;
        }

        .dark .header1-theme-toggle .moon-icon {
            display: none;
        }

        /* Main Header */
        .header1-main {
            background: white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .dark .header1-main {
            background: var(--color-bg-primary);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }

        /* Logo */
        .header1-logo-icon {
            width: 3rem;
            height: 3rem;
            border-radius: 0.75rem;
            background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
        }

        .header1-logo-icon-small {
            width: 2rem;
            height: 2rem;
            border-radius: 0.5rem;
            background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header1-logo-text {
            color: var(--color-gray-900);
        }

        .dark .header1-logo-text {
            color: var(--color-text-primary);
        }

        .header1-logo-tagline {
            color: var(--color-gray-500);
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .dark .header1-logo-tagline {
            color: var(--color-text-tertiary);
        }

        /* Navigation Links */
        .header1-nav-link {
            position: relative;
            padding: 0.5rem 1rem;
            font-weight: 500;
            color: var(--color-gray-700);
            border-radius: 0.5rem;
            transition: all 0.2s ease;
        }

        .header1-nav-link:hover {
            color: var(--color-primary-600);
            background: var(--color-primary-50);
        }

        .header1-nav-link.active {
            color: var(--color-primary-600);
            background: var(--color-primary-50);
        }

        .dark .header1-nav-link {
            color: var(--color-text-secondary);
        }

        .dark .header1-nav-link:hover {
            color: var(--color-primary-400);
            background: var(--color-bg-tertiary);
        }

        .dark .header1-nav-link.active {
            color: var(--color-primary-400);
            background: var(--color-bg-tertiary);
        }

        /* More Dropdown */
        .header1-more-dropdown {
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .header1-more-dropdown::before {
            content: '';
            position: absolute;
            top: -6px;
            left: 20px;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 6px solid white;
        }

        .dark .header1-more-dropdown::before {
            border-bottom-color: var(--color-gray-800);
        }

        .header1-more-item:hover span:first-child {
            opacity: 1;
        }

        /* Language Button */
        .header1-lang-btn {
            color: var(--color-gray-600);
            transition: all 0.2s ease;
        }

        .header1-lang-btn:hover {
            color: var(--color-primary-600);
            background: var(--color-gray-100);
        }

        .dark .header1-lang-btn {
            color: var(--color-text-tertiary);
        }

        .dark .header1-lang-btn:hover {
            color: var(--color-primary-400);
            background: var(--color-bg-tertiary);
        }

        /* CTA Button */
        .header1-cta-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.625rem 1.25rem;
            font-weight: 600;
            font-size: 0.875rem;
            color: white;
            background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
            border-radius: 0.5rem;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .header1-cta-btn:hover {
            background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-800));
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
        }

        /* Mobile Menu Button */
        .header1-mobile-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.5rem;
            color: var(--color-gray-700);
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .header1-mobile-btn:hover {
            background: var(--color-gray-100);
        }

        .dark .header1-mobile-btn {
            color: var(--color-text-primary);
        }

        .dark .header1-mobile-btn:hover {
            background: var(--color-bg-tertiary);
        }

        /* Mobile Theme Toggle */
        .header1-theme-toggle-mobile {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.5rem;
            color: var(--color-gray-600);
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .header1-theme-toggle-mobile:hover {
            background: var(--color-gray-100);
        }

        .dark .header1-theme-toggle-mobile {
            color: var(--color-text-secondary);
        }

        .dark .header1-theme-toggle-mobile:hover {
            background: var(--color-bg-tertiary);
        }

        .header1-theme-toggle-mobile .sun-icon {
            display: none;
        }

        .header1-theme-toggle-mobile .moon-icon {
            display: block;
        }

        .dark .header1-theme-toggle-mobile .sun-icon {
            display: block;
        }

        .dark .header1-theme-toggle-mobile .moon-icon {
            display: none;
        }

        /* Mobile Menu Panel */
        .header1-mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            width: 320px;
            max-width: 100%;
            background: white;
            z-index: 9999;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
        }

        .header1-mobile-menu.active {
            transform: translateX(0);
        }

        .dark .header1-mobile-menu {
            background: var(--color-bg-primary);
            box-shadow: -4px 0 25px rgba(0, 0, 0, 0.4);
        }

        .header1-mobile-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--color-gray-200);
            color: var(--color-gray-900);
        }

        .dark .header1-mobile-header {
            border-color: var(--color-border);
            color: var(--color-text-primary);
        }

        .header1-mobile-close {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.5rem;
            color: var(--color-gray-500);
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .header1-mobile-close:hover {
            background: var(--color-gray-100);
            color: var(--color-gray-700);
        }

        .dark .header1-mobile-close {
            color: var(--color-text-tertiary);
        }

        .dark .header1-mobile-close:hover {
            background: var(--color-bg-tertiary);
            color: var(--color-text-primary);
        }

        /* Mobile Navigation Links */
        .header1-mobile-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.25rem;
            font-weight: 500;
            color: var(--color-gray-700);
            border-left: 3px solid transparent;
            transition: all 0.2s ease;
        }

        .header1-mobile-link:hover {
            background: var(--color-primary-50);
            color: var(--color-primary-600);
            border-left-color: var(--color-primary-600);
        }

        .dark .header1-mobile-link {
            color: var(--color-text-secondary);
        }

        .dark .header1-mobile-link:hover {
            background: var(--color-bg-tertiary);
            color: var(--color-primary-400);
            border-left-color: var(--color-primary-400);
        }

        /* Mobile Menu Footer */
        .header1-mobile-footer {
            padding: 1.25rem;
            border-top: 1px solid var(--color-gray-200);
            background: var(--color-gray-50);
        }

        .dark .header1-mobile-footer {
            border-color: var(--color-border);
            background: var(--color-bg-secondary);
        }

        .header1-mobile-contact {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--color-gray-600);
            transition: color 0.2s ease;
        }

        .header1-mobile-contact:hover {
            color: var(--color-primary-600);
        }

        .dark .header1-mobile-contact {
            color: var(--color-text-tertiary);
        }

        .dark .header1-mobile-contact:hover {
            color: var(--color-primary-400);
        }

        .header1-mobile-cta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: 100%;
            padding: 0.875rem 1.25rem;
            font-weight: 600;
            color: white;
            background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
            border-radius: 0.75rem;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
            transition: all 0.3s ease;
        }

        .header1-mobile-cta:hover {
            background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-800));
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
        }

        /* Overlay */
        .header1-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .header1-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Dark mode for Top Bar */
        .dark .header1-topbar {
            background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
        }

        /* ===== TRANSPARENT MODE ===== */
        .header1-transparent .header1-topbar {
            background: rgba(0, 0, 0, 0.2) !important;
            backdrop-filter: blur(8px) !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        }

        .header1-transparent .header1-main {
            background: transparent !important;
            background-color: transparent !important;
            box-shadow: none !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        }

        .header1-transparent .header1-logo-text {
            color: white;
        }

        .header1-transparent .header1-logo-tagline {
            color: rgba(255, 255, 255, 0.8);
        }

        .header1-transparent .header1-nav-link {
            color: rgba(255, 255, 255, 0.9);
        }

        .header1-transparent .header1-nav-link:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .header1-transparent .header1-lang-btn {
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.1);
        }

        .header1-transparent .header1-lang-btn:hover {
            color: white;
            background: rgba(255, 255, 255, 0.2);
        }

        .header1-transparent .header1-mobile-btn {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .header1-transparent .header1-mobile-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .header1-transparent .header1-theme-toggle-mobile {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .header1-transparent .header1-theme-toggle-mobile:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Transparent mode when scrolled */
        .header1-transparent.header-scrolled .header1-topbar {
            background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-secondary-600) 100%) !important;
            backdrop-filter: none !important;
        }

        .header1-transparent.header-scrolled .header1-main {
            background: #ffffff !important;
            background-color: #ffffff !important;
            backdrop-filter: blur(10px) !important;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
            border-bottom: 1px solid #e5e7eb !important;
        }

        .header1-transparent.header-scrolled .header1-logo-text {
            color: var(--color-gray-900) !important;
        }

        .header1-transparent.header-scrolled .header1-logo-tagline {
            color: var(--color-gray-500) !important;
        }

        .header1-transparent.header-scrolled .header1-nav-link {
            color: var(--color-gray-700) !important;
        }

        .header1-transparent.header-scrolled .header1-nav-link:hover {
            color: var(--color-primary-600) !important;
            background: var(--color-primary-50) !important;
        }

        .header1-transparent.header-scrolled .header1-lang-btn {
            color: var(--color-gray-600) !important;
            background: var(--color-gray-100) !important;
        }

        .header1-transparent.header-scrolled .header1-lang-btn:hover {
            color: var(--color-primary-600) !important;
            background: var(--color-gray-200) !important;
        }

        .header1-transparent.header-scrolled .header1-mobile-btn {
            color: var(--color-gray-700) !important;
            background: var(--color-gray-100) !important;
        }

        .header1-transparent.header-scrolled .header1-mobile-btn:hover {
            background: var(--color-gray-200) !important;
        }

        .header1-transparent.header-scrolled .header1-theme-toggle-mobile {
            color: var(--color-gray-600) !important;
            background: var(--color-gray-100) !important;
        }

        .header1-transparent.header-scrolled .header1-theme-toggle-mobile:hover {
            background: var(--color-gray-200) !important;
        }

        /* Dark mode - Transparent scrolled */
        .dark .header1-transparent.header-scrolled .header1-topbar {
            background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-secondary-700) 100%) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-main {
            background: rgba(15, 23, 42, 0.95) !important;
            background-color: rgba(15, 23, 42, 0.95) !important;
            border-bottom-color: var(--color-border) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-logo-text {
            color: var(--color-text-primary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-logo-tagline {
            color: var(--color-text-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-nav-link {
            color: var(--color-text-secondary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-nav-link:hover {
            color: var(--color-primary-400) !important;
            background: var(--color-bg-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-lang-btn {
            color: var(--color-text-tertiary) !important;
            background: var(--color-bg-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-lang-btn:hover {
            color: var(--color-primary-400) !important;
            background: var(--color-bg-secondary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-mobile-btn {
            color: var(--color-text-primary) !important;
            background: var(--color-bg-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-mobile-btn:hover {
            background: var(--color-bg-secondary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-theme-toggle-mobile {
            color: var(--color-text-secondary) !important;
            background: var(--color-bg-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-theme-toggle-mobile:hover {
            background: var(--color-bg-secondary) !important;
        }

        /* ===== TEXT COLOR MODE ===== */
        /* IMPORTANT: Text color mode settings only apply in LIGHT mode */
        /* In dark mode, colors are always controlled by dark mode variables */

        /* Light text mode (white text) - for dark backgrounds - LIGHT MODE ONLY */
        /* Only applies when NOT scrolled and NOT in dark mode */
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-logo-text,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-logo-tagline,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-nav-link,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-lang-btn,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-theme-toggle-mobile,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-mobile-btn {
            color: rgba(255, 255, 255, 0.95) !important;
        }

        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-nav-link:hover {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.15) !important;
        }

        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-lang-btn:hover,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-theme-toggle-mobile:hover,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-mobile-btn:hover {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.2) !important;
        }

        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-lang-btn {
            background-color: rgba(255, 255, 255, 0.1) !important;
        }

        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-theme-toggle-mobile,
        body:not(.dark) .header1-text-light.header1-transparent:not(.header-scrolled) .header1-mobile-btn {
            background-color: rgba(255, 255, 255, 0.1) !important;
        }

        /* Dark text mode (black text) - for light backgrounds - LIGHT MODE ONLY */
        /* Only applies when NOT scrolled and NOT in dark mode */
        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-logo-text {
            color: #111827 !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-logo-tagline {
            color: #6b7280 !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-nav-link {
            color: #374151 !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-nav-link:hover {
            color: var(--color-primary-600) !important;
            background-color: rgba(0, 0, 0, 0.05) !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-lang-btn {
            color: #374151 !important;
            background-color: rgba(0, 0, 0, 0.05) !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-lang-btn:hover {
            color: var(--color-primary-600) !important;
            background-color: rgba(0, 0, 0, 0.1) !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-theme-toggle-mobile {
            color: #374151 !important;
            background-color: rgba(0, 0, 0, 0.05) !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-theme-toggle-mobile:hover {
            color: var(--color-primary-600) !important;
            background-color: rgba(0, 0, 0, 0.1) !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-mobile-btn {
            color: #374151 !important;
            background-color: rgba(0, 0, 0, 0.05) !important;
        }

        body:not(.dark) .header1-text-dark.header1-transparent:not(.header-scrolled) .header1-mobile-btn:hover {
            color: var(--color-primary-600) !important;
            background-color: rgba(0, 0, 0, 0.1) !important;
        }

        /* ===== SOLID MODE (Non-Transparent) ===== */
        /* Light mode solid header */
        .header1-solid .header1-main {
            background-color: rgba(255, 255, 255, 0.95) !important;
            border-bottom: 1px solid rgba(229, 231, 235, 0.8);
            backdrop-filter: blur(10px);
        }

        .header1-solid .header1-topbar {
            background-color: #1f2937 !important;
        }

        .header1-solid .header1-logo-text {
            color: #111827 !important;
        }

        .header1-solid .header1-logo-tagline {
            color: #6b7280 !important;
        }

        .header1-solid .header1-nav-link {
            color: #374151 !important;
        }

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

        .header1-solid .header1-lang-btn,
        .header1-solid .header1-theme-toggle-mobile,
        .header1-solid .header1-mobile-btn {
            background-color: #f3f4f6 !important;
            color: #374151 !important;
        }

        .header1-solid .header1-lang-btn:hover,
        .header1-solid .header1-theme-toggle-mobile:hover,
        .header1-solid .header1-mobile-btn:hover {
            background-color: #e5e7eb !important;
        }

        /* Dark mode solid header */
        body.dark .header1-solid .header1-main {
            background-color: #0f172a !important;
            border-bottom-color: rgba(255, 255, 255, 0.1) !important;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3) !important;
        }

        body.dark .header1-solid .header1-topbar {
            background-color: #020617 !important;
        }

        body.dark .header1-solid .header1-logo-text {
            color: #ffffff !important;
        }

        body.dark .header1-solid .header1-logo-tagline {
            color: rgba(255, 255, 255, 0.7) !important;
        }

        body.dark .header1-solid .header1-nav-link {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        body.dark .header1-solid .header1-nav-link:hover {
            color: var(--color-primary-400) !important;
        }

        body.dark .header1-solid .header1-lang-btn,
        body.dark .header1-solid .header1-theme-toggle-mobile,
        body.dark .header1-solid .header1-mobile-btn {
            background-color: var(--color-bg-tertiary) !important;
            color: rgba(255, 255, 255, 0.8) !important;
        }

        body.dark .header1-solid .header1-lang-btn:hover,
        body.dark .header1-solid .header1-theme-toggle-mobile:hover,
        body.dark .header1-solid .header1-mobile-btn:hover {
            background-color: #475569 !important;
            color: #ffffff !important;
        }

        /* Dark mode for scrolled headers (both transparent and solid) */
        body.dark #header.header-scrolled .header1-main,
        body.dark .header1-transparent.header-scrolled .header1-main,
        body.dark .header1-transparent.header-scrolled .header1-topbar {
            background-color: #0f172a !important;
            border-bottom-color: rgba(255, 255, 255, 0.1) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-logo-text {
            color: var(--color-text-primary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-logo-tagline {
            color: var(--color-text-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-nav-link {
            color: var(--color-text-secondary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-nav-link:hover {
            color: var(--color-primary-400) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-lang-btn {
            color: var(--color-text-tertiary) !important;
            background-color: var(--color-bg-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-lang-btn:hover {
            color: var(--color-primary-400) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-theme-toggle-mobile,
        .dark .header1-transparent.header-scrolled .header1-mobile-btn {
            color: var(--color-text-primary) !important;
            background-color: var(--color-bg-tertiary) !important;
        }

        .dark .header1-transparent.header-scrolled .header1-mobile-btn:hover {
            background-color: #475569 !important;
        }

        /* ===== RTL Support for Header1 ===== */

        [dir="rtl"] .header1-mobile-menu {
            right: auto;
            left: 0;
            transform: translateX(-100%);
        }

        [dir="rtl"] .header1-mobile-menu.active {
            transform: translateX(0);
        }

        [dir="rtl"] .header1-mobile-link {
            border-left: none;
            border-right: 3px solid transparent;
        }

        [dir="rtl"] .header1-mobile-link:hover {
            border-right-color: var(--color-primary-600);
        }

        .dark [dir="rtl"] .header1-mobile-link:hover {
            border-right-color: var(--color-primary-400);
        }