/* Mobile Navigation (max-width: 768px) */
@media (max-width: 768px) {
  .nav-toggle {
    position: absolute;
    inset-inline-start: 16px;
    top: 18px;
    z-index: 999;
  }
  .main-nav.open .nav-toggle {
    display: none !important;
  }
  .main-nav {
    position: fixed !important;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(82vw, 360px);
    padding: 15px 0px;
    transform: translateX(100%);
    transition: transform .28s ease;
    box-shadow: -24px 0 40px rgba(0, 0, 0, .18);
    z-index: 10020;
  }
  .main-nav.open {
    transform: translateX(0);
  }
}

/* Menu Item Styling */
.main-nav .menu-item-has-children > a::before {
  display: none;
}

/* Header Styling */
.site-header.is-absolute {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: 86px;
  display: flex;
  align-items: center;
  background: transparent;
}
.header-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  direction: rtl;
}

/* Logo Styling */
.logo {
  flex: 0 0 auto;
}
.custom-logo {
  height: 56px !important;
  width: auto !important;
  display: block !important;
}
.custom-logo-link {
  display: block;
  line-height: 0;
}

/* Navigation Pill */
.nav-pill {
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 44px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-bd);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav .menu > li > a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 12px 6px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1px;
}
.main-nav .menu > li > a:hover {
  opacity: .9;
}

/* CTA Styling */
.header-cta {
  flex: 0 0 auto;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(10, 163, 184, .25);
  white-space: nowrap;
}

/* Responsive Hero Section */
@media (max-width: 992px) {
  .hero-slider {
    min-height: 72vh;
  }
  .hero-content {
    padding-block: 100px 40px;
  }
}

/* Navigation Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 10010;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Hide Nav Toggle on Desktop */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* Deprecated or Conflicting Styles (Review and Remove if Necessary) */
.header-wrap {
  margin-bottom: -126px !important;
}
.custom-logo {
  height: 191px !important;
  width: 182px !important;
  margin-bottom: -82px !important;
  margin-right: -120px !important;
}
.logo .custom-logo {
  height: 194px !important;
  width: 201px !important;
  margin-top: 78px !important;
}






/* Mobile Navigation (max-width: 768px) */
@media (max-width: 768px) {
  .nav-toggle {
    position: absolute;
    inset-inline-start: 16px;
    top: 18px;
    z-index: 999;
  }
  .main-nav.open .nav-toggle {
    display: none !important;
  }
  .main-nav {
    position: fixed !important;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(82vw, 360px);
    padding: 15px 0px;
    transform: translateX(100%);
    transition: transform .28s ease;
    box-shadow: -24px 0 40px rgba(0, 0, 0, .18);
    z-index: 10020;
  }
  .main-nav.open {
    transform: translateX(0);
  }
}

/* Menu Item Styling */
.main-nav .menu-item-has-children > a::before {
  display: none;
}

/* Header Styling */
.site-header.is-absolute {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: 86px;
  display: flex;
  align-items: center;
  background: transparent;
}
.header-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  direction: rtl;
}

/* Logo Styling */
.logo {
  flex: 0 0 auto;
}
.custom-logo {
  height: 56px !important;
  width: auto !important;
  display: block !important;
}
.custom-logo-link {
  display: block;
  line-height: 0;
}

/* Navigation Pill */
.nav-pill {
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 44px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-bd);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav .menu > li > a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 12px 6px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1px;
}
.main-nav .menu > li > a:hover {
  opacity: .9;
}

/* CTA Styling */
.header-cta {
  flex: 0 0 auto;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(10, 163, 184, .25);
  white-space: nowrap;
}

/* Responsive Hero Section */
@media (max-width: 992px) {
  .hero-slider {
    min-height: 72vh;
  }
  .hero-content {
    padding-block: 100px 40px;
  }
}

/* Navigation Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 10010;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Hide Nav Toggle on Desktop */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* Deprecated or Conflicting Styles (Review and Remove if Necessary) */
.header-wrap {
  margin-bottom: -126px !important;
}
.custom-logo {
  height: 191px !important;
  width: 182px !important;
  margin-bottom: -82px !important;
  margin-right: -120px !important;
}
.logo .custom-logo {
  height: 194px !important;
  width: 201px !important;
  margin-top: 78px !important;
}

/* Footer Base Styling */
.site-footer {
  position: relative;
  color: #fff;
  margin-top: 24px;
}
.site-footer .footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.7);
}
.site-footer .footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 22, 34, .85), rgba(2, 22, 34, .6));
}
.footer-grid {
  position: relative;
  z-index: 2;
  padding: 28px 0;
  display: grid;
  gap: 30px;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  align-items: flex-start;
  direction: rtl;
}
.f-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}
.f-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.f-menu li {
  margin: 6px 0;
}
.f-menu a {
  color: #fff;
  text-decoration: none;
  opacity: .95;
}
.f-menu a:hover {
  text-decoration: underline;
}
.f-contact {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.f-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}
.f-contact a {
  color: #fff;
  text-decoration: none;
}
.f-contact .ico {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  opacity: .95;
}
.ico-phone {
  transform: scaleX(-1);
}

/* Footer Socials (Rounded Style) */
.f-socials.v2 {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.f-socials.v2 .soc {
  --bg: rgba(255, 255, 255, .12);
  --bd: rgba(255, 255, 255, .35);
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--bd);
  text-decoration: none;
  transition: transform .15s ease, background-color .2s ease;
}
.f-socials.v2 .soc svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.f-socials.v2 .soc:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .2);
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  opacity: .9;
}

