/* Tarabot Custom Header Styles - تصميم احترافي للهيدر */
:root {
  --tarabot-green: #094426;
  --tarabot-gold: #CF8B3F;
  --main-font: 'IBM Plex Sans Arabic', sans-serif;
}
.tarabot-header {
  font-family: var(--main-font);
  background: linear-gradient(90deg, #f9f7f3 60%, #e9e3d1 100%);
  border-bottom: 5px solid var(--tarabot-green);
  box-shadow: 0 6px 32px rgba(9,68,38,0.10);
  position: relative;
  z-index: 100;
  padding: 0;
}
.tarabot-header-decor {
  /* تم تعطيل الخلفية الزخرفية لإزالة شعار elementor */
  background-image: none !important;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 120px auto;
}
.tarabot-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
  padding: 0 40px;
}

/* إصلاح تجاوب الهيدر على الجوال بإجبار .container على التمدد الكامل */
.tarabot-header .container,
.tarabot-header-flex.container {
  width: 100% !important;
  max-width: 100vw !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: row;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tarabot-logo {
  height: 56px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(9,68,38,0.08);
  background: #fff;
}
.site-title {
  font-size: 2rem;
  color: var(--tarabot-green);
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 8px;
}
.site-tagline {
  font-size: 1.1rem;
  color: var(--tarabot-gold);
  margin-right: 12px;
  font-weight: 500;
}
.tarabot-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: var(--tarabot-green);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  background: var(--tarabot-gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(207,139,63,0.12);
}
.menu-dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  color: var(--tarabot-green);
  background: #f9f7f3;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s, color 0.2s;
}
.dropdown-toggle:hover {
  background: var(--tarabot-gold);
  color: #fff;
}
.dropdown-arrow {
  font-size: 0.9em;
  margin-right: 4px;
}
.dropdown-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(9,68,38,0.10);
  padding: 14px 0;
  min-width: 200px;
  display: none;
  z-index: 999;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.menu-dropdown:hover .dropdown-menu,
.menu-dropdown .dropdown-toggle:focus + .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--tarabot-green);
  font-size: 1.08rem;
  padding: 10px 22px;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover {
  background: var(--tarabot-gold);
  color: #fff;
}
.cta-btn, .tarabot-cta-btn {
  background: #CF8B3F;
  color: #fff;
  font-size: 1.25rem;
  padding: 14px 38px;
  border-radius: 32px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(207,139,63,0.15);
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
}
.cta-btn:hover, .tarabot-cta-btn:hover {
  background: var(--tarabot-green);
  color: #fff;
  box-shadow: 0 2px 8px rgba(9,68,38,0.18);
}

/* تنظيف ودمج تعريفات زر الهامبرجر ومحاذاة الهيدر للجوال */

