/* ==========================================================================
   style.css — Base styles for Dubai Wonder Tours (hero + navigation)
   ========================================================================== */

:root {
  --cream: #f9f6f1;
  --brown: #4a2e27;
  --gold: #d0b161;
  --sand: #7C583C;
  --drift: #a57650;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 137px;
}

body {
  font-family: Inter, sans-serif;
  background: var(--cream);
  color: #111;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  font-size: 18px;
}

/* Reset Bootstrap reboot margins */
h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding-left: 0;
}

/* Headings */
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 0.98;
  text-align: center;
  background: linear-gradient(110deg, var(--gold) 0%, #fff 28%, #f6df97 48%, #fff 68%, var(--gold) 100%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroTitleGradient 9s ease-in-out infinite;
}

@keyframes heroTitleGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero title entrance animation */
.hero-entrance {
  overflow: visible;
}

.hero-entrance span {
  display: block;
  opacity: 0;
  background: linear-gradient(110deg, var(--gold) 0%, #fff 28%, #f6df97 48%, #fff 68%, var(--gold) 100%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(16px);
  transform: translateY(76px) scale(.94);
  animation:
    heroTextReveal 1.05s cubic-bezier(.16, 1, .3, 1) forwards,
    heroTitleGradient 9s ease-in-out infinite;
  will-change: opacity, filter, transform, background-position;
}

.hero-entrance span:nth-child(2) {
  animation-delay: .24s;
}

@keyframes heroTextReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-entrance span {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}

/* Common section styles — label, heading, intro text */
.eyebrow {
  color: var(--sand);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.12;
  color: var(--sand);
  margin-bottom: 15px;
}

.section-para {
    font-size: 18px;
    font-weight: 400;
    color: #000000b0;
}

p {
  line-height: 1.55;
}

/* Hero buttons — filled + outline variants (original index design) */
.hero-button,
.hero-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 16px;
  font-weight: 500;
  background: var(--drift);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 12px 16px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hero-button:hover,
.hero-button:active,
.hero-button:focus-visible,
.hero-outline-button:hover,
.hero-outline-button:active,
.hero-outline-button:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  background: #c18a5b;
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 16px 24px rgba(0, 0, 0, .18);
}

.hero-button:focus-visible,
.hero-outline-button:focus-visible {
  box-shadow: none;
  outline: 0;
}

.hero-outline-button {
  background: transparent;
  border-color: #fff;
}

.hero-outline-button:hover,
.hero-outline-button:active,
.hero-outline-button:focus-visible {
  background: #fff;
  color: var(--brown);
  border-color: #fff;
}

/* Connect button — shared by nav + about + all "Connect Us" buttons */
.connect-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    padding: 12px 12px 12px 18px;
    border: 0;
    font-size: 16px;
    font-weight: 500;
    background: #ad7b51;
    color: #fff;
    cursor: pointer;
    transition: transform .22s ease, background-color .22s ease;
}

.connect-button:hover,
.connect-button:active,
.connect-button:focus-visible {
  background: #bf8a5d;
  color: #fff;
  transform: translateY(-1px);
}

.connect-button:focus-visible {
  outline: 0;
}

.connect-button img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* ==========================================================================
   Hero section
   ========================================================================== */
.hero {
  min-height: 97vh;
  margin: 15px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  background: url("../image/Mask group.jpg") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .45);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 160px 24px 80px;
}

.hero-inner {
  max-width: 1346px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 750px;
  margin: 9px auto 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 20px);
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Glass navbar
   ========================================================================== */
.nav {
  position: fixed;
  top: 51px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 190px);
  /* height: 71px; */
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, .36);
  border-radius: 60px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .24), rgba(74, 46, 39, .24), rgba(255, 255, 255, .14));
  background-size: 240% 240%;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  z-index: 50;
  animation: navGlassDrift 9s ease-in-out infinite;
  transition: transform .35s ease, opacity .35s ease;
  will-change: transform, opacity;
}

.nav.is-hidden {
  transform: translate(-50%, -130%);
  opacity: 0;
  pointer-events: none;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .20) 45%, transparent 72%);
  transform: translateX(-120%);
  animation: navGlassShine 5.5s ease-in-out infinite;
  pointer-events: none;
}

.nav > * {
  position: relative;
  z-index: 1;
}

@keyframes navGlassDrift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes navGlassShine {
  0%, 25% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(120%); }
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 150px;
  max-height: 48px;
  object-fit: contain;
}

