
@font-face {
  font-family: "MeaCulpa";
  src: url("../fonts/MeaCulpa-Regular.woff2") format("woff2"),
       url("../fonts/MeaCulpa-Regular.woff") format("woff");
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}



body{
  position: relative;
    /* font-family: "MeaCulpa", sans-serif; */
     font-family: "Roboto", sans-serif;
      background-color: #f2f2f2;
      /* min-height: 100vh; */
}


.whatsapp-float {
    position: fixed;
    bottom: 20px; /* المسافة من تحت */
    right: 20px;  /* المسافة من اليمين */
    z-index: 1000; /* عشان يكون فوق كل العناصر */
}

.whatsapp-float a{
     display: flex;
    align-items: center;
    justify-content: center;
      width: 60px;
    height: 60px;
    background-color: #25d366; /* لون واتس أخضر */
    border-radius: 50%;
    color: white;
    font-size: 55px;
    box-shadow: 0 0px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.whatsapp-float a:hover {
   background-color: rgb(19, 100, 95);
}

.social-float {
    position:fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.main-btn {
  border-style: none;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color:rgb(204, 86, 86);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    cursor: pointer;
    box-shadow: 0 0px 20px rgba(0,0,0,0.3);
    transition: background-color 0.2s;
  }

 .main-btn:hover{
  background-color:rgb(197, 21, 21);
 }

.social-btns {
    position: absolute;
    bottom: 80px; /* المسافة فوق الزر الرئيسي */
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
     max-height: 0;
    pointer-events: none;
    transition: opacity , max-height 0.3s ease;
}

.social-btns a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition:box-shadow 0.3s ease ;
}

/* ألوان الأزرار */
.social-btns a:nth-child(1) { background-color: #3b5998; } /* فيسبوك */
.social-btns a:nth-child(1):hover{
   box-shadow: 0px 0px 20px rgba(3, 122, 250, 0.967) ;
}

.social-btns a:nth-child(2) { background-color: #E4405F; } /* انستجرام */
.social-btns a:nth-child(2):hover{
   box-shadow: 0px 0px 20px #fe0404;
}


/* حالة الظهور */
.social-float.active .social-btns {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    max-height: 150px;
}



.lang-logo, .nav-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  border-bottom: 1px solid  #ccc ;
   margin: 0px auto;
   background-color: #f2f2f2;
    padding: 0px 30px;
}

.logo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2{
  font-family: "MeaCulpa", sans-serif;
  color: #ce8d1d;
}
.logo img, .logo-footer{
  width: 88px;
  height:88px
}
.search-box{
  position: relative;
  width: 250px;
}
#search{
  border-style: none;
  padding: 10px 30px;
  width: 100%;
  border-radius: 10px;
  font-size: 20px;
  color:rgb(19, 100, 95);
  outline: none;
  background-color: #f5f5f5;
   border: 1px solid #ccc;
}
.search-box button{
  position: absolute;
  top:10px;
  left:0px;
  cursor: pointer;
   margin: 5px;
    color: #999;
    border: none;
    border-radius: 50%;
    background-color: transparent;
}

.custom-select {
  position: relative;
  width: 130px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.custom-select .selected {
  background-color: #f2f2f2;
  padding: 8px 30px 8px 12px;
  border: 2px solid #ccc;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s ease;
  text-align: left; /* خلي النص من ناحية الشمال */

}

.custom-select .selected::after {
  content: "▼ |";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #333;
}

html[dir="ltr"] .custom-select .selected::after{
  content: "| ▼";
}

.custom-select .selected:hover {
  background-color: #efcf96cf;
  border-color: #f7a488;
  /* transform: scale(1.05); */
}

.custom-select .options {
  display: none; /* تختفي افتراضي */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding:10px 0px;
  background-color: #f2f2f2;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-top: 4px;
  list-style: none;
  padding: 0;
  z-index: 1001;
}

.custom-select .options li {
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
   text-align: left;
}
.custom-select .options li a{
  text-decoration: none;
}

.custom-select .options li:hover {
  background-color: #efcf96cf;
  color: #333;
}

.nav-bar{
  position: relative;
  z-index: 1000;
}

.nav-list{
    list-style: none;
      display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
   
}

.nav-list li{
  padding: 5px 10px;
  border-radius: 8px;
}

.nav-list li a{
   
    text-decoration: none;
    background-color: transparent;
    color: rgb(19, 100, 95);
    font-size: 20px;
    padding: 5px;
    cursor: pointer;

}

.nav-list li:hover{
background: #f7e4c3f9;
border:2px solid #ccc;

}

.dropdown {
  position: relative;
}

.dropdown span{
  display: inline-block;
  transition: transform 0.3s ease;
   margin-right: 6px;
}

.dropdown.open span{
 transform: rotate(180deg);
}
.dropdown.open .dropdown-menu {
   max-height: 500px;/* رقم كبير يكفي المحتوى */
}
.dropdown-menu {
  display:block;
  position: absolute;
  top:38px;
  right:-15px; /* مناسب للعربي */
  background:  #f5f5f5;
  border-radius: 8px;
  list-style: none;
   border: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* ظل ناعم */
  padding: 0px 0;
  min-width: 150px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.dropdown-menu li a:hover {
  background: #f7e4c3f9;

}

.dropdown-menu li a{
  /* background-color: red; */
  display: inline-block;
  width:100%;
}

.whatsapp-nav,.facebook-nav,.instagram-nav{
   text-decoration: none;
   border-radius: 50%;
   padding: 1px;
     margin: 5px;
    color: #f2f2f2;
    font-size:20px; 
    width:20px;
    height:20px;
    text-align: center;
    background-color: rgb(19, 100, 95);
}

ul{
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer{
  background:#f2f2f2;
  padding:40px 15px 20px;
  border-top: 2px solid #ccc;
}

.footer-container{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:30px;
  text-align:center;
}

.footer h3, .footer h4{
  color: rgb(19, 100, 95);
  margin-bottom:5px;
}

.footer h3{
  font-family: "MeaCulpa", sans-serif;
}
.footer p, 
.footer-links a{
  color:#666;
  font-size:16px;
  text-decoration:none;
  display:block;
  margin:6px 0;
}

.footer a:hover{
  color:#f68e93;
}

.footer-copy{
  text-align:center;
  margin-top:30px;
  font-size:14px;
  color:#999;
}


.mobile-screenBar{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: space-between;
  align-items: center;
   padding: 10px 20px;
  box-sizing: border-box;
   height: 60px;
   z-index: 1000;
   width: 100%;
   background-color: #f2f2f2;
}

header.search-mobile{
  display: flex;
  justify-content: center;
 
}

.burger-back-btn{
  position: absolute;
  top: 20px;
   left: -20px;
  z-index: 1600;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;

}

html[dir="ltr"] .burger-back-btn {
    left:440px;
}

.burger-menu .fa-bars{
  font-size: 25px;
}

.burger-list,
 .burger-dropdown-menu,
 .options-lang{
  flex-direction: column;
 
}

.burger-list{
   position: fixed;
  top: 60px;
  right: -100%;  /* مخفية برا الشاشة*/
  width: 70%;    /* نص الشاشة */
  height: 100vh;
  background: #f5f5f5;
  
  transition: right 0.3s ease;
  z-index: 1500;
}
/* 
.burger-list.active {
  right: 0;
} */

html[dir="ltr"] .burger-list.active {
    left: 0;
    right: auto;
}

html[dir="rtl"] .burger-list.active {
    right: 0;
    left: auto;
}

.burger-list li{
  padding: 15px 15px;
  width: 100%;
  color:rgb(19, 100, 95);
 
}

.burger-list li a{
  text-decoration: none;
   width: 100%;
  color:rgb(19, 100, 95);
  border-bottom: 1px solid #ccc;
  display:block;
   
}

.burger-social li a{
 width: 30px;
 height:30px;
 
 color:#fff;

}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.options-lang li{
  cursor: pointer;
  
}

.lang-btn{
  cursor: pointer;
  

}
.mobile-screenBar .burger-dropdown-menu, .mobile-screenBar .options-lang {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-screenBar .burger-dropdown-menu.active, .mobile-screenBar .options-lang.active {
  max-height: 500px;
}

.burger-dropdown span {
  transition: 0.3s;
}

.burger-dropdown.active span {
  transform: rotate(180deg);
}


#search-mob{
  flex:1;
  border: none;
  border: 1px solid #ccc;
  color:rgb(19, 100, 95);
  outline: none;
  background-color: #f5f5f5;
  border-radius: 10px;
   padding: 8px  25px;
}




.search-icon-mob{
  padding: 5px;
  font-size: 25px;
  color:rgb(19, 100, 95);
  cursor: pointer;
}
.search-mob-box{
  position: fixed;
  top: 60px;
  left: 0;
  width: 75vw;
  height: 60px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 10px;
  transition: right 0.3s ease;
  z-index: 1600;
   box-sizing: border-box;

  transform: translateX(-200%);   /*مخفي بره الشاشة*/
  transition: transform 0.3s ease;

}

html[dir="ltr"] .search-mob-box{
right: 0;
left: auto;
}


.search-mob-box.active{
  transform: translateX(0);
}

.close-search{
 border-style: none;
  padding: 5px 8px;
  border-radius: 10px;
  font-size: 20px;
  border: 1px solid #ccc;
}


.search-mob-box .mob-search-btn{
  position: fixed;
  top:18px;
  left:60px;
  padding: 5px;
  border: none;
  border-radius: 50%;
  background-color: transparent;

}

html[dir="ltr"] .search-mob-box .mob-search-btn{
right:60px;
left:auto;
}

.promo-bar{
  position: sticky;
  top:0;
  width:100%;
  background:#f4a261;
  color:#000;
  overflow:hidden;
  z-index:999;
}

.promo-track{
  display:flex;
  gap:60px;
  padding:10px 0;
  white-space:nowrap;
  animation: scrollPromo 30s linear infinite;
}

.promo-track span{
  font-size:15px;
  font-weight:600;
}

/* حركة التمرير */

@keyframes scrollPromo{
  from{
    transform:translateX(100%);
  }
  to{
    transform:translateX(-100%);
  }
}

/* responsive */

@media (max-width:700px){
  .promo-bar{
    position: sticky;
    top:60px;
    
  }
  .promo-track span{
    font-size:13px;

  }

}