/* زر الهامبرجر الأساسي */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  z-index: 120;
  position: relative;
  border-radius: 50% !important;
  transition: background 0.2s, border 0.2s;
}
.hamburger-menu span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: var(--tarabot-gold) !important;
  border-radius: 2px;
  transition: 0.3s;
  box-shadow: 0 1px 6px rgba(207,139,63,0.18);
}
.hamburger-menu.open span {
  background: var(--tarabot-green) !important;
}
.hamburger-menu.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* إظهار زر الهامبرجر على الجوال فقط */
@media (max-width: 900px) {
  .hamburger-menu {
    display: flex !important;
    width: 38px;
    height: 38px;
    background: #094426 !important; /* اللون المطلوب */
    border: 2px solid rgba(9,68,38,0.10) !important;
    box-shadow: 0 4px 16px rgba(9,68,38,0.13);
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: center;
    left: 0;
    right: unset;
  }
  .hamburger-menu span {
    width: 22px;
    height: 3px;
    margin: 4px 0;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(207,139,63,0.25);
    border: 1px solid #fff;
  }
  .mobile-header-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    order: 1;
    justify-content: flex-end !important;
    align-items: left;
    display: flex;
    width: auto;
    margin-bottom: 0;
    text-align: right;
    flex: unset;
    min-width: 0;
  }
  .hamburger-menu {
    order: 2;
    margin-left: 12px !important;
    margin-right: 0 !important;
    align-self: center;
    position: relative;
    right: 0;
    left: unset;
    display: flex !important;
  }
  .tarabot-header-flex {
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0 !important;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* تحسين زر الهامبرجر على الشاشات الصغيرة */
@media (max-width: 600px) {
  .hamburger-menu {
    width: 32px;
    height: 32px;
  }
  .hamburger-menu span {
    width: 16px;
    height: 3px;
    margin: 4px 0;
  }
}

.d-mobile-only { display: none !important; }

/* =====================
   Responsive Header Cleanup
   ===================== */
@media (max-width: 900px) {
  .tarabot-header .container,
  .tarabot-header-flex.container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 0 4px !important;
    min-width: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .tarabot-header-flex {
    flex-direction: column;
    gap: 10px;
    padding: 0 8px;
    min-height: 56px;
    align-items: stretch;
  }
  .logo {
    order: 1;
    justify-content: center !important;
    align-items: center;
    display: flex;
    width: 100%;
    margin-bottom: 8px;
    flex: unset;
    min-width: 0;
    text-align: center;
  }
  .tarabot-logo {
    height: 32px !important;
    border-radius: 10px;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .site-title, .site-tagline {
    font-size: 1rem;
    margin-right: 0;
    text-align: center;
    display: block;
  }
  .tarabot-nav {
    display: none !important;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    width: 100%;
    justify-content: flex-start;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(9,68,38,0.10);
    z-index: 110;
    padding: 18px 0 12px 0;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }
  .tarabot-nav.nav-open {
    display: flex !important;
  }
  .nav-link, .dropdown-toggle {
    font-size: 1rem;
    padding: 8px 10px;
    border-radius: 18px;
    justify-content: flex-start;
    width: 100%;
    text-align: right;
  }
  .menu-dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    min-width: unset;
    box-shadow: none;
    background: #f9f7f3;
    border-radius: 12px;
    padding: 0;
    margin-top: 4px;
  }
  .dropdown-menu a {
    font-size: 0.95rem;
    padding: 8px 10px;
    border-radius: 12px;
  }
  .cta-btn, .tarabot-cta-btn {
    font-size: 1rem;
    padding: 8px 10px;
    border-radius: 18px;
    width: 100%;
    margin: 10px 0 0 0;
    justify-content: center;
  }
  .d-mobile-only { display: flex !important; }
  /* إخفاء زر تواصل معنا في الهيدر على الموبايل فقط */
  .tarabot-cta-btn { display: none !important; }
}
@media (max-width: 600px) {
  .tarabot-header .container,
  .tarabot-header-flex.container {
    gap: 6px !important;
    padding: 0 2px !important;
  }
  .tarabot-header-flex {
    gap: 6px;
    padding: 0 2px;
    min-height: 44px;
  }
  .logo {
    margin-bottom: 4px;
  }
  .tarabot-logo {
    height: 24px !important;
    border-radius: 8px;
  }
  .site-title, .site-tagline {
    font-size: 0.9rem;
  }
  .nav-link, .dropdown-toggle {
    font-size: 0.95rem;
    padding: 6px 6px;
    border-radius: 12px;
  }
  .dropdown-menu a {
    font-size: 0.9rem;
    padding: 6px 6px;
    border-radius: 10px;
  }
  .cta-btn, .tarabot-cta-btn {
    font-size: 0.95rem;
    padding: 6px 6px;
    border-radius: 12px;
  }
}

/* تكبير حجم اللوجو على الجوال ومحاذاته لليسار */
@media (max-width: 900px) {
  .logo {
    justify-content: flex-start !important;
    width: 100%;
    margin-bottom: 8px;
  }
  .tarabot-logo {
    height: 48px !important;
    width: auto !important;
    border-radius: 12px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 600px) {
  .tarabot-logo {
    height: 38px !important;
  }
}

/* Tarabot Custom Footer Styles - تصميم احترافي للفوتر */
.tarabot-footer {
  width: 100vw !important;
  min-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(90deg, #f9f7f3 70%, #eae3d2 100%);
  color: var(--tarabot-green);
  padding: 48px 0 0 0;
  font-family: var(--tarabot-font), 'IBM Plex Sans Arabic', sans-serif;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 24px rgba(9,68,38,0.07);
  display: block;
  z-index: 10;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
  padding: 0 32px;
}
.footer-logo-section {
  flex: 1 1 220px;
  text-align: right;
}
.footer-logo {
  width: 64px;
  margin-bottom: 12px;
}
.footer-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--tarabot-gold);
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 18px;
}
.footer-links-section {
  flex: 2 1 320px;
  text-align: right;
}
.footer-nav {
  margin-bottom: 18px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
}
.footer-nav a {
  color: var(--tarabot-green);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--tarabot-gold);
}
.footer-contact {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 8px;
}
.footer-contact .footer-icon {
  font-size: 1.2rem;
  color: var(--tarabot-gold);
  margin-left: 6px;
  vertical-align: middle;
}
.footer-social-section {
  flex: 1 1 180px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}
