/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-primary: 'Tajawal';
    --primary-color: #360e2e;
    --accent-color: #4299E1;
    --purple-color: #805AD5;
}
body {
    background-color: #380e2d;
}
body {
    font-family: Tajawal;
    direction: rtl;
   
}

/* Header Styles */
.header {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-color: var(--primary-color);
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}



/* Logo */
/* Logo Styles */
.logo {
    position: fixed;
    top: 0rem;
    right: 0rem;
    z-index: 1000;
}

/*حجم اللوقو*/
.logo img {
    height: 300px;
    /* 1. تمكين التحويل */
    display: inline-block; 
}

/* 2. تفعيل الحركة عند التحويم */
.logo img:hover {
    animation: running-bounce 0.5s infinite alternate ease-in-out;
}

  
  .container img {
    left: 0;
    transform: none;
  }

  
  .container img {
    left: 0;
    transform: none;
  }
/* ... باقي أكواد .logo-container كما هي ... */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 0.0rem 2rem;
    background: rgba(255, 0, 93, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(141, 7, 121, 0.222);
    transition: all 0.3s ease;
}

/* تحديث تأثير التحويم */
.logo-container:hover {
    background: #531641;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 37, 39, 0.3);
    border-color: #00ddff;
}

.logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {

    width: 100%;
    height: 100%;
    color: #00ddff;
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-container:hover .logo-svg {
    transform: rotate(360deg);
}

.logo-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawPath 2s ease forwards;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-circle {
    opacity: 0;
    animation: fadeIn 0.5s ease 1.5s forwards;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 100;
    color: white;
    letter-spacing: 0.5px;
}

.logo-plus {
    color: #7bc7ee;
    margin: 0 0.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-plus {
    transform: rotate(180deg) scale(1.2);
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Design (الشعار) */
@media (max-width: 768px) {
    .logo {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .logo-container {
        padding: 0.4rem 0.8rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .logo-container {
        background: rgba(16, 185, 129, 0.1);
        border-color: rgba(16, 185, 129, 0.2);
    }
    
    .logo-container:hover {
        background: rgba(16, 185, 129, 0.15);
    }
}

/* Main Navigation Container */
.main-nav {
      position: fixed;
    top: 1rem;
    /* 💥 FIX: إلغاء تحديد right/left الخاطئ وتطبيق التوسيط الصحيح */
    left: 50%;
    transform: translateX(-50%);
    width: auto; 
    max-width: 90%; 
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 500;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Navigation Menu */
.nav-menu {
     border-bottom: 0px #ffffff;
    margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: center;
  /* 💥 FIX: يجب أن تكون wrap في الوضع العام لضمان التجاوب في حالة الروابط الطويلة */
  flex-wrap: wrap; 
  /* 💥 FIX: يجب أن تكون row لعرض الروابط أفقياً */
  flex-direction: row;
  display: flex; /* لضمان عمل flex-direction */
  justify-content: center; /* توسيط الروابط */
}

.crumbs ol {
  list-style-type: none;
  padding-left: 0;
}

.crumb {
  display: inline-block;
}

.crumb a::after {
  display: inline-block;
  
  content: '>';
  font-size: 90%;
  font-weight: bold;
  padding: 0 3px;

}

.nav-link {
     color: white;
    text-decoration: none;
   padding: 0.2rem 0.2rem;
    border-radius: 20px;
    font-size: 0.90rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.35, 1.77);
    font-weight: bold;
    align-items: center;
     margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  /* 💥 الحل الحاسم: منع انقسام الكلمة (وهذا هو المفتاح) */
  white-space: nowrap; 
  margin-left: 0.5rem; 
  margin-right: 0.5rem;
}


.nav-link:hover {
    background: #b65ea5;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(185, 16, 78, 0.23);
}

/* Special Style for Contact Link */
.contact-link {
   
    color: white;
}

.contact-link:hover {
    background: #b65ea5;
    box-shadow: 0 4px 12px rgba(185, 16, 78, 0.23);
}

/* Active State */
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Design (لشاشات الجوال) */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
   
        top: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 1rem;
        border-radius: 16px;
        /* 💥 إعادة تعيين التوسيط للجوال */
        transform: none; 
        left: auto;
        width: auto;
        max-width: none;
        /* 💥 FIX: منع التمدد الأفقي للصفحة */
        overflow-x: hidden; 
    }

    .nav-menu {
        width: 100%;
        /* 💥 FIX: الالتفاف مطلوب هنا ليتسع محتوى النافبار داخل الشاشة */
        flex-wrap: wrap; 
        justify-content: center;
        flex-direction: row; 
        overflow-x: hidden; 
    }

    .nav-link {
        /* تقليل المسافة الأفقية لمنح كل رابط مساحة */
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        /* white-space: nowrap; موجودة بالفعل وتمنع انقسام الكلمة */
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
        margin-left: 0.2rem;
        margin-right: 0.2rem;
    }
}

/* Animation for Nav Links */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    animation: navLinkFade 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--link-index));
}