/* Floating Call Button */
.call-fab {
  position: fixed;
  inset-inline-end: 16px;
  inset-block-end: 16px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #00c36f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
  text-decoration: none;
}
.call-fab svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.call-fab .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 195, 111, .55);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 195, 111, .55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(0, 195, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 195, 111, 0);
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.whatsapp-float a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
}
.whatsapp-float i {
  color: white;
  font-size: 30px;
}

/* Credits Section */
.credits {
  background-color: #ffffff;
  width: 100%;
  padding: 9px 0;
  text-align: center;
  color: #000;
  height: 74px;
}
.credits a {
  font-weight: bold;
}
.credits img {
  vertical-align: middle;
  width: 74px;
  margin-top: -9px;
  margin-right: -13px;
  border-radius: 100px;
}
.credits .heart {
  color: #61b795 !important;
  margin-left: 5px;
  font-size: 17px;
}

/* Mobile Layout (max-width: 768px) */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
    text-align: center;
  }
  .f-logo {
    margin-right: 250px;
    margin-bottom: 33px;
  }
  .f-col {
    text-align: center;
  }
  .f-col-right {
    text-align: center;
    order: -1;
  }
  .f-logo img {
    height: 140px;
    width: auto;
    margin: 0 auto 8px;
    display: block;
  }
  .f-tagline {
    margin: 0 0 10px;
  }
  .f-socials.v2 {
    justify-content: center;
  }
  .f-menu {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
  }
  .f-menu li {
    margin: 5px 0;
  }
  .f-contact li {
    justify-content: center;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .call-fab {
    width: 54px;
    height: 54px;
    inset-inline-end: 14px;
    inset-block-end: 14px;
  }
  .whatsapp-float a {
    width: 50px;
    height: 50px;
  }
  .whatsapp-float i {
    font-size: 24px;
  }
}












