/* ===== متغيرات التصميم والألوان ===== */
:root {
    --primary-color: #2c3e50;       /* اللون الأساسي: أزرق داكن */
    --secondary-color: #e74c3c;     /* اللون الثانوي: أحمر */
    --accent-color: #3498db;        /* لون التمييز: أزرق */
    --light-color: #ecf0f1;         /* لون فاتح: رمادي فاتح */
    --dark-color: #2c3e50;          /* لون داكن: أزرق داكن */
    --text-color: #333;             /* لون النص الأساسي: أسود داكن */
    --text-light: #7f8c8d;          /* لون النص الثانوي: رمادي */
    --white: #fff;                  /* أبيض */
    --black: #000;                  /* أسود */
    --transition: all 0.3s ease;    /* تأثير الانتقال الافتراضي */
}

/* ===== الأنماط العامة ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;         /* تضمن أن الحشو والحدود لا تزيد العرض */
}

body {
    font-family: 'Tajawal', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;               /* ارتفاع السطر للقراءة المريحة */
    background-color: var(--light-color);
    overflow-x: hidden;             /* منع التمرير الأفقي */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);  /* تأثير انتقال عند التمرير */
}

a:hover {
    color: var(--secondary-color);  /* تغيير اللون عند التمرير */
}

img {
    max-width: 100%;                /* منع تجاوز الصور لحاوياتها */
    height: auto;                   /* الحفاظ على نسبة الأبعاد */
}

ul {
    list-style: none;               /* إزالة النقاط من القوائم */
}

.container {
    width: 100%;
    max-width: 1200px;              /* أقصى عرض للمحتوى */
    margin: 0 auto;                 /* توسيط الأفقي */
    padding: 0 15px;                /* حشو داخلي */
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* ===== ترويسة الموقع ===== */
.site-header {
    background-color: rgba(255, 255, 255, 0.2);  /* خلفية شفافة */
    backdrop-filter: blur(10px);                 /* تأثير ضبابي */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;              /* تثبيت الشريط في الأعلى */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;                /* ضمان ظهوره فوق كل المحتوى */
    transition: var(--transition);
}

.site-header:hover {
    background-color: rgba(255, 255, 255, 0.6);  /* أقل شفافية عند التمرير */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;                 /* ارتفاع ثابت للشعار */
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-weight: 600;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li.active a::after {
    width: 100%;                  /* خط تحت الرابط عند التمرير */
}

/* ===== مبدل اللغة ===== */
.language-switcher {
    position: relative;
    margin-right: 20px;
}

.current-language {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: var(--light-color);
}

.current-language i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.language-options {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.language-switcher:hover .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-options li a {
    display: block;
    padding: 8px 15px;
    transition: var(--transition);
}

.language-options li a:hover {
    background-color: var(--light-color);
}

/* ===== قائمة الجوال ===== */
.header-actions {
    display: flex;
    align-items: center;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;                 /* مخفي في الواجهة الكبيرة */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;                  /* مخفي خارج الشاشة */
    width: 300px;
    height: 100vh;                /* ارتفاع كامل للشاشة */
    background-color: #285a62;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1100;                /* أعلى من الترويسة */
    transition: var(--transition);
    overflow-y: auto;             /* تمرير إذا المحتوى طويل */
}

.mobile-menu.active {
    left: 0;                      /* إظهار القائمة */
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-header .logo img {
    height: 40px;
}

.close-menu {
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul li {
    border-bottom: 1px solid #eee;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
}

.mobile-nav ul li.active a {
    color: var(--secondary-color);
}

.mobile-language-switcher {
    padding: 20px;
}

/* ===== قسم البطل (Hero Section) ===== */
.hero {
    position: relative;
    height: 100vh;                /* ارتفاع كامل للشاشة */
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-color: rgba(41, 98, 255, 0.4);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 127, 468, 0.4);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;            /* تغطية كاملة للمساحة */
    z-index: 0;
}

.mobile-background {
    display: none;                /* مخفي في الواجهة الكبيرة */
}

.hero-content {
    position: relative;
    z-index: 2;                   /* فوق الخلفية */
    max-width: 1200px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.catalog-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);  /* تأثير الرفع عند التمرير */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== قسم المميزات ===== */
.features-section {
    padding: 25px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);  /* تأثير الرفع عند التمرير */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(25deg) translateY(50px);
    transition: var(--transition);
}

.feature-card:hover .feature-icon::before {
    transform: rotate(25deg) translateY(-50px);
}

.feature-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6rem;
    text-align: center;
    font-size: 0.95rem;
}

/* ألوان مختلفة لكل بطاقة مميزة */
.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #e67e22 100%);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #34495e 100%);
}

/* ===== قسم نظرة عامة عن الشركة ===== */
.about-preview {
    padding: 25px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,247,250,0.9) 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    position: relative;
    z-index: 2;
    min-height: 250px;
}

