*{
    box-sizing: border-box;
        margin: 0;
        padding: 0;
    
    }
    
    body {
        font-family: "Cairo", sans-serif;
        line-height: 1.5;
        overflow-x: hidden;
        overflow-y: auto; 
        direction: rtl;
 
      }
   
    
    /* ✅✅✅ ناف بار ✅✅✅ */
    .navbar {
        color: white;
        padding: 10px 0;
        text-align: center;
 background: linear-gradient(135deg,#556B2F , #A1865E,#FDBE34 ); 
        height: 10vh;
        display: flex;
        justify-content: center; 
        align-items: center; 
        text-align: center; 
    
    }
    .navbar-container {
        width: 95%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .navbar .numbers {
        flex: 1;
        text-align: right;
    }
    .phone-icon1 {
        text-decoration: none;
        color: white;
        display: flex;
        align-items: center; 
        justify-content: center; 
        gap: 8px;
        border: 2px solid white;
        border-radius: 8px;
   margin:5px;
   padding: 5px;
    }
    
    .phone-icon1 i {
        color: white;
     
    }
    
    
    .navbar .spacer {
        flex: 1;
    }
    
    .navbar .social {
        flex: 1;
        text-align: left;
    }
    
    .navbar .social i {
        margin-left: 10px;
        cursor: pointer;
    }
    .facebook{
        display: inline-flex;
         justify-content: center; 
        align-items: center;
        background-color:#fff  ; 
        padding: 10px;
         border-radius: 8px;
         width: 30px;
         height: 30px;}
         .facebook .fa-facebook{
            color:#1877F2 ;
            font-size: 25px;
        } 
        .whatsapp .fa-whatsapp{
            color:#ffffff ;
            font-size: 25px;
            
        }
        .whatsapp{
            display: inline-flex;
             justify-content: center; 
             align-items: center;
             background-color: #25D366 ; 
             padding: 10px; 
              border-radius: 8px;
             width: 30px;
             height: 30px;
         }
    
    @media (max-width: 760px) {
  .navbar {
    height: auto; 
    padding: 15px 0;
    text-align: center;
  }

  .navbar-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar .numbers,
  .navbar .spacer,
  .navbar .social {
    width: 100%;
    text-align: center;
  }

  .phone-icon1 {
    justify-content: center;
    width: 100%;
    padding: 8px;
  }

  .navbar .social {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 320px) {
  .phone-icon1 {
    font-size: 14px;
  }

  .facebook .fa-facebook,
  .whatsapp .fa-whatsapp {
    font-size: 20px;
  }
}

    /* ✅✅✅ الهيدر ✅✅✅ */
    .header {
        height: auto;
/* background: linear-gradient(135deg, #3B857B, #B0D9D2, #71B3A9,   #E5F4F2); */
 background: linear-gradient(135deg,#556B2F , #A1865E,#FDBE34 ); 

        color: #ffffff;
        box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.8); 
        position: relative;
        z-index: 10;
        display: flex;
        justify-content: center; 
        align-items: center; 
        text-align: center; 
    }
    
    .header-container {
        width: 90%;
        max-width: 1400px; 
        display: flex;
        justify-content: space-between;
        align-items: center; 
        gap: 20px;
    }
    
    .header .logo img {
        width: 75px;
        height: auto;
    }
    
    .header .pages a {
        margin: 0 10px;
        text-decoration: none;
        color: #ffffff;
        font-weight: bold;
    }
    
    .header .company-name {
        font-size: 20px;
        font-weight: bold;
        color: #ffffff;
    }
    
    /* ✅✅✅ زر التجول  ✅✅✅ */
    .menu-btn {
        display: none;
        font-size: 24px;
        cursor: pointer;
        background: none;
        border: none;
    color: #ffffff;
    }

    /* ✅✅✅ القائمة الجانبية✅✅✅ */
  .off-canvas {
        position: fixed;
        top: 0;
        right: -250px;
        width: 270px;
        height: 100%;
 background: linear-gradient(135deg,#556B2F , #A1865E,#FDBE34 ); 
        box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.8); 
        color: rgb(255, 255, 255);
        padding: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 200;

    }
    
    .off-canvas a {
        display: block;
        color: white;
        text-decoration: none;
        margin: 15px 0;
        font-size: 17px;
    }
    
    .off-canvas a:hover {
        color: #9b5de5;
    }


     .close-container {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid white;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.3s;
        text-align: center;
    }
    
   
    .close-btn {
        font-size: 22px;  
        font-weight: bold;
        color: white;
        /* display: flex; */
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }


/*   */
.offcanvas-dropdown {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
 /* background: linear-gradient(135deg, #3B857B, #B0D9D2, #71B3A9,   #E5F4F2); */
 background: linear-gradient(-135deg, #FDBE34, #A1865E, #1E4D7D);

    border-radius: 5px;
    overflow: hidden;
    text-align: right;
    pointer-events: auto; 
    max-height: 400px; 
    overflow-y: auto; 
    cursor: pointer;
    font-size: 18px;
    color: white;
    text-decoration: none;
    width: 230px;
}

.offcanvas-dropdown li {
    padding: 10px;
    border-bottom: 1px solid #555;
}

.offcanvas-dropdown li a {
    text-decoration: none;
    color: white;
    display: block;
}

/*  */
.offcanvas-dropdown.show {
    display: block;
}


.dropdown {
    position: relative;
    display: inline-block;
    z-index: 200;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
 background: linear-gradient(135deg,#556B2F , #A1865E,#FDBE34 ); 
    list-style: none;
    padding: 0;
    margin: 0;
    width: 220px;
    display: none; 
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
}

.dropdown-menu li {
    border-bottom: 3px solid;
        border-image: linear-gradient(135deg, #556B2F , #A1865E,#fcac00) 1;

}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background: #20073e;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


/* تحكم في القائمة الفرعية */
.sub-dropdown {
    position: absolute;
    top: 0;
    right: 100%; /* يظهر بجانب العنصر الأب من اليمين */
    background: linear-gradient(135deg, #556B2F, #A1865E, #FDBE34);
    list-style: none;
    padding: 0;
    margin: 0;
    width: 220px;
    display: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
    z-index: 300;
  }
  
  .sub-dropdown li {
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, #556B2F, #A1865E, #fcac00) 1;
  }
  
  .sub-dropdown li:last-child {
    border-bottom: none;
  }
  
  .sub-dropdown li a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .sub-dropdown li a:hover {
    background: #20073e;
  }
  
  /* إظهار القائمة الفرعية عند المرور بالماوس */
  .has-submenu {
    position: relative;
  }
  
  .has-submenu:hover .sub-dropdown {
    display: block;
  }
  
  .off-canvas .sub-dropdown {
    position: static;
    width: 100%;
    display: none;
    background: linear-gradient(-135deg, #FDBE34, #A1865E, #1E4D7D);
    border-radius: 0;
    box-shadow: none;
    margin-right: 15px;
    padding-right: 10px;
  }
  
  .off-canvas .sub-dropdown.show {
    display: block;
  }
  
  .off-canvas .has-submenu > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  

/* main section */
.main-section {
 background: linear-gradient(135deg,#556B2F , #A1865E,#FDBE34 ); 
    padding: 20px;
    height: 78vh; 
    display: flex;
    flex-direction: column;
    justify-content: space-around; 
    align-items: center;
    text-align: center;
    color: rgb(255, 255, 255);
}


.title {
    margin: 10px 0;
    width: 95%;
    color: rgb(255, 255, 255);
    line-height: 1.6;
}


.imgh {
    display: flex;
    justify-content: center;
    margin: 15px 0; 
}

.imgh img {
    width: 95%;
    max-width: 700px; 
}

/* تحسين الأزرار */
.hero-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px; 
}

.buttons {
    display: flex;
    gap: 20px;
}
/*  */
.title h2 {
    margin-bottom: 10px; 
}

.title p {
    margin-top: 10px; 
    font-size: 23px;
    padding: 5px; 
}
.button-1 i{
margin:5px ;
font-size: 20px;
}

.button-1 {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    color: white;
    background-color: #091f5c;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    margin: 10px;
    position: relative;
    z-index: 1;
    border: 3px solid transparent;
}

/* .buttons {
    text-align: center; 
} */

.button {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 50px;
    font-size: 16px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    margin: 10px;
    position: relative;
    z-index: 1;
    border: 3px solid transparent;
    text-align: center;
    gap: 8px;
}

.button i {
    font-size: 20px;
}

.call {
    background-color: #0d6efd;
}

.whatsapp {
    background-color: #25D366;
}


.button::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    background-size: 200% 200%;
    z-index: 1;
    animation: border-animation 1s linear infinite;
    pointer-events: none;
    -webkit-mask:linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    padding: 3px;
}


@keyframes border-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* main section */

/* footer */

    .main-footer {
 background: linear-gradient(135deg,#556B2F , #A1865E,#FDBE34 ); 
  color: white;
  padding: 40px 20px 20px;

}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-section h2, .footer-section h3 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-section img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.footer-section p {
  line-height: 1.6;
  font-size: 14px;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section a:hover {
  color: #3B857B;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #ffffff;
  border-top: 1px solid #3B857B;
  margin-top: 30px;
}

    .floating-icons {
        position: fixed;
        bottom: 20px; 
        right: 20px; 
        display: flex;
        flex-direction: column;
        gap: 10px; 
        z-index: 1000; 
    }
    
    .floating-icons a {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #25D366; 
        color: #fff;
        font-size: 24px;
        text-decoration: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }
    
    .floating-icons .phone-icon {
        background-color: #0d6efd; 
    }
    
    .floating-icons a:hover {
        transform: scale(1.1);
    }
    
    /* ✅✅✅✅✅✅ */

@media (max-width: 768px) {
    .floating-icons {
        right: 10px;
        bottom: 10px;
    }
    .navbar {
        justify-content: space-between;
    }
    .navbar .spacer {
        display: none;
    }
    .header {
        justify-content: space-between;
    }
    .header .pages {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    
.dropdown-menu {
    width: 100%;
}

.title {
    margin-bottom: 2px;
    text-align: center;
    font-size: 16px;
    color: rgb(255, 255, 255);

}

.title h2 {
    margin-top: 1px; 
    margin-bottom: 1px; 
    font-size: 18px;
}

.title p {
    margin-top: 2px; 
    font-size: 14px; 
    padding: 5px;
}
.header .logo img {
    width:50px ;
    height: auto;
}
.hero-buttons {
    display: none;
  }


}

    /* ✅✅✅✅✅✅ */
@media (max-width: 480px) {
    .main-section {
        padding: 15px;
    
    }

    .title {
        max-width: 90%;
    }

    .imgh img {
        width: 90%; 
    }

    .buttons {
       
        gap: 10px;
    }
    .button {
        display: inline-flex; 
        align-items: center;
        justify-content: center;
        width: 120px;
        height: 50px;
        font-size: 14px;
        color: white;
        border-radius: 8px;
        text-decoration: none;
        cursor: pointer;
        margin: 5px;
        position: relative;
        z-index: 1;
        border: 1px solid transparent;
        text-align: center;
        gap: 2px;
    }
    .button i {
        font-size: 16px;
        padding: 3px;
    }

   .fab.fa-whatsapp{
    color:#ffffff ;
    font-size: 18px;
    padding: 3px;
    }
    .hero-buttons {
        display: none;
      }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .footer-section {
    min-width: auto;
    flex: 1 1 100%;
    text-align: center; 
  }

  .footer-section img {
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
    display: block;
  }

  .footer-section p,
  .footer-section ul li {
    font-size: 13px;
    color: #ffffff;
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 15px;
    margin-top: 20px;
    text-align: center; 
  }
}
