:root {
    /* نظام ألوان عصري */
    --primary-color: #ff5a3c;
    --primary-dark: #e84c30;
    --primary-hover: #ff6e52;
    --primary-light: #ff7e66;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --accent-light: #5dade2;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
    
    /* ألوان الخلفية والنصوص */
    --background-color: #f8f9fa;
    --card-bg: #ffffff;
    --dark-bg: #1a202c;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #a0aec0;
    --text-white: #ffffff;
    --text-muted: #718096;
    
    /* عناصر واجهة المستخدم */
    --border-color: #e2e8f0;
    --input-bg: #f7fafc;
    --input-focus: #ebf4ff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
    --shadow-hover: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.12);
    
    /* الأحجام والمسافات */
    --border-radius-sm: 0.375rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* إعدادات الخط */
    --font-primary: 'Tajawal', 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', 'Cairo', sans-serif;
}

/* الأنماط الأساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
    direction: rtl;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: rtl;
    text-align: right;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

button {
    cursor: pointer;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: none;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    right: 0; /* تغيير من left إلى right للـ RTL */
    padding: 8px 12px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    z-index: 1100;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

.btn-reset {
    border: none;
    background: none;
    outline: none;
    padding: 0;
    margin: 0;
}

/* شريط تقدم التمرير */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    z-index: 1500;
    transition: width 0.1s ease;
    box-shadow: 0 1px 3px rgba(255, 90, 60, 0.3);
}

/* أنماط شريط التنقل المحسن */
.header {
    width: 100%;
    z-index: 1200;
    transition: all 0.4s ease;
    position: fixed;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
}

.navbar {
    display: flex;
    align-items: center;
    padding: 0;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header.scrolled .navbar {
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    padding: 0;
    margin-left: 0; /* تغيير من margin-right إلى margin-left للـ RTL */
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 55px;
    width: auto;
}

.header.scrolled .logo-img {
    height: 45px;
}

.navbar-nav {
    margin-right: 20px; /* تغيير من margin-left إلى margin-right للـ RTL */
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    color: #4a5568 !important;
    font-weight: 200;
    padding: 0 16px !important;
    height: 90px;
    position: relative;
    transition: all 0.3s ease;
}

.header.scrolled .nav-link {
    height: 70px;
}

.nav-icon {
    font-size: 1.2rem;
    margin-left: 10px; /* تغيير من margin-right إلى margin-left للـ RTL */
    color: #ff5a3c;
}

.navbar-utils {
    display: flex;
    align-items: center;
    margin-right: auto; /* تغيير من margin-left إلى margin-right للـ RTL */
}

.nav-text {
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.1px;
}

/* مؤشر للعنصر النشط في القائمة */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 0%;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

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

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    transform: translateY(-2px);
}

/* مؤشر الإشعارات */
.notification-indicator {
    position: absolute;
    top: 24px;
    left: 8px; /* تغيير من right إلى left للـ RTL */
    width: 8px;
    height: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* أنماط القائمة المنسدلة */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    min-width: 220px;
    margin-top: 0;
    border-top: 3px solid var(--primary-color);
    background-color: white;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    display: block;
    transform-origin: top center;
    animation: fadeInDown 0.3s ease;
    position: absolute;
    top: 100%; /* هذا يضمن أنها أسفل شريط التنقل */
    right: 0; /* تغيير من left إلى right للـ RTL */
    /* حافظ على الأنماط الأخرى */
    margin-top: 10px; 
}

.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    border: none;
    vertical-align: middle;
    margin-right: 8px; /* تغيير من margin-left إلى margin-right للـ RTL */
    transition: all 0.3s ease;
    display: none;
}

.dropdown-item {
    padding: 10px 25px;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    text-align: right; /* إضافة للـ RTL */
}

.dropdown-item:hover {
    background-color: rgba(255, 90, 60, 0.05);
    color: var(--primary-color);
    padding-right: 28px; /* تغيير من padding-left إلى padding-right للـ RTL */
}

