* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-align:center;
} 
html {
  scroll-behavior: smooth;
}
body{
  direction: rtl; 
  background-color: var(--bg-color);
  transition: background 0.3s, color 0.3s;
}
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

:root{
  --main-color:#55565a;
  --bg-color: transparent;
  --p-text-color:#555;
  --opposite-text-color:#f3f3ef;
  --card-bg-color: #fff;
  transition: all 0.3s ease-in-out;
}
.container{
  width: 80%;
  margin: 0 auto;

}


/* noto-kufi-arabic-900 - arabic */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/noto-kufi-arabic-v21-arabic-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* ------------------ NAV BAR ------------------ */

.navigationbar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background-color: var(--main-color);
  padding: 15px;
  margin: 0 auto;
  position: fixed;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 99999;
}
.Brand {
  font-size:x-large; 
  font-weight: bolder;
  color:wheat; 
  margin-right: 20px;
}
.Tel{
  color:var(--opposite-text-color); 
  font-weight: bold;
  padding-top: 5PX;
  float: left; 
  text-decoration: none;
  font-size:1rem; 
}
.navigationbar-container{
  width: 95%;
}

body::before{
  content: '';
  display:block;
  height: 30px;
  background-color: transparent;
  margin: 0;
  padding: 0;
  border: none
}

.img-protect{
  pointer-events: none;
}




.menu{
  display: flex;
  flex-direction: column;
  padding-top:50px;
  background-color: #777;
  width: 100%;
  height: 100vh;
  border: none;
  cursor: pointer;
  position: absolute;
  display: none;
  transition: all 0.6s ease-in-out;
  z-index: 11;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #333;
}

.show {
    display: block;
  }



.toggle-dark,
.toggle-lang{
 width: 100%;
 height: 50px;
 font-size: 1.9rem;
 margin-top: 15px;
 border:1px solid #222;
 background-color: #555;
}

.toggle-dark:hover,
.toggle-lang:hover{
 background-color: #7ad892;
}


  



/* ------------------ HERO ------------------ */

.hero{
  width: 100%;
  background-color: transparent;
  margin: 0 auto;
  margin-top: 45px ;
  text-align: center;
  justify-content: center;
  align-items: center;
}

/* MAIN CARD */
.main-card{
  width: 85%;
  max-height: 395px;
  box-shadow: 2px 2px 9px 4px #cacaca;
  border: 10px solid #f8f6f6; 
  background-color: #f8f6f6;
  border-radius: 5%; 
  margin: 10px auto; 
  padding: 5px 5px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.main-card h1{
  font-family:Noto kufi Aranic Tahoma ;
  font-size: 2.65rem;
  font-weight: 250; 
  line-height: 1;
  max-height: 80px;
  width: 100%;
}
#main-card-p{
  font-family: 'Arial Narrow Bold', 
  sans-serif, Tahoma; 
  font-size: 1.55rem; 
  color:var(--p-text-color);
  max-height: 200px;
  overflow: auto;
}

.action{
  height: 120px;
}

.btn{
  max-width: 70%;
  margin: 0.75rem auto;
  padding:0.15rem;
  box-shadow: 2px 2px 5px 1px #cacaca;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color:var(--opposite-text-color);
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}


.call-btn {
  background-color: #0d6efd;
}
.call-btn:hover{
  background-color: #0a589e;
}



.whatsapp-btn {
  background-color: #1eaa69;
}
.whatsapp-btn:hover{
  background-color: #20995f;
}


.whatsapp-icon{
  width: 2.55rem;
  height:2.55rem;
}


/* SLIDER */

.slider-container{
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  position: relative;
  justify-content:left;
  height: auto;
}


.frame{
  display: flex;
  animation: sliding 20s infinite ease-in-out;
  min-width: 100%;
  display: inline-block;
  
}

.frame img {
  width: 100%;
  object-fit: cover; 
}