/* Desktop menu */
.menu {
  display: flex;
  gap: 36px;
  color: #fff;
  font-size: 16px;
  align-items: center;
}

.menu a {
  transition: color .2s ease;
}

.menu a:hover {
  color: var(--gold);
}

/* Mobile menu toggle (hidden on desktop) */
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-nav-panel {
  display: none;
}

/* ==========================================================================
   Page loader
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #4A2E27;
  transition: opacity .55s ease, visibility .55s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

.loader {
  margin: 8px auto 0;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  transform: translateZ(0);
  animation: load8 1.1s infinite linear;
}

@keyframes load8 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   About section
   ========================================================================== */
.section {
  padding: 84px 0;
}

#about {
  padding-top: 92px;
  padding-bottom: 72px;
}

#about > .eyebrow {
  color: #7c583c;
  margin-bottom: 28px;
}

.about-img {
  border-radius: 20px;
  overflow: hidden;
}

.about-img img {
    height: 100%;
    width: 100%;
    border-radius: 20px;
}

.about-secondary-img {
    overflow: hidden;
    border-radius: 20px;
    max-width: 100%;
    margin-top: -45px;
}

.about-secondary-img img {
  width: 100%;
}

/* Stats row */
.stats {
  margin-top: 74px;
  color: #7c583c;
  text-align: center;
}

.stats > div {
  border-left: 1px solid rgba(124, 88, 60, .35);
  padding: 0 28px;
}

.stats > div:last-child {
  border-right: 1px solid rgba(124, 88, 60, .35);
}

.stats strong {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.stats span {
  font-size: 14px;
}

/* ==========================================================================
   Desert Safari section (dark band)
   ========================================================================== */
.dark-band {
  position: relative;
  overflow: hidden;
  background: #4A2E27;
  padding: 96px 0 92px;
  color: #fff;
}

.dark-band::before {
  content: "";
  position: absolute;
  inset: -160px;
  background-image: url("../image/desert-safari-pattern.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: auto;
  opacity: .28;
  pointer-events: none;
}

.dark-band > .container {
  position: relative;
  z-index: 1;
}

/* Override section-title + section-para for dark background */
.safari-head .section-title {
  color: var(--cream);
  margin-top: 24px;
}

.safari-head .section-para {
  color: rgba(255, 255, 255, .7);
  text-align: justify;
}

.safari-head {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 0 0 8px;
}

.safari-controls {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.safari-arrows {
  display: flex;
  align-items: center;
  gap: 16px;
}

.safari-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.safari-arrow:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  transform: translateY(-2px);
}

.safari-track-wrap {
  overflow: hidden;
  margin-right: -96px;
}

.safari-cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: 96px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.safari-cards::-webkit-scrollbar {
  display: none;
}

.safari-cards.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.safari-card {
  flex: 0 0 320px;
  background: var(--cream);
  color: var(--brown);
  border-radius: 23px;
  overflow: hidden;
}

.safari-card img {
    height: 250px;
    width: 100%;
}

.safari-card-body {
  padding: 20px 20px 18px;
}

.safari-card h3 {
  font-size: 19px;
  margin-bottom: 16px;
}

.safari-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.safari-card li::before {
  content: "•";
  color: var(--drift);
  margin-right: 8px;
}

.price-bar {
  background: #e9e3da;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price small {
  color: #929292;
  display: block;
  margin-bottom: 4px;
}

.price strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 24px;
}

.safari-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--drift);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .22s ease, transform .22s ease;
}

.safari-book:hover,
.safari-book:active {
  background: #c18a5b;
  transform: translateY(-1px);
}

/* ==========================================================================
   Dubai Tours & Activities section
   ========================================================================== */
.tours {
  text-align: center;
}

.tours > .section-para {
    max-width: 870px;
    margin: 0px auto 48px;
}