.dropdown-item.active {
    background-color: rgba(255, 90, 60, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.dropdown-item.active::before {
    content: '';
    position: absolute;
    right: 10px; /* تغيير من left إلى right للـ RTL */
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.dropdown-item:active {
    background-color: rgba(255, 90, 60, 0.1);
}

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

/* تبديل اللغة */
.language-toggle {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    margin-left: 15px; /* تغيير من margin-right إلى margin-left للـ RTL */
}

.language-toggle:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.language-toggle i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.language-toggle:hover i {
    transform: rotate(15deg);
    color: white;
}

/* زر احجز الآن */
.book-now-btn {
    background: var(--primary-color);
    color: white !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 90, 60, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.book-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 90, 60, 0.3);
    background: var(--primary-hover);
}

.book-now-btn i {
    transition: all 0.3s ease;
}

.book-now-btn:hover i {
    transform: translateX(-3px); /* تغيير من translateX(3px) إلى translateX(-3px) للـ RTL */
}

/* زر حسابي */
.my-account-btn {
    background: transparent;
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    margin-left: 15px; /* تغيير من margin-right إلى margin-left للـ RTL */
    padding: 8px 14px;
}

.my-account-btn:hover {
    background-color: var(--accent-light);
    color: white !important;
    transform: translateY(-3px);
    border-color: var(--accent-light);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.my-account-btn i {
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.my-account-btn:hover i {
    transform: translateY(-2px);
    color: white;
}

/* تصحيح: حاوية أدوات شريط التنقل */
.navbar-utils {
    display: flex;
    align-items: center;
    margin-right: auto; /* تغيير من margin-left إلى margin-right للـ RTL */
}

/* قائمة الجوال */
.navbar-toggler {
    border: none;
    padding: 10px;
    outline: none !important;
    background: transparent;
    margin-right: auto; /* تغيير من margin-left إلى margin-right للـ RTL */
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    opacity: 1;
    right: 0; /* تغيير من left إلى right للـ RTL */
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
    width: 80%;
    left: 0; /* عكس من right إلى left للـ RTL */
    right: auto; /* عكس من right: auto إلى left: auto للـ RTL */
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
    top: 9px;
}

.hamburger span:nth-child(4) {
    top: 18px;
    width: 60%;
    left: 0; /* عكس من right إلى left للـ RTL */
    right: auto; /* عكس من right: auto إلى left: auto للـ RTL */
}

.hamburger.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    right: 50%; /* تغيير من left إلى right للـ RTL */
    left: auto; /* تغيير من right إلى left للـ RTL */
}

.hamburger.open span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    right: 50%; /* تغيير من left إلى right للـ RTL */
    left: auto; /* تغيير من right إلى left للـ RTL */
}

/* طبقة التراكب لقائمة الجوال */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1190;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* أنماط خاصة بالجوال */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%; /* تغيير من right إلى left للـ RTL وتغيير القيمة */
        width: 280px;
        height: 100vh;
        background-color: white;
        z-index: 1195;
        padding: 100px 20px 20px;
        transition: left 0.3s ease; /* تغيير من right إلى left للـ RTL */
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1); /* تغيير من -5px إلى 5px للـ RTL */
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        left: 0; /* تغيير من right إلى left للـ RTL */
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        margin-right: 0; /* تغيير من margin-left إلى margin-right للـ RTL */
    }
    
    .nav-item {
        width: 100%;
        height: auto;
    }
    
    .nav-link {
        height: auto;
        padding: 0 10px !important;
        font-size: 0.85rem;
    }
    
    .navbar-utils {
        display: none;
    }
    
    .navbar-collapse .navbar-utils {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        width: 100%;
    }
    
    .navbar-collapse .my-account-btn,
    .navbar-collapse .language-toggle,
    .navbar-collapse .book-now-btn {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.75rem;
        margin-left: 10px; /* تغيير من margin-right إلى margin-left للـ RTL */
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 90, 60, 0.1);
    }
    
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        padding: 10px 0;
        margin: 0;
        border: none;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        display: none;
        transition: none;
        animation: none;
        background-color: rgba(248, 249, 250, 0.5);
        border-radius: 8px;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-item {
        padding: 8px 40px 8px 15px; /* تغيير من padding-left إلى padding-right للـ RTL */
    }
    
    /* أدوات التنقل بقائمة الجوال */
    .mobile-navbar-utils {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
        width: 100%;
    }
    
    .mobile-navbar-utils .my-account-btn,
    .mobile-navbar-utils .language-toggle,
    .mobile-navbar-utils .book-now-btn {
        margin: 8px 0;
        margin-right: 0; /* تغيير من margin-left إلى margin-right للـ RTL */
        width: 100%;
        justify-content: center;
    }
    
    .notification-indicator {
        top: 12px;
        left: auto; /* تغيير من right إلى left للـ RTL */
        right: 30px; /* تغيير من left إلى right للـ RTL */
    }
}