.text-content {
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 60%;
}

.text-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition);
}

.text-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.text-content:hover::before {
    width: 8px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.text-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.text-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 400;
    flex-grow: 1;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 35px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.25);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    margin-top: auto;
}

.about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.2) 100%);
    transform: translateX(-100%);
    transition: var(--transition);
}

.about-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.about-btn:hover::before {
    transform: translateX(100%);
}

.about-btn i {
    margin-right: 8px;
    transition: var(--transition);
}

.about-btn:hover i {
    transform: translateX(5px);
}

.image-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
    width: 90%;
    height: 85%;
    display: flex;
    align-items: normal;
}

.main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.main-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.2) 0%, rgba(231, 76, 60, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.main-image:hover::before {
    opacity: 1;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    min-height: 380px;
}

.main-image:hover img {
    transform: scale(1.05);
}

.main-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.main-image:hover::after {
    transform: scaleY(1);
}

.image-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    bottom: -20px;
    left: -20px;
    z-index: -1;
    opacity: 0.1;
    animation: pulse 4s infinite ease-in-out;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
    transition: var(--transition);
}

.stat-item:hover .stat-number {
    color: var(--primary-color);
}

.stat-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

/* ===== رسائل التنبيه ===== */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== تأثيرات الحركة والتحريك ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

.animated {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ===== تذييل الصفحة ===== */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.vertical-separator {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.branch-title, .links-title {
    color: #e74c3c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(231, 76, 60, 0.3);
    font-size: 1.2rem;
}

.branch-title i, .links-title i {
    margin-left: 10px;
}

.branch-info .info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.branch-info .info-item i {
    color: #e74c3c;
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

.branch-info .info-item p {
    margin: 0;
    line-height: 1.5;
}

.branch-social {
    margin-top: 25px;
}

.branch-social h4 {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #ecf0f1;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons a.facebook { background: #3b5998; }
.social-icons a.twitter { background: #1da1f2; }
.social-icons a.instagram { background: #e4405f; }
.social-icons a.whatsapp { background: #25d366; }
.social-icons a.gmail { background: #ff0000; }
.social-icons a.linkedin { background: #0077b5; }
.social-icons a.telegram { background: #0088cc; }
.social-icons a.map-icon { background: #03f4bc; }

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ecf0f1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #e74c3c;
    padding-right: 5px;
}

.footer-links a i {
    margin-left: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* ===== أنماط الاستجابة للشاشات المختلفة ===== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .features-grid {
        gap: 15px;
    }
    
    .feature-icon {
        height: 90px;
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .text-content {
        padding: 30px;
        height: auto;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .catalog-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .desktop-background {
        display: none;
    }
    
    .mobile-background {
        display: block;
    }
    
    .features-section {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .feature-icon {
        height: 80px;
        font-size: 1.8rem;
    }
    
    .feature-content {
        padding: 15px;
    }
    
    .footer-columns {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
        padding: 0;
    }
    
    .vertical-separator {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }

    .about-preview {
        padding: 70px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .image-decoration {
        width: 60px;
        height: 60px;
        bottom: -15px;
        left: -15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mobile-menu {
        width: 100%;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
    
    .feature-content {
        padding: 12px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

/* ===== السلايدر ===== */
.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-snap-type: x mandatory;
    background: #f5f5f5;
    border-radius: 10px;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

.card {
    min-width: 300px;
    height: 450px;
    background: white;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card.active {
    border: 3px solid rgb(76, 175, 160);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
}

.card:hover img {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-title {
    
    color:rgb(76, 175, 160);
}

.card-title {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #333;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    right: 10px;
}

.next {
    left: 10px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}
@media (max-width: 768px) {
    .card {
        min-width: 300px;
        height: 450px;
    }
    
    .card img {
        height: 450px;
    }
    
    .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}
/* ===== السلايدر ===== */


/* ===== أنماط RTL للواجهة العربية ===== */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .footer-title i,
[dir="rtl"] .footer-branch h4 i,
[dir="rtl"] .branch-info .info-item i {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .footer-menu li a:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .footer-menu li a i {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .footer-legal ul li {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .about-preview .text-content {
    padding-right: 30px;
    padding-left: 20px;
}

[dir="rtl"] .mission-list li {
    padding-left: 0;
    padding-right: 25px;
}

[dir="rtl"] .mission-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .testimonial-author img {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .footer-contact ul li i {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .footer-menu ul li {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .view-details::after {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .main-nav ul li {
    margin-left: 0;
    margin-right: 25px;
}

[dir="rtl"] .current-language i {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .slick-prev {
    right: -25px;
    left: auto;
}

[dir="rtl"] .slick-next {
    left: -25px;
    right: auto;
}