
/* ─── Ad Banner ──────────────────────────── */
.ad-banner {
  background: #ffffff;
}
.ad-banner .container {
padding-top: 20px;
    padding-bottom: 30px;
      padding-inline: 0;
      border: none;
}
.ad-banner__inner {
  width: 100%;
  line-height: 0;
}
.ad-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 735 / 95; 
  object-fit: contain;
  object-position: center;
}

/* ─── Main Header wrapper ─────────────────── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
}

.main-header .logo-bar .container {
  border: none;
}

/* ─── Nav Bar ─────────────────────────────── */

.nav-bar .container {
  padding: 0;
}

.nav-bar__inner {
  display: flex;
  align-items: flex-end;   
  justify-content: flex-start; 
  min-height: 40px;
  background-color: white;
}

/* ─── Nav Tabs list ───────────────────────── */
.nav-tabs-list {
  display: flex;
  align-items: flex-end;
  padding-top: 10px;
  position: relative;
  z-index: 10;
  /* margin-right: -40px;  */
}

.nav-tabs-list li {
  position: relative;
  margin-left:-21px; 
}

.nav-tabs-list li:nth-child(1) { z-index: 10; }
.nav-tabs-list li:nth-child(2) { z-index: 9; }
.nav-tabs-list li:nth-child(3) { z-index: 8; }
.nav-tabs-list li:nth-child(4) { z-index: 7; }
.nav-tabs-list li:nth-child(5) { z-index: 6; }
.nav-tabs-list li.active { z-index: 20; }


.nav-tabs-list li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  font-size: 14px;
  font-family: R-29LT-Bukra;
  color: var(--color-dark);
  white-space: nowrap;
      min-height: 40px;
  min-width: 127px;
  z-index: 2; 
  transition: color 0.2s ease;
}

.nav-tabs-list li a:hover {
  color: var(--color-primary);
}

.nav-tabs-list li a::before {
    content: '';
    position: absolute;
    top: -32%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #ffffff;
    border: 1px solid #444444;
    border-bottom: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    transform: perspective(49px) rotateX(16deg);
    transform-origin: bottom;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-tabs-list li a:hover::before {
  background: #f8f8f8;
}

/* ─── Active Tab ─────────────────────────── */
.nav-tabs-list li.active {
  z-index: 10; 
}

.nav-tabs-list li.active a {
  color: #ffffff;
}

.nav-tabs-list li.active a:hover {
  color: #ffffff;
}

.nav-tabs-list li.active a::before  {
  background: var(--color-primary); 
  border-color: var(--color-primary);
  bottom: -2px;
      border: 1px solid #444444; 
}
.dropdown-menu li {
    background: #ffffff; 
}
/*  logo-bar__editor  */

.logo-bar__editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  color: #ffffff;
}
.logo-bar__editor-label {
  font-size: 14px;
  font-family: R-29LT-Bukra;
}
.logo-bar__editor-name {
  font-size: 16px;
  font-family: B-29LT-Bukra;
}
/* ─── Logo Bar ───────────────────────────── */
.logo-bar {
  background: var(--color-primary);
  padding: 0;
  position: relative;
  z-index: 5;
  height: 104px;
  display: flex;
  align-items: center;
}
.logo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}



