   * 
{
    box-sizing: border-box;
}
   body {

          
            font-family:'Merienda', cursive;
            margin: 0;
            padding: 0;
            color: #333;
        }

     


header {

    display: flex;
    justify-content:space-between;
    height: 180px;
    align-items: center;
    padding: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Set the width to 100% for full-width on mobile screens */
    background: linear-gradient(to right, #0C522F,#279b37 );
    /* Adjust the colors in the gradient to achieve the desired effect */
}


/*header*/

.logo img {
    width: 165px;
    height: 135px;
    margin-left: 3px;
    border-radius: 10px; /* Add border radius for rounded corners *//* Add a subtle shadow for depth */
    transition: transform 0.3s ease-in-out;
    margin-top: 5px; /* Add a smooth transition effect on hover */
}

.logo img:hover {
    transform: scale(1.1); /* Increase size on hover for a subtle zoom effect */
}

.small-images img {
    width: 300px;
    height: 75px;
    object-fit: contain;
    margin-top: 15px; /* Adjust the margin-top to create space below the "jam" image */
}
.small-images img:hover {
  transform: scale(1.1); /* Scale up the image on hover */
 
}


.jam {
    margin-left:-100px;
    position: relative;
  
     /* Set position to relative to allow absolute positioning of the small image */
}
.jam img {
            width: 385px;
            height: 140px;
            margin-bottom: 40px;
            animation: moveUpDown 8s ease-in-out infinite; /* Adjust the duration and timing function as needed */
            margin-right:-5px;
        }

        @keyframes moveUpDown {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px); /* Adjust the vertical movement distance */
            }
        }


.small-images {
    position: absolute; /* Set position to absolute to position the small image within the "jam" container */
    bottom: 50px; /* Align the small image to the bottom of the "jam" container */
    left: 60%; /* Adjust left positioning */
    transform: translateX(29%);
    top: 96px; /* Center the small image horizontally within the "jam" container */
}

.header-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-right: 20px;
     /* Allow items to wrap to the next line */
}

.header-links a {/* Adjust spacing */
    margin-top: 120px; /* Adjust spacing */
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    border-radius: 20px;
    padding: 4px 16px;
    letter-spacing: 5px;
    transition: color 1s;
    font-size: 17px;
}

.header-links a:hover {
    color: #DA2E16;
}

.header-links a.clicked {
    background-color:#FFcC1D;
    color: #DA2E16;
}
.full-width-line {
    position: absolute;
    top: calc(22px + 158px); /* Adjust the height of the line as needed */
    left: 0;
    width: 100%;
    height: 6PX; /* Adjust the height of the line as needed */
    background-color: #DA2E16; /* Adjust the color of the line as needed */
}

    
 section {
    
            overflow-x: hidden;
            display: flex;
            max-width: 900px;
            margin: 20px auto;
            background-color: #fff;
            box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            opacity: 0; /* Add opacity transition */
            align-items: flex-start;
            justify-content: center;
            transform: translateX(50px); /* Initial translateY for a subtle upward motion */
            transition: opacity 1s ease-in-out, transform 1s ease-in-out;
             
        }

      section.visible {
    opacity: 1;
    transform: translateY(0);
      transform: translateX(0);
}


        section:hover {
            box-shadow: 0 0 9px rgba(0, 0, 0, 0.3);
        }

       
        #menu {
            width: 20%;
            border-right: 1px solid #ddd;
            padding-right: 40px;
            margin-top: 100px;
        }

        #products {
            flex: 1;
            padding-left: 0px;
        }

        ul {
           
            list-style: none;
            padding: 0;
            margin-left: 85px;
        }

        li {
            cursor: pointer;
            padding: 15px;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            margin-top:1px;
        }

        li img {
          
            margin-left: -70px;
            max-width: 110px;
            animation: topDownAnimation 5s ease-in-out infinite;/* Adjust the duration and timing function as needed */
            animation-fill-mode: both;
        }
     @keyframes topDownAnimation {
    0%, 100% {
        transform: translateY(0);

    }
    50% {
        transform: translateY(-22px); /* Adjust the distance as needed */
    }
}
.special-li img {
    max-width: 145px;
      margin-left: -100px; /* Adjust the max-width for the special li element */
}


       

        .general-image {
            margin-top: 60px;
            max-width: 100%;
            height: auto;
          
        }

        .general-image img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 20px auto;
            margin-top: -50px;
        }

       


h2 {
    font-size: 44px;
    font-weight: bold;
    color: #EB202D;
    padding-left: 30px;
    letter-spacing: 4px;
    word-spacing: 2px;
    

    /* Adjust color as needed */
}


/* English Text Style */
#english-text {
    margin-left: 20px;
    margin-top: -10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    font-style: italic; 
    letter-spacing: 1px;
}

/* Arabic Text Style */
#arabic-text {
    margin-top: -38px;
    font-family: 'El Messiri', sans-serif;
    font-size: 42px;
    color: #279b37;
    line-height: 1.6;
    text-align: left;
    word-spacing: 1px;
    margin-left:  130px;
    word-spacing: 2px;
    letter-spacing: 0.5px;
    
     font-weight: 500;
     line-height: 1.6;
    /* Add this line for italic style */
}
  footer {
  overflow: hidden;
}
.upper-section,
.lower-section {
  box-sizing: border-box; /* Include padding and border in the total width and height */
}

.upper-section {
  background: linear-gradient(to right, #0C522F,#279b37 );
  color: #fff;
  padding: 20px;
  text-align: center;
  width: 100%; /* Set the width to 100% for full width */
  height:125px; /* Adjust the height as needed */
}

.lower-section {
 background: linear-gradient(to right, #C70039,#FF0000) ; ; /* Red color for the lower section */
  padding: 3px;
  text-align: center;
  width: 100%; /* Set the width to 100% for full width */
  height: 50px; /* Adjust the height as needed */
}

.footer-content {
    position: relative;
   
  }
   .footer-content p {
    margin-top: 20px; /* Adjust the value as needed */
  }

  .small-imagesf {
    position: absolute;
    top:55px;
    right: 0;
  }

.small-imagesf img {
    width: 250px;
    height: 75px;
    object-fit: contain;

}
.logof img {
    width: 115px;
    height: 95px;
    margin-right: 1300px;
    /* Add border radius for rounded corners */
     /* Add a subtle shadow for depth */
    transition: transform 0.3s ease-in-out; /* Add a smooth transition effect on hover */
    margin-top:-78px;
    left:0;
}

.logof img:hover {
    transform: scale(1.1); /* Increase size on hover for a subtle zoom effect */
}
.scif {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scif lif {
  margin: 0 14px; /* Adjust spacing between icons */
}

.scif a img {
  width: 40px; /* Adjust icon size as needed */
  height: auto;
}

/* Add hover effect to social media icons if desired */
.scif a img:hover {
  opacity: 0.8;
}