/* تحسين نقاط التنقل بين الأقسام */
.section-nav {
    position: fixed;
    left: 30px; /* تغيير من right إلى left للـ RTL */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 20px 10px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.section-nav:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(44, 62, 80, 0.5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.section-dot::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: rgba(255, 90, 60, 0);
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-dot:hover {
    transform: scale(1.3);
    border-color: var(--primary-color);
}

.section-dot.active {
    background-color: var(--primary-color);
    border-color: white;
    transform: scale(1.2);
}

.section-dot.active::before {
    background: rgba(255, 90, 60, 0.2);
}

.section-dot-tooltip {
    position: absolute;
    left: 30px; /* تغيير من right إلى left للـ RTL */
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-10px); /* تغيير من translateX(10px) إلى translateX(-10px) للـ RTL */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    pointer-events: none;
}

.section-dot:hover .section-dot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(10px); /* تغيير من translateX(-10px) إلى translateX(10px) للـ RTL */
}

/* قسم البداية */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 90, 60, 0.05));
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZGVmcz4KICAgIDxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiPgogICAgICAgIDxyZWN0IGlkPSJwYXR0ZXJuLWJhY2tncm91bmQiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InRyYW5zcGFyZW50Ij48L3JlY3Q+CiAgICAgICAgPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMSIgZmlsbD0icmdiYSgyNTUsIDkwLCA2MCwgMC4xNSkiIC8+CiAgICA8L3BhdHRlcm4+CjwvZGVmcz4KPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSI+PC9yZWN0Pgo8L3N2Zz4=');
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background: var(--primary-light);
    bottom: 5px;
    right: 0; /* تغيير من left إلى right للـ RTL */
    opacity: 0.4;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.hero-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary-masaha {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 90, 60, 0.3);
    border: none;
}

.btn-primary-masaha:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.4);
    background: var(--primary-hover);
    color: white;
}

.btn-outline-masaha {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: white;
}

.btn-outline-masaha:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.3);
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.hero-feature:hover .hero-feature-icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 90, 60, 0.2);
    background: var(--primary-color);
    color: white;
}

.hero-feature-text {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: translateY(-10px);
}

.hero-image::after {
    content: "\f00e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    left: 20px; /* تغيير من right إلى left للـ RTL */
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-image:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.hero-shape {
    position: absolute;
    z-index: 0;
}

.hero-shape-1 {
    top: -50px;
    left: -20px; /* تغيير من right إلى left للـ RTL */
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    bottom: -30px;
    right: -40px; /* تغيير من left إلى right للـ RTL */
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

/* مؤشر تمرير الماوس */
.mouse-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mouse-scroll:hover {
    transform: translateX(-50%) translateY(-5px);
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse-wheel {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    animation: scroll 1.5s infinite;
}

.mouse-label {
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* قسم من نحن */
.about-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-right: auto; /* تغيير من margin-left إلى margin-right للـ RTL */
    margin-left: auto; /* تغيير من margin-right إلى margin-left للـ RTL */
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.about-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin-bottom: 30px;
    height: 100%;
    transform: translateY(0);
    opacity: 1;
    will-change: transform, opacity;
    border: 1px solid var(--border-color);
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.about-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 90, 60, 0.1), rgba(255, 90, 60, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    font-size: 30px;
    transition: all 0.3s ease;
}

.about-card:hover .about-icon {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.3);
}

.about-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}

.about-card:hover .about-title {
    color: var(--primary-color);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
}

.about-link i {
    transition: var(--transition);
}

.about-link:hover {
    gap: 12px;
}

.about-link:hover i {
    transform: translateX(-5px); /* تغيير من translateX(5px) إلى translateX(-5px) للـ RTL */
}

/* قسم خيارات التخزين */
.storage-section {
    background: linear-gradient(180deg, var(--background-color), white);
    position: relative;
}

.storage-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.storage-card {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(0);
    opacity: 1;
}

.storage-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px; /* تغيير من right إلى left للـ RTL */
    background-color: var(--success-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
    transform: rotate(0);
    transition: all 0.3s ease;
}

.storage-card:hover .card-badge {
    transform: rotate(-3deg) scale(1.05); /* تغيير من rotate(3deg) إلى rotate(-3deg) للـ RTL */
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.storage-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.storage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.storage-card:hover .storage-image img {
    transform: scale(1.1);
}

.storage-content {
    padding: 30px;
}

.storage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 90, 60, 0.1), rgba(255, 90, 60, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
    position: relative;
    top: -50px;
    margin-bottom: -30px;
    box-shadow: var(--shadow);
    border: 4px solid white;
    transition: all 0.3s ease;
}

.storage-card:hover .storage-icon {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.3);
}

