/* التنسيق العام */
body  {
  font-family: 'Open Sans'Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    direction: rtl;
    background-color: #f5f5f5;
    color: #333;
    text-align: justify;
    
}

.whatsapp-button {
    position: fixed;
    bottom: 60px; /* المسافة من الأسفل */
    left:  40px; /* المسافة من الجانب الأيمن */
    width: 60px;
    height: 60px;
    z-index: 1000; /* لجعلها فوق جميع العناصر */
 

}
.whatsapp-button img:hover{
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    
}
.whatsapp-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* لجعل الزر دائريًا */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* تأثير ظل */

}

.tag{
    color: #8d8383;
    margin: 0% 35% 0% 0%;
}
.ta{
    text-decoration: none;
    font-size: 24px; /* حجم النص */
    font-weight: bold; /* سماكة النص */
    animation: colorChange 2s infinite; /* الحركة تستمر للأبد */

}
@keyframes colorChange {
    0% {
      color: rgb(2, 255, 27); /* اللون الأزرق الفاتح */
    }
    50% {
      color: rgb(255, 0, 0); /* اللون الأسود */
    }
    100% {
      color:rgb(0, 255, 38); /* العودة إلى اللون الأزرق الفاتح */
    }
}

/* القسم العلوي */
.top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
}

/* زر القائمة */
.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .line {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
}

/* قائمة التنقل */
.navigation-menu {
    position: fixed;
    top: 60px;
    right:   20px;
    width: 150px;
    background: #0080ff;
    
    border: 1px solid #000000;
    border-radius: 5px;
    z-index: 9;
    border: 2px solid #333;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    display: none; /* مخفية افتراضيًا */

}

.navigation-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px;
}

.navigation-menu ul li {
    margin: 10px 0;
}

.navigation-menu ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    padding: 8px 30px;
    display: block;
    transition: background-color 0.3s ease, transform 0.3s ease;

}
.navigation-menu.show{
    display: block;
}

.navigation-menu ul li a:hover {
    background-color:  #ff5100;
    border-radius: 5px;
    transform: scale(1.15);
    transition: 0.7s ease;
}

/* روابط التواصل الاجتماعي */
.social-links span {
    margin: 0 5px;
}


.social-links img {
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

/* تنسيق الأقسام */
.smail, .smai, .smal, .sma {
    
    padding: 20px;
    background: #fff;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* ضبط النصوص في المنتصف */

}
p{
    text-align: justify;

    text-align: justify; /* تبرير النص */
    line-height: 1.8; /* تحسين المسافة بين الأسطر */
    word-spacing: 1px; /* تحسين توزيع الكلمات */
    hyphens: auto; /* تقسيم الكلمات الطويلة تلقائيًا */
    overflow-wrap: break-word; /* منع خروج النص عن الحاوية */
    direction: ltr; /* تحديد الاتجاه (يسار إلى يمين للفرنسية) */

}
h2{
    color: #ffffff;
}
.pi{
    text-align: center;
}
.smail h1, .smai h1, .smal h1 {
    color: #007bff;
    font-size: 24px;

}

/* الصور */
.carousel {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;

    border-radius: 10px;
}

.carouse {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.image-container {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.sand{
    width: 100%;
    height: 100% ;
    overflow: hidden;
    position: relative;
    align-items: center;
}
.sand-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}
.crayon-image{

    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 3%;

}
.image {
    width: 100%;
    height:100% ;
    display: none;
    text-align: center;
    border-radius: 2%;
    
}

.image.active {
    display: block;
}

.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* زر القائمة عند العرض */
.navigation-menu.show {
    display: block;
}
/* إخفاء الصور الافتراضية */
.image-set-1, .image-set-2 {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* الحاويات */
.image-container {
    width: 400px; /* عرض الحاوية */
    height: 400px; /* ارتفاع الحاوية */
    margin: 20px auto; /* توسيط الحاوية */
    position: relative; /* لضمان عرض الصور فوق بعضها */
    overflow: hidden; /* إخفاء الصور الزائدة */
}

.image-container img {
    position: absolute; /* الصور مكدسة فوق بعضها */
    top: 0;
    left: 0;
}
/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}
@media screen and (max-width: 768px) {
    .carousel {
        width: 100%;
        height: 100%;
    }
    .corouse{
        width: 100%;
        height: 100%;
    }
    .body{
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .carousel {
        width: 100%;
        height: 100%;
    }
    .corouse{
        width: 100%;
        height: 100%;
    }
    .body{
        font-size: 14px;
    }
}
@media screen and (min-width: 1025px) {
    .carousel {
        width: 100%;
        height: 100%;
    }
    .corouse{
        width: 100%;
        height: 100%;
    }
    .body{
        font-size: 14px;
    }
}