/* Color System - Logo Based Palette */
:root {
    --primary-color: #0B6A32;      /* Deep green */
    --primary-dark: #064C22;       /* Dark green */
    --primary-light: #1FA64A;      /* Light green */

    --accent-color: #D4AF37;       /* Main gold */
    --accent-dark: #B89427;        /* Dark gold */
    --accent-light: #E6C45D;       /* Lighter gold */

    --accent-hover: rgba(11, 106, 50, 0.1); /* Soft green hover */

    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;

    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;

    --border-color: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure container respects RTL/LTR direction */
[dir="rtl"] .container {
    direction: rtl;
}

[dir="ltr"] .container {
    direction: ltr;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 5px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

/* Ensure top bar container respects RTL/LTR */
[dir="rtl"] .top-bar .container {
    direction: rtl;
    flex-direction: row;
}

[dir="ltr"] .top-bar .container {
    direction: ltr;
    flex-direction: row;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    gap: 15px;
}

/* RTL: Swap top bar sections and adjust alignment */
[dir="rtl"] .top-bar-left {
    order: 2;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
}

[dir="rtl"] .top-bar-right {
    order: 1;
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 0;
}

/* LTR: Keep original order and adjust alignment */
[dir="ltr"] .top-bar-left {
    order: 1;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
}

[dir="ltr"] .top-bar-right {
    order: 2;
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 0;
}

.social-icons {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
    align-items: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: var(--primary-color);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
    flex-shrink: 0;
}

.social-icon:hover,
.social-icon:focus-visible {
    background-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
    outline: none;
}

.language-selector,
.phone-info,
.location-info,
.working-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.language-selector {
    cursor: pointer;
    user-select: none;
    padding: 3px 8px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.language-selector:hover {
    background-color: var(--accent-hover);
}

.language-selector i,
.phone-info i,
.location-info i,
.working-hours i {
    font-size: 14px;
}

/* Main Header Styles */
.main-header {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    gap: 20px;
    position: relative;
    min-height: 65px;
}


/* RTL Layout: Logo on right, button on left */
/* HTML order: quote-button, nav, logo-section */
/* RTL visual order: logo (right), nav (center), button (left) */
[dir="rtl"] .header-content {
    flex-direction: row;
}

[dir="rtl"] .quote-button {
    order: 3;
}

[dir="rtl"] .main-nav {
    order: 2;
    flex: 1;
}

[dir="rtl"] .logo-section {
    order: 1;
}

/* LTR Layout: Logo on left, button on right */
/* HTML order: quote-button, nav, logo-section */
/* LTR visual order: logo (left), nav (center), button (right) */
[dir="ltr"] .header-content {
    flex-direction: row;
}

[dir="ltr"] .logo-section {
    order: 1;
}

[dir="ltr"] .main-nav {
    order: 2;
    flex: 1;
}

[dir="ltr"] .quote-button {
    order: 3;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mobile-menu-toggle:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

/* RTL: Logo on right, text on left of logo - starts from right edge */
[dir="rtl"] .logo-section {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-right: -20px;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

/* LTR: Logo on left, text on right of logo - starts from left edge */
[dir="ltr"] .logo-section {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-left: -20px;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.logo-img {
    width: 65px;
    height: 65px;
    background-color: transparent;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.3s ease;
}

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

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.company-name h1 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.logo-section:hover .company-name h1 {
    color: var(--primary-dark);
}

.company-name p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.4;
}

/* Navigation Styles */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-menu > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu > li > a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    height: 100%;
    white-space: nowrap;
    border-radius: 6px;
    letter-spacing: 0.01em;
}

.nav-menu > li > a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 106, 50, 0.08) 0%, rgba(11, 106, 50, 0.04) 100%);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 32px);
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-menu > li > a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu > li > a:hover::before {
    opacity: 1;
}

.nav-menu > li > a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu > li > a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu > li > a.active::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.3) 0%, rgba(173, 216, 230, 0.15) 100%);
}

