/* MEGA MENU & NAVBAR CSS - DIGITALLYHIKE DUBAI */
@keyframes sh { 0% { background-position: 0% } 100% { background-position: 300% } }
@keyframes wap { 0%,100% { box-shadow:0 4px 20px rgba(37,211,102,.5) } 50% { box-shadow:0 4px 30px rgba(37,211,102,.8),0 0 0 8px rgba(37,211,102,.15) } }
@keyframes agp { 0%,100% { transform:scale(1);opacity:1 } 50% { transform:scale(.7);opacity:.5 } }

/* ============================================================
   SLIM TOP INFORMATION BAR (38-42px) - ORANGE FOR INNER PAGES
============================================================ */
#siteTopbar {
  position: relative;
  z-index: 1001;
  background: #e8501a !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff !important;
  line-height: 1;
}
.dh-tb-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.dh-tb-left,
.dh-tb-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.dh-tb-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}
a.dh-tb-item:hover {
  color: #ffffff !important;
  opacity: 0.9;
}
a.dh-tb-item:hover .dh-tb-icon {
  transform: scale(1.12);
  stroke: #ffffff;
}
.dh-tb-icon {
  width: 14px;
  height: 14px;
  stroke: #ffffff !important;
  flex-shrink: 0;
  transition: transform 0.18s ease, stroke 0.18s ease;
}
.dh-tb-flag {
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.dh-tb-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.dh-tb-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.dh-tb-social a:hover {
  color: #ffffff !important;
  opacity: 1;
  transform: translateY(-1px);
}
.dh-tb-sep {
  background: rgba(255, 255, 255, 0.35) !important;
}
@media (max-width: 820px) {
  .dh-tb-social, .dh-tb-sep { display: none !important; }
}

#navWrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b1021 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
  font-family: 'Outfit', sans-serif;
}
#navWrap nav {
  background: transparent !important;
  border-bottom: none !important;
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
  z-index: 201;
}

/* ============================================================
   HOMEPAGE EXCEPTION: TRANSLUCENT GLASS OVER HERO VIDEO
============================================================ */
body.home-page #siteTopbar,
#siteHeroWrap #siteTopbar {
  background: rgba(15, 20, 34, 0.35) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}
body.home-page #siteTopbar .dh-tb-item,
#siteHeroWrap #siteTopbar .dh-tb-item {
  color: rgba(255, 255, 255, 0.88) !important;
}
body.home-page #siteTopbar a.dh-tb-item:hover,
#siteHeroWrap #siteTopbar a.dh-tb-item:hover {
  color: #ffffff !important;
}
body.home-page #siteTopbar .dh-tb-icon,
#siteHeroWrap #siteTopbar .dh-tb-icon {
  stroke: #ff3b30 !important;
}
body.home-page #siteTopbar a.dh-tb-item:hover .dh-tb-icon,
#siteHeroWrap #siteTopbar a.dh-tb-item:hover .dh-tb-icon {
  stroke: #ff5a52 !important;
}
body.home-page #siteTopbar .dh-tb-social a,
#siteHeroWrap #siteTopbar .dh-tb-social a {
  color: rgba(255, 255, 255, 0.82) !important;
}
body.home-page #siteTopbar .dh-tb-social a:hover,
#siteHeroWrap #siteTopbar .dh-tb-social a:hover {
  color: #ff3b30 !important;
}
body.home-page #siteTopbar .dh-tb-sep,
#siteHeroWrap #siteTopbar .dh-tb-sep {
  background: rgba(255, 255, 255, 0.2) !important;
}

body.home-page #navWrap,
#siteHeroWrap #navWrap {
  position: relative !important;
  background: rgba(15, 22, 42, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

body.home-page #navWrap nav,
#siteHeroWrap #navWrap nav {
  background: rgba(255, 255, 255, 0.06) !important;
}

.nav-shimmer::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.2) 0%, 
    #e8501a 20%, 
    #ff7a45 35%, 
    #ffffff 50%, 
    #ff7a45 65%, 
    #e8501a 80%, 
    rgba(255,255,255,0.2) 100%
  ) !important;
  background-size: 200% !important;
  animation: sh 3.5s linear infinite !important;
  box-shadow: 0 0 8px rgba(232, 80, 26, 0.55), 0 0 2px rgba(255, 255, 255, 0.8) !important;
  pointer-events: none;
}