.tour-card {
  text-align: left;
  background: #fff;
  border: 1px solid #7c583c6e;
  border-radius: 30px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tour-img {
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: url("../image/gallery-desert-07.jpg") center/cover;
  padding: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.tour-img.burj-tour-img {
  background-image: url("../image/burj-khalifa.jpg");
}

.pill {
  background: #e8ebe0;
  color: #545d3e;
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 13px;
}

.pill.red {
  background: #fde3e3;
  color: #bc2d3b;
}

.tour-card h3 {
  font-size: 21px;
  color: #000;
  margin: 20px 0 8px;
}

.tour-meta {
  color: #a5a6a7;
  font-size: 14px;
  margin-bottom: 14px;
}

.tour-desc {
  color: #4b4d4e;
  font-size: 12px;
  margin-bottom: 18px;
}

.tour-facts {
  margin-top: auto;
  border-top: 1px solid rgba(124, 88, 60, .25);
  border-bottom: 1px solid rgba(124, 88, 60, .25);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #000;
}

.tour-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tour-price small {
  display: block;
  color: #a5a6a7;
  margin-bottom: 4px;
}

.tour-price strong {
  color: var(--drift);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 27px;
}

.tour-price del {
  color: #bc2d3b;
  font-size: 14px;
  margin-left: 6px;
}

.tour-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--drift);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .22s ease, transform .22s ease;
}

.tour-book:hover,
.tour-book:active {
  background: #c18a5b;
  transform: translateY(-1px);
}

.tour-more {
  margin: 42px auto 0;
}

/* ==========================================================================
   Why Choose Us section
   ========================================================================== */
