/* RTL Support for Arabic Content */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    text-align: right;
    direction: rtl;
}

/* Compact Header Layout - Logo and Menu on Left, Mobile Button on Right */
.header-upper {
    height: 70px !important;
    padding: 0 !important;
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    direction: ltr !important;
}

.header-upper .auto-container {
    padding: 8px 20px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    max-width: none !important;
    width: 100% !important;
    direction: ltr !important;
}

.header-upper .logo-box {
    margin: 0 !important;
    padding: 0 !important;
    order: 1;
}

/* Logo sizing - Compact and clean */
.logo img {
    max-height: 40px !important;
    width: auto !important;
    transition: all 0.3s ease;
}

.sticky-header .logo img {
    max-height: 35px !important;
    width: auto !important;
}

.sticky-header .logo {
    margin: 0 !important;
    padding: 0 !important;
}

.sticky-header .auto-container {
    padding: 5px 20px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    max-width: none !important;
    width: 100% !important;
    direction: ltr !important;
}

/* Remove old sticky header styles - handled by new implementation above */

/* Navigation positioned at center using flexbox */
.header-upper .nav-outer,
.sticky-header .auto-container > div:nth-child(2) {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure navigation content maintains RTL for Arabic text */
.header-upper .nav-outer .navigation,
.sticky-header .navigation {
    direction: rtl !important;
}

/* Mobile Menu Button positioned at right corner */
.mobile-menu-btn {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

/* Ensure proper flexbox layout for both headers */
.header-upper .auto-container,
.sticky-header .auto-container {
    position: relative !important;
}

/* Logo positioned at left corner */
.header-upper .logo-box,
.sticky-header .logo {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}

/* Navigation positioned in center */
.header-upper .nav-outer,
.sticky-header .auto-container > div:nth-child(2) {
    order: 2 !important;
}

/* Mobile button positioned at right corner */
.header-upper .mobile-menu-btn,
.sticky-header .mobile-menu-btn {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 3 !important;
}

.mobile-menu-btn .nav-btn {
    background: #333 !important;
    padding: 12px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.mobile-menu-btn .nav-btn:hover {
    background: #555 !important;
}

.mobile-menu-btn .icon {
    color: white !important;
    font-size: 20px !important;
}

/* Navigation RTL - Menu items from right to left */
html[dir="rtl"] .main-menu .navigation {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

html[dir="rtl"] .main-menu .navigation > li {
    margin-left: 30px;
    margin-right: 0;
    position: relative;
    float: none;
}

html[dir="rtl"] .main-menu .navigation > li:first-child {
    margin-left: 0;
}

html[dir="rtl"] .main-menu .navigation > li > a {
    padding: 15px 20px;
    display: block;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

html[dir="rtl"] .main-menu .navigation > li > a:hover,
html[dir="rtl"] .main-menu .navigation > li.current > a {
    color: #007bff;
}

/* Content RTL */
html[dir="rtl"] .pull-left {
    float: right !important;
}

html[dir="rtl"] .pull-right {
    float: left !important;
}

/* Button and Icon RTL */
html[dir="rtl"] .theme-btn .icon {
    margin-right: 0;
    margin-left: 10px;
}

/* Footer RTL */
html[dir="rtl"] .footer-list {
    text-align: right;
}

html[dir="rtl"] .contact-list {
    text-align: right;
}

/* Form RTL */
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="search"],
html[dir="rtl"] input[type="text"] {
    text-align: right;
    direction: rtl;
}

/* Dropdown RTL */
html[dir="rtl"] .main-menu .navigation > li > ul {
    left: auto;
    right: 0;
}

html[dir="rtl"] .main-menu .navigation > li > ul > li > ul {
    left: auto;
    right: 100%;
}

/* Social Links RTL */
html[dir="rtl"] .social-list li {
    text-align: right;
}

/* Modern Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    top: 0;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1; /* Lower than header z-index */
}

/* Add top padding to body when header is visible at top */
body {
    padding-top: 0;
    transition: padding-top 0.4s ease;
}

body.page-loaded {
    padding-top: 70px; /* Match header height */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 0 20px; /* Remove top padding since body now has it */
    animation: slideUp 1s ease-out;
}

/* Big Logo Styling */
.hero-logo {
    margin-bottom: 30px;
    animation: logoFadeIn 1.5s ease-out;
}

.big-logo {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.big-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero buttons removed - no longer needed */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Navigation */
.hero-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    transform: translateY(-50%);
}

.hero-prev,
.hero-next {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    pointer-events: all;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-prev::before,
.hero-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.2) 0%, rgba(245, 87, 108, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-prev:hover::before,
.hero-next:hover::before {
    opacity: 1;
}

.hero-prev:active,
.hero-next:active {
    transform: scale(0.95) translateY(-2px);
    transition: transform 0.1s ease;
}

.hero-prev i,
.hero-next i {
    position: relative;
    z-index: 2;
    font-weight: 600;
}

/* Arrow positioning adjustments */
.hero-prev {
    left: 40px;
}

.hero-next {
    right: 40px;
}

/* Disabled state for arrows during transitions */
.hero-prev.disabled,
.hero-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}


/* Mobile arrow adjustments */
@media (max-width: 768px) {
    .hero-navigation {
        padding: 0 20px;
    }
    
    .hero-prev,
    .hero-next {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .hero-prev {
        left: 20px;
    }
    
    .hero-next {
        right: 20px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Mobile Logo Styling */
    .big-logo {
        max-width: 250px;
        max-height: 150px;
    }
    
    .hero-logo {
        margin-bottom: 25px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    /* Mobile content - no extra padding needed */
    .hero-content {
        padding: 0 20px;
    }
}

/* Arabic Font Styling */
html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4, 
html[dir="rtl"] h5, 
html[dir="rtl"] h6 {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    font-weight: 600;
}

html[dir="rtl"] .first-letter,
html[dir="rtl"] .second-letter {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

html[dir="rtl"] p,
html[dir="rtl"] div,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] li {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

/* Mobile Menu RTL */
html[dir="rtl"] .mobile-nav-toggler {
    float: right;
    margin: 0;
    padding: 0;
}

html[dir="rtl"] .nav-btn {
    float: right;
    margin: 0;
    padding: 0;
}

/* Outer box positioning for mobile menu */
.outer-box {
    float: right !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main Header - Now becomes sticky */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
}

/* Show header when scrolling up or at top */
.main-header.show,
.main-header.at-top {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* At top of page, header is always visible */
.main-header.at-top {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* When scrolling, header becomes more opaque */
.main-header.show {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

/* Clearfix for proper layout */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Fix juice section layout to prevent image overlap */
.juice-section .pattern-layer-two {
    display: none !important; /* Hide overlapping background element */
}

/* Make the 1.png background pattern smaller and less intrusive */
.juice-section .pattern-layer {
    width: 60% !important; /* Reduce from 100% to 60% */
    height: 500px !important; /* Reduce from 850px to 500px */
    top: 20px !important; /* Move it down */
    left: -100px !important; /* Move it more to the left */
    opacity: 0.3 !important; /* Make it more subtle */
    background-size: contain !important; /* Ensure it scales properly */
    z-index: 1 !important; /* Keep it behind content */
}

.juice-section .image-column .inner-column {
    margin-left: 0 !important; /* Remove negative margin that causes overlap */
    padding-right: 20px;
}

.juice-section .content-column .inner-column {
    padding-left: 20px; /* Add proper spacing */
    z-index: 10;
    position: relative;
    background: rgba(255, 255, 255, 0.95); /* Add semi-transparent background */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 40px 20px;
}

.juice-section .content-column .sec-title {
    text-align: right; /* Ensure RTL alignment */
}

.juice-section .content-column .sec-title .text {
    text-align: right !important; /* Force RTL text alignment */
}

/* Ensure proper responsive behavior */
@media (max-width: 991px) {
    .juice-section .image-column .inner-column {
        margin-left: 0 !important;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .juice-section .content-column .inner-column {
        padding: 20px;
    }
    
    /* Further reduce pattern size on mobile */
    .juice-section .pattern-layer {
        width: 40% !important;
        height: 300px !important;
        top: 10px !important; /* Adjust mobile position */
        left: -50px !important;
        opacity: 0.2 !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .juice-section .pattern-layer {
        width: 30% !important;
        height: 200px !important;
        top: 5px !important; /* Adjust small screen position */
        left: -30px !important;
        opacity: 0.15 !important;
    }
}

/* Fix horizontal scrolling issue */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Modern Professional Scrollbar Design */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(240, 240, 240, 0.3);
    border-radius: 10px;
    margin: 10px 0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #de9190, #c8898a);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #d17e7d, #b87879);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #c46968, #a66364);
    transform: scale(0.95);
}

/* Firefox scrollbar styling */
html {
    scrollbar-width: thin;
    scrollbar-color: #de9190 rgba(240, 240, 240, 0.3);
}

/* Smooth scrolling for modern feel */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbars in footer area */
.main-footer,
.main-footer *,
footer,
footer * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.main-footer::-webkit-scrollbar,
.main-footer *::-webkit-scrollbar,
footer::-webkit-scrollbar,
footer *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Prevent footer overflow that causes scrollbars */
.main-footer {
    overflow: hidden !important;
}

.main-footer .auto-container {
    overflow: hidden !important;
}

.main-footer .widgets-section {
    overflow: hidden !important;
}

/* Hide scrollbars from newsletter and subscription forms in footer */
.newsletter-form,
.newsletter-form *,
.subscribe-form,
.subscribe-form *,
.footer-newsletter,
.footer-newsletter * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.newsletter-form::-webkit-scrollbar,
.newsletter-form *::-webkit-scrollbar,
.subscribe-form::-webkit-scrollbar,
.subscribe-form *::-webkit-scrollbar,
.footer-newsletter::-webkit-scrollbar,
.footer-newsletter *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide all scrollbars except main website scrollbar */
div::-webkit-scrollbar,
section::-webkit-scrollbar,
article::-webkit-scrollbar,
aside::-webkit-scrollbar,
nav::-webkit-scrollbar,
header::-webkit-scrollbar,
main::-webkit-scrollbar,
.container::-webkit-scrollbar,
.auto-container::-webkit-scrollbar,
.inner-container::-webkit-scrollbar,
.outer-container::-webkit-scrollbar,
.content::-webkit-scrollbar,
.widget::-webkit-scrollbar,
.menu::-webkit-scrollbar,
.dropdown::-webkit-scrollbar,
.modal::-webkit-scrollbar,
.popup::-webkit-scrollbar,
.overlay::-webkit-scrollbar,
.gallery::-webkit-scrollbar,
.carousel::-webkit-scrollbar,
.slider::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide scrollbars from all elements except html and body - Firefox */
div,
section,
article,
aside,
nav,
header,
main,
.container,
.auto-container,
.inner-container,
.outer-container,
.content,
.widget,
.menu,
.dropdown,
.modal,
.popup,
.overlay,
.gallery,
.carousel,
.slider {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Catch-all rule: Hide any other scrollbars */
*:not(html):not(body)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

*:not(html):not(body) {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Ensure main website scrollbar remains visible and styled */
html::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

html::-webkit-scrollbar-track {
    background: rgba(240, 240, 240, 0.3) !important;
    border-radius: 10px !important;
    margin: 10px 0 !important;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #de9190, #c8898a) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #d17e7d, #b87879) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

html::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #c46968, #a66364) !important;
    transform: scale(0.95) !important;
}

body::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

/* Final catch-all: Hide scrollbars from any element that might create them */
iframe::-webkit-scrollbar,
textarea::-webkit-scrollbar,
input::-webkit-scrollbar,
select::-webkit-scrollbar,
.owl-carousel::-webkit-scrollbar,
.slick-slider::-webkit-scrollbar,
.swiper-container::-webkit-scrollbar,
.mCustomScrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

iframe,
textarea,
input,
select,
.owl-carousel,
.slick-slider,
.swiper-container,
.mCustomScrollbar {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.page-wrapper {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Fix header container to prevent overflow */
.main-header .auto-container {
    max-width: 100% !important;
    overflow: hidden !important;
}

.main-header .header-upper .auto-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure all sections stay within viewport */
.auto-container {
    max-width: min(1200px, 100vw) !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Fix navigation to prevent overflow */
.main-menu .navigation {
    max-width: 100% !important;
    overflow: hidden !important;
    flex-wrap: wrap !important;
}

/* Prevent any elements with negative margins from causing overflow */
.juice-section .pattern-layer {
    left: 0 !important; /* Reset negative left margin */
    right: auto !important;
}

/* Ensure all images and content respect container bounds */
img, .image, .pattern-layer, .icon-layer {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Hide all decorative background patterns */
.pattern-layer,
.pattern-layer-one,
.pattern-layer-two, 
.pattern-layer-three,
.icon-layer,
.icon-box,
.top-pattern-layer,
.bottom-pattern-layer {
    display: none !important;
    visibility: hidden !important;
}

/* Fix any potential responsive issues */
@media (max-width: 768px) {
    .auto-container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .main-header .header-upper .auto-container {
        padding: 8px 15px !important;
    }
}

/* Modern Sidebar Styling */
.xs-sidebar-widget {
    width: 100% !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: none;
}

/* Dark Overlay */
.xs-overlay.xs-bg-black {
    background: rgba(0, 0, 0, 0.9) !important;
}

.sidebar-widget-container {
    padding: 0 !important;
    height: 100vh;
    overflow-y: auto;
    /* Hide sidebar scrollbar */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Hide sidebar scrollbar */
.sidebar-widget-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.widget-heading {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.close-side-widget {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-side-widget:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modern-sidebar-contents {
    padding: 0;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

/* Sidebar Header */
.sidebar-header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-header .logo img {
    max-height: 60px;
    filter: brightness(0) invert(1);
}

/* Login Section */
.login-section {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-btn {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    backdrop-filter: blur(10px);
}

.login-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.login-btn i {
    font-size: 18px;
}

/* Navigation Menu */
.sidebar-navigation {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    margin-bottom: 5px;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    gap: 12px;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

.nav-menu > li > a:hover {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding-right: 30px;
}

.nav-menu > li > a i {
    font-size: 18px;
    min-width: 20px;
}

.nav-menu .dropdown > a .fa-chevron-down {
    margin-right: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown.active > a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 5px 20px 10px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.dropdown.active .dropdown-menu {
    max-height: 300px;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

.dropdown-menu li a:hover {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding-right: 30px;
}

/* About Section */
.about-section {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

.about-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

.consultation-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

/* Contact Section */
.contact-section {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    min-width: 20px;
    margin-top: 2px;
}

.contact-text span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

/* Social Section */
.social-section {
    padding: 25px 20px 30px;
}

.social-section h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover { background: rgba(59, 89, 152, 0.8); }
.social-link.twitter:hover { background: rgba(29, 161, 242, 0.8); }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-link.linkedin:hover { background: rgba(0, 119, 181, 0.8); }
.social-link.youtube:hover { background: rgba(255, 0, 0, 0.8); }

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .xs-sidebar-widget {
        width: 100% !important;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .login-section {
        padding: 20px;
    }
    
    .about-section, .contact-section, .social-section {
        padding: 20px;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Mobile Menu Button - Compact and Symmetric */
.mobile-menu-btn {
    margin: 0 !important;
    padding: 0 !important;
    order: 3;
}

.mobile-menu-btn .nav-btn {
    height: 40px !important;
    width: 40px !important;
    background: #333 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.mobile-menu-btn .nav-btn:hover {
    background: #555 !important;
    transform: translateY(-1px);
}

.mobile-menu-btn .icon {
    color: white !important;
    font-size: 16px !important;
}

/* Navigation Menu - Compact Styling */
html[dir="rtl"] .navigation {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 20px !important;
}

html[dir="rtl"] .navigation > li > a {
    font-family: 'Noto Sans Arabic', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-decoration: none !important;
    padding: 8px 0 !important;
    transition: color 0.3s ease;
}

html[dir="rtl"] .navigation > li > a:hover,
html[dir="rtl"] .navigation > li.current > a {
    color: #667eea !important;
}

/* Responsive Header */
@media (max-width: 1199px) {
    .header-upper .nav-outer,
    .sticky-header .auto-container > div:nth-child(2) {
        display: none !important;
    }
    
    .mobile-nav-toggler {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .header-upper .nav-outer,
    .sticky-header .auto-container > div:nth-child(2) {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .header-upper .auto-container,
    .sticky-header .auto-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .logo img {
        max-height: 35px !important;
    }
    
    .sticky-header .logo img {
        max-height: 30px !important;
    }
}