.storage-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.storage-card:hover .storage-title {
    color: var(--primary-color);
}

.storage-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.storage-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.storage-meta-item i {
    color: var(--primary-color);
}

.storage-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.storage-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.storage-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.storage-features {
    margin-bottom: 25px;
}

.storage-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.storage-feature i {
    color: var(--success-color);
    font-size: 16px;
}

.storage-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
}

.storage-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.3);
    color: white;
    background: var(--primary-hover);
}

/* قسم الدليل - كيفية اختيار وحدة */
.guide-section {
    background-color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0 70px;
}

.guide-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 90, 60, 0.1), rgba(255, 90, 60, 0.05));
    top: -100px;
    right: -100px; /* تغيير من left إلى right للـ RTL */
    z-index: 0;
}

.guide-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    bottom: -100px;
    left: -100px; /* تغيير من right إلى left للـ RTL */
    z-index: 0;
}

.guide-container {
    position: relative;
    z-index: 1;
}

.guide-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.guide-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.guide-step-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 90, 60, 0.3);
}

.guide-cta {
    text-align: center;
    margin-top: 40px;
}

.guide-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.guide-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: var(--accent-light);
    color: white;
}

.guide-cta-btn i {
    transition: all 0.3s ease;
}

.guide-cta-btn:hover i {
    transform: rotate(90deg);
}

/* أنماط Calcumate */
.calcumate-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
}

#calcumate-root {
    min-height: 600px;
    width: 100%;
}

/* نافذة الحاسبة */
.modal-calculator {
    overflow: hidden;
}

.modal-calculator .modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-calculator .modal-header {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    border: none;
    padding: 20px 30px;
}

.modal-calculator .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-calculator .modal-title i {
    font-size: 1.5rem;
}

.modal-calculator .modal-close {
    color: white;
    opacity: 0.8;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    font-weight: 300;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-calculator .modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* نافذة Calcumate */
.modal-calcumate {
    overflow: hidden;
}

.modal-calcumate .modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 100vh; /* ارتفاع كامل للنافذة */
}

.modal-calcumate .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    padding: 20px 30px;
}

.modal-calcumate .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-calcumate .modal-title i {
    font-size: 1.5rem;
}

.modal-calcumate .modal-close {
    color: white;
    opacity: 0.8;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    font-weight: 300;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-calcumate .modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-calcumate .modal-body {
    padding: 0;
    height: calc(100vh - 80px); /* ارتفاع كامل ناقص رأس النافذة */
    overflow: hidden;
}

/* قسم آراء العملاء */
.testimonials-section {
    background-color: white;
    position: relative;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
    margin: 0 15px 30px;
    position: relative;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: translateY(0);
    opacity: 1;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary-light);
    position: absolute;
    top: 20px;
    left: 30px; /* تغيير من right إلى left للـ RTL */
    opacity: 0.2;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
    transform: translateY(-5px) rotate(-10deg); /* تغيير من rotate(10deg) إلى rotate(-10deg) للـ RTL */
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-radius: 50%;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    margin: 0 0 5px;
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-rating {
    margin-top: 15px;
    color: var(--warning-color);
    font-size: 18px;
}

/* قسم كيفية العمل */
.how-it-works {
    background: linear-gradient(135deg, rgba(255, 90, 60, 0.03), rgba(255, 90, 60, 0.08));
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    top: -150px;
    right: -150px; /* تغيير من left إلى right للـ RTL */
    opacity: 0.1;
}

.how-it-works::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    border-radius: 50%;
    bottom: -100px;
    left: -100px; /* تغيير من right إلى left للـ RTL */
    opacity: 0.1;
}