.frame .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: transparent;
  pointer-events: auto;
  user-select: none;
}


@keyframes sliding {
  0% {transform: translateX(0);} /* الصورة الأولى */
  2.5% {transform: translateX(0);} /* انتظار نصف ثانية */
  
  16.67% {transform: translateX(-100%);} /* الانتقال للصورة الثانية */
  19.17% {transform: translateX(-100%);} /* انتظار نصف ثانية */
  
  33.33% {transform: translateX(-200%);} /* الانتقال للصورة الثالثة */
  35.83% {transform: translateX(-200%);} /* انتظار نصف ثانية */
  
  50% {transform: translateX(-300%);} /* الانتقال للصورة الرابعة */
  52.5% {transform: translateX(-300%);} /* انتظار نصف ثانية */
  
  66.67% {transform: translateX(-400%);} /* الانتقال للصورة الخامسة */
  69.17% {transform: translateX(-400%);} /* انتظار نصف ثانية */
  
  83.33% {transform: translateX(-500%);} /* الانتقال للصورة الأخيرة */
  100% {transform: translateX(-500%);} /* إنهاء الدورة */
}






/* ------------------ ARTICLES ------------------ */
.services{
  width: 100%;
  height: auto;
  background-color: var(--main-color);
  padding-top: 10px;
  padding-bottom: 10px;
  overflow: hidden;
}

/* Accordion */
  .navigation {
	font-weight: 300;
	font-size: 1.2rem;
	max-width: 460px;
	min-width: 216px;
	margin: 0 auto;
	color: #696666;
}

.accordion,
.sub-accordion {
  margin: 0;
	padding: 0;
	list-style: none;
  transition: all 0.6s ease-in-out;
}
.accordion__item {
  background: #e7e7e7;
	border-radius: 20px;
	margin-bottom: 5px;
  overflow: hidden;
}

.accordion__item:nth-child(odd) > :first-child:not(.accordion__link_active) {
  color: #ffffff;
  background: #696666;
}
.accordion__link {
  font-weight: 500;
	font-size: 1rem;
	position: relative;
	color: #696666;
	text-decoration: none;
	border-radius: 20px;
	display: block;
	padding: 12px 50px 12px 20px;
}
.accordion__link:not(.accordion__link_active):after {
  position: absolute;
	content: "";
	border-top: 12px #57a63c solid;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	right: 22px;
	top: 50%;
	transform: translatey(-6px);
}
.accordion__link:not(.accordion__link_active):hover {
  opacity: .8;
  color: #fff;
  background: #B8B8B8;
}
.accordion__link:not(.accordion__link_active):hover:after {
  border-top: 12px #ffffff solid;
}

.sub-accordion {
  padding: 5px 20px;
  display: block;
  height: 0;
  overflow: hidden;
}
.sub-accordion__item {
  padding: 5px 0;
}

.accordion__link_active {
  color: #ffffff;
  background-color: #57a63c;   
}
.accordion__link_active:after {
  position: absolute;
	content: "";
	border-bottom: 12px #fff solid;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	right: 22px;
	top: 50%;
	transform: translatey(-6px);
}
.accordion__link_active + ul{
  display: block;
  height: 160px;
  overflow:auto;
}





/* ------------------ MAP SECTION ------------------ */
.map-section{
  margin: 0 auto;
  padding: 5% 10%;
}
.gmap{
  width: 100%; 
  height:400px; 
  border: 3px solid var(--main-color);
  background-color: var(--bg-color);  
  position: relative; 
  overflow:hidden; 
  margin: 0 auto;
}

.loader{
  top: 45%; 
  left: 45%;
  width: 30px !important;
  height: 30px !important;
  border: 5px solid #eceaea;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  user-select: none;
}

@keyframes spin{
  form{
    transform: rotate(0deg);
  }
  to{transform: rotate(360deg);}
}





