body{
    padding: 0;
    margin: 0;
    width: 100%;
}
.container_2{
    background: #fff; 
    width: 100%; 
    padding: 0px;
    margin: 0px;
}
.container {
    width: 90%;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px auto;
    padding: 20px; 
}
.vitana{
    font-family: 'Playfair Display', serif;
    text-align: center;
    padding: 10px;
    background-color: #64004b;
    color: rgb(0, 255, 13);
    border-radius: 20px;
    margin: 10px;
    margin-top: 163px;
    width: 97%;
}

.moringa-container, .moringa-container1, .container {
    width: 97%;
}

.moringa-container1{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
  
.w-page {
    position: relative;
    display: inline-block;
  }

.image01 {
    display: block;
    width: 100%; /* لضمان أن الصورة تعرض بحجمها الطبيعي */
    height: auto;
}
  

.text-overlay {
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    height: 100%;
    margin: 0px; 
    background-color: rgba(146, 146, 146, 0.336); 
    color: white;
    font-size: 3vw;
    padding: 0px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; /* إذا كنت تريد توسيط النص */
}
  
#productName{
    font-size: 3vw;
    color: #a80084;
}  
.navigation {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 30px;
height: 50px;
padding: 8px;
background-color: white;
color: black;
border: none;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 10;
font-size: 50px;
transition: background 0.3s;
}

.navigation:hover {
background: gray;
}

.navigation.left {
left: 10px;
}

.navigation.right {
right: 10px;
}
.images {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 50%;
}


.main-image {
    width: 80%;
    height: 500px;
    object-fit: cover;
    
    border-radius: 8px;
}
.thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.thumbnails img:hover {
border-color: #007bff; /* تغيير لون الإطار عند التمرير */
}

.thumbnails img {
border: 3px solid transparent; /* عدم وجود إطار افتراضي */
transition: border-color 0.3s ease; /* سلاسة التأثير عند تغيير الإطار */
}

.thumbnails img.active {
border: 3px solid #007bff; /* الإطار الأزرق عند النقر */
}
.description {
    width: 45%;
    text-align: left;
}
.product-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.product-description {
    margin-bottom: 20px;
    color: #555;
}
.tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.tab {
    cursor: pointer;
    padding: 10px 20px;
    background: #f1f1f1;
    border-radius: 5px;
    transition: background 0.3s;
}
.tab.active {
    background: #007bff;
    color: #fff;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-content p {
    line-height: 1.6;
    color: #333;
}

.moringa-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    color: white; 
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-section{
    flex: 1;
    width: 35%;
    max-width: 35%;
    margin-right: 20px;
}

      
.text-section h3 {
    font-size: 2em;
    margin-bottom: 10px;
}
    
    
.text-section p {
    font-size: 1em;
    line-height: 1.6;
}

video{
    width: 60%;
}

.image_m {
    position: relative; 
    width: 100%;  
}
.image_m img{
    width: 100%;
    display: block;
}


.plante{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}
.plant1{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 40%;
    margin-top: 70px;
   
}
.plant1 div{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 100px;
    gap: 40px;
}
.plant1 img{
 width:40%;
 height: auto;
}

.image-section {
flex: 1;
max-width: 45%;

}

.image-section1{
    width: 100%;
    max-width: 100%;
}
.image-section1 img{
    width: 100%;
    max-width: 100%;
}

