/* الألوان */
:root {
    --primary-color: #2563EB;
    --secondary-color: #1E40AF;
    --background-color: #F9FAFB;
    --text-color: #1F2937;
    --accent-color: #F59E0B;
}
/* التصميم العام */
body {
    font-family: "El Messiri", serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: right;
}


header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: 24px;
    font-weight: bold;
}
/* قائمة التنقل */
nav {
    display: flex;
    align-items: center;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.nav-links li {
    margin-left: 20px;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
/* الأزرار */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px; /* مسافة بين الأزرار */
}
.cta-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.login-button {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 5px;
    font-weight: bold;
}
.login-button:hover {
    background-color: #fff;
    color: var(--primary-color);
}
/* زر القائمة الجانبية */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
/* أيقونات التواصل الاجتماعي */
.social-icons {
    display: none; /* إخفاء الأيقونات في الشاشات الكبيرة */
}
.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
}
/* التصميم المتجاوب */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }
    .nav-links {
        background-color: rgba(255, 255, 255, 0.9); /* شفافية مع لون خلفية */
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 50px;
        border-top-left-radius: 50px;
        right: -100%; /* إخفاء القائمة خارج الشاشة */
        width: 90%; /* عرض القائمة كامل الشاشة */
        height: 100vh; /* ارتفاع القائمة */
        text-align: center;
        transition: right 0.3s ease-in-out; /* إضافة تأثير انتقالي */
        z-index: 1000; /* التأكد من ظهور القائمة فوق العناصر الأخرى */
        padding-top: 60px; /* مسافة من الأعلى لتجنب التداخل مع الهيدر */
    }
    header .logo {
        font-size: 20px;
        font-weight: bold;
        z-index: 1001; /* التأكد من ظهور القائمة فوق العناصر الأخرى */
        color: #ffffff;
    }
    .nav-links.active {
        right: 0; /* إظهار القائمة */
    }
    .nav-links li {
        margin: 20px 0;
    }
    .nav-links li a{
        color: #000000;
    }
    .hamburger {
        display: block;
        order: -1; /* نقل الزر إلى أقصى اليسار */
        margin-left: 10px; /* مسافة من اليسار */
        z-index: 1001; /* التأكد من ظهور الزر فوق القائمة */
    }
    /* إظهار الأيقونات في القائمة المنسدلة */
    .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    /* إظهار الأزرار خارج القائمة المنسدلة */
    .header-buttons {
        display: flex;
        z-index: 1001; /* التأكد من ظهور الزر فوق القائمة */
    }
    .cta-button {
        padding: 5px 10px;
    }
    .header-buttons a {
        display: flex;
        font-size: 10px;
    }
    .login-button {
        padding: 5px 10px;
        border: 1px solid #fff;
    }}



/* قسم البطل */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 20px;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden; /* لمنع الصور من الخروج عن الإطار */
}
.hero-content {
    max-width: 50%;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    margin-bottom: 40px;
}
.hero-image {
    position: relative;
    width: 50%;
    height: 400px; /* ارتفاع مناسب للصور */
}
/* تأثيرات الحركة للصور */
.floating-image {
    position: absolute;
    animation: float 6s infinite ease-in-out;
}
.large-image {
    width: 80%; /* حجم الصورة الكبيرة */
    bottom: 0;
    right: 0;
    animation-delay: 0s; /* بدء الحركة فورًا */
    border-radius: 10px;
}
.small-image {
    width: 40%; /* حجم الصورة الصغيرة */
    top: 0;
    left: 0;
    animation-delay: 3s; /* تأخير بدء الحركة */
    border-radius: 10px;
}
.small1-image {
    width: 40%; /* حجم الصورة الصغيرة */
    top: 200px;
    left: 500px;
    animation-delay: 3s; /* تأخير بدء الحركة */
    border-radius: 10px;
}
/* تعريف الحركة */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px); /* حركة الصورة لأعلى ولأسفل */
    }
}
/* التصميم المتجاوب للهواتف */
@media (max-width: 768px) {
    .hero {
        flex-direction: column; /* تغيير اتجاه العناصر إلى عمودي */
        padding: 50px 20px; /* تقليل الحشو */
        text-align: center; /* توسيط النص */
    }
    .hero-content {
        max-width: 100%; /* جعل النص يأخذ العرض الكامل */
        margin-bottom: 30px; /* مسافة بين النص والصور */
    }
    .hero h1 {
        font-size: 32px; /* تقليل حجم العنوان */
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 16px; /* تقليل حجم النص */
        margin-bottom: 20px;
    }
    .hero-image {
        width: 100%; /* جعل الصور تأخذ العرض الكامل */
        height: 300px; /* تقليل الارتفاع */
    }
    .large-image {
        width: 100%; /* تقليل حجم الصورة الكبيرة */
        bottom: 10px; /* تعديل الموضع */
    }
    .small-image {
        width: 30%; /* تقليل حجم الصورة الصغيرة */
        top: 5px; /* تعديل الموضع */
        left: -10px;
    }
    .small1-image {
        width: 40%; /* حجم الصورة الصغيرة */
        top: 200px;
        left: 210px;
        animation-delay: 3s; /* تأخير بدء الحركة */
        border-radius: 10px;
    }

}