/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu-toggle span {
  display: block;
  width: 32px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header-search {
  position: relative;
}
.header-search__bar {
    display: flex;
    align-items: center;
    background: #ffffff22;
    border: 1px solid #ffffff;
    border-radius: 50px;
    height: 48px;
    width: 56px;
    overflow: hidden;
    transition: width 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    flex-direction: row-reverse;
}
@media (min-width: 769px) {
  .header-search:hover .header-search__bar,
  .header-search.expanded .header-search__bar {
    width: 280px;
    background: #ffffff;
    border-color: #ffffff;
  }
}
.header-search__input {
  flex: 0;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: R-29LT-Bukra;
  color: var(--color-dark);
  direction: rtl;
  padding: 0;
  opacity: 0;
  width: 0;
  transition: opacity 0.3s ease 0.1s, flex 0.4s ease, padding 0.4s ease;
}
@media (min-width: 769px) {
  .header-search:hover .header-search__input,
  .header-search.expanded .header-search__input {
    flex: 1;
    opacity: 1;
    width: auto;
    padding: 0 15px 0 0;
  }
}
.header-search__input::placeholder {
  color: #999;
}
.header-search__icon {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  width: 42px;
  height: 42px;
  transition: color 0.3s ease;
}
@media (min-width: 769px) {
  .header-search:hover .header-search__icon,
  .header-search.expanded .header-search__icon {
    color: var(--color-dark);
  }
}
.logo-bar__side {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .search-dropdown {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 9998;
    background: #ffffff;
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 8px 30px #00000022;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }
  .search-dropdown.open {
    max-height: 400px;
    opacity: 1;
  }
}
@media (min-width: 769px) {
  .search-dropdown {
    display: none !important;
  }
}
.search-dropdown__inner {
  padding-top: 20px;
  padding-bottom: 20px;
  border: none;
}
.search-dropdown__form {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 15px;
  height: 48px;
  margin-bottom: 15px;
}
.search-dropdown__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: R-29LT-Bukra;
  color: var(--color-dark);
  direction: rtl;
  padding: 0 10px;
}
.search-dropdown__input::placeholder {
  color: #999;
}
.search-dropdown__submit {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  padding: 5px;
}
.search-dropdown__results {
  display: flex;
  flex-direction: column;
}
.search-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: var(--color-dark);
  font-size: 14px;
  font-family: R-29LT-Bukra;
  line-height: 1.6;
  direction: rtl;
  transition: background 0.2s ease;
}
.search-dropdown__item:last-child {
  border-bottom: none;
}
.search-dropdown__item:hover {
  background: #f8f8f8;
}
.search-dropdown__item svg {
  flex-shrink: 0;
  color: var(--color-primary);
}
/* ─── Mobile Sidebar ──────────────────────── */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
.mobile-sidebar.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-sidebar__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080;
  transition: opacity 0.3s ease;
}
.mobile-sidebar__content {
  position: absolute;
  top: 0;
  left: 0; 
  width: 280px;
  height: 100%;
  background: #ffffff;
  box-shadow: 2px 0 10px #0000001a;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-sidebar.open .mobile-sidebar__content {
  transform: translateX(0);
}
.mobile-sidebar__header {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eeeeee;
  background-color: var(--color-primary);
}
.mobile-sidebar__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 5px;
}
.mobile-sidebar__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
}
.mobile-sidebar__nav li {
  border-bottom: 1px solid #f5f5f5;
}
.mobile-sidebar__nav li a {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  font-family: R-29LT-Bukra;
}
.mobile-sidebar__nav li.active a {
  color: var(--color-primary);
  background: #fdfdfd;
  border-right: 4px solid var(--color-primary);
}

/* ─── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .logo-bar {
    height: 75px;
}
  .nav-bar {
    display: none;
  }
a.logo-bar__logo {
    width: 119px;
}
.logo-bar__editor-label {
    font-size: 11px;
}
  .logo-bar__inner { padding-inline: 10px; }
  .logo-bar__editor-name { font-size: 13px; }
  .logo-bar__logo-name { font-size: 1.5rem; }
  .logo-bar__logo-icon { width: 34px; height: 34px; font-size: 1.1rem; }
  
  .mobile-menu-toggle {
    display: flex;
  }
  .header-search__bar {
    height: 35px;
    width: 40px;
}
.header-search__icon {
    min-width: 40px;
    width: 40px;
    height: 40px;
}
.mobile-sidebar .site-footer__social-icons {
  background-color: var(--color-primary);
  border-radius: 16px;
  padding: 10px;
}
   .mobile-sidebar  .site-footer__brand {
        margin-top: auto;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {

}