.steps-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.steps-line {
    position: absolute;
    top: 120px;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    border-top: 2px dashed rgba(255, 90, 60, 0.3);
    z-index: 1;
}

.step-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 30px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    height: 100%;
    transform: translateY(0);
    opacity: 1;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 90, 60, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.4);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.step-card:hover .step-title {
    color: var(--primary-color);
}

.step-desc {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* قسم دعوة للعمل */
.cta-section {
    background: url('https://images.unsplash.com/photo-1542822223-136630db595f?ixlib=rb-1.2.1&auto=format&fit=crop&w=2100&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    color: white;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80,.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.92), rgba(255, 90, 60, 0.85));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    transform: scale(1);
    opacity: 1;
    transition: var(--transition);
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* قسم الأسئلة الشائعة */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: translateY(0);
    opacity: 1;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-right: 4px solid var(--primary-color); /* تغيير من border-left إلى border-right للـ RTL */
}

.faq-question h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background-color: white;
}

.faq-answer-content {
    padding: 0 0 20px;
    color: var(--text-secondary);
}

.faq-item.active .faq-question h5 {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* قسم الاتصال */
.contact-section {
    background: linear-gradient(135deg, rgba(255, 90, 60, 0.03), rgba(255, 90, 60, 0.08));
    position: relative;
}

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

.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 40px;
    height: 100%;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.contact-info-text {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(-5px); /* تغيير من translateX(5px) إلى translateX(-5px) للـ RTL */
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px; /* تغيير من margin-right إلى margin-left للـ RTL */
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.contact-info-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: white;
}

.contact-info-content p {
    margin: 0;
    opacity: 0.9;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.contact-social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    border-radius: 50%;
}

.contact-form {
    padding: 40px;
}

.contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: block;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--input-bg);
    transition: var(--transition-fast);
    font-family: var(--font-primary);
    text-align: right; /* إضافة للـ RTL */
}
    
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    text-align: right; /* إضافة للـ RTL */
}

.form-submit {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-submit:hover {
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.3);
    transform: translateY(-5px);
    background: var(--primary-hover);
}

/* تذييل الصفحة */
.footer {
    padding: 80px 0 0;
    background-color: var(--dark-bg);
    color: white;
    position: relative;
    z-index: 10;
}

.footer-logo {
    margin-bottom: 25px;
}

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

.footer-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    border-radius: 50%;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
}

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

.footer-link {
    margin-bottom: 15px;
}

.footer-link a {
    color: var(--text-light);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

.footer-link a:hover {
    color: white;
    transform: translateX(-5px); /* تغيير من translateX(5px) إلى translateX(-5px) للـ RTL */
}

.footer-link a i {
    color: var(--primary-color);
    font-size: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(-5px); /* تغيير من translateX(5px) إلى translateX(-5px) للـ RTL */
}

.footer-contact-icon {
    color: var(--primary-color);
    font-size: 20px;
}

.footer-contact-text {
    color: var(--text-light);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    text-align: center;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 14px;
}

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px; /* تغيير من right إلى left للـ RTL */
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 90, 60, 0.3);
    background: var(--primary-hover);
    border-radius: 50%;
}

/* جديد: زر الواتساب العائم */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px; /* تغيير من left إلى right للـ RTL */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: var(--shadow);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    margin-top: 0;
}

/* جديد: إشعار Toast */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px; /* تغيير من right إلى left للـ RTL */
    z-index: 9999;
}