/* قسم ما هي منصة إيكومول؟ */
.about-platform {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 20px;
    background-color: #fff;
    color: var(--text-color);
}
.about-content {
    max-width: 50%;
}
.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.about-content p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}
.about-image {
    width: 50%;
    text-align: center;
}
.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* التصميم المتجاوب للهواتف والتابلت */
@media (max-width: 1024px) {
    .about-platform {
        flex-direction: column; /* تغيير اتجاه العناصر إلى عمودي */
        padding: 50px 20px; /* تقليل الحشو */
        text-align: center; /* توسيط النص */
    }
    .about-content {
        max-width: 100%; /* جعل النص يأخذ العرض الكامل */
        margin-bottom: 30px; /* مسافة بين النص والصورة */
    }
    .about-content h2 {
        font-size: 28px; /* تقليل حجم العنوان */
    }
    .about-content p {
        font-size: 16px; /* تقليل حجم النص */
    }
    .about-image {
        width: 100%; /* جعل الصورة تأخذ العرض الكامل */
    }
}
/* تصميم متجاوب للهواتف الصغيرة */
@media (max-width: 480px) {
    .about-content h2 {
        font-size: 24px; /* تقليل حجم العنوان أكثر */
    }
    .about-content p {
        font-size: 14px; /* تقليل حجم النص أكثر */
    }
}