/* Header Content */
.header-content {
    display: flex;
    align-items: center;
    padding-top: -9rem;
    /* 💥 FIX: تأكد من أن هذا العنصر يسمح بالالتفاف */
    flex-wrap: wrap; 
    flex-direction: column-reverse;
    justify-content: center;
    align-content: space-around;
}

/* Text Content */
.text-content {
    animation: slideInRight 1s ease-out;
}

.text-content h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
}



/* Support Section */
.support-section {
    position: relative;
    width: 500px;
    height: 400px;
}

/* Support Agent Image */
.support-image {
    position: relative;
    width: 100%;
    height: 100%;
   align-items: center;
    justify-content: center;
}

.support-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

/* Message Icon */
.message-icon {
    position: absolute;
    top: 240px;
    right: 100%;
    width: 40px;
    height: 40px;
    background-color: var(--purple-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.message-icon .lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.message-icon .line {
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

/* Hours Icon */
.hours-icon {
    position: absolute;
    top: 220px;
    right: 40%;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    animation: rotate 10s linear infinite;
}

.hours-icon span {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: bold;
}



/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .text-content h1 {
        font-size: 1rem;
    }

    .support-section {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* إضافة بعد الأنماط الموجودة سابقاً */

/* Product Features Section */
.product-features {
    background-color: var(--primary-color);
    padding: 4rem 0;
    margin-top: -2rem; /* لربط القسم مع الهيدر */
}

.product-features h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.feature-item {
    text-align: center;
    color: white;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

/* تحديث أنماط الأيقونات */
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    fill: white;
    stroke: white;
    stroke-width: 1;
}

.feature-icon.support-agent {
    stroke-width: 0.5;
}

.feature-icon.clock {
    stroke-width: 0.75;
}

.feature-icon.chat {
    stroke-width: 0.5;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}س

/* تحديث أنماط feature-item */
.feature-item {
    text-align: center;
    color: white;
    padding: 2rem;
    transition: transform 0.3s ease;
    position: relative;
}

/* تحديث أنماط feature-item */
.feature-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding-right: 1.2rem; /* تقليل المسافة للخط العمودي */
    position: relative;
}

/* تحديث الخط العمودي */
.feature-item h3::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px; /* تقليل عرض الخط */
    height: 1.2em; /* تقليل طول الخط */
    background-color: white;
    border-radius: 8px; /* إضافة حواف مائلة */
}

/* باقي الأكواد تظل كما هي */
.feature-item h3::before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.feature-item:hover h3::before {
    width: 100%;
    right: auto;
    left: 0;
}

/* تفعيل الخط الأفقي عند التحويم */
.feature-item:hover h3::before {
    width: 100%;
    right: auto;
    left: 0;
}

/* تحديث المسافات والتنسيق */
.feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 1rem;
}

/* تحسين التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .feature-item h3 {
        font-size: 1.75rem;
    }
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
/* Responsive Design for Features */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-features {
        margin-top: 0;
    }
    
    .feature-item {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* اضافة الأنماط السابقة */
/* ... الكود السابق ... */

/* Product Menu Styles */
.product-menu {
    background-color: #31182f;
    padding: 4rem 0;
}

.section-title {
    color: #31182f;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.product-card {
    background-color: #531641;
    border-radius: 1rem;
    padding: 0rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px #b87c9c;
}

.card-content {
    text-align: center;
}

.illustration {
    position: relative;
    height: 250px;
    margin-bottom: 1.5rem;
}

.illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-circle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.product-card h3 {
    color: #531641;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Reviews Section Styles */
.reviews-section {
    background-color: #31182f;
    padding: 6rem 0;
}

.reviews-title {
    color: #5e95c9;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.review-card {
    background-color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 109, 252, 0.1);
}

.reviewer-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.reviewer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    color: #5d9cca;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.reviewer-name {
    color: #531641;
    font-weight: 600;
    font-size: 1.25rem;
    position: relative;
    padding-left: 2rem;
    display: flex;
    align-items: center;
}

.name-line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 3px;
    background-color: #7dbfea;
    transform: translateY(-50%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-title {
        font-size: 2.5rem;
    }

    .review-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Contact Section Styles */
.contact-section {
    background-color: #35182f;
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    /* 💥 FIX: التأكد من أن هذا العنصر يسمح بالالتفاف */
    flex-wrap: wrap;
}

/* Illustration Styles */
.contact-illustration {
    flex: 1;
    max-width: 500px;
}

.support-image {
    width: 100%;
    height: auto;
}

/* Contact Info Styles */
.contact-info {
    flex: 1;
    max-width: 500px;
}

.contact-info h2 {
    color: #ead6e4;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #ddc4d5;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* Info Box Styles */
.info-box {
    background-color: #5381b3;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    min-width: 250px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(185, 16, 16, 0.2);
}

/* Social Icons Styles */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background-color: #182527;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #9d10b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(185, 16, 16, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-illustration {
        order: -1;
    }

    .social-icons {
        justify-content: center;
    }

    .info-box {
        width: 100%;
        max-width: 300px;
    }
}
/* تحديث أنماط Info Box لتضمين الأيقونات */
.info-box {
    background-color: #3187bb;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 250px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-box i {
    font-size: 1.2rem;
    color: #ffffff;
}

/* تحديث أنماط Social Icons */
.social-icon {
    background-color: #531641;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background-color: #b9107b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(185, 16, 16, 0.2);
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* تحسين المظهر على الشاشات الصغيرة */
@media (max-width: 768px) {
    .info-box {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Footer Styles */
.footer {
    background-color: #521640;
    padding: 4rem 2rem 2rem;
    color: white;
    direction: rtl;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: flex-start; 
    align-content: flex-start; 
    /* 💥 FIX: تم إعادة flex-wrap: wrap لضمان التجاوب في الفوتر وعدم التداخل */
    flex-wrap: wrap; 
    flex-direction: row;
}


/* About Box Styles */
.footer-about {
    flex: 1 1 300px; /* تم تعديل Flex basis للسماح بالالتفاف */
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h3 {
    color: #93c5ef;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;

}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Links Styles */
.footer-links {
    flex: 1 1 300px; /* تم تعديل Flex basis للسماح بالالتفاف */
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.links-row {
    display: flex;
    /* 💥 FIX: تم تغيير gap لضمان عدم التمدد عند ضغط الشاشة */
    gap: 1.5rem; 
    /* 💥 FIX: إضافة flex-wrap: wrap لتجنب ضغط الروابط في صف واحد */
    flex-wrap: wrap; 
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #93c5ef;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-link:hover::after {
    width: 100%;
}

/* Copyright Styles */
.footer-copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-about {
        flex: 1;
    }

    .links-row {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start; 
    }

    .footer-links {
        gap: 1rem;
    }
}





/* --- New Announcement Bar Styles (Scrolling Ticker) --- */
.announcement-bar {
    background-color: #531641; 
    color: white;
    padding: 0.5rem 0;
    overflow: hidden; 
    white-space: nowrap; 
    
    /* FIX: تثبيت الشريط في أعلى الشاشة */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1010; 
}
/* لسرعة حركة الشريط */
.announcement-content {
    /* 💥 FIX: تغيير العرض إلى 100% بدلاً من 200% */
    width: 100%; 
    /* 💥 FIX: إضافة الخاصية white-space: nowrap; هنا لضمان عملها */
    white-space: nowrap;
    animation: scroll-text 60s linear infinite; /* ابقِ على سرعة الحركة */
}

.ticker-content {
    /* 💥 FIX: تغيير العرض إلى Auto */
    width: auto; 
    /* 💥 FIX: إضافة display: inline-block; لإمكانية تحريكها */
    display: inline-block;
    padding-right: 2rem; 
}

/* تنسيق الشعار الصغير */
.store-logo {
    /* 💥 التعديل الأول: زيادة الحجم من 20px إلى 30px */
    height: 50px; 
    width: auto;
    object-fit: contain;
    margin-left: 1rem;
    
    /* 💥 التعديل الثاني: حذف خاصية border-radius لإزالة الدائرة */
    /* border-radius: 50%; <-- تم حذف هذا السطر بالكامل */
}

/* تنسيق الأيقونات والنصوص */
.ticker-item {
    font-weight: 500;
    padding-left: 1rem; 
    padding-right: 0.5rem;
    display: inline-flex;
    align-items: center;
}

/* ⬅️ تم تطبيق الحركة هنا 🚀 */
.ticker-item i {
    color: #8490bc; 
    margin-left: 0.5rem; 
    font-size: 1rem;
    
    /* 💥 FIX: تطبيق الحركة على أيقونات الإعلانات */
    /* يجب أن تكون inline-block لكي يستجيب لـ transform */
    display: inline-block; 
    /* ربط الأيقونات بنفس حركة القفز */
    animation: running-bounce 0.5s infinite alternate ease-in-out; 
}

.ticker-separator {
    color: #ffffff;
    opacity: 0.7;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 1rem; 
}

/* 💥 FIX: تحديد حركة التمرير العكسية (من اليسار إلى اليمين) */
/* 💥 FIX: الحركة الجديدة للتمرير اللانهائي (بدون تكرار الكود) */
/* 💥 FIX: الحركة الآن من اليسار إلى اليمين */
@keyframes scroll-text {
    0% {
        /* تبدأ من خارج الشاشة على اليسار (التحول إلى -100%) */
        transform: translateX(-100%); 
    }
    100% {
        /* تنتهي بالتحرك إلى خارج الشاشة على اليمين (التحول إلى +100%) */
        transform: translateX(100%); 
    }
}


/* --- Adjustment to Existing Nav Menu (لحماية المحتوى من التراكب) --- */
.main-nav {
    display: flex; 
    justify-content: center; 
    flex-direction: row; 
    flex-wrap: wrap; 
    align-items: center;
    
    /* FIX: إزاحة الشريط للأسفل بمقدار ارتفاع الشريط الثابت (~40px) */
    margin-top: 40px !important; 
    
    /* الخصائص الأخرى من الكود القديم: */
    border-bottom: 0px #ffffff;
    margin-bottom: 1.5rem;
}




/* --- Slideshow Banner Styles --- */
.swiper {
  width: 100%;
  height: 40vh; /* أو 30vh حسب اختيارك للكمبيوتر */
  max-height: 500px;
  
  /* 💥 FIX: تصفير الهامش العلوي وجعل الهامش السفلي مناسباً */
  margin-top: 0.5rem; /* قيمة بسيطة كافية */
  margin-bottom: 2rem;
  
  border-radius: 10px;
  overflow: hidden;
}

/* تنسيق متجاوب (Responsive) */
@media (max-width: 768px) {
    .swiper {
        height: 35vh; 
        max-height: 250px; 
        
        /* 💥 FIX: تصفير الهامش العلوي على الجوال أيضاً */
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* لضمان تغطية الصورة للمساحة */
  opacity: 0.7; /* لجعل الصورة أغمق قليلاً حتى يظهر النص */
}



/* تنسيق متجاوب (Responsive) */
@media (max-width: 768px) {
    /* ... التنسيقات الأخرى... */
    
    .swiper {
        /* 💥 التعديل هنا: زيادة الارتفاع على الجوال إلى 35vh */
        height: 100%; 
        max-height: 100%; 
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* --- Slideshow Navigation Arrows Styling --- */

/* استهداف أزرار التنقل */
.swiper-button-next,
.swiper-button-prev {
    /* 💥 FIX 1: تصغير الحجم (افتراضياً يكون الحجم كبيراً) */
    font-size: 1rem !important; /* حجم النص الأصلي للسهم */
    width: 30px !important;     /* عرض الزر */
    height: 30px !important;    /* ارتفاع الزر */
    
    /* 💥 FIX 2: تغيير اللون إلى الأبيض أو لون الثيم */
    color: #ffffff !important; 
    
    /* 💥 FIX 3: إضافة خلفية دائرية شفافة */
    background-color: rgba(0, 0, 0, 0.4); 
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* تنسيق عند التمرير بالماوس (Hover Effect) */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* تعديل موقع الأسهم لتكون داخل البانر بشكل أفضل (اختياري) */
.swiper-button-next {
    right: 10px !important; /* بُعد السهم التالي عن الحافة */
}

.swiper-button-prev {
    left: 10px !important; /* بُعد السهم السابق عن الحافة */
}

/* 📌 هام: لإجبار المتصفح على استخدام حجم أصغر للأيقونة الداخلية */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
}



/* --- إخفاء الشرائح غير المرغوب فيها مؤقتاً --- */
/* لإخفاء الشريحة رقم 2 */
.slide-hide-1 {
    display: none !important; 
}

/* لإخفاء الشريحة رقم 2 */
.slide-hide-2 {
    display: none !important; 
}

/* لإخفاء الشريحة رقم 3 */
.slide-hide-3 {
    display: none !important;
}
/* 📌 لإخفاء السلايدر بالكامل مؤقتاً */
.swiper {
    display: none !important; 
}
/* 📌 ملاحظة: إذا أردت إظهارها مستقبلاً، قم بتعليق السطرين أعلاه أو حذفهما. */

/* لإخفاء الشرائح الثلاثة معاً في CSS */
/* .slide-hide-1 {
    display: none !important; 
}
.slide-hide-2 {
    display: none !important; 
}
.slide-hide-3 {
    display: none !important; 
}
*/

/* --- الحركة الكرتونية لأيقونة الركض (محاكاة القفز/الركض) --- */
@keyframes running-bounce {
    0%, 100% {
        /* نقطة البداية والنهاية: في موقعها الطبيعي */
        transform: translateY(0); 
    }
    50% {
        /* نقطة المنتصف: ترتفع قليلاً لأعلى (بمقدار 3 بكسل) لمحاكاة القفز */
        transform: translateY(-3px); 
    }
}



/* --- تنسيق أيقونة الشخص الذي يركض --- */
.running-icon {
    height: 35px; 
    width: auto;
    object-fit: contain;
    margin-left: 1.5rem; 
    margin-right: 1.5rem; 
    display: inline-block;
    vertical-align: middle;
    
    /* 💥 هذا يربط الأيقونة بالحركة التي سنعرفها في الخطوة 2 */
    animation: running-bounce 0.5s infinite alternate ease-in-out;
}

/* تنسيق متجاوب (لتصغيره على الجوال) */
@media (max-width: 768px) {
    .running-icon {
        height: 25px; 
    }
}


/* --- الحركة الكرتونية لأيقونة الركض (محاكاة القفز/الركض) --- */
@keyframes running-bounce {
    0%, 100% {
        transform: translateY(0); 
    }
    50% {
        transform: translateY(-3px); 
    }
}



/* --- تنسيقات قسم بلكات انسكاب الابداع (البنرات) --- */

/* تنسيق الحاوية الأساسية للقسم */
.s-block--banners {
    padding: 3rem 0;
    /* لجعل خلفية القسم تتطابق مع خلفية الـ body */
    background-color: #380e2d; 
}

/* تنسيق كل بطاقة بنر */
.banner-entry {
    /* يجب أن يكون الموضع نسبي لتمكين أي تأثيرات مطلقة */
    position: relative; 
    border-radius: 12px;
    overflow: hidden; /* مهم لقص الصورة ضمن حدود البطاقة */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.35, 1.77); /* حركة كرتونية أفضل */
    /* ضمان نسبة الارتفاع إلى العرض */
    padding-top: 56.25%; /* نسبة 16:9 - يمكن تغييرها إلى 40% للحصول على مستطيل أفقي */
    height: 0;
}

/* تأثير التحويم (Hover) على البنر */
.banner-entry:hover {
    transform: translateY(-5px) scale(1.02); /* يرتفع ويكبر قليلاً */
  
        /* 💙 اللون الجديد: أزرق كهربائي فاتح (يتناسب مع انعكاس السيارة) */
    box-shadow: 0 10px 30px rgba(71, 169, 237, 0.7); 

}

/* تنسيق حاوية الخلفية (lazy__bg) */
.banner-entry .lazy__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* تغطية كاملة للصورة */
    background-position: center; /* توسيط الصورة */
    transition: transform 0.5s ease;
}

/* تكبير الصورة عند التحويم داخل البنر */
.banner-entry:hover .lazy__bg {
    transform: scale(1.1); /* زوم خفيف على الصورة */
}

/* لضمان تغطية رابط البنر للمنطقة بالكامل */
.banner-entry a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* ليكون فوق الصورة */
}

/* تعديل عرض شبكة البنرات على شاشات الجوال */
@media (max-width: 768px) {
    .s-block--banners .grid {
        /* لجعلها عمود واحد على الجوالات */
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    .banner-entry {
        /* لتكون البنرات أعرض على الجوال */
        padding-top: 45%; 
    }
} 

/* --- تنسيقات قسم بلكات انسكاب الابداع (البنرات) --- */

/* ... (الأكواد السابقة لـ .s-block--banners و .banner-entry) ... */


/* تعديل عرض شبكة البنرات على شاشات الجوال */
@media (max-width: 768px) {
    .s-block--banners .grid {
        /* 💥 التعديل الحاسم: في وضع الجوال العمودي (أقل من 768px)، نعرض عمود واحد */
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    .banner-entry {
        /* لتكون البنرات أعرض على الجوال */
        padding-top: 45%; 
    }
}


/* 🚀 الكود الجديد: استهداف الجوال الأفقي والشاشات الصغيرة */
/* هذا سيطبق على شاشات الجوال في الوضع الأفقي (بشكل عام، أي شاشة عرضها أكبر من 500px تقريباً) */
@media (min-width: 500px) and (max-width: 900px) {
    .s-block--banners .grid {
        /* عرض عمودين لملء الشاشة الأفقي بشكل أفضل */
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.5rem;
    }
    .banner-entry {
        /* تقليل نسبة الارتفاع لجعلها أكثر استطالة لتناسب شاشات الجوال الأفقي */
        padding-top: 35%; 
    }
}