.choose {
  background: var(--brown);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.choose::before {
  content: "";
  position: absolute;
  inset: -160px;
  background-image: url("../image/desert-safari-pattern.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 1040px auto;
  opacity: .28;
  pointer-events: none;
}

.choose > .container {
  position: relative;
  z-index: 1;
}

/* Override shared styles for dark background */
.choose .section-title {
  color: var(--cream);
  margin: 16px 0 24px;
  max-width: 520px;
}

.choose .section-para {
  color: rgba(255, 255, 255, .7);
  text-align: justify;
}

.choose-img img {
    width: 100%;
    border-radius: 20px;
}

.benefits {
  margin-top: 48px;
}

.benefit {
  background: #5a3a31;
  border-radius: 20px;
  padding: 28px 18px;
  text-align: center;
  min-height: 247px;
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.benefit:hover {
  transform: translateY(-8px);
  background: #765044;
  box-shadow: 0 22px 42px rgba(0, 0, 0, .28);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(208, 177, 97, .22);
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.benefit:hover .benefit-icon {
  background: rgba(208, 177, 97, .34);
  box-shadow: 0 10px 24px rgba(208, 177, 97, .18);
}

.benefit-icon img {
  width: 61px;
  height: 61px;
  max-width: none;
  object-fit: contain;
}

.benefit-icon img.diamond-icon {
  width: 51px;
  height: 49px;
}

.benefit-icon img.dollar-icon {
  width: 45px;
  height: 45px;
}

.benefit h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.benefit p {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
}

/* ==========================================================================
   Reviews / Testimonials section
   ========================================================================== */
.reviews {
  text-align: center;
  overflow: hidden;
}

.review-badge {
  width: 152px;
  max-width: 42vw;
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.reviews .section-para {
  max-width: 620px;
  margin: 18px auto 48px;
}

.review-marquee {
  width: min(1600px, 100%);
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  gap: 24px;
  --review-card-width: 382px;
}

.review-track {
  width: max-content;
  display: flex;
  gap: 24px;
  will-change: transform;
}

.review-track.left {
  animation: review-scroll-left 28s linear infinite;
}

.review-track.right {
  animation: review-scroll-right 28s linear infinite;
}

.review-set {
  display: grid;
  grid-template-columns: repeat(4, var(--review-card-width));
  gap: 24px;
  flex: 0 0 auto;
}

.review-card {
  text-align: left;
  border: .5px solid var(--sand);
  border-radius: 16px;
  padding: 20px;
  min-height: 300px;
  background: linear-gradient(132deg, #ffd8f7 0%, #fff 16%, #fff 73%, #d6e7ff 135%);
}

@keyframes review-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

@keyframes review-scroll-right {
  from { transform: translateX(calc(-50% - 12px)); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .review-track.left,
  .review-track.right {
    animation: none;
  }
}

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: url("../image/review-user-avatar.svg") center/cover no-repeat;
  overflow: hidden;
  flex: 0 0 auto;
}

.stars {
  color: #f5a623;
  letter-spacing: 2px;
  margin: 12px 0;
}

.stars span {
  color: #555;
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 8px;
}

/* ==========================================================================
   Gallery section
   ========================================================================== */
.gallery {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  border-radius: 25px;
  padding: 72px 72px 88px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: -160px;
  background-image: url("../image/desert-safari-pattern.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 1040px auto;
  opacity: .28;
  pointer-events: none;
}

.gallery > * {
  position: relative;
  z-index: 1;
}

.gallery .section-title {
  color: var(--gold);
}

.gallery .section-para {
  max-width: 850px;
  margin: 18px auto 48px;
  color: rgba(255, 255, 255, .75);
}

/* Left video panel — fixed height to match screenshot */
.gallery-video-item {
  height: 535px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  transform: scale(1.08);
  transform-origin: center center;
}

/* Right sliding image rows */
.gallery-side-marquee {
  height: 535px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 30px;
  overflow: hidden;
}

.gallery-image-row {
  min-width: 0;
  overflow: hidden;
  border-radius: 25px;
}

.gallery-image-track {
  height: 100%;
  display: flex;
  gap: 30px;
  width: max-content;
  will-change: transform;
}

.gallery-image-track.left {
  animation: gallery-slide-left 24s linear infinite;
}

.gallery-image-track.right {
  animation: gallery-slide-right 24s linear infinite;
}

.gallery-image-set {
  height: 100%;
  display: flex;
  gap: 30px;
}

.gallery-image-set .gallery-item {
  flex: 0 0 396px;
  height: 100%;
  cursor: pointer;
}

@keyframes gallery-slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 15px)); }
}

@keyframes gallery-slide-right {
  from { transform: translateX(calc(-50% - 15px)); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-image-track.left,
  .gallery-image-track.right {
    animation: none;
  }
}

/* Play / arrows / dots */
.gallery-play {
  border: 0;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(35, 24, 20, .58);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.gallery-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.gallery-play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-arrow {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 30px;
  display: block;
  opacity: .95;
}

.gallery-arrow.left {
  left: 28px;
  transform: translateY(-50%) rotate(180deg);
}

.gallery-arrow.right {
  right: 28px;
}

.gallery-arrow img {
  width: 85%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.gallery-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
}

.gallery-dots span.is-active {
  background: #fff;
}

/* Instagram link */
.gallery-follow {
  margin-top: 34px;
}

.insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 15px;
  background: linear-gradient(270deg, #fec053, #f2203e, #b729a8, #5342d6);
  background-size: 240% 240%;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.insta img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.insta:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 34px rgba(242, 32, 62, .28), 0 8px 18px rgba(83, 66, 214, .22);
  filter: saturate(1.18);
  animation: instaGradientMove 2.6s ease infinite;
}

@keyframes instaGradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Gallery modals (video + image popup) */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-modal .modal-dialog {
  width: 100%;
  max-width: 980px;
}

.gallery-modal-content {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #130c09;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .44);
}

.gallery-modal video,
.gallery-modal-content > img {
  width: 100%;
  max-height: 78vh;
  display: block;
  background: #000;
  object-fit: contain;
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .52);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   Contact section
   ========================================================================== */
.contact {
  text-align: center;
}

.contact .section-para {
  margin: 18px 0 48px;
  font-size: 20px;
}

.quick-contact {
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quick-contact h3,
.form-card h3 {
  font-size: 34px;
  margin-bottom: 28px;
  color: #000;
}

.contact-item {
  background: #eee5c8;
  border-radius: 17px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 17px;
  min-height: 72px;
  transition: background-color .22s ease;
}

.contact-item:hover {
  background: #e2d8b9;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 46px;
  background: #543329;
  display: grid;
  place-items: center;
  color: #fff;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
}

.contact-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.contact-item small {
  color: #a17e58;
  font-size: 15px;
  line-height: 1.1;
}

.contact-item strong {
    display: block;
    color: #000;
    font-size: 20px;
    line-height: 1.18;
    margin-top: 3px;
    font-weight: 500;
}

.contact-item.address strong {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.25;
}

.quick-contact .map-img {
  flex: 1;
  min-height: 220px;
}

.quick-contact .map-img iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border: 1px solid var(--sand);
  border-radius: 17px;
}

/* Enquiry form card */
.form-card {
  background: #fff;
  border: .7px solid var(--sand);
  border-radius: 29px;
  padding: 32px;
  text-align: left;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cdcccc;
  border-radius: 11px;
  padding: 16px 16px;
  font: inherit;
  color: #111;
  background: #fff;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.date-input,
.kids-input {
  position: relative;
}

.date-input input,
.kids-input input {
  padding-right: 52px;
}

.date-input input {
  cursor: pointer;
}

.date-input input::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.calendar-button,
.kids-info {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #ad7b51;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.calendar-button svg {
  width: 15px;
  height: 15px;
  display: block;
}

.kids-info {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  font-family: inherit;
}

.kids-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 230px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #4a2e27;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
  z-index: 5;
}

.kids-tooltip::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 100%;
  border-width: 7px 6px 0;
  border-style: solid;
  border-color: #4a2e27 transparent transparent;
}

.kids-input:hover .kids-tooltip,
.kids-input.is-open .kids-tooltip,
.kids-info:focus + .kids-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 11px;
  background: #00c950;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.whatsapp-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--brown);
  color: #fff;
  padding: 64px 0 34px;
}

.footer-grid {
  margin-bottom: 78px;
}

footer h4 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 450;
  color: #fff;
}

.footer-logo {
  width: 190px;
  max-height: 84px;
  object-fit: contain;
  margin-left: -22px;
  margin-bottom: 32px;
}

footer p,
footer li {
  color: var(--drift);
  font-size: 16px;
  line-height: 1.45;
}

footer ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-grid > div:nth-child(2) li,
.footer-grid > div:nth-child(3) li {
  width: fit-content;
  transition: transform .24s ease;
}

.footer-grid > div:nth-child(2) li:hover,
.footer-grid > div:nth-child(3) li:hover {
  transform: translateX(8px);
}

footer li a {
  color: inherit;
  text-decoration: none;
}

footer li::before {
  content: "›";
  display: inline-block;
  margin-right: 10px;
  color: var(--drift);
}

footer p + p {
  margin-top: 34px;
}

.footer-bottom {
  border-top: 1px solid rgba(165, 118, 80, .72);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 17px;
  font-weight: 100;
}

.footer-bottom strong {
  color: #fff;
}

/* ==========================================================================
   Inner page hero (desert-safari.html)
   ========================================================================== */
.safari-hero {
  min-height: 580px;
  margin: 15px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.safari-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.safari-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .45) 100%);
  pointer-events: none;
}