/* ====== Header & Hero (safe) ====== */
.container { width: 92vw; max-width: 1200px; margin: 0 auto; }
.site-header.is-absolute {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px; display: flex; align-items: center; background: transparent;
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; direction: rtl; }
.custom-logo { height: 42px; width: auto; display: block; }
.logo-text { color: #ffffff; font-weight: 800; font-size: 20px; }

.main-nav .menu { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
  color: #ffffff; text-decoration: none; padding: 10px 6px; display: inline-block; font-weight: 600;
}

.header-cta {
  display: inline-block; padding: 10px 16px; border-radius: 12px;
  background: #ffffff; color: #111111; text-decoration: none; font-weight: 700; white-space: nowrap;
}
.nav-toggle { display: none; background: none; border: 0; color: #ffffff; font-size: 28px; }

/* Header when scrolled */
.site-header.scrolled {
  position: fixed; background: rgba(255,255,255,0.96);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.site-header.scrolled .main-nav .menu > li > a { color: #111111; }
.site-header.scrolled .logo-text { color: #111111; }
.site-header.scrolled .header-cta { background: #0077ff; color: #ffffff; }

/* HERO */
.hero-slider { position: relative; }
.hero-slides { position: relative; }
.hero__slide {
  position: relative; min-height: 72vh; display: flex; align-items: center;
  background: #222222 center/cover no-repeat; border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px; overflow: hidden;
}
/* لحد ما نركّب سلايدر فعلي: أظهري أول سلايد فقط */
.hero__slide { display: none; }
.hero__slide:first-child { display: flex; }

.hero__overlay { position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
}
.hero__content { position: relative; color: #ffffff; padding: 40px 0; }
.hero__content h1 { font-size: 46px; margin: 0 0 10px; }
.hero__content .sub { font-size: 18px; max-width: 620px; }

.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; background: #0077ff; color: #ffffff; text-decoration: none; }

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; background: #ffffff;
    transform: translateY(-20px); opacity: 0; pointer-events: none; transition: 0.25s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav .menu { flex-direction: column; }
  .main-nav .menu > li > a { color: #111111; padding: 14px 18px; display: block; }
  .header-cta { display: none; }
  .hero__content h1 { font-size: 34px; }
}





/*اول الهيدر*/
 body{
      margin: 0;
  }
  
  /* ===== Static Footer ===== */
.site-footer{ position:relative; color:#fff; margin-top:24px; }
.site-footer .footer-bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  filter:brightness(.7);
}
.site-footer .footer-overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(2,22,34,.85), rgba(2,22,34,.6));
}
.footer-grid{
  position:relative; z-index:2; padding:28px 0; display:grid; gap:30px;
  grid-template-columns: 1.1fr 1fr 1.1fr; align-items:flex-start; direction:rtl;
}
.f-col .f-title{ margin:0 0 8px; font-size:16px; font-weight:800; }
.f-contact{ list-style:none; margin:10px 0 0; padding:0; }
.f-contact li{ display:flex; align-items:center; gap:8px; margin:6px 0; }
.f-contact a{ color:#fff; text-decoration:none; }
.f-contact .ico{ display:inline-flex; width:22px; height:22px; align-items:center; justify-content:center; opacity:.9; }

.f-menu{ list-style:none; margin:8px 0 0; padding:0; }
.f-menu li{ margin:6px 0; }
.f-menu a{ color:#fff; text-decoration:none; opacity:.95; }
.f-menu a:hover{ text-decoration:underline; }

.f-col-right{ text-align:right; }
.f-logo img{ height:200px; width:210px; display:block; margin-inline-start:inherit; }
.f-tagline{ margin:8px 0 10px; opacity:.95; }

.f-socials{ display:flex; gap:10px; }
.f-socials .s{
  display:inline-flex; width:26px; height:26px; border-radius:50%;
  align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.6);
  background:rgba(255,255,255,.15); font-weight:700; font-size:12px; color:#fff;
}

.footer-bottom{
  position:relative; z-index:2; border-top:1px solid rgba(255,255,255,.2);
  padding:10px 0; text-align:center; font-size:13px; opacity:.9;
}

/* Responsive */
@media (max-width: 992px){
  .footer-grid{ grid-template-columns: 1fr; text-align:right; }
  .f-logo img{ margin-inline-start:0; }
}



/**/
/* ===== Destinations Section (بدون تظليل، عنوان في النص) ===== */
.destinations-section{ padding:30px 0 34px; }
.destinations-section .sec-title{
  text-align:center; margin:0 0 22px; font-size:22px; font-weight:800; color:#0c2940;
}
.destinations-section .sec-title .plane{ font-size:18px; }

.dest-grid{
  display:grid; gap:14px; direction:rtl;
  grid-template-columns: repeat(4, 1fr);
}

.dest-card{
  position:relative; overflow:hidden; border-radius:26px; aspect-ratio:1/1;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  transition:transform .25s, box-shadow .25s;
  display:flex; align-items:center; justify-content:center; /* يخلي النص في النص */
}
.dest-card:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(0,0,0,.1); }

.dest-img{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  filter:brightness(.8); /* يغمّق الصورة حاجة بسيطة للنص */
}

/* العنوان في النص مباشرة، بدون أي خلفية */
.dest-label{
  position:relative; z-index:2;
  color:#fff; font-weight:800; font-size:18px; text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.35);  /* تحسين القراءة */
  padding:0; margin:0; background:none; border:0;
}

/* خليه لينك لو فيه رابط */
.dest-link{ display:block; text-decoration:none; color:inherit; }

@media (max-width: 992px){ .dest-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .dest-grid{ grid-template-columns: 1fr 1fr; } }


/* ===== Hotels ===== */
.hotels-section{ padding: 34px 0 40px; }
.hotels-grid{
  display:grid; gap:26px; direction:rtl; align-items:center;
  grid-template-columns: 1.3fr 1fr; /* صور / نص */
}
.hotels-mosaic{
  display:grid; gap:12px;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 130px 130px 130px;
  grid-template-areas:
    "big r1"
    "big r2"
    "big r3";
}
.himg{ background-size:cover; background-position:center; border-radius:18px; overflow:hidden; }
.himg.big{ grid-area:big; border-radius:22px; }
.himg.r1{ grid-area:r1; }
.himg.r2{ grid-area:r2; }
.himg.r3{ grid-area:r3; }

.hotels-heading{ font-size:28px; font-weight:800; margin:0 0 10px; line-height:1.35; }
.hotels-heading strong{ color:#ff5e7a; }
.hotels-lead{ color:#44525d; line-height:1.9; margin:0; max-width:520px; }

@media (max-width: 992px){
  .hotels-grid{ grid-template-columns: 1fr; }
  .hotels-mosaic{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
    grid-template-areas:
      "big big"
      "r1 r2"
      "r3 r3";
  }
}

.nav-toggle.hidden {
    display: none;
}

  
  
 /* ===== Services Section (centered title, no pill) ===== */
.services-section{ padding:40px 0 50px; }
.services-section .sec-title{
  text-align:center; font-size:22px; font-weight:800; color:#0c2940; margin:0 0 18px;
}

.services-grid{
  display:grid; gap:14px; direction:rtl;
  grid-template-columns: repeat(4, 1fr);
}

/* الكارد كله لينك لما يوجد رابط في ACF */
.service-link{ text-decoration:none; display:block; }

/* كارت الخدمة */
.service-card{
  position:relative; overflow:hidden;
  border-radius:22px; aspect-ratio:1 / 1;
  
  transition: transform .25s ease, box-shadow .25s ease;
  display:flex; align-items:center; justify-content:center;   /* <— يوسّط العنوان */
}
.service-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

/* الصورة */
.svc-img{
  position:absolute; inset:0; background-size:cover; background-position:center;
  filter: brightness(.78);   /* درجة بسيطة لتقوية تباين النص */
}

/* العنوان في النص.. بدون أي خلفية */
.svc-label{
  position:relative; z-index:2;
  inset:auto; margin:0; padding:0;
  background:none; border:0; backdrop-filter:none;
  color:#fff; font-weight:800; font-size:18px; text-align:center;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);   /* يحسن القراءة بدون شريط */
  border-radius:0;
  max-width:80%; line-height:1.4;
}

/* Accessible focus لـ <a> */
.service-link:focus-visible .service-card{
  outline: 3px solid rgba(10,163,184,.65);
  outline-offset: 3px;
}

/* زوايا مختلفة زي التصميم */
.services-grid > *:nth-child(1) .service-card{ border-radius:26px 26px 18px 26px; }
.services-grid > *:nth-child(2) .service-card{ border-radius:26px 26px 26px 18px; }
.services-grid > *:nth-child(3) .service-card{ border-radius:26px 18px 26px 26px; }
.services-grid > *:nth-child(4) .service-card{ border-radius:18px 26px 26px 26px; }

/* Responsive */
@media (max-width: 992px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .services-grid{ grid-template-columns: 1fr; }
}


  
  /* ===== Offers Section ===== */
.offers-section{ padding: 56px 0 40px; }
.sec-title{
  text-align:center; margin:0 0 24px; font-size:22px; font-weight:800; color:#0c2940;
}

/* grid: نص يسار + موزاييك يمين (RTL) */
.offers-grid{
  display:grid; gap:28px;
  grid-template-columns: 1.1fr 1.4fr; /* نص / صور */
  align-items:center;
  direction: rtl;
}

/* نصوص */
.offers-heading{
  font-size:34px; line-height:1.25; margin:0 0 10px; font-weight:800;
}
.offers-heading b, .offers-heading strong{ color:#0aa3b8; }
.offers-lead{
  color:#44525d; line-height:1.9; margin:10px 0 0; max-width:520px;
}

/* الموزاييك */
.offers-mosaic{
  display:grid; gap:14px;
  grid-template-columns: 1fr 1fr 1.05fr;              /* عمودين صغار + عمود كبير */
  grid-template-rows: 150px 150px 150px;              /* 3 صفوف */
  grid-template-areas:
    "a b big"
    "c d big"
    "c d big";                                        /* big يمتد رأسيًا */
}

/* العناصر الصغيرة */
.offers-mosaic .img{
  background-size:cover; background-position:center;
  border-radius:18px; overflow:hidden;
}
.offers-mosaic .a{ grid-area:a; }
.offers-mosaic .b{ grid-area:b; }
.offers-mosaic .c{ grid-area:c; border-top-right-radius:0; }
.offers-mosaic .d{ grid-area:d; border-bottom-right-radius:0; }
.offers-mosaic .big{
  grid-area:big; border-radius:26px;
}

/* Responsiveness */
@media (max-width: 992px){
  .offers-grid{ grid-template-columns: 1fr; }
  .offers-heading{ font-size:28px; }
  .offers-mosaic{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px 220px;
    grid-template-areas:
      "a b"
      "c d"
      "big big";
  }
}

  
  
  /* ====== Layout Base ====== */
:root{
  --container: 1200px;
  --teal: #0aa3b8;
  --pill-bg: rgba(8,64,86,.45);
  --pill-bd: rgba(255,255,255,.35);
  --hero-accent: #ff4d7f; /* pink لكلمة سافر */
}

.container{ width: min(92vw, var(--container)); margin-inline:auto; }

/* ====== Header (matches Figma) ====== */
.site-header.is-absolute{
  position:absolute; inset-block-start:0; inset-inline:0; z-index:100;
  height:86px; display:flex; align-items:center; background:transparent;
}
.header-wrap{
  display:flex; align-items:center; gap:16px; direction:rtl;
}

/* Logo (يمين) — حجم متزن، بدون مارجن سالب */
.logo{ flex:0 0 auto; }
.custom-logo{ height:56px !important; width:auto !important; display:block !important; }
.custom-logo-link{ display:block; line-height:0; }

/* Nav pill (وسط) */
.nav-pill{
  margin-inline:auto;
  display:flex; align-items:center; justify-content:center;
  padding:12px 28px; border-radius:44px;
  background: var(--pill-bg);
  border:1px solid var(--pill-bd);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.main-nav .menu{ list-style:none; display:flex; gap:28px; margin:0; padding:0; }
.main-nav .menu>li>a{
  color:#fff; text-decoration:none; display:inline-block; padding:12px 6px;
  font-weight:700; font-size:16px; letter-spacing:.1px;
}
.main-nav .menu>li>a:hover{ opacity:.9 }

/* CTA (يسار) */
.header-cta{
  flex:0 0 auto;
  display:inline-block; padding:10px 18px; border-radius:14px;
  background:var(--teal); color:#fff; text-decoration:none; font-weight:800;
  box-shadow:0 6px 16px rgba(10,163,184,.25);
  white-space:nowrap;
}

/* Mobile nav */
.nav-toggle{ display:none; background:none; border:0; color:#fff; font-size:28px }
@media (max-width: 992px){
  .nav-toggle{ display:block }
  .nav-pill{ display:none }
  .main-nav{ position:fixed; inset-inline:0; top:86px; background:#fff; transform:translateY(-20px); opacity:0; pointer-events:none; transition:.25s }
  .main-nav.open{ transform:translateY(0); opacity:1; pointer-events:auto }
  .main-nav .menu{ flex-direction:column }
  .main-nav .menu>li>a{ color:#111; padding:14px 18px; display:block }
  .header-cta{ display:none }
}

/* ====== Hero / Slider (full, lighter overlay) ====== */
.hero-slider{ position:relative; min-height: 92vh; } /* أطول شوية زي التصميم */
.js-hero-swiper, .swiper, .swiper-wrapper{ width:100%; height:100%; }
.swiper-slide{ position:relative; height:100%; }

.hero-slide{ position:relative; height:100%; min-height:inherit; }

/* الخلفية — متمددة بالكامل بدون قص مقلق */
.hero-bg{
  position:absolute; inset:0;
  background-size: cover;           /* ملىء الإطار */
  background-position: center 40%;  /* يزوّح شوية لأعلى لتظهر القارب */
  will-change: transform;
  transform: translateZ(0);
}

/* Overlay أخف (زي الصورة الأولى) */
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.28)); /* أخف من قبل */
  pointer-events:none;
}

/* محتوى السلايدر */
.hero-content{
  position:relative; z-index:2; color:#fff; direction:rtl;
  padding-block: 120px 64px;   /* مساحة فوق عشان الهيدر الـabsolute */
}

.hero-title{ 
  font-size: clamp(34px, 4.2vw, 56px); 
  line-height:1.12; margin:0 0 12px; font-weight:800;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.hero-title .accent{ color: var(--hero-accent); } /* سافر بالبينك */

.hero-text{
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 640px; margin:0 0 22px; opacity:.98;
}
.hero-btn{
  display:inline-block; padding:12px 22px; border-radius:12px; 
  background: var(--teal); color:#fff; text-decoration:none; font-weight:800;
  box-shadow:0 10px 24px rgba(10,163,184,.28);
}

/* Swiper pagination + arrows */
.swiper-pagination-bullet{ background:#fff; opacity:.6; }
.swiper-pagination-bullet-active{ opacity:1; }
.swiper-btn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:50%;
  border:1px solid rgba(255,255,255,.5);
  background: rgba(8,64,86,.35); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.js-hero-prev{ right: 18px; }
.js-hero-next{ left: 18px; }

/* Responsive */
@media (max-width: 992px){
  .hero-slider{ min-height: 72vh; }
  .hero-content{ padding-block: 100px 40px; }
}
/* احذف/علّق أي واحدة من دول لو لسه موجودة */
.header-wrap{ margin-bottom:-126px !important; }  /* لازم تتشال */
.custom-logo{
  height: 191px !important;
  width: 182px !important;
  margin-bottom: -82px !important;
  margin-right: -120px !important;
}
.logo .custom-logo{
  height: 194px !;
  width: 201px !;
  margin-top: 78px !;
}


/* ارتفاع ومحاذاة الهيدر */
.site-header.is-absolute{
  height: 86px; display:flex; align-items:center; inset-block-start:0; inset-inline:0; z-index: 200;
}
.header-wrap{
  display:flex; align-items:center; gap:16px; direction: rtl;
}

/* لوجو مضبوط بدون أبعاد مبالغ فيها */
.logo{ flex:0 0 auto; }
.custom-logo{ height:56px !important; width:auto !important; display:block !important; }
.custom-logo-link{ display:block; line-height:0; }

/* الـpill في المنتصف رأسيًا ضمن الهيدر */
.nav-pill{
  margin-inline:auto;
  display:flex; align-items:center; justify-content:center;
  min-height: 56px;               /* يخلي ارتفاعها ثابت */
  padding: 10px 28px;
  border-radius: 44px;
  background: rgba(8,64,86,.45);
  border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* عناصر القائمة */
.main-nav .menu{ display:flex; gap:28px; margin:0; padding:0; list-style:none; }
.main-nav .menu>li>a{
  color:#fff; font-weight:700; font-size:16px; text-decoration:none; padding:12px 6px; letter-spacing:.1px;
}

/* زر التواصل (يسار) على نفس الخط */
.header-cta{
  flex:0 0 auto;
  display:inline-block; white-space:nowrap;
  padding:10px 18px; border-radius:14px; font-weight:800;
  background:#0aa3b8; color:#fff; text-decoration:none;
  box-shadow:0 6px 16px rgba(10,163,184,.25);
}
/* ====== Header sizing (مطابق للفيجما) ====== */
:root{
  --logo-h: 64px;          /* ارتفاع اللوجو */
  --header-h: 96px;        /* ارتفاع الهيدر */
  --pill-min-h: 56px;      /* ارتفاع كبسولة القوائم */
  --accent-pink: #ff4d7f;  /* لون كلمة "سافر" */
  --teal: #0aa3b8;
}

.site-header.is-absolute{
  position: absolute; inset: 0 0 auto 0;  /* أعلى الصفحة فوق السلايدر */
  height: var(--header-h);
  display:flex; align-items:center; z-index: 200; background: transparent;
}
.site-header .container{ margin-top: 0 !important; }   /* يمنع أي دفع لأسفل */

/* logo */
.custom-logo{ height: var(--logo-h) !important; width:auto !important; display:block !important; }
.custom-logo-link{ line-height:0; display:block; }
.logo{ flex:0 0 auto; }

/* nav pill */
.nav-pill{
  margin-inline:auto;
  display:flex; align-items:center; justify-content:center;
  min-height: var(--pill-min-h);
  padding: 10px 28px; border-radius: 44px;
  background: rgba(8,64,86,.45);
  border:1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.main-nav .menu{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.main-nav .menu>li>a{ color:#fff; text-decoration:none; font-weight:700; font-size:16px; padding:12px 6px; }

/* CTA */
.header-cta{
  flex:0 0 auto; white-space:nowrap;
  padding:10px 18px; border-radius:14px; font-weight:800;
  background: var(--teal); color:#fff; text-decoration:none;
  box-shadow:0 6px 16px rgba(10,163,184,.25);
}

/* ====== Hero / Slider ====== */
/* مهم: السلايدر ياخد طول الشاشة فعليًا، فيظهر أكبر جزء من الصورة */
.hero-slider{ position: relative; height: 100vh; min-height: 720px; max-height: 920px; }
.js-hero-swiper, .swiper, .swiper-wrapper, .swiper-slide, .hero-slide{ height:100%; }

/* الخلفية لا تُقصّ الجزء الهام (توجيه بسيط للأعلى) */
.hero-bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center 30%;   /* ارفعي نسبة/نزليها حسب الصورة */
  will-change: transform; transform: translateZ(0);
}

/* Overlay أخف زي التصميم */
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.24));
  pointer-events: none;
}

/* محتوى السلايدر بعيد عن الهيدر */
.hero-content{
  position:relative; z-index:2; color:#fff; direction:rtl;
  padding-block: calc(var(--header-h) + 28px) 64px;  /* مسافة أعلى = ارتفاع الهيدر + هامش */
}
.hero-title{ font-size: clamp(34px, 4.2vw, 56px); line-height:1.12; margin:0 0 12px; font-weight:800; }
.hero-title .accent{ color: var(--accent-pink) !important; }
.hero-text{ font-size: clamp(16px, 1.4vw, 20px); max-width: 640px; margin:0 0 22px; }

.swiper-pagination{ bottom: 22px !important; }
.swiper-pagination-bullet{ width:8px; height:8px; background:#fff; opacity:.6; }
.swiper-pagination-bullet-active{ opacity:1; }

@media (max-width: 992px){
  .site-header.is-absolute{ height: 78px; }
  .hero-slider{ height: 72vh; min-height: 560px; max-height:none; }
  .hero-content{ padding-block: 100px 40px; }
}
/* ========= Tuning vars ========= */
:root{
  --logo-h: 200px;        /* كَبَّرنا اللوجو (عدّليها حسب قياس الفيجما) */
  --header-h: 112px;     /* زودنا ارتفاع الهيدر عشان يستوعب اللوجو */
  --pill-min-h: 60px;    /* كبسولة القوائم */
  --submenu-bg: rgba(10, 24, 32, .92);
  --submenu-bd: rgba(255,255,255,.15);
  --submenu-radius: 16px;
}

/* ========= Header / Logo ========= */
.site-header.is-absolute{
  height: var(--header-h); display:flex; align-items:center; background:transparent; z-index: 200;
}
.custom-logo{ height: var(--logo-h) !important; width:auto !important; display:block !important; }
.logo{ flex:0 0 auto; }
.nav-pill{ min-height: var(--pill-min-h); }

/* ========= Menus: dropdown RTL, multi-level ========= */
.main-nav .menu{ list-style:none; display:flex; gap:28px; margin:0; padding:0; }
.main-nav .menu>li{ position:relative; }

/* أول مستوى فرعي */
.main-nav .menu > li > .sub-menu{
  position:absolute; top: 100%; inset-inline-end: 0;   /* RTL: تفتح لليسار (يمين الشاشة) */
  min-width: 220px; padding: 10px; margin-top: 10px;
  background: var(--submenu-bg); border:1px solid var(--submenu-bd);
  border-radius: var(--submenu-radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  opacity:0; transform: translateY(8px); pointer-events:none; transition: .18s ease;
  backdrop-filter: blur(6px);
  z-index: 300;
}
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu{
  opacity:1; transform: translateY(0); pointer-events:auto;
}

/* عناصر submenu */
.main-nav .sub-menu{ list-style:none; margin:0; padding:6px; }
.main-nav .sub-menu > li > a{
  display:block; color:#fff; text-decoration:none; font-weight:600;
  padding:10px 12px; border-radius:10px; white-space:nowrap;
}
.main-nav .sub-menu > li > a:hover{ background:rgba(255,255,255,.08); }

/* مستوى تاني (nested) — يفتح «يمينًا» بالنسبة لـ RTL */
.main-nav .sub-menu .menu-item-has-children > .sub-menu{
  top:0; inset-inline-end: 100%; margin-inline-end: 8px; /* يزقّ القائمة يمين */
  margin-top: 0;
}
.main-nav .menu-item-has-children > a{
  position:relative; padding-inline-start: 14px; /* مساحة لأيقونة السهم */
}
.main-nav .menu-item-has-children > a::before{
  content: "›"; position:absolute; inset-inline-start: 0; top:50%; transform: translateY(-50%) rotate(180deg);
  opacity:.8;
}

/* لمس/لوحيات: خليه بالنقر الأول يفتح القائمة بدل ما يروح الرابط */
@media (hover: none){
  .main-nav .menu > li > a{ touch-action: manipulation; }
}

/* ========= Hero: نزول المحتوى لتحت ========= */
/* نخلي الـslide نفسها flex و ننزل المحتوى */
.hero-slide{
  position:relative; height:100%; display:flex; align-items:flex-end; /* لتحت */
}
.hero-content{
  width:100%; direction:rtl; z-index:2; color:#fff;
  /* padding-top صغير عشان الهيدر، و bottom كبير عشان يبان زي الفيجما */
  padding-block: calc(var(--header-h) + 10px) 160px;   /* عدّلي 160px حسب الصورة */
}
@media (max-width: 992px){
  .hero-content{ padding-block: 100px 90px; }
}

/* لو حسّيتي العنوان قريب أوي من اليمين/الشمال، زوّدي margin-inline */
.hero-title{ margin: 0 0 12px; font-weight:800; }
.hero-text { margin: 0 0 22px; max-width:640px; }

/* لمسة لطيفة: خفّفي الغطاء سنة */
.hero-overlay{ background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.22)) !important; }



/* ===========================
   📱 Mobile Fix Pack (<= 768px)
   يفضّل وضعه في نهاية ملف الـCSS
   =========================== */

/* قيم أصغر للهيدر/اللوجو */
@media (max-width: 768px){
  :root{
    --logo-h: 200px;
    --header-h: 78px;
    --pill-min-h: 52px;
  }

  /* = Header */
  .site-header.is-absolute{ height: var(--header-h) !important; }
  .custom-logo{ height: var(--logo-h) !important;
  margin-top:-120px;}
  .nav-pill{ display:none !important; }
  .header-cta{ display:none !important; }
  .nav-toggle{ display:block !important; z-index: 210; }

  /* قائمة الموبايل منسدلة تغطي العرض */
  .main-nav{
    position:fixed; top: var(--header-h); inset-inline:0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(6px);
    transform: translateY(-16px); opacity:0; pointer-events:none; transition:.25s;
    z-index: 205;
  }
  .main-nav.open{ transform: none; opacity:1; pointer-events:auto; }
  .main-nav .menu{ flex-direction: column; padding: 6px 8px; }
  .main-nav .menu>li>a{ color:#0c2940 !important; font-size:17px; padding:14px 12px; }
  .main-nav .sub-menu{
    position:static; margin:0 0 8px 0; transform:none; opacity:1; pointer-events:auto;
    background:#f7fafb; border:1px solid #e7eef3; border-radius:12px;
  }
  .main-nav .sub-menu > li > a{ color:#0c2940; }

  /* = Hero / Slider */
  .hero-slider{ height: 72vh !important; min-height: 520px !important; max-height:none !important; }
  .hero-bg{ background-position: center 45% !important; }
  .hero-slide{ align-items: flex-end !important; }
  .hero-content{
    padding-block: calc(var(--header-h) + 8px) 90px !important;
    text-align: right;
  }
  .hero-title{ font-size: clamp(26px, 6vw, 34px) !important; }
  .hero-text{ font-size: 15px !important; max-width: 92% !important; }
  .swiper-btn{ display:none !important; }           /* أسهم السلايدر مخفية للموبايل */
  .swiper-pagination{ bottom: 14px !important; }

  /* = Offers (نخليها عمود واحد: نص ثم صور) */
  .offers-section{ padding: 36px 0 46px !important; }
  .offers-grid{
    grid-template-columns: 1fr !important;
    grid-template-areas: "copy" "mosaic" !important;
    gap: 22px !important;
    direction: rtl; /* للنص فقط */
  }
  .offers-heading{ font-size: 26px !important; margin-bottom: 8px !important; }
  .offers-lead{ font-size: 15px !important; max-width: 92% !important; }
  .offers-mosaic{
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 130px 130px 200px !important;
    grid-template-areas: "a b" "c d" "big big" !important;
    gap: 12px !important;
  }

  /* = Services (شبكتين / سطرين) */
  .services-section{ padding: 34px 0 42px !important; }
  .services-grid{ grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .service-card{ aspect-ratio: 4 / 3 !important; box-shadow: 0 1px 6px rgba(0,0,0,.08) !important; }
  .svc-label{ font-size: 16px !important; max-width:88% !important; }

  /* = Destinations */
  .destinations-section{ padding: 26px 0 32px !important; }
  .dest-grid{ grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .dest-card{ aspect-ratio: 4 / 3 !important; }
  .dest-label{ font-size: 16px !important; max-width: 88% !important; }

  /* = Hotels */
  .hotels-section{ padding: 32px 0 40px !important; }
  .hotels-grid{ grid-template-columns: 1fr !important; gap: 18px !important; }
  .hotels-heading{ font-size: 24px !important; }
  .hotels-mosaic{
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 140px 140px 200px !important;
    grid-template-areas:
      "big big"
      "r1  r2"
      "r3  r3" !important;
    gap: 10px !important;
  }

  /* = Footer */
  .footer-grid{
    grid-template-columns: 1fr !important; gap: 18px !important;
    padding: 22px 0 !important; text-align: right !important;
  }
  .f-logo img{ height: 140px !important; width:auto !important; }
  .f-contact li{ gap: 10px !important; }
  .footer-bottom{ font-size: 12px !important; padding: 10px 0 !important; }
}

/* موبايل أصغر جدًا (<= 520px) */
@media (max-width: 520px){
  .hero-slider{ height: 64vh !important; min-height: 460px !important; }
  .hero-content{ padding-block: calc(var(--header-h) + 6px) 70px !important; }
  .hero-title{ font-size: 24px !important; }
  .offers-mosaic{ grid-template-rows: 120px 120px 180px !important; }
  .service-card, .dest-card{ aspect-ratio: 1 / 1 !important; }  /* مربعة لو الشاشة ضيقة جدًا */
  .svc-label, .dest-label{ font-size: 15px !important; }
}


/* =============================
   📱 Mobile header + side menu
   ============================= */
@media (max-width: 768px){
  /* متخليش الـparent يختفي وإلا القائمة مش هتظهر */
  .nav-pill{ display: contents !important; }

  /* زرّ الهامبرجر */
  .nav-toggle{
    display:block !important;
    position:absolute; inset-inline-start:16px; top:18px;
    z-index:10030;
  }
  .header-cta{ display:none !important; }   /* إخفاء زر CTA على الموبايل */

  /* لوحة القائمة الجانبية (من اليمين RTL) */
  .main-nav{
    position: fixed !important;
    top: 0; bottom: 0; inset-inline-end: 0;
    width: min(82vw, 360px);
    background: #fff;
    padding: 14px 16px;
    overflow:auto;
    transform: translateX(100%);           /* مخفية خارج الشاشة */
    transition: transform .28s ease;
    box-shadow: -24px 0 40px rgba(0,0,0,.18);
    z-index: 10020;
  }
  .main-nav.open{ transform: translateX(0); }

  /* خلفية معتمة أسفل السايد منيو */
  .nav-overlay{
    position: fixed; inset: 0;
    background: rgba(2,15,23,.45);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
    z-index: 10010;
  }
  .nav-overlay.show{ opacity: 1; pointer-events: auto; }

  /* محتوى القائمة */
  .main-nav .menu{
    display:flex; flex-direction:column; gap:0;
    padding: 6px 4px;
  }
  .main-nav .menu>li>a{
    color:#0c2940 !important; text-decoration:none;
    font-weight:700; font-size:17px;
    padding: 14px 8px; display:block;
  }

  /* القوائم الفرعية كأكورديون */
  .main-nav .menu>li{ position:relative; }
  .main-nav .menu-item-has-children > a{
    position:relative; padding-inline-end: 24px;
  }
  .main-nav .menu-item-has-children > a::after{
    content:"▾"; position:absolute; inset-inline-end:6px; top:50%;
    transform: translateY(-50%); font-size:12px; opacity:.65;
  }
  .main-nav .sub-menu{
    display:none; position:static; margin:6px 0 10px;
    padding:6px; background:#f6fafc; border:1px solid #e6edf2; border-radius:12px;
  }
  .main-nav .menu-item-has-children.open-sub > .sub-menu{ display:block; }
  .main-nav .menu-item-has-children.open-sub > a::after{ transform: translateY(-50%) rotate(180deg); }

  /* امنع سكرول الصفحة تحت القائمة عند الفتح */
  body.nav-open{ overflow: hidden; }
}

/* =============================
   📱 Footer small screens
   ============================= */
@media (max-width: 768px){
  .footer-grid{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 22px 0 !important;
    text-align: right !important;
  }
  .f-logo img{ height: 140px !important; width:auto !important; }
  .f-col .f-title{ font-size: 15px !important; }
  .f-menu a, .f-contact a{ font-size: 14px !important; }
  .f-contact li{ gap:10px !important; }
  .footer-bottom{ font-size: 12px !important; padding: 10px 0 !important; }
  
  .hero__inner {
    margin-top: 86px;
}
}


@media (max-width: 768px) {
    .main-nav .sub-menu > li > a {
        color: #d9dfe3;
    }
    
    .main-nav {
        position: fixed !important;
        top: 0;
        bottom: 0;
        inset-inline-end: 0;
        width: min(82vw, 360px);
      
        padding: 15px 0px;
}
}
@media (max-width: 768px) {
  .nav-toggle {
    position: absolute;
    inset-inline-start: 16px;
    top: 18px;
    z-index:999;
  }
  .main-nav.open .nav-toggle {
    display: none!important;
  }
  .main-nav {
    position: fixed !important;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(82vw, 360px);
    padding: 15px 0px;
    transform: translateX(100%);
    transition: transform .28s ease;
    box-shadow: -24px 0 40px rgba(0,0,0,.18);
    z-index: 10020;
  }
  .main-nav.open {
    transform: translateX(0);
  }
}
.main-nav .menu-item-has-children > a::before{
    display: none;
}
/*اهر الهيدر*/




/* ==== PATCH: إظهار الخدمات الفرعية داخل السايد منيو (موبايل) ==== */
@media (max-width:768px){
  /* خُلي الساب-منيو جسم عادي داخل الدرج، مش position absolute */
  .main-nav .sub-menu{
    position: static !important;
    display: none;                /* الأساس مقفول */
    margin: 8px 0 10px !important;
    padding: 6px 8px !important;
    list-style: none;
    background: #f6fafc !important;
    border: 1px solid #e6edf2 !important;
    border-radius: 12px !important;
  }

  /* افتحيها لما الأب ياخد .open-sub */
  .main-nav .menu-item-has-children.open-sub > .sub-menu{
    display: block !important;
  }

  /* ألوان وروية أوضح للروابط */
  .main-nav .sub-menu > li > a{
    display: block;
    padding: 10px 8px;
    color: #0a2f45 !important;      /* بدل الرمادي الفاتح */
    text-decoration: none !important;
    font-weight: 700;
  }

  /* لو عندك أي ستايل قديم مِقلّب اللون */
  .main-nav .sub-menu > li > a:link,
  .main-nav .sub-menu > li > a:visited,
  .main-nav .sub-menu > li > a:hover,
  .main-nav .sub-menu > li > a:active{
    color: #0a2f45 !important;
    text-decoration: none !important;
  }

  /* سهم الفتح/القفل */
  .main-nav .menu-item-has-children > a{
    position: relative;
    padding-inline-end: 28px;
  }
  .main-nav .menu-item-has-children > a::after{
    content:"▾";
    position:absolute; inset-inline-end:8px; top:50%;
    transform:translateY(-50%);
    font-size:12px; opacity:.65;
  }
  .main-nav .menu-item-has-children.open-sub > a::after{
    transform:translateY(-50%) rotate(180deg);
  }
}



@media (max-width:768px){
  .main-nav .menu-item-has-children > .sub-menu{ display:block !important; }
}



/* ===== PATCH: sub-menu visible + dedicated toggle (mobile) ===== */
@media (max-width:768px){
  /* الأساس: الساب منيو مقفول، ويفتح مع .open-sub */
  .main-nav .sub-menu{
    display:none !important;
    position:static !important;
    margin:8px 0 10px !important;
    padding:6px 8px !important;
    list-style:none;
    background:#f6fafc !important;
    border:1px solid #e6edf2 !important;
    border-radius:12px !important;
  }
  .main-nav .menu-item-has-children.open-sub > .sub-menu{
    display:block !important;
  }

  /* مساحة للزر الجديد */
  .main-nav .menu-item-has-children > a{
    position:relative;
    padding-inline-end:44px !important;
  }

  /* زرّ التبديل (هنضيفه بالـJS) */
  .main-nav .menu-item-has-children > .sub-toggle{
    position:absolute; inset-inline-end:6px; top:50%; transform:translateY(-50%);
    width:32px; height:32px; border:0; background:transparent; cursor:pointer;
    border-radius:8px;
  }
  .main-nav .menu-item-has-children > .sub-toggle::after{
    content:"▾"; font-size:14px; opacity:.75; display:block; line-height:32px; text-align:center;
  }
  .main-nav .menu-item-has-children.open-sub > .sub-toggle::after{
    transform: rotate(180deg);
  }

  /* ألوان روابط الفرعيات واضحة */
  .main-nav .sub-menu > li > a{
    display:block; padding:10px 8px;
    color:#0a2f45 !important; text-decoration:none !important; font-weight:700;
  }

  /* منع أي أكواد قديمة من إخفائها */
  .main-nav .sub-menu, .main-nav .menu-item-has-children.open-sub > .sub-menu{
    visibility:visible !important; opacity:1 !important; height:auto !important; max-height:none !important;
  }
}


