/* #region GLOBAL  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "cairo", sans-serif;
}
/* region ==> منطقه */

body {
  margin-top: 10vh;
  background-color: #ffffff;
  position: relative;
}

/* #endregion   */

/* #region NAVBAR */
.nav {
  background: #ffffff;
  color: #49b1ea;
  display: flex;
  position: fixed;
  top: 0px;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  z-index: 10;
}
.links {
  display: flex;
  gap: 25px;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  list-style: none;
}
.links li a {
  text-decoration: none;
  color: #023b5a;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.links li a:hover {
  background-color: #094565;
  color: #ffffff;
}
.links li a.active {
  background-color: #0b4c66;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
}
.logo-container {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translatey(-50%);
  display: flex;
  align-items: center;
}
.logo-container img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* --- HAMBURGER BUTTON STYLES --- */
.hamburger {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  z-index: 11;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #023b5a;
  transition: 0.3s ease;
  border-radius: 2px;
}

/* Hamburger to 'X' animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.links-container {
  transition: all 0.3s ease;
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 1100px) {
  .nav {
    justify-content: space-around;
    align-items: center;
  }

  .logo-container {
    position: static;
    transform: none;
  }

  .hamburger {
    display: flex; /* Show on mobile */
  }

  .links-container {
    display: none; /* Hide menu by default on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, #5780a9 50%, #c4ab98 100%);
  }

  .links-container.active {
    display: block; /* Show menu when toggled */
  }

  .links {
    flex-direction: column;
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }
}

/* --- END HAMBURGER BUTTON STYLES --- */

/* DROPDOWN MENU IN NAVBAR */
.dropdown {
  position: relative;
  display: inline-block;
  text-align: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: -100%;
  background-color: #f9f9f9;
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  text-decoration: none;
  list-style: none;
  li {
    padding: 10px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #0d5ec7;
  }
  li:last-child {
    border-bottom: none;
  }
}
.dropdown:hover .dropdown-menu {
  display: block;
  color: #0d5ec7;
}
/* SECOND DROPDOWN MENU IN NAVBAR */
.dropdown_2 {
  position: relative;
  display: inline-block;
}
.dropdown-menu_2 {
  display: none;
  position: absolute;
  top: 50%;
  right: 35%;
  background-color: #f9f9f9;
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  text-decoration: none;
  list-style: none;
  li {
    padding: 10px;
    text-align: center;
    border-bottom: 3px solid #0d5ec7;
  }
  li:last-child {
    border-bottom: none;
  }
}
.dropdown_2:hover .dropdown-menu_2 {
  display: block;
  color: #0d5ec7;
}

/* #endregion */

/*#region fixed buttons */
/* FIXED CALL US BUTTON */

.call-us {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  background-color: #0b4c;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

  transition: all 0.3s ease;
  border: none;
  a {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #ffffff;
    img {
      width: 50px;
      height: 50px;
      object-fit: contain;
    }
  }
}

.call-us:hover {
  background-color: #24a62f;
  transform: scale(1.05);
}
.whatsapp-link {
  position: fixed;
  bottom: 20px;
  right: 30px;
  display: block;
  width: 55px; /* ضيف دي */
  height: 55px; /* ضيف دي */
  border-radius: 50%; /* ضيف دي عشان الحاوية نفسها تبقى دائرية */
  z-index: 9999;
  transition: all 0.3s ease;
  overflow: hidden;
}
.whatsapp-link img {
  width: 100%;
  height: 100%;
  /* display: block; */
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.whatsapp-link :hover {
  transform: scale(1.3);
}
@media (max-whith: 768px) {
  .call-us {
    bottom: 20px;
    left: 20px;
    font-size: 13px;
    padding: 8px 15px;
  }
  .call-us img {
    width: 35px;
    height: 35px;
  }
  .whatsapp-link {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-link img {
    width: 40px;
    height: 40px;
  }
}

/* #endregion */

/* #region FOOTER */
/* تنسيقات الفوتر العامة */
.site-footer {
  color: #ffffff;
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  background: linear-gradient(to right, #c3c7ce 50%, #4992ca 100%);
}
/* 1. تكبير المسافات وتوزيع الأعمدة بعرض الفوتر */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between; /* بيوزع الأعمدة ويعمل مسافات متساوية بينهم */
  align-items: center;
  gap: 50px;
}

/* 2. ضبط عمود اللوجو وتكبير الصورة */
.footer-about {
  flex: 1.2; /* بيدي مساحة أكبر لعمود اللوجو والنص */
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-about .footer-logo {
  margin-bottom: 15px;
}

.footer-about .footer-logo img {
  width: 60px; /* اضبط العرض بنفس حجم لوجو الناف بار */
  height: 60px; /* اضبط الارتفاع ليصبح مربعاً مثله */
  object-fit: cover; /* يضمن عدم تمطط الصورة */
  border-radius: 10px; /* لعمل انحناء الحواف مثل الناف بار */
  background-color: #0b4553; /* نفس لون خلفية الناف بار الكحلية */
  padding: 5px; /* مسافة داخلية بسيطة */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* ظل خفيف لإبراز اللوجو */
}
/* 3. ضبط عرض باقي الأعمدة */
.footer-links,
.footer-contact {
  flex: 1;
}
/* العمود الثاني - الروابط */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #0a0a0a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #1dbce3;
  /* padding-right: 5px; */
}

/* العمود الثالث - تواصل معنا */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  /* display: flex;
  align-items: center; */
  margin-bottom: 12px;
  color: #000000;
  font-size: 0.95rem;
}

.contact-info i {
  color: #0b4553;
  margin-left: 10px;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.contact-info .whatsapp-icon {
  color: #25d366; /* لون الواتساب الأخضر */
}

.contact-info a {
  color: #555555;
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  color: #2ca9c8;
}

/* الشريط السفلي الحقوق */
.footer-bottom {
  background-color: #304950;
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 10px;
}
/* ==========================================
   Media Query - الشاشات الصغيرة والموبايل
   ========================================== */
@media (max-width: 768px) {
  /* ضبط شريط إخلاء المسؤولية العلوي */
  .disclaimer-banner p {
    font-size: 0.85rem;
    padding: 0 10px;
    line-height: 1.6;
  }

  /* تحويل الأعمدة لتصبح رأسية ومتركزة */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
    padding: 30px 15px;
  }

  /* جعل كل عمود يأخذ العرض الكامل وينتصف */
  .footer-col,
  .footer-about,
  .footer-links,
  .footer-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* سنترة محاذاة الروابط والقوائم داخل الأعمدة */
  .footer-about .about-text,
  .footer-links ul,
  .contact-info li {
    text-align: center;
    justify-content: center;
  }
}
/* #endregion */
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
