/* Custom scrollbar for drawer */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 76, 129, 0.35) transparent;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 4px !important;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(15, 76, 129, 0.36),
    rgba(14, 165, 164, 0.26)
  );
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}
:root {
  --brand: #0f4c81;
  --accent: #0ea5a4;
  --ink: #1e293b;
  --ink-soft: #5b6b80;
  --line: rgba(148, 163, 184, 0.24);
  --paper: rgba(255, 255, 255, 0.84);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --paper-soft: rgba(248, 251, 255, 0.78);
  --soft: #e9f3ff;
  --shadow: 0 24px 60px -42px rgba(15, 76, 129, 0.35);
  --shadow-soft: 0 18px 40px -32px rgba(15, 76, 129, 0.2);
  --radius: 1.5rem;
}
html,
body {
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 76, 129, 0.35) transparent;
  scrollbar-gutter: stable;
}

body {
  font-family: "IBM Plex Sans Arabic", "Changa", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(214, 236, 255, 0.78) 0,
      transparent 22%
    ),
    radial-gradient(
      circle at 86% 8%,
      rgba(219, 248, 243, 0.82) 0,
      transparent 18%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f1f6fc 50%, #edf4fb 100%);
  min-height: 100vh;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 76, 129, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 129, 0.028) 1px, transparent 1px);
  background-size: 34px 34px;
}

body,
#guideSearchResults,
#guideSearchResultsMobile {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 76, 129, 0.3) transparent;
}

body::-webkit-scrollbar,
#guideSearchResults::-webkit-scrollbar,
#guideSearchResultsMobile::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track,
#guideSearchResults::-webkit-scrollbar-track,
#guideSearchResultsMobile::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb,
#guideSearchResults::-webkit-scrollbar-thumb,
#guideSearchResultsMobile::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(15, 76, 129, 0.36),
    rgba(14, 165, 164, 0.26)
  );
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.hero-swiper-pagination.swiper-pagination-horizontal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  opacity: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    width 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 2rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98),
    rgba(226, 240, 255, 0.92)
  );
  box-shadow: 0 10px 18px -12px rgba(15, 76, 129, 0.42);
}

.hero-swiper-pagination .swiper-pagination-bullet:hover {
  transform: translateY(-1px);
}

@media (max-width: 639px) {
  .hero-swiper-pagination.swiper-pagination-horizontal {
    gap: 0.35rem;
  }

  .hero-swiper-pagination .swiper-pagination-bullet {
    width: 0.58rem;
    height: 0.58rem;
  }

  .hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 1.5rem;
  }
}

.rashid-hero-swiper {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.rashid-hero-slide {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2rem;
  background:
    radial-gradient(
      circle at top right,
      var(--hero-accent-soft),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(241, 247, 255, 0.88) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 28px 64px -42px var(--hero-accent-glow);
}

.rashid-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rashid-hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.75;
}

.rashid-hero-orb.is-1 {
  top: -4rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  background: var(--hero-accent-soft);
}

.rashid-hero-orb.is-2 {
  bottom: -3rem;
  left: -2rem;
  width: 10rem;
  height: 10rem;
  background: rgba(255, 255, 255, 0.65);
}

.rashid-hero-orb.is-3 {
  top: 30%;
  left: 44%;
  width: 6rem;
  height: 6rem;
  background: color-mix(in srgb, var(--hero-accent) 24%, white);
}

.rashid-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding: 1.5rem;
}

.rashid-hero-content,
.rashid-hero-media {
  min-width: 0;
}

.rashid-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--hero-accent) 12%, white);
  background: color-mix(in srgb, var(--hero-accent) 10%, white);
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--hero-accent);
}

.rashid-hero-title {
  margin-top: 1rem;
  color: #0f172a;
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.rashid-hero-highlight {
  display: block;
  margin-top: 0.35rem;
  color: var(--hero-accent);
}

.rashid-hero-copy {
  margin-top: 1rem;
  max-width: 42rem;
  color: #526171;
  font-size: 0.98rem;
  line-height: 2;
}

.rashid-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rashid-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 1rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 800;
  transition: 220ms ease;
}

.rashid-hero-primary {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 34px -24px rgba(15, 23, 42, 0.38);
}

.rashid-hero-primary:hover {
  background: #111f37;
}

.rashid-hero-secondary {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
}

.rashid-hero-secondary:hover {
  border-color: color-mix(in srgb, var(--hero-accent) 24%, white);
  color: var(--hero-accent);
}

.rashid-hero-features {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.rashid-hero-feature {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
}

.rashid-hero-image-shell {
  position: relative;
  padding: 1rem;
}

.rashid-hero-image-frame {
  position: absolute;
  inset: 0;
  border-radius: 2.75rem;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.36)
    ),
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--hero-accent) 22%, white) 0 10px,
      rgba(255, 255, 255, 0.9) 10px 20px
    );
  box-shadow: 0 24px 50px -36px rgba(15, 76, 129, 0.34);
  transform: rotate(-2.2deg);
}

.rashid-hero-image {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: #ffffff;
  box-shadow: 0 26px 54px -36px rgba(15, 76, 129, 0.35);
}

.rashid-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.rashid-hero-slide:hover .rashid-hero-image img {
  transform: scale(1.03);
}

.swiper-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.14);
  color: #fff;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: 220ms ease;
}

.swiper-nav-btn:hover {
  background: rgba(15, 23, 42, 0.22);
}

.swiper-button-prev-custom {
  right: 1rem;
}

.swiper-button-next-custom {
  left: 1rem;
}

.rashid-hero-swiper .swiper-pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: auto !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.18);
  padding: 0.45rem 0.6rem;
  backdrop-filter: blur(12px);
}

.rashid-hero-swiper .swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  opacity: 1;
  transition: 220ms ease;
}

.rashid-hero-swiper .swiper-pagination-bullet-active {
  width: 2rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98),
    rgba(226, 240, 255, 0.92)
  );
  box-shadow: 0 10px 18px -12px rgba(15, 76, 129, 0.42);
}

@media (min-width: 1024px) {
  .rashid-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    padding: 2rem;
  }

  .swiper-nav-btn {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .rashid-hero-grid {
    padding: 1rem;
    gap: 1rem;
  }

  .rashid-hero-slide {
    border-radius: 1.5rem;
  }

  .rashid-hero-image {
    min-height: 240px;
    border-radius: 2rem;
  }

  .rashid-hero-swiper .swiper-pagination {
    max-width: calc(100% - 1.5rem);
    padding: 0.35rem 0.55rem;
    gap: 0.35rem;
  }

  .rashid-hero-swiper .swiper-pagination-bullet {
    width: 0.58rem;
    height: 0.58rem;
  }

  .rashid-hero-swiper .swiper-pagination-bullet-active {
    width: 1.5rem;
  }
}

.guide-scrolltop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.guide-scrolltop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Image lightbox (zoom) */
img.shot-wrap,
.shot-wrap img {
  cursor: zoom-in;
}

#guideImageLightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
}

#guideImageLightbox.is-open {
  display: flex;
}

#guideLightboxImage {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 90px -40px rgba(0, 0, 0, 0.55);
}

.guide-lightbox-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
}

.guide-lightbox-close:hover {
  background: rgba(15, 23, 42, 0.65);
}