/* قسم منتجاتنا */
.our-products {
    padding: 10px 20px 50px 20px;
    background-color: #fff;
    text-align: center;
}
.our-products h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-color);
}
.products-container {
    display: flex;
    overflow-x: auto; /* التمرير الأفقي */
    gap: 20px; /* مسافة بين الكروت */
    padding-bottom: 20px; /* مسافة أسفل القسم */
    scroll-snap-type: x mandatory; /* لجعل التمرير سلسًا */
    scrollbar-width: thin; /* عرض شريط التمرير */
    scrollbar-color: var(--primary-color) #f1f1f1; /* لون شريط التمرير */
}
/* تصميم شريط التمرير الحديث */
.products-container::-webkit-scrollbar {
    height: 8px; /* ارتفاع شريط التمرير */
}
.products-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* لون خلفية شريط التمرير */
    border-radius: 10px;
}
.products-container::-webkit-scrollbar-thumb {
    background: var(--primary-color); /* لون شريط التمرير */
    border-radius: 10px;
}
.product-card {
    flex: 0 0 auto; /* منع الكروت من التمدد */
    width: 300px; /* عرض الكارت */
    height: 300px; /* ارتفاع الكارت */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    scroll-snap-align: start; /* لجعل التمرير سلسًا */
    display: flex;
    flex-direction: column;
}
.product-card img {
    width: 100%;
    height: 250px; /* ارتفاع الصورة */
    object-fit: scale-down; /* تغطية المساحة دون تشويه */
}
.product-card h3 {
    font-size: 20px;
    margin: 15px 0;
    color: #333;
    padding: 0 15px;
    text-align: right; /* محاذاة النص لليمين */
}
/* التصميم المتجاوب */
@media (max-width: 768px) {
    .our-products h2 {
        font-size: 28px;
    }
    .product-card {
        width: 250px; /* تقليل عرض الكارت على الهواتف */
        height: 250px; /* تقليل ارتفاع الكارت على الهواتف */
    }
    .product-card img {
        height: 200px; /* تقليل ارتفاع الصورة على الهواتف */
    }
    .product-card h3 {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .our-products {
        padding: 40px 15px;
    }
    .our-products h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .product-card {
        width: 220px; /* تقليل عرض الكارت أكثر */
        height: 320px; /* تقليل ارتفاع الكارت أكثر */
    }
    .product-card img {
        height: 180px; /* تقليل ارتفاع الصورة أكثر */
    }
    .product-card h3 {
        font-size: 16px;
    }}




    .exclusive-offer {
        background: linear-gradient(135deg, #6a11cb, #2575fc);
        color: #fff;
        padding: 60px 20px;
        text-align: center;
        margin: 50px auto;
        max-width: 1200px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    .offer-title {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 30px;
    }
    .countdown {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
    }
    .countdown-item {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 1.2rem;
        font-weight: bold;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    .countdown-item span {
        font-size: 0.9rem;
        font-weight: normal;
        margin-top: 5px;
    }
    .details {
        text-align: right;
        margin-top: 30px;
    }
    .details ol {
        list-style-type: none;
        padding: 0;
    }
    .details ol li {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-right: 20px;
        position: relative;
    }
    .details ol li::before {
        content: "•";
        color: #ffdd57;
        font-size: 1.5rem;
        position: absolute;
        right: 0;
        top: -5px;
    }
    @media (max-width: 768px) {
        .offer-title {
            font-size: 1.5rem;
        }
        .offer-titles {
            font-size: 1rem;
            color: #ffffff;
            border-bottom: 1px solid white;
            padding-top: 20px;
        }
        .countdown-item {
            width: 80px;
            height: 80px;
            font-size: 1rem;
        }
        .details ol li {
            font-size: 1rem;
        }
    }




/* قسم المميزات */
.features {
    padding: 30px 20px;
    text-align: center;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 192, 203, 0.3) 0%, /* لون وردي خفيف في المركز */
        rgb(255, 255, 255) 70% /* يتلاشى إلى الشفافية عند الأطراف */
    );
    position: relative;
    overflow: hidden;
}
.features::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    z-index: -1;
}
.features h2 {
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--primary-color);
}
.feature-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.feature {
    width: calc(25% - 30px);
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: right; /* محاذاة النص لليمين */
    direction: rtl; /* اتجاه النص من اليمين لليسار */
    transition: transform 0.3s ease;
}
.feature:hover {
    transform: translateY(-10px);
}
.feature i {
    font-size: 40px;
    color: var(--primary-color);
    background-color: rgba(255, 230, 0, 0.9); /* شفافية مع لون خلفية */
    border-radius: 100%;
    padding: 20px;
}
.feature h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}
.feature p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}
/* التصميم المتجاوب */
@media (max-width: 1024px) {
    .feature {
        width: calc(50% - 30px); /* ميزتان في الصف */
    }
}
@media (max-width: 768px) {
    .features h2 {
        font-size: 28px;
    }
    .feature {
        width: 100%; /* ميزة واحدة في الصف */
    }
    .feature i {
        font-size: 35px;
    }
    .feature h3 {
        font-size: 22px;
    }
    .feature-list {
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .features {
        padding: 60px 15px;
    }
    .features h2 {
        font-size: 24px;
    }
    .feature {
        padding: 20px;
    }
    .feature i {
        font-size: 30px;
    }
    .feature h3 {
        font-size: 20px;
    }
    .feature p {
        font-size: 14px;
    }
}




/* قسم عرض قوالب المتاجر */
.templates-showcase {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}
.templates-showcase h2 {
    font-size: 36px;
    margin-bottom: 0px;
    color: var(--primary-color);
}
.templates-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* مسافة بين القوالب */
}
.template-card {
    width: 300px; /* عرض القالب */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.template-card:hover {
    transform: translateY(-10px); /* تأثير رفع القالب */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.template-card img {
    width: 100%;
    height: 200px; /* ارتفاع الصورة */
    object-fit: scale-down; /* تغطية المساحة دون تشويه */
}
.template-card h3 {
    font-size: 24px;
    margin: 10px 0;
    color: #333;
}
.live-preview-button {
    display: inline-block;
    padding: 10px 0px;
    width: 100%;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.live-preview-button:hover {
    background-color: #ffc155;
}
 .templates-2{
    display:flex;
    justify-content: space-between;
    padding: 0 0 40px 0;

}
.templates-2 p a{
background-color: #F59E0B;
color: white;
padding: 5px;
border-radius: 5px;
text-decoration: none;
}
@media (min-width: 1024px) {
    .templates-2 p a{
        display:none;
    }
}
/* التصميم المتجاوب */
@media (max-width: 1024px) {
    .template-card {
        width: 45%; /* عرض القالب في الشاشات المتوسطة */
    }
}
@media (max-width: 768px) {
    .templates-showcase h2 {
        font-size: 28px;
    }
    .template-card {
        width: 100%; /* عرض القالب في الهواتف */
    }
    .template-card h3 {
        font-size: 22px;
    }
    .live-preview-button {
        padding: 8px 16px;
        font-size: 17px;
    }
}
@media (max-width: 480px) {
    .templates-showcase {
        padding: 60px 15px;
    }
    .templates-showcase h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .template-card h3 {
        font-size: 20px;
    }
    .live-preview-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}



.footer__copyright__text {
	border-top: 1px solid #e1e1e1;
	padding: 10px 0 5px 0;
	text-align: center;
    font-size: 12px;
    color: rgb(99, 99, 99);
}
.footer__copyright__text p {
	margin-bottom: 0;
    color: #5C5C5C;
}
.footer__copyright__text a {
	color: #5C5C5C;
}
.footer__copyright__text i {
	color: #ca1515;
}
.footer__copyright__text a:hover {
	color: #ca1515;
}
footer .fon{
    padding: 0 300px;
    }
    @media (max-width: 768px) {
    footer .fon{
        padding: 0 0px;
    }}