.image-section1 img {
width: 100%;
height: 100%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.titer{
padding: 5px;
text-align: center;
color: #f5f5f5;
font-size: 2vw;
}
.vitamin{
border: 1px solid gray;
background-color: #ddd;
padding: 5px;
display: flex;
align-items: center;
gap: 5px;
}
.vitamin, .titer{
    width: 100%; 
}
.moringa {
display: flex;
align-items: center;
flex-direction: column;
text-align: center;
border-right: 1px solid gray ;
width: auto;
height: 400px;
}
.moringa2 {
display: flex;
align-items: center;
flex-direction: column;
text-align: center;
width: auto;
height: 400px;
}
.moringa, .moringa2{
    width:25% ;
    height: auto;
}
.moringa1 {
display: flex;
justify-content: space-between
}

.moringa, .moringa2{
    width: auto;
    gap: 5px;
    padding: 0px;
}
.vit, .Metals{
text-align: left;
flex: 1; /* لجعل العناصر بنفس الحجم */
margin: 0 10px;
}
.vit p, .Metals p{
font-size: 0.9vw;
}
.use{
    margin: 20px;
    padding: 0px;
    width: 96%;
    text-align: center;
    
}
.use p{
    font-size: 1vw;
    
}
.titer h1{
    font-size: 3vw;
}
.use{
margin: 20px;
padding: 10px;
text-align: center;
}

@media (max-width: 768px) {
    .container_2{
      width: 100%;
      margin: 0;
      padding: 0;
    }
    .vitana {
        font-family: 'Playfair Display', serif;
        font-size: 2.5em;
        margin: 0px;
        padding: 5px;
        border-radius: 0px;
        width: 97.5%;
        margin-top: 100px;
        background-color: #a80084;
    }
    .moringa-container, .moringa-container1{
        width: 94.5%;
    }
    .container{
       width: 90%;
    }
    .vitana h1{
        font-size: 2.4em;
    }
    .w-page {
     height: 200px;
    }
.w-page img {
    width: 100%; /* تأكد من أن الصورة تتناسب مع العنصر */
    height: 70%;
}
.w-page h3 {
    font-size: 12px;
    color: green;
}
    

.container {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    width: 100%;
}

.images {
    width: 95%;
}

.main-image {
    height: 250px; 
}

.thumbnails img {
    width: 35px;
    height: 35px;
}

.description {
    width: 94%;
    text-align: center; 
    margin-left: -5px;
    padding: 5px;
}
.tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
margin: 15px;
}
.tab {
cursor: pointer;
padding: 7px 15px;
background: #f1f1f1;
border-radius: 5px;
transition: background 0.3s;
}
.moringa-container, .moringa-container1 {
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.text-section, .image-section, .image-section1 {
    text-align: center;
    max-width: 100%;
    margin: 10px 0;
}

.text-section h1, .text-section h2 {
    font-size: 6em;
}

.text-section h3 {
    font-size: 4em;
}
.text-section p {
    font-size: 3em;
}
#benefitsTab{
    text-align: left;
}

.plante{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.plant1{
    width: 90%;
}
.plant1 p {
    font-size: 3em;
} 
.titer h1{
 font-size: 5em;
}
.titer{
    width: 97.5%;
}
.vitamin {
    flex-direction: column;
    gap: 10px;
    width: 97%;
}
.moringa h3, .moringa2 h3{
    font-size: 3.5em;
}
.moringa1{
 width: 100%;
 display: flex;
 justify-content: center;
 
}
.moringa, .moringa2 {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid gray;
    margin-bottom: 10px;
}
.vit h5, .Metals h5{
    font-size: 3em;
}
.vit, .Metals {
    text-align: center; /* حجم خط أكبر قليلاً */
}

.vit p, .Metals p {
    font-size: 3em; /* حجم خط أكبر قليلاً */
}
.use h4{
  font-size: 4em;
}
.use p{
  font-size: 3em;
  color: #214e74;
}
.use {
    width: 95%;
    margin: 0px;
}
}

@media screen and (max-width: 768px) {
    
    .w-page {
        height: 215px;
        display: flex;
        align-items: center;

    }
    .img1 img{
        width: 90%;
        margin-top: 10px;
    }
    .image01{
        display: block;
        width: 100%;
        height:300px;
        margin: 0px;
    }
    
    .text-overlay {
        font-family: 'Playfair Display', serif;
        position: absolute;
        transform: translate(-50%, -50%); 
        color: white;
        font-size: 1em;
        top: 50%;
        left: 50%;
        width: 100%; 
        height: 150px;
        padding: 5px;
        text-align: center;
    }
    .text-overlay h1{
        margin-bottom: 90px;
        font-size: 20px;
    }
    .main-image {
    height: 270px; 
}
.nav-list {
        display: none; 
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 100%;
        right: 36px;
        width: 88%;
        height: auto;
        max-height: 70vh;
        overflow-y: auto;
        border: 2px solid green;
        border-radius: 5px;
        z-index: 1001;
    } 
    video{
    width: 95%;
    margin-top: 10px;
}
.text-section{
    width: 95%;
    max-width: 95%;
}
    .moringa, .moringa2 {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid gray;
    margin-bottom: 10px;
}
.moringa-container, .moringa-container1{
        width: 100%;
        padding: 0;
    }
} 