/* ------------------ FOOTER ------------------ */
#footer{
  width: 100%;
  background-color: var(--main-color);
  padding-top: 1.5rem; 
  padding-bottom: 1.5rem;
  position: relative;
  height: auto;
}

.footer-container{margin: 0 auto;}

/* RELATIONS */
.relations{
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 1px;
  border-bottom: 1px solid #ccc;
  height: auto;
  overflow: hidden;
}
.logo-img {
  max-height: 40px;
  width: auto;
  aspect-ratio: attr(width) / attr(height); /* هذا لا يعمل فعلياً بكل المتصفحات */
  object-fit: contain;
  display: block;
}


.relations div{margin: 5px}
.relations div img {
  width: 100% auto;
  height: 70px;
  margin-right: 8px;
  flex-wrap: wrap;
}





.hideSmall {
  display: none;
}

.copyrights{
  display: block;
}

.designer{color:#ffc107;}

.arrow{
  padding: 1rem; 
  bottom: 0; 
  right: 0; 
  position: absolute; 
  color:#0d6efd 
}




/* ================================================================== */
/* xs */
/* الجوالات الصغيرة جدًا */
@media (min-width: 0) {

}

/* sm */
/* الجوالات العادية إلى الكبيرة ،	آيفون بلس، جالكسي نوت */
@media (min-width: 576px) {

}




/* md */
/* الأجهزة اللوحية (تابلت)	آيباد عمودي */
@media (min-width: 768px) {
  .Brand{font-size: 3rem;}
  .Tel{font: 1.5em sans-serif; padding-top:8px;}
  .hero{display: flex;max-height: 731px; width: 90%;}
  .container{display: flex;}
  .call-btn{display: none;}
  .logo-img{max-height: 70px;}
  .hideSmall{display: block;}
  .footer-container{width: 80%;}

}



/* lg */
/* لابتوب صغير (13 بوصة تقريبا)	مثل ماك بوك اير */
@media (min-width: 992px) {
  .hero{display: flex;max-height: 650px; width: 70%;}
  .call-btn{display: none;}
  .map-section{ margin: 0 auto;padding: 1% 10%;}
  .logo-img{max-height: 70px;}
  .hideSmall{display: block;}
  .footer-container{width: 80%;}
  /* .burger{display: none;} */
  
.menu{
width: 375px;
height: 100%;
left: 0;
}







  .services{height: 200px;}

  
  .navigation {
	font-weight: 300;
	font-size: 1.2rem;
	max-width: 1200px;
	min-width: 500px;
	margin: 0 auto;
	color: #696666;
  }
  .accordion{display: flex;width: 100%;}
  
  .accordion__link {
  margin: 0;
	padding: 0;
	list-style: none;
  transition: all 0.6s ease-in-out;
  display: block;
  padding: 15px;
  }
  .sub-accordion {
    padding: 5px 20px;
    display: block;
    height: 0;
    overflow: hidden;
    width: 100%;
  }
  .accordion__item{ width: 33%; margin: 0 10px;padding: 2px 5px}
  
  .accordion__link_active + ul{
  display: block;
  height: 100px;
  overflow:auto;
  padding: 10px
  }
  .accordion__item ul li{
    padding: 2px 7px
  }
  
}



/* xl */
/* لابتوب كبير أو كمبيوتر مكتبي متوسط	15-17 بوصة */
@media (min-width: 1200px) {
  
}



/* xxl */
/* شاشات كمبيوتر مكتبية كبيرة أو شاشات عرض	21 بوصة وفوق */
@media (min-width: 1400px) {
  .hero{display: flex;max-height: 600px; width: 60%;}
  .gmap{width: 70%;}
  .footer-container{width: 70%;}
}






/* 

 0                 576                768                992                1200               1400+ px
 |------------------|------------------|------------------|------------------|------------------|
 xs                 sm                 md                 lg                 xl                xxl
شاشة كبيرة         لابتوب كبير        لابتوب صغير           تابلت              جوال         جوال صغير
 */


