/* Color variables used by the header. If a page already defines
   :root elsewhere, this block is harmless — the values are identical. */
:root {
  --navy: #1B3A6B;
  --orange: #E07B20;
  --orange-light: #F0912F;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(27,58,107,0.10);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Top Bar ---------- */
.top_bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.top_bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.top_bar .phone { display: flex; align-items: center; gap: 8px; }
.top_bar .phone i { color: var(--orange-light); }
.social_list { display: flex; gap: 14px; }
.social_list a { color: rgba(255,255,255,0.75); transition: color .2s; }
.social_list a:hover { color: var(--orange-light); }
.user_box { display: flex; gap: 16px; }
.user_box a:hover { color: var(--orange-light); }
.top_bar_left { display: flex; align-items: center; gap: 30px; }

.topbar-booknow-btn {
  background: var(--orange);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--orange);
}
.topbar-booknow-btn:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.topbar-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease;
}
.topbar-whatsapp-link i { color: #25D366; font-size: 15px; }
.topbar-whatsapp-link:hover { color: var(--orange-light); }

.topbar_actions {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-left: auto !important;
}

@media (max-width: 767px) {
  .top_bar .social_list,
  .top_bar .user_box { display: none; }
  .top_bar .container { justify-content: space-between !important; }
  .topbar_actions { margin-left: auto !important; gap: 12px !important; }
  .topbar-whatsapp-link span { display: none !important; }
}

/* ---------- Header / Main Nav ---------- */
header.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
nav.main_nav {
  background: transparent;
}
.main_nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo { display: inline-flex; align-items: center; background: var(--white); padding: 8px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.logo img { height: 34px; width: auto; display: block; }

.main_nav_list { display: flex; gap: 34px; margin-left: auto; margin-right: 34px; }
.main_nav_list a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
}
.main_nav_list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange-light);
  transition: width .25s ease;
}
.main_nav_list a:hover::after,
.main_nav_list li.active a::after { width: 100%; }
.main_nav_list a:hover, .main_nav_list li.active a { color: var(--orange-light); }

.nav_icons { display: flex; align-items: center; gap: 18px; }
.search_toggle, .hamburger {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.search_toggle:hover, .hamburger:hover { background: var(--orange); color: var(--white); }
.hamburger { display: none; }

@media (max-width: 991px) {
  .main_nav_list { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .logo { height: 46px; width: 145px; }
  .logo img { height: auto; width: 110px; }
}

/* ---------- Mobile Menu (slide-in drawer) ---------- */
.mobile_menu_backdrop {
  position: fixed; inset: 0;
  background: rgba(10,20,40,0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile_menu_backdrop.open { opacity: 1; visibility: visible; }

.mobile_menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(82%, 330px);
  background: var(--white);
  display: flex; flex-direction: column;
  gap: 0;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .4s ease;
  box-shadow: -8px 0 30px rgba(0,0,0,0.18);
  overflow-y: auto;
}
.mobile_menu.open { transform: translateX(0); }

.mobile_menu_top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #EFF2F8;
}
.mobile_menu_top .logo { box-shadow: none; height: 48px; width: 150px; }
.mobile_menu_top .logo img { width: 115px; }
.menu_close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #EFF2F8;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.menu_close:hover { background: var(--navy); color: var(--white); }

.mobile_menu_links { display: flex; flex-direction: column; padding: 6px 20px; }
.mobile_menu_links a {
  color: #1A1A2E;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 2px;
  border-bottom: 1px solid #EFF2F8;
}
.mobile_menu_links a:hover { color: var(--orange); }

.mobile_menu_social {
  display: flex; gap: 12px;
  padding: 20px;
  border-top: 1px solid #EFF2F8;
  margin-top: 4px;
}
.mobile_menu_social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s;
}
.mobile_menu_social a:hover { background: var(--orange); }

/* ---------- Search Overlay ---------- */
.search_overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(16,32,63,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9998;
  padding: 130px 6% 40px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .4s ease, opacity .3s ease;
  text-align: center;
}
.search_overlay.open { transform: translateY(0); opacity: 1; }
.search_overlay_close {
  position: absolute; top: 26px; right: 30px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  transition: background .2s;
}
.search_overlay_close:hover { background: var(--orange); }
.search_overlay_inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid rgba(255,255,255,0.25);
  padding-bottom: 14px;
}
.search_overlay_icon { color: rgba(255,255,255,0.55); font-size: 20px; flex-shrink: 0; }
.search_overlay_input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: inherit;
  font-size: clamp(15px, 2.4vw, 22px);
}
.search_overlay_input::placeholder { color: rgba(255,255,255,0.45); }
.search_overlay_go {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.search_overlay_go:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }
.search_overlay_hint {
  max-width: 680px;
  margin: 12px auto 0 auto;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}
@media (max-width: 600px) {
  .search_overlay { padding: 100px 6% 30px; }
  .search_overlay_close { top: 18px; right: 18px; width: 38px; height: 38px; }
}


/* =====================================================================
   Umrah mega dropdown (desktop panel + mobile drawer accordion)
   ===================================================================== */
/* ---------- Desktop: tab ---------- */
.main_nav { position: relative; }
.main_nav .container { position: static; }
.main_nav_list li.has-dropdown { position: static; }
.main_nav_list li.has-dropdown > a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; margin: -8px -14px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.main_nav_list li.has-dropdown > a::after { left: 14px; bottom: 4px; }
.main_nav_list li.has-dropdown:hover > a::after,
.main_nav_list li.has-dropdown.open > a::after { width: calc(100% - 28px); }
.main_nav_list li.has-dropdown.open > a {
  background: rgba(255,255,255,0.10);
  color: var(--orange-light);
}
.nav-caret { font-size: 10px; transition: transform .25s ease; }
.main_nav_list li.has-dropdown.open .nav-caret { transform: rotate(180deg); }