.safari-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 48px;
}

.safari-hero-title {
  font-size: clamp(30px, 5vw, 56px);
  text-align: left;
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  animation: none;
  margin-bottom: 12px;
}

.safari-hero-para {
    color: rgb(255 255 255 / 65%);
    font-size: 20px;
    max-width: 760px;
    line-height: 1.6;
    font-weight: 300;
}

/* ==========================================================================
   Safari packages — tabs, grid, pagination (desert-safari.html)
   ========================================================================== */
.safari-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.safari-tab {
  padding: 11px 26px;
  border: 1.5px solid rgba(74, 46, 39, .28);
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}

.safari-tab:hover {
  border-color: var(--drift);
  color: var(--drift);
}

.safari-tab.is-active,
.safari-tab.is-active:hover {
  background: var(--drift);
  border-color: var(--drift);
  color: #fff;
}

/* Cards inside the packages grid — full-width columns instead of slider sizing */
.safari-packages .safari-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #4a2e2726;
}

/* Smooth tab/pagination transitions */
.safari-packages .row {
  transition: opacity .26s ease, transform .26s ease;
}

.safari-packages .row.is-switching {
  opacity: 0;
  transform: translateY(14px);
}

.safari-packages .row > [data-category] {
  animation: safariPackageIn .5s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes safariPackageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .safari-packages .row {
    transition: none;
  }

  .safari-packages .row > [data-category] {
    animation: none;
  }
}

.safari-packages .safari-card-body {
  flex: 1;
}

.safari-packages .safari-card li::before {
  content: "✓";
  color: var(--drift);
  font-weight: 600;
  margin-right: 8px;
}

/* Pagination */
.safari-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
}

.safari-page {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(74, 46, 39, .28);
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}

.safari-page:hover {
  border-color: var(--drift);
  color: var(--drift);
}

.safari-page.is-active,
.safari-page.is-active:hover {
  background: var(--drift);
  border-color: var(--drift);
  color: #fff;
}

.safari-page:disabled {
  opacity: .4;
  cursor: default;
}

/* ==========================================================================
   Safari detail page (safari-detail.html)
   ========================================================================== */
.detail-hero {
  position: relative;
  min-height: 620px;
  margin: 15px;
  border-radius: 22px;
  overflow: hidden;
  background: #f5c48d;
  display: flex;
  align-items: flex-end;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .35);
  pointer-events: none;
}

.detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  z-index: 0;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.detail-hero-title {
    color: #fff;
    text-align: left;
    font-size: clamp(44px, 8vw, 50px);
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 0;
    background: none;
    -webkit-text-fill-color: #fff;
    animation: none;
}