.footer-social i {
  font-size: 2rem;
  color: var(--tarabot-gold);
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(9,68,38,0.08);
  transition: box-shadow 0.2s, color 0.2s;
}
.footer-social:hover i {
  color: var(--tarabot-green);
  box-shadow: 0 4px 16px rgba(207,139,63,0.18);
}
.footer-bottom {
  background: #eae3d2;
  color: var(--tarabot-green);
  text-align: center;
  padding: 18px 0 8px 0;
  font-size: 1.05rem;
  border-radius: 0 0 32px 32px;
  margin-top: 32px;
}
.footer-made {
  font-size: 0.98rem;
  color: var(--tarabot-gold);
  margin-top: 6px;
}
@media (max-width: 900px) {
  .footer-main { flex-direction: column; gap: 24px; padding: 0 12px; }
  .footer-logo-section, .footer-links-section, .footer-social-section { text-align: center; justify-content: center; }
}

/* تحسين تناسق الفوتر والمسافات على الجوال */
@media (max-width: 900px) {
  .tarabot-footer .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 18px 0 0 0;
  }
  .tarabot-footer .footer-logo-section {
    margin-bottom: 0;
    text-align: center;
  }
  .tarabot-footer .footer-links-section {
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }
  .tarabot-footer .footer-pages-list {
    margin: 12px 0 0 0;
    max-width: 100vw;
    width: 100%;
  }
  .tarabot-footer .footer-pages-ul {
    grid-template-columns: 1fr;
    gap: 10px 0;
    justify-items: center;
    padding: 0;
    margin: 0 auto;
  }
  .tarabot-footer .footer-page-link {
    font-size: 0.95rem;
    padding-bottom: 2px;
    line-height: 1.8;
    font-weight: 400;
  }
  .tarabot-footer .footer-social-section {
    margin: 10px 0 0 0;
    display: flex;
    gap: 18px;
    justify-content: center;
  }
  .tarabot-footer .footer-bottom {
    margin-top: 18px;
    padding: 0 0 8px 0;
    text-align: center;
    font-size: 0.92rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .tarabot-footer .footer-legal-links {
    margin-top: 8px !important;
    text-align: center !important;
    font-size: 0.92rem;
  }
}
@media (max-width: 600px) {
  .tarabot-footer {
    padding: 0 0 12px 0 !important;
    border-radius: 0 !important;
  }
  .tarabot-footer .footer-main {
    gap: 12px;
    padding: 12px 0 0 0;
  }
  .tarabot-footer .footer-pages-list {
    margin: 8px 0 0 0;
  }
  .tarabot-footer .footer-pages-ul {
    gap: 8px 0;
  }
  .tarabot-footer .footer-social-section {
    gap: 12px;
  }
  .tarabot-footer .footer-bottom {
    gap: 6px;
    font-size: 0.89rem;
  }
}

/* تنسيق روابط الشروط والأحكام وسياسة الإلغاء بلون الهوية في الفوتر */
.footer-legal-link {
    color: #a88c5f !important; /* لون ذهبي ترابط */
    font-weight: 600;
    text-decoration: none;
    margin: 0 4px;
    transition: color 0.2s;
}
.footer-legal-link:hover {
    color: #c43a7d !important; /* لون وردي ترابط عند الهوفر */
    text-decoration: underline;
}
.footer-legal-links {
    font-size: 1rem;
    direction: rtl;
    display: inline-block;
}


.d-desktop-only {
    display: block;
}
.d-mobile-only {
    display: none;
}
@media (max-width: 900px) {
    .d-desktop-only {
        display: none !important;
    }
    .d-mobile-only {
        display: block !important;
    }
    .mobile-header-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .mobile-logo {
        margin-left: 0 !important;
        margin-right: 0 !important;
        order: 1;
    }
    .hamburger-menu {
        display: flex !important;
        order: 2;
        margin-left: 12px !important;
        margin-right: 0 !important;
    }
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(207,139,63,0.08);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float img {
  width: 2.3rem;
  height: 2.3rem;
  display: block;
}