* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  position: relative;
}

body {
  direction: rtl;
  text-align: right;
  height: 100svh;
  width: 100svw;
  max-height: 100svh;
  max-width: 100svw;
}

main {
  width: 100%;
  height: 100%;

}

header {
 
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-weight: bold;
  margin-bottom: 1px;
}
header .im{

  width: 80px;
  height: 80px;
}
header .navbar{
  display: flex;
  gap: 20px;
  align-items: center;
  
}
header ul {
  display: flex;
  list-style-type: none;
  gap: 30px;

}
header a{
  padding-right: 20px;
text-decoration: none;
color:white;

}
/* لون الهيدر في الصفحة الرئيسية */
.home-header {
background-color: rgb(110, 63, 21); 
color: white;
padding: 10px 20px 0 20px;
}



header .dropbtn {
  background-color:white;
  color: black;
  padding: 10px;
  font-size: 16px;
  border: 1px solid gray ;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: none;
 
  
}

.dropdown-content {
  
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 300px;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}


.dropdown-content a:hover 
{
  background-color: lavender;
}

.dropdown:hover .dropdown-content {
  display: block;
}


.dropdown:hover .dropbtn {
  background-color:white;
  border: 1px solid black;
}

@media (max-width:700px){
 .dropdown{
  display: flex;
  flex-direction: column;
 } 
.navbar ul , .navbar button{
  display: none;
}


}
.carousel-item {
  position: relative;
  height: 100vh; /* يجعل الشريحة تغطي الشاشة بالكامل */
}
.carousel-item img {
  width: 100%;
  height: 100%;
   object-fit: cover; 
   object-position: center;
   /* filter: brightness(50%);  تغميق الصورة لتحسين وضوح النص */
}
.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .carousel-item {
 height: auto;
 /* ارتفاع مناسب للموبايل */
  }
  
  .carousel-item img {
      width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
  }

  .carousel-caption {
    font-size: 0.9rem;
    padding: 10px;
  }
}
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
.custom-button {
    background: rgb(184, 151, 91); 
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;

}
.custom-button:hover {
  background-color:  #f8bf2e;
}
/* ------------------- */

 /* ========== الحاوية الرئيسية ========== */
    .container {
      display: flex;               /* عرض العناصر بشكل أفقي */
      flex-wrap: wrap;             /* للسماح بنزول العناصر لسطر جديد عند صغر الشاشة */
      justify-content: center;     /* توسيط العناصر أفقياً */
      align-items: center;         /* توسيط العناصر عمودياً */
      gap: 30px;                   /* مسافة بين الدوائر */
      margin: 0 auto;             /* توسيط الحاوية */
      margin-top: 100px;
      max-width: 1200px;          /* عرض أقصى للحاوية */
    }

    /* ========== التفاف كل دائرة مع نصها ========== */
    .circle-wrapper {
      display: flex;
      flex-direction: column;  /* ترتيب الدائرة فوق والنص تحت */
      align-items: center;
      text-align: center;
    }

    /* ========== تنسيق الدائرة ========== */
    .circle {
      width: 160px;             /* عرض الدائرة */
      height: 160px;            /* ارتفاع الدائرة */
      background-color: #face60;/* اللون الذهبي */
      border-radius: 50%;       /* تحويل الشكل إلى دائرة */
      display: flex;            /* لجعل المحتوى يظهر في المنتصف */
      justify-content: center;
      align-items: center;
      text-decoration: none;    /* إزالة الخط تحت الرابط */
      transition: transform 0.2s ease; /* تأثير بسيط عند التحويم */
      border: black solid 2px;
    }

    /* تأثير عند تمرير الفأرة */
    .circle:hover {
      transform: translateY(-5px);
    }

    /* تنسيق الصورة داخل الدائرة */
    .circle img {
      width: 80px;     /* حجم الصورة */
      height: auto;    /* الحفاظ على تناسب الأبعاد */
    }

    /* ========== نص الدائرة خارج الدائرة ========== */
    .circle-text {
      margin-top: 10px; /* مسافة بين الدائرة والنص */
      font-size: 18px;
      font-weight: bold;
      color:white;
      line-height: 1.4;
      margin-bottom: 50px;
      padding: 10px;
      border-radius: 25px;
      background-color:  rgb(184, 151, 91);
      text-decoration: none;
    }


.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  width: 50px;
  height: 50px;
  margin: 5px;
  border-radius: 50%;
  font-size: 24px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp {
  background-color: #25D366;
}

.messenger {
  background-color: #0084FF;
}

.contact-toggle{
  padding: 5px;
  border-radius: 10px;
  background-color: #face60;
}
.hidden {
  display: none;
}