body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: #8ece91;
    display: flex;
    justify-content: space-between; /* توزيع العناصر على الحواف */
    align-items: center;
    padding: 10px;
    position: relative;
    z-index: 2;
}

.logo img {
    height: 50px; /* ارتفاع الشعار */
    width: 50px;
    border-radius: 50%;
    padding-left: -20px;
}

.menu-icon {
    font-size: 30px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    display: none; /* إخفاء الأيقونة في الشاشات الكبيرة */
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-list li {
    padding: 15px;
}

.nav-list a {
    font-size: 30px;
    color: white;
    text-decoration: none;
}

.slider {
    height: 200px; /* ارتفاع السلايدر */
}


/*   بداية جزءالاسليدر          */ 


.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("../img/header.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 50px;
    margin-top: -75px;
}

.slider-content {
    text-align: center;
}

.circle {
    width: 400px;
    height:400px;
    border-radius: 50%;
    background-color: #d5ebd6;
    color: #2f4f4f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



h1{
    font-size: larger;
    line-height: 1.8;
}

.button {
    /*margin-top: 10px;*/
    padding: 10px 20px;
    margin-top:  70px;
    background-color: #b1d6a1;
    color: #111111;
    text-decoration: none;
    border-radius: 5px;
    border-style: outset;
}


/*   نهاية جزءالاسليدر          */ 



/*    start first section */


.container {
    display: flex;
    flex-wrap: wrap; /* لجعل الأقسام تتكدس في الشاشات الصغيرة */
}

.left-section, .right-section {
    flex: 1; /* يجعل كلا القسمين بنفس العرض */
    padding: 20px;
}

.left-section img {
    max-width: 100%; /* يجعل الصورة تتناسب مع حجم القسم */
    height: auto; /* يحافظ على نسبة الأبعاد للصورة */
}



.right-section   h1{
    font-size: 40px;
    text-align: center;
}

.right-section p{
    font-size: 25px;
    padding-top: 50px;
    margin: 10px auto; 
    text-align: justify;
    color: #030303a8;
    direction: rtl;
}

/*  end first section  */



/*     start secand section      */
.main-title {
    text-align: center; /* مركز العنوان الرئيسي */
    margin: 20px 0; /* مسافة فوق وتحت العنوان */
}


.container_sec2{
    display: flex;
    flex-direction: row; /* ترتيب الأقسام في صف */
    flex-wrap: wrap; /* لجعل الأقسام تتكدس في الشاشات الصغيرة */
    justify-content: space-between; /* توزيع الأقسام بالتساوي */
}

.main-title   h1{
    font-size: 50px;
    color: #809c75;
    text-align: center;
    padding-bottom: 20px;
}
.section {
    flex: 1; /* يجعل كل قسم يشغل نفس العرض */
    padding: 20px;
    box-sizing: border-box; /* لحساب الحشوة في العرض */
    text-align: center;
}


.lleft-section, .rright-section {
    flex-basis: 30%; /* عرض ثابت للقسمين الجانبيين */
}

.mmiddle-section {
    flex-basis: 40%; /* عرض أكبر للقسم الأوسط */
}

h2 {
    font-size: 20px; /* حجم الخط للقسمين الجانبيين */
    color: #4db452a8;
}

.mmiddle-section h2 {
    font-size: 20px; /* حجم أكبر للقسم الأوسط */
}




/*  end secand section  */



.border{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;

   }


.fr_sec  {
    flex: 1;
    width: 100%;
    border: #1c410d;
}

.right_part, .left_part{
    flex: 1;
    display: flex;
    flex-direction: column; /* تغيير الاتجاه ليكون عمودي */
    align-items: center;
    text-align: center; /* لضبط محاذاة النصوص */
 }
.right_part  .secd_h1{
    width: 50%;
    font-size: 35px;
    font-weight: bold;
    margin: 10px  auto;
    padding: 30px ;
    color: #809c75;
    text-align: center;
}


.right_part  p , .left_part p{
    width: 60%;
    font-size: 25px;
    margin: 95px 30px; 
    padding: 5px   40px;
    text-align: justify;
    color: #030303a8;
    direction: rtl;
    inset-inline-start: -30px;
}
.left_part {
    text-align:justify;
    font-size: 17px;
    direction: ltr;
    float: left;
}


.left_part .imag_rd , .right_part .imag_rd{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 10px 0; /* إضافة مسافة بين الصورة والفقرات */
    border-radius: 50%; /* يجعل الزوايا دائرية */
}

.sec_section{
    margin: 20px 20px;
    min-height: 600px;
}
/**/

/*  ====================================*/

/*  ذيل الصفحة بداية */
footer {
    text-align: center;
    background-color: #b1d6a1;
    color: #333;
   padding: 20px;
    min-height: 60px;
  
    
}


/* ==============================================*/
/*      story      */

/*    نهاية ذيل الصفحة   */
@media (max-width: 768px) {
    .menu-icon {
        display: block; /* إظهار الأيقونة في الشاشات الصغيرة */
    }
    .nav-list {
        display: none; /* إخفاء القائمة في الشاشات الصغيرة */
        flex-direction: column;
        position: absolute;
        top: 60px; /* تحديد موضع القائمة */
        right: 0;
        background-color: #8ece91; /* خلفية القائمة */
        width: 100%; /* عرض القائمة كامل */
    }
    .nav-list.active {
        display: flex; /* إظهار القائمة عند تفعيلها */
    }

    .left-section, .right-section {
        flex-basis: 100%; /* يجعل كل قسم يشغل عرض الشاشة بالكامل */
        text-align: center; /* مركز النص في الشاشات الصغيرة */
    }


    .section {
        flex-basis: 100%; /* يجعل كل قسم يشغل عرض الشاشة بالكامل */
        text-align: center; /* مركز النص في الشاشات الصغيرة */
    }
}