.nav-menu > li > a.active::after {
    transform: translateX(-50%) scaleX(1);
    height: 3px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

[dir="rtl"] .dropdown > a i {
    margin-right: 5px;
}

[dir="ltr"] .dropdown > a i {
    margin-left: 5px;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    background-color: var(--bg-primary);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    z-index: 1000;
    overflow: hidden;
}

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

[dir="ltr"] .dropdown-menu {
    left: 0;
    right: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown:hover > a {
    color: var(--primary-color);
}

.dropdown-menu li {
    padding: 0;
    margin: 2px 6px;
    border-radius: 6px;
    overflow: hidden;
}

.dropdown-menu li a {
    display: block;
    padding: 11px 18px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    border-radius: 6px;
    margin: 0;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

[dir="ltr"] .dropdown-menu li a::before {
    right: auto;
    left: 12px;
}

.dropdown-menu li a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(11, 106, 50, 0.06) 100%);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

[dir="ltr"] .dropdown-menu li a::after {
    background: linear-gradient(90deg, rgba(11, 106, 50, 0.06) 0%, transparent 100%);
}

.dropdown-menu li a:hover {
    background-color: rgba(11, 106, 50, 0.06);
    color: var(--primary-color);
    transform: translateX(-2px);
    padding-right: 20px;
}

[dir="ltr"] .dropdown-menu li a:hover {
    transform: translateX(2px);
    padding-right: 18px;
    padding-left: 20px;
}

.dropdown-menu li a:hover::before {
    transform: translateY(-50%) scale(1);
}

.dropdown-menu li a:hover::after {
    opacity: 1;
}

/* Quote Button */
.quote-button {
    flex-shrink: 0;
}

.btn-quote {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 7px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(11, 106, 50, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-quote span,
.btn-quote i {
    position: relative;
    z-index: 1;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 106, 50, 0.35);
}

.btn-quote:hover::before {
    opacity: 1;
}

.btn-quote:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(11, 106, 50, 0.2);
}

.btn-quote i {
    font-size: 14px;
}

[dir="rtl"] .btn-quote {
    flex-direction: row;
}

[dir="ltr"] .btn-quote {
    flex-direction: row-reverse;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--bg-primary);
    border-top: 2px solid var(--primary-color);
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.mobile-nav .nav-menu {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding: 0;
}

.mobile-nav .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.mobile-nav .dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav .nav-menu > li > a {
    width: 100%;
    padding: 14px 0;
    border-bottom: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 10px;
}

.mobile-nav .nav-menu > li > a:active {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

/* Mobile Dropdown Toggle Styling */
.mobile-nav .dropdown > a {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 10px;
    position: relative;
    flex: 1;
}

.mobile-nav .dropdown > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

[dir="rtl"] .mobile-nav .dropdown > a {
    flex-direction: row-reverse;
    justify-content: space-between;
    text-align: right;
}

[dir="rtl"] .mobile-nav .dropdown > a i {
    order: -1;
    margin-right: 8px;
    margin-left: 0;
}

[dir="ltr"] .mobile-nav .dropdown > a {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
}

[dir="ltr"] .mobile-nav .dropdown > a i {
    order: 1;
    margin-left: 8px;
    margin-right: 0;
}

.mobile-nav .dropdown.active > a i {
    transform: rotate(180deg);
}

.mobile-nav .dropdown > a:active {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.mobile-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    background-color: var(--bg-secondary);
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    display: block;
    width: 100%;
    list-style: none;
    flex-direction: column;
}

.mobile-nav .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
}

.mobile-nav .dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: block;
    margin: 0;
}

.mobile-nav .dropdown-menu li:last-child {
    border-bottom: none;
}

.mobile-nav .dropdown-menu li a {
    padding: 12px 20px;
    padding-right: 30px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
}

[dir="rtl"] .mobile-nav .dropdown-menu li a {
    padding-right: 30px;
    padding-left: 20px;
    text-align: right;
}

[dir="ltr"] .mobile-nav .dropdown-menu li a {
    padding-left: 30px;
    padding-right: 20px;
    text-align: left;
}

.mobile-nav .dropdown-menu li a:active,
.mobile-nav .dropdown-menu li a:hover {
    background-color: var(--accent-hover);
    color: var(--primary-color);
}

.mobile-nav .dropdown.active .dropdown-menu {
    display: block;
}

.mobile-nav .dropdown .dropdown-menu {
    display: none;
}

.mobile-language {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    padding: 14px 0;
    margin-top: 10px;
    border-top: 2px solid var(--border-color);
    border-bottom: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    min-height: 48px;
}

.mobile-language:active {
    background-color: var(--accent-hover);
}

.mobile-language i {
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .top-bar {
        padding: 5px 0;
        font-size: 12px;
    }

    .top-bar .container {
        padding: 0 15px;
        justify-content: flex-start;
    }

    .top-bar-right {
        display: none;
    }

    .top-bar-left {
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }

    /* RTL mobile top bar - align all elements to the right (RTL start) */
    [dir="rtl"] .top-bar .container {
        justify-content: flex-start;
        direction: rtl;
        align-items: center;
    }

    [dir="rtl"] .top-bar-left {
        justify-content: flex-start;
        direction: rtl;
        align-items: center;
    }

    /* LTR mobile top bar - align all elements to the left (LTR start) */
    [dir="ltr"] .top-bar .container {
        justify-content: flex-start;
        direction: ltr;
        align-items: center;
    }

    [dir="ltr"] .top-bar-left {
        justify-content: flex-start;
        direction: ltr;
        align-items: center;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .quote-button {
        display: none;
    }

    .logo-section {
        flex: 1;
        justify-content: flex-start;
        margin: 0;
        gap: 10px;
        text-align: left;
    }
    
    /* RTL: Mobile menu on visual left (end), logo on right (start) */
    [dir="rtl"] .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    [dir="rtl"] .mobile-menu-toggle {
        order: 3;
        flex-shrink: 0;
    }
    
    [dir="rtl"] .logo-section {
        order: 1;
        flex: 1;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
        text-align: right;
    }
    
    /* LTR: Logo on left (start), mobile menu toggle after logo */
    [dir="ltr"] .header-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }
    
    [dir="ltr"] .logo-section {
        order: 1;
        flex: 1;
        justify-content: flex-start;
        margin: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        text-align: left;
    }
    
    [dir="ltr"] .mobile-menu-toggle {
        order: 2;
        flex-shrink: 0;
        margin: 0;
    }

    .header-content {
        padding: 6px 0;
        min-height: 60px;
        align-items: center;
    }

    /* RTL mobile keeps space-between for proper spacing */
    [dir="rtl"] .header-content {
        gap: 10px;
    }

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

    .company-name h1 {
        font-size: 19px;
        line-height: 1.2;
    }

    .company-name p {
        font-size: 10px;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 4px 0;
        font-size: 11px;
    }

    .top-bar .container {
        padding: 0 12px;
        justify-content: flex-start;
    }

    .top-bar-left {
        gap: 6px;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }

    /* RTL mobile top bar - align all elements to the right (RTL start) */
    [dir="rtl"] .top-bar .container {
        justify-content: flex-start;
        direction: rtl;
        align-items: center;
    }

    [dir="rtl"] .top-bar-left {
        justify-content: flex-start;
        direction: rtl;
        align-items: center;
    }

    /* LTR mobile top bar - align all elements to the left (LTR start) */
    [dir="ltr"] .top-bar .container {
        justify-content: flex-start;
        direction: ltr;
        align-items: center;
    }

    [dir="ltr"] .top-bar-left {
        justify-content: flex-start;
        direction: ltr;
        align-items: center;
    }

    .social-icons {
        gap: 4px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .language-selector,
    .phone-info {
        font-size: 10px;
        gap: 4px;
        padding: 2px 6px;
    }

    .language-selector i,
    .phone-info i {
        font-size: 12px;
    }

    .location-info,
    .working-hours {
        font-size: 10px;
    }

    .header-content {
        padding: 5px 0;
        gap: 8px;
        min-height: 55px;
    }

    /* LTR mobile: logo first, menu toggle after */
    [dir="ltr"] .header-content {
        justify-content: flex-start;
        gap: 8px;
    }

    [dir="ltr"] .logo-section {
        order: 1;
        margin-left: 0;
        padding-left: 0;
    }

    [dir="ltr"] .mobile-menu-toggle {
        order: 2;
        margin: 0;
    }

    /* RTL mobile: keep space-between */
    [dir="rtl"] .header-content {
        justify-content: space-between;
        gap: 8px;
    }

    .logo-section {
        gap: 8px;
    }

    [dir="rtl"] .logo-section {
        padding-right: 0;
    }

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

    .company-name h1 {
        font-size: 17px;
        line-height: 1.15;
    }

    .company-name p {
        font-size: 9.5px;
        line-height: 1.25;
    }

    .mobile-menu-toggle {
        padding: 6px 10px;
        font-size: 16px;
        min-width: 38px;
        min-height: 38px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 3px 0;
        font-size: 9px;
    }

    .top-bar .container {
        padding: 0 8px;
        justify-content: flex-start;
    }

    .top-bar-left {
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 2px 0;
        margin: 0;
        width: 100%;
    }

    .top-bar-left::-webkit-scrollbar {
        display: none;
    }

    /* RTL mobile top bar - align all elements to the right (RTL start) */
    [dir="rtl"] .top-bar .container {
        justify-content: flex-start;
        direction: rtl;
        align-items: center;
    }

    [dir="rtl"] .top-bar-left {
        justify-content: flex-start;
        direction: rtl;
        align-items: center;
    }

    /* LTR mobile top bar - align all elements to the left (LTR start) */
    [dir="ltr"] .top-bar .container {
        justify-content: flex-start;
        direction: ltr;
        align-items: center;
    }

    [dir="ltr"] .top-bar-left {
        justify-content: flex-start;
        direction: ltr;
        align-items: center;
    }

    .social-icons {
        gap: 3px;
        flex-shrink: 0;
    }

    .social-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    .language-selector,
    .phone-info {
        font-size: 9px;
        gap: 3px;
        padding: 2px 4px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .language-selector i,
    .phone-info i {
        font-size: 11px;
    }

    .language-selector span,
    .phone-info span {
        font-size: 9px;
    }

    .header-content {
        padding: 4px 0;
        gap: 5px;
        min-height: 50px;
    }

    /* LTR mobile: logo first, menu toggle after */
    [dir="ltr"] .header-content {
        justify-content: flex-start;
        gap: 5px;
    }

    [dir="ltr"] .logo-section {
        order: 1;
        margin-left: 0;
        padding-left: 0;
    }

    [dir="ltr"] .mobile-menu-toggle {
        order: 2;
        margin: 0;
    }

    /* RTL mobile: keep space-between */
    [dir="rtl"] .header-content {
        justify-content: space-between;
        gap: 5px;
    }

    .logo-section {
        gap: 5px;
    }

    [dir="rtl"] .logo-section {
        padding-right: 0;
    }

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

    .company-name h1 {
        font-size: 15px;
        line-height: 1.1;
    }

    .company-name p {
        font-size: 8.5px;
        line-height: 1.2;
    }

    .mobile-menu-toggle {
        padding: 5px 8px;
        font-size: 14px;
        min-width: 34px;
        min-height: 34px;
        border-radius: 5px;
    }

    .mobile-nav {
        padding: 12px;
    }

    .mobile-nav .nav-menu {
        gap: 0;
    }

    .mobile-nav .nav-menu > li {
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-nav .nav-menu > li:last-child {
        border-bottom: none;
    }

    .mobile-nav .nav-menu > li > a {
        padding: 12px 0;
        font-size: 15px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    /* Mobile Dropdown Toggle - Small Screens */
    .mobile-nav .dropdown > a {
        padding: 12px 0;
        font-size: 15px;
        min-height: 44px;
        gap: 8px;
    }

    .mobile-nav .dropdown > a i {
        font-size: 11px;
    }

    .mobile-nav .dropdown-menu li a {
        padding: 10px 15px;
        padding-right: 25px;
        font-size: 13px;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    [dir="rtl"] .mobile-nav .dropdown-menu li a {
        padding-right: 25px;
        padding-left: 15px;
        text-align: right;
    }

    [dir="ltr"] .mobile-nav .dropdown-menu li a {
        padding-left: 25px;
        padding-right: 15px;
        text-align: left;
    }

    .mobile-language {
        padding: 12px 0;
        min-height: 44px;
        font-size: 14px;
        margin-top: 8px;
        border-top: 1px solid var(--border-color);
    }
}