.share-button {
  gap: 7px;
  height: 34px;
  padding: 0 22px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #ad7b51;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: transform .22s ease, background-color .22s ease;
}

.share-button:hover {
  background: #bf8758;
  transform: translateY(-2px);
}

.share-button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.detail-content {
  padding: 70px 0 96px;
}

.detail-title {
  color: #7d573e;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  text-align: left;
  background: none;
  -webkit-text-fill-color: #7d573e;
  animation: none;
  margin-bottom: 20px;
}

.intro {
  color: #111;
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 72px;
}

.detail-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  font-family: "Bricolage Grotesque", sans-serif;
  color: #111;
  background: none;
  -webkit-text-fill-color: #111;
}

.detail-section-title .mini-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  flex: 0 0 auto;
}

.timeline {
  position: relative;
  display: grid;
  gap: 52px;
  margin: 0 0 96px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 2px;
  height: calc(100% - 24px);
  background: linear-gradient(180deg, rgba(141, 75, 0, 0) 0%, #8D4B00 33%, #8D4B00 67%, rgba(141, 75, 0, 0) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8D4B00;
  border: 3px solid var(--cream);
  z-index: 1;
}

.time {
  color: #a56c36;
  font-size: 14px;
  padding-top: 4px;
  white-space: nowrap;
}

.timeline-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.timeline-item p {
  width: min(600px, 100%);
  color: #5a514d;
  font-size: 15px;
  line-height: 1.45;
}

.included-title {
  font-size: 32px;
  font-weight: 700;
  font-family: "Bricolage Grotesque", sans-serif;
  color: #111;
  margin-bottom: 30px;
}

.included-card {
  height: 132px;
  border-radius: 18px;
  background: #ad7b51;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.included-card:hover {
  transform: translateY(-7px);
  background: #9f6d49;
  box-shadow: 0 18px 28px rgba(74, 46, 39, .18);
}

.included-card img {
  width: 28px;
  height: 42px;
  margin-bottom: 0;
  object-fit: contain;
}

.included-card span {
  font-size: 16px;
  font-weight: 300;
}

/* Booking card */
.booking-card {
  position: sticky;
  top: 28px;
  border: 1px solid var(--drift);
  border-radius: 29px;
  background: rgba(255, 255, 255, .68);
  padding: 34px;
  box-shadow: 0 22px 70px rgba(74, 46, 39, .08);
}

.booking-card h2 {
  font-size: 31px;
  line-height: 1.1;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(173, 123, 81, .18);
  font-family: "Bricolage Grotesque", sans-serif;
  color: #111;
}

.booking-card h2 span {
  font-size: 18px;
  font-weight: 500;
}

.booking-field {
  margin-bottom: 20px;
}

.booking-field label {
  display: block;
  margin-bottom: 7px;
  color: #63544d;
  font-size: 14px;
}

.date-wrap {
  position: relative;
}

.date-wrap input {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 7px;
  background: #eee9e2;
  color: #111;
  font: inherit;
  padding: 0 46px 0 16px;
  cursor: pointer;
}

.date-wrap input::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.counter {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 7px;
  background: #eee9e2;
  color: #111;
  font: inherit;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  padding: 0 6px;
}

.counter button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #9a5d25;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.counter span {
  text-align: center;
  font-weight: 700;
}

.price-box {
  border: 1px solid var(--drift);
  border-radius: 9px;
  background: #fff4ea;
  padding: 14px 16px;
  margin: 25px 0 20px;
  display: grid;
  gap: 14px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.price-row + .price-row {
  border-top: 1px solid rgba(173, 123, 81, .25);
  padding-top: 14px;
}

.price-row.total {
  color: #a76224;
  font-size: 18px;
  font-weight: 800;
}

.kids-note {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-left: 4px;
  border-radius: 50%;
  background: #ad7b51;
  color: #fff;
  font-size: 11px;
  cursor: help;
  position: relative;
  font-style: normal;
}

.kids-note:hover::after {
  content: "Free for children up to 3 years";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: 190px;
  border-radius: 8px;
  background: var(--brown);
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  z-index: 4;
}

.detail-book-btn {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 8px;
  background: #00c950;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .22s ease, background-color .22s ease;
}

.detail-book-btn:hover {
  background: #00b746;
  transform: translateY(-2px);
}

.detail-book-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}