/* ---------- Desktop: panel ---------- */
.nav_dropdown {
  position: absolute;
  top: 100%; left: 0; right: 0;
  box-sizing: border-box;
  display: flex; align-items: flex-start;
  margin: 0;
  padding: 28px max(20px, calc((100% - 1200px) / 2 + 20px)) 30px;
  background: linear-gradient(180deg, #10203F 0%, #0A1428 100%);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--orange), var(--orange-light) 50%, var(--navy)) 1;
  box-shadow: 0 30px 60px rgba(4,12,30,0.5);
  text-align: left;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 200;
}
/* invisible bridge so the panel doesn't close while the cursor crosses the gap */
.nav_dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
.main_nav_list li.has-dropdown.open .nav_dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav_dropdown li { list-style: none; }

.main_nav_list .nav_dropdown > li.nav_group { flex: 1 1 0; min-width: 0; margin: 0; padding: 0; display: block; }
.main_nav_list .nav_dropdown > li.nav_group--wide { flex: 1.9 1 0; }
.main_nav_list .nav_dropdown > li.nav_group + li.nav_group {
  margin-left: 32px; padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.nav_group_head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav_group_icon {
  width: 32px; height: 32px; flex: 0 0 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff; font-size: 14px;
}
.nav_group_title { color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }
.nav_group_count {
  margin-left: auto; min-width: 28px; text-align: center;
  padding: 5px 9px; border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #9FB0CC; font-size: 11px; font-weight: 600; line-height: 1;
}
.main_nav_list .nav_dropdown ul.nav_group_list {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  margin: 0; padding: 0;
}
.main_nav_list .nav_dropdown ul.nav_group_list--2col { grid-template-columns: 1fr 1fr; column-gap: 10px; }
.main_nav_list .nav_dropdown .nav_group_list li { display: block; margin: 0; padding: 0; }
.main_nav_list .nav_dropdown .nav_group_list li a {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border: 0; border-radius: 9px;
  color: #C9D3E6; font-size: 13.5px; font-weight: 500;
  text-transform: none; letter-spacing: 0; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.main_nav_list .nav_dropdown .nav_group_list li a::before,
.main_nav_list .nav_dropdown .nav_group_list li a::after { content: none; display: none; }
.main_nav_list .nav_dropdown .nav_group_list li a i {
  width: 26px; height: 26px; flex: 0 0 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: rgba(255,255,255,0.07);
  color: #8FA3C4; font-size: 11px;
  transition: background .2s ease, color .2s ease;
}
.main_nav_list .nav_dropdown .nav_group_list li a:hover {
  background: linear-gradient(90deg, rgba(224,123,32,0.24), rgba(224,123,32,0.06));
  color: #fff;
}
.main_nav_list .nav_dropdown .nav_group_list li a:hover i {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
}
@media (max-width: 991px) { .nav_dropdown { display: none; } }

/* ---------- Mobile drawer: accordion (drawer theme unchanged) ---------- */
.mobile_dropdown_toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; border-bottom: 1px solid #EFF2F8; cursor: pointer;
}
.mobile_dropdown_toggle a { border-bottom: none !important; padding: 0 !important; }
.mobile-caret { font-size: 12px; color: #667c91; transition: transform .25s ease, color .25s ease; }
.mobile_dropdown.open .mobile_dropdown_toggle a { color: var(--orange); }
.mobile_dropdown.open .mobile-caret { transform: rotate(180deg); color: var(--orange); }
.mobile_dropdown_menu { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.mobile_dropdown.open .mobile_dropdown_menu { max-height: 760px; }
.mobile_dropdown_menu li { list-style: none; }

.mobile_dropdown_menu .mobile_group { padding: 14px 0 6px; }
.mobile_dropdown_menu .mobile_group + .mobile_group { border-top: 1px solid #EFF2F8; }
.mobile_group_head { display: flex; align-items: center; gap: 10px; padding: 0 2px; }
.mobile_group_icon {
  width: 28px; height: 28px; flex: 0 0 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff; font-size: 12px;
}
.mobile_group_title { color: var(--navy); font-size: 15px; font-weight: 700; }
.mobile_group_count {
  padding: 2px 8px; border-radius: 8px;
  background: #EFF2F8; color: var(--navy);
  font-size: 11px; font-weight: 700;
}
.mobile_group_list {
  display: flex; flex-direction: column; gap: 2px;
  margin: 10px 0 0 15px; padding-left: 12px;
  border-left: 1px solid #E3E8F2;
}
.mobile_menu_links .mobile_dropdown_menu .mobile_group_list a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 8px; border-radius: 9px; border-bottom: 0;
  font-size: 13.5px; font-weight: 500;
  text-transform: none; letter-spacing: 0; color: #4A5568;
  transition: background .2s ease, color .2s ease;
}
.mobile_item_icon {
  width: 30px; height: 30px; flex: 0 0 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: #F1F4FA; color: #7F8FA8; font-size: 12px;
  transition: background .2s ease, color .2s ease;
}
.mobile_menu_links .mobile_dropdown_menu .mobile_group_list a:hover,
.mobile_menu_links .mobile_dropdown_menu .mobile_group_list a:active {
  background: rgba(224,123,32,0.10); color: var(--orange);
}
.mobile_menu_links .mobile_dropdown_menu .mobile_group_list a:hover .mobile_item_icon {
  background: var(--orange); color: #fff;
}
.main_nav_list li.has-dropdown.active > a::after { width: calc(100% - 28px); }