.con-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  border: 1.5px solid #1a1f3d;
  animation: agp 2s ease-in-out infinite;
}

.mi-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 1px;
  transition: background .18s,transform .15s;
  text-decoration: none;
  position: relative;
}
.mi-item:hover {
  transform: translateX(3px);
  background: rgba(255,255,255,0.06);
}
.mi-item .mi-arr {
  opacity: 0;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
  transition: opacity .15s;
}
.mi-item:hover .mi-arr {
  opacity: 1;
}

#navLinksRow {
  display: flex !important;
  align-items: center !important;
  gap: 2px;
}

.nb-btn {
  padding: 6px 8px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0 !important;
  white-space: nowrap;
  background: transparent !important;
  border: none;
  font-family: 'Outfit', sans-serif;
  transition: all .2s ease;
  letter-spacing: normal !important;
}
.nb-icon {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  stroke-width: 2.2;
  margin-right: 3px !important;
  position: relative;
  top: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease, stroke 0.18s ease;
}
.nb-btn:hover .nb-icon,
.nb-btn.open .nb-icon {
  opacity: 1;
  stroke: #ff7a45;
  transform: translateY(-1px);
}
.nb-btn:hover, .nb-btn.open {
  color: #ff7a45 !important;
  background: transparent !important;
}

.chevron {
  width: 13px;
  height: 13px;
  opacity: 0.75;
  margin-left: 5px !important;
  transition: transform .2s ease, opacity .2s ease;
}
.nb-btn:hover .chevron,
.nb-btn.open .chevron {
  opacity: 1;
}
.nb-btn.open .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

@media (max-width: 960px) {
  .dh-tb-hours { display: none !important; }
}
@media (max-width: 720px) {
  #siteTopbar { height: 38px; min-height: 38px; font-size: 11px; }
  .dh-tb-container { padding: 0 14px; }
  .dh-tb-left { gap: 14px; }
  .dh-tb-item { font-size: 11px; gap: 5px; }
  .dh-tb-icon { width: 13px; height: 13px; }
  .dh-tb-right { display: none !important; }
}
@media (max-width: 420px) {
  .dh-tb-email { display: none !important; }
}

@media (max-width: 900px) {
  #hamburgerBtn { display: flex !important; }
  #navCtaPill { display: none !important; }
  #navLinksRow {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0 !important;
    background: rgba(10,14,32,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
    z-index: 250;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
  #navLinksRow.mobile-open {
    display: flex !important;
  }
  #navLinksRow .nb-btn {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* ============================================================
   SHARED ENTERPRISE FOOTER (MATCHING HOMEPAGE)
============================================================ */
.site-footer {
  background: #1a1f3d !important;
  padding: 70px 5% 0 !important;
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}
.site-footer a {
  transition: color 0.2s, opacity 0.2s;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 52px;
}
.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,.45) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s, transform .2s;
}
.footer-link:hover {
  color: #fff !important;
  transform: translateX(2px);
}
.fp-link {
  font-size: 12px;
  color: rgba(255,255,255,.45) !important;
  text-decoration: none;
  transition: color .2s;
}
.fp-link:hover {
  color: #ff6b35 !important;
}

@media (max-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .site-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .site-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
    justify-content: center !important;
  }
  .site-footer-bottom div:last-child {
    justify-content: center;
  }
}

/* ============================================================
   SLANTED ("TEDHA") RUNNING BORDER FOR LOGO CONTOUR
============================================================ */
.dh-logo-teda {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.dh-logo-teda:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(232, 80, 26, 0.45));
}
.dh-logo-teda img {
  display: block;
}
.dh-logo-teda-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.dh-tedha-runner {
  stroke-dasharray: 550 1350;
  stroke-dashoffset: 0;
  animation: dhTedhaBorderRun 2.8s linear infinite;
}
@keyframes dhTedhaBorderRun {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -1900;
  }
}

/* ============================================================
   MODERN DROPDOWN ANIMATION & DARK OPAQUE STYLING
============================================================ */
#megaPanel {
  background: #0b1021 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  animation: dhDropdownFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes dhDropdownFade {
  from {
    opacity: 0;
    transform: translate(-50%, -6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}