.toast {
    min-width: 300px;
    background-color: white;
    color: var(--text-primary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(-100%); /* تغيير من translateX(100%) إلى translateX(-100%) للـ RTL */
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-right: 4px solid var(--primary-color); /* تغيير من border-left إلى border-right للـ RTL */
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.toast-message {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.toast-close {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.toast-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* جديد: نافذة معرض الصور */
.image-gallery-modal .modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-color: rgba(0,0,0,0.85);
}

.image-gallery-modal .modal-header {
    background: transparent;
    border-bottom: none;
    padding: 15px 20px;
    position: absolute;
    top: 0;
    left: 0; /* تغيير من right إلى left للـ RTL */
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: flex-start; /* تغيير من flex-end إلى flex-start للـ RTL */
}

.image-gallery-modal .modal-body {
    padding: 0;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery-modal .modal-close {
    color: white;
    opacity: 0.8;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.image-gallery-modal .modal-close:hover {
    opacity: 1;
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.gallery-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    animation: fadeEffect 0.5s;
    position: absolute;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
}

.gallery-slide.active {
    display: flex;
}

@keyframes fadeEffect {
    from {opacity: 0.7; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
}

.gallery-slide img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gallery-caption {
    position: absolute;
    bottom: 30px;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    z-index: 5;
    flex-direction: row-reverse; /* إضافة للـ RTL */
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.gallery-thumbnails {
    position: absolute;
    bottom: 20px;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 30px;
    z-index: 5;
}

.gallery-thumbnail {
    width: 60px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
}

.gallery-thumbnail:hover {
    opacity: 1;
    border-color: white;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* أنماط خاصة بالجوال والاستجابة */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-features {
        flex-wrap: wrap;
    }

    section {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .navbar-nav {
        margin-right: 20px; /* تغيير من margin-left إلى margin-right للـ RTL */
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .storage-card {
        min-width: 280px;
    }
    
    .steps-line {
        display: none;
    }
    
    .step-card {
        margin-bottom: 30px;
    }
    
    .contact-info {
        padding: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .section-nav {
        display: none;
    }
    
    /* أنماط قائمة الجوال */
    .header .navbar {
        padding: 10px 0;
    }

    /* تصحيح: تحسين معالجة قائمة الجوال */
    .navbar-utils {
        display: none;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%; /* تغيير من right إلى left للـ RTL وتغيير القيمة */
        width: 280px;
        height: 100vh;
        background-color: white;
        z-index: 1195;
        padding: 100px 20px 20px;
        transition: left 0.3s ease; /* تغيير من right إلى left للـ RTL */
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1); /* تغيير من -5px إلى 5px للـ RTL */
        overflow-y: auto;
    }
        
    .navbar-collapse.show {
        left: 0; /* تغيير من right إلى left للـ RTL */
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        margin-right: 0; /* تغيير من margin-left إلى margin-right للـ RTL */
    }
        
    .nav-item {
        width: 100%;
        height: auto;
    }
    
    .nav-link {
        height: auto;
        padding: 0 10px !important; /* تقليل من 16px */
        font-size: 0.85rem; /* حجم خط أصغر */
    }
    
    .navbar-utils {
        display: none;
    }
    
    .navbar-collapse .navbar-utils {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        width: 100%;
    }
    
    .navbar-collapse .my-account-btn,
    .navbar-collapse .language-toggle,
    .navbar-collapse .book-now-btn {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.75rem;
        margin-left: 10px; /* تغيير من margin-right إلى margin-left للـ RTL */
    }
        
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 90, 60, 0.1);
    }
    
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        padding: 10px 0;
        margin: 0;
        border: none;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        display: none;
        transition: none;
        animation: none;
        background-color: rgba(248, 249, 250, 0.5);
        border-radius: 8px;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-item {
        padding: 8px 40px 8px 15px; /* تغيير من padding-left إلى padding-right للـ RTL */
    }
    
    .dropdown-toggle::after {
        position: absolute;
        left: 15px; /* تغيير من right إلى left للـ RTL */
    }
    
    /* تصحيح: إظهار أدوات قائمة التنقل للجوال */
    .mobile-navbar-utils {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
    
    .mobile-navbar-utils .my-account-btn,
    .mobile-navbar-utils .language-toggle,
    .mobile-navbar-utils .book-now-btn {
        width: 100%;
        justify-content: center;
        margin: 8px 0;
    }
    
    .navbar-collapse .my-account-btn {
        margin-top: 30px;
    }

    .notification-indicator {
        top: 12px;
        left: auto; /* تغيير من right إلى left للـ RTL */
        right: 30px; /* تغيير من left إلى right للـ RTL */
    }
    
    /* استجابة الدليل والحاسبة */
    .guide-step {
        flex-direction: column;
        gap: 15px;
        padding-right: 10px; /* تغيير من padding-left إلى padding-right للـ RTL */
    }
    
    .guide-step::after {
        right: 25px; /* تغيير من left إلى right للـ RTL */
        top: 70px;
        height: calc(100% - 50px);
    }
    
    .guide-step-number {
        margin-bottom: 10px;
    }
    
    .furniture-item {
        flex: 0 0 100%;
    }

    /* تعديل موضع زر الواتساب للجوال */
    .whatsapp-float {
        bottom: 90px;
        right: 20px; /* تغيير من left إلى right للـ RTL */
    }

    /* تعديل موضع حاوية Toast للجوال */
    .toast-container {
        bottom: 90px;
        left: 20px; /* تغيير من right إلى left للـ RTL */
        right: 20px; /* تغيير من left إلى right للـ RTL */
    }

    .toast {
        min-width: unset;
        width: 100%;
    }

    /* تعديلات استجابة المعرض */
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-thumbnails {
        display: none;
    }

    .gallery-caption {
        font-size: 0.9rem;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 140px 0 60px;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 50px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .storage-card {
        min-width: 100%;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }

    .about-card, .testimonial-card, .step-card, .contact-card {
        transform: translateY(0) !important;
    }

    .gallery-slide img {
        max-width: 95%;
        max-height: 70vh;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .hero-btn {
        width: 100%;
    }
    
    .contact-form-title,
    .contact-info-title {
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px; /* تغيير من right إلى left للـ RTL */
        width: 45px;
        height: 45px;
    }
    
    /* استجابة نافذة الحاسبة */
    .modal-calculator .modal-body {
        padding: 20px;
    }
    
    .modal-calculator .modal-title {
        font-size: 1.2rem;
    }
    
    .calculator-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .calculator-btn-reset, .calculator-btn-book {
        width: 100%;
        justify-content: center;
    }

    .gallery-nav {
        padding: 0 15px;
    }

    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* مفاتيح الرسوم المتحركة */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* أنماط التركيز للوصول */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* دعم الوضع المظلم (للتنفيذ المستقبلي) */
@media (prefers-color-scheme: dark) {
    :root {
        /* متغيرات الوضع المظلم ليتم تفعيلها لاحقًا */
    }
}

/* تفضيلات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* جديد: مؤشر التحميل */
.loading-overlay {
    position: fixed;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 90, 60, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    position: absolute;
    bottom: calc(50% - 50px);
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 20px;
}

/* إضافة رسوم متحركة للتحميل المسبق للصور */
.lazy-load {
    opacity: 1; /* تغيير من 0 إلى 1 لجعل الصور مرئية عند التحميل */
    transition: opacity 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* أنماط متتبع التقدم */
.progress-tracker {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}

.progress-step {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}

.progress-icon {
    width: 40px;
    height: 40px;
    background-color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    z-index: 2;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active .progress-icon,
.progress-step.completed .progress-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 90, 60, 0.3);
}

.progress-step.completed .progress-icon {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.progress-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active .progress-text,
.progress-step.completed .progress-text {
    color: var(--text-primary);
    font-weight: 600;
}

.progress-line {
    position: absolute;
    top: 20px;
    right: 0; /* تغيير من left إلى right للـ RTL */
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    right: 0; /* تغيير من left إلى right للـ RTL */
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.5s ease;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

.modal-fullscreen .modal-content {
    height: 100vh;
    border: 0;
    border-radius: 0;
}

/* إصلاح لـ modal-body لأخذ الارتفاع الكامل ناقص الرأس */
.modal-calcumate .modal-body {
    height: calc(100vh - 70px); /* تعديل لحساب ارتفاع الرأس */
    overflow: hidden;
    padding: 0 !important;
}

/* ضمان أن حاوية الحاسبة تأخذ ارتفاعًا كاملًا */
#calcumate-root {
    min-height: 100%;
    height: 100%;
    overflow: auto;
}

/* إصلاح لمشاكل z-index المحتملة */
.modal-calcumate {
    z-index: 1060;
}

/* ضمان أن خلفية النافذة تغطي كل شيء */
.modal-backdrop {
    z-index: 1050;
}