﻿/* =====================================================
   OSERO NOMADS â€” MASTER STYLESHEET
   Wild â€¢ Nomadic â€¢ Premium â€¢ Responsive
===================================================== */

/* ================= ROOT VARIABLES ================= */
:root {
  /* Brand Colors - The "Wild" Palette (Light Theme) */
  --sand-light: #fdfcf8;
  /* Warm White (Main BG) */
  --sand-warm: #f4f1ea;
  /* Off-White (Card BG) */
  --earth-deep: #492B0A;
  /* Dark Brown (Accents/Text/Dark BGs) */
  --earth-dark: #2a1805;
  /* Deepest Brown (Footer) */
  --earth-medium: #5d4037;
  /* Secondary Text */

  --savannah-gold: #ffd700;
  /* "Wild Golden Yellow" */
  --gold-deep: #a67c00;
  /* Denser gold for text-on-light contrast */
  --sunset-rust: #ffd700;
  /* Golden Yellow */
  --bush-green: #ffd700;
  /* Golden Yellow */
  --sky-blue: #4fc3f7;
  /* Sunset Sky touch */

  --text-main: #3e2723;
  /* Dark Coffee Text (for light backgrounds) */
  --text-light: #fff8e1;
  /* Cream Text (for dark backgrounds) */

  --nav-bg: rgba(73, 43, 10, 0.95);
  /* Deep brown nav */

  --radius-lg: 2px;
  /* Sharper, more rugged corners */
  --radius-md: 2px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-deep: 0 25px 80px rgba(0, 0, 0, 0.25);

  /* Typography */
  --font-heading: 'Cinzel', serif;
  /* Majestic */
  --font-accent: 'Cormorant Garamond', serif;
  /* Explorer/Journal vibe */
  --font-body: 'Montserrat', sans-serif;
  /* Clean modern */

  /* Dusk Explorer Theme (Dark / High Contrast) */
  --dusk-bg: #1a120f;
  --dusk-card: rgba(44, 30, 24, 0.85);
  --dusk-accent: #b58d3d;
  --dusk-text: #f4f1ea;
  --dusk-muted: rgba(244, 241, 234, 0.6);
  --red-brown: #492B0A;

  /* Fluid Spacing & Widths */
  --container-max: 100%;
  /* Fully expanded for massive screens */
  --container-fluid: min(96%, var(--container-max));
  --fluid-pv: clamp(60px, 10vh, 120px);
  --fluid-gap: clamp(30px, 5vw, 80px);
}

/* =====================================================
   DUSK EXPLORER THEME (SHARED)
   Advanced dark mode for country destination pages
===================================================== */

body.dusk-explorer {
  background-color: var(--dusk-bg) !important;
  color: var(--dusk-text);
}

/* --- CINEMATIC PANORAMIC HERO --- */
.panoramic-hero {
  height: 85vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.panoramic-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.panoramic-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
  animation: moveSlowly 30s infinite alternate ease-in-out;
}

.panoramic-hero .hero-overlay-warm {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 18, 15, 0.2), rgba(26, 18, 15, 0.6));
  z-index: 2;
}

@keyframes moveSlowly {
  from {
    transform: scale(1.05) translate(0, 0);
  }

  to {
    transform: scale(1.15) translate(-2%, -2%);
  }
}

.hero-glass-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: center;
  max-width: 900px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.hero-glass-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 15px;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.hero-glass-card p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--dusk-accent);
  margin-bottom: 40px;
}

/* --- PREMIUM SCROLL INDICATOR --- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--dusk-accent);
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

/* --- CONTENT WRAPPERS --- */
.magazine-block {
  width: 100%;
  max-width: 100%;
  /* Fully expand to all screen sizes */
  margin: 0 auto;
  padding: 80px 2%;
  /* Minimal side padding */
}

/* --- REFINED JOURNAL COMPONENTS --- */
.bento-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 400px;
  gap: 20px;
  max-width: 100%;
  margin-top: 40px;
}

/* Make the first child span two columns and two rows for that magazine hero look */
.bento-gallery .glass-chapter-chip:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.glass-chapter-chip {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  /* The entire card is clickable or hoverable */
}

/* Background Image covering the whole chip */
.glass-chapter-chip>img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  z-index: 1;
}

/* Base overlay to ensure text is always readable */
.glass-chapter-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 5, 2, 0.9) 0%, rgba(10, 5, 2, 0.2) 50%, transparent 100%);
  z-index: 2;
  transition: background 0.5s ease;
}

/* Hover effects */
.glass-chapter-chip:hover>img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.glass-chapter-chip:hover::after {
  background: linear-gradient(to top, rgba(10, 5, 2, 0.95) 0%, rgba(10, 5, 2, 0.4) 70%, rgba(10, 5, 2, 0.1) 100%);
}

/* The Frosted Glass Details Pane */
.glass-details-pane {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  padding: 30px;
  background: rgba(26, 18, 15, 0.4);
  /* Dark tinted glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(calc(100% - 100px));
  /* Hide everything except title area initially */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-chapter-chip:hover .glass-details-pane {
  transform: translateY(0);
  /* Slide up on hover */
}

.glass-details-pane .chapter-label {
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--dusk-accent);
  margin-bottom: 5px;
  display: block;
}

.glass-details-pane h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.glass-details-pane .journal-description {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
  /* Fade in after slide starts */
}

.glass-chapter-chip:hover .glass-details-pane .journal-description,
.glass-chapter-chip:hover .glass-details-pane .journal-stats,
.glass-chapter-chip:hover .glass-details-pane .editorial-btn {
  opacity: 1;
}

/* --- REFINED STATS (INLINE) --- */
.journal-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(181, 141, 61, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-item i {
  color: var(--dusk-accent);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
}

.stat-value {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: #fff;
}

/* --- MOBILE RESPONSIVENESS for JOURNAL --- */
@media (max-width: 992px) {
  .destinations-grid {
    grid-template-columns: 1fr;
  }
}

/* --- DUSK GLOW RHYTHM --- */
.dusk-glow-bg {
  background: radial-gradient(circle at center, rgba(181, 141, 61, 0.05) 0%, var(--dusk-bg) 70%);
}

/* --- NAVIGATION OVERRIDE (DUSK) --- */
.dusk-explorer .header {
  background: rgba(26, 18, 15, 0.85) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(181, 141, 61, 0.2);
}

.dusk-explorer .nav-links a {
  color: #f4f1ea !important;
}

/* --- MAGAZINE LAYOUT COMPONENTS --- */
.manifesto-section {
  padding: 80px 0;
}

.magazine-block {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.maasai-mara-fluid-page .manifesto-section {
  padding: var(--fluid-pv) 0;
}

.maasai-mara-fluid-page .magazine-block {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 4%;
  width: 100%;
}

.chapter-label {
  font-family: var(--font-body);
  letter-spacing: 6px;
  font-size: 0.8rem;
  color: var(--dusk-accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.accent-paragraph {
  color: var(--dusk-accent) !important;
  font-style: italic;
  font-size: 1.8rem !important;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.maasai-mara-fluid-page .intro-grid {
  gap: var(--fluid-gap);
}

.intro-text h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin: 20px 0;
  letter-spacing: 6px;
}

.intro-text p {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.intro-image {
  position: relative;
  z-index: 5;
}

.intro-image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(181, 141, 61, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.maasai-mara-fluid-page .intro-image img {
  height: clamp(400px, 50vh, 650px);
}

.intro-image-container {
  position: relative;
}

.bg-number {
  position: absolute;
  bottom: -30px;
  right: -30px;
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(181, 141, 61, 0.1);
  z-index: -1;
}

.direction-rtl .bg-number {
  right: auto;
  left: -30px;
}

.editorial-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #2c1e18;
  border: 1px solid var(--dusk-accent);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  text-decoration: none;
}

.editorial-btn:hover {
  background: var(--dusk-accent);
  color: #1a120f;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(181, 141, 61, 0.3);
  border-color: #fff;
}

/* --- PREMIUM ITINERARY --- */
.premium-itinerary-section {
  background: var(--dusk-bg);
  padding: 80px 0;
  color: #fff;
}

.maasai-mara-fluid-page .premium-itinerary-section {
  padding: var(--fluid-pv) 0;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Detailed Timeline Component */
.itinerary-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 100%;
  margin: 60px 0 0;
}

@media (max-width: 1400px) {
  .itinerary-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .itinerary-timeline {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}

.itinerary-timeline::before {
  display: none;
  /* Hide the single vertical line since it's now a 2-col grid */
}

.timeline-day {
  position: relative;
  margin-bottom: 35px;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(181, 141, 61, 0.1);
  border-right: 1px solid rgba(181, 141, 61, 0.05);
  border-top: 1px solid rgba(181, 141, 61, 0.05);
  border-bottom: 1px solid rgba(181, 141, 61, 0.05);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.timeline-day:hover {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--dusk-accent);
  transform: translateX(5px);
}

.timeline-day::before {
  display: none;
  /* Hidden since it belongs to the old 1-col layout */
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(181, 141, 61, 0.1);
  padding-bottom: 10px;
}

.day-header .day-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--dusk-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.day-header .location {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
}

.timeline-day h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.timeline-day .activity-desc {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.day-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--dusk-muted);
}

.detail-item i {
  color: var(--dusk-accent);
  margin-right: 10px;
}

.itinerary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(181, 141, 61, 0.1);
  padding: 50px;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.itinerary-card:hover {
  border-color: var(--dusk-accent);
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.itinerary-card span.category {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dusk-accent);
  margin-bottom: 20px;
  display: block;
}

.itinerary-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.itinerary-card .meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 25px;
  display: flex;
  gap: 20px;
}

.itinerary-card p {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
}

.itinerary-footer {
  border-top: 1px solid rgba(181, 141, 61, 0.2);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- MOBILE RESPONSIVENESS (EDITORIAL) --- */
@media (max-width: 991px) {
  .itinerary-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .direction-rtl {
    direction: ltr !important;
    text-align: left !important;
  }

  .intro-image img {
    height: 400px;
  }

  .intro-text h2 {
    font-size: 2.5rem;
  }

  .hero-glass-card {
    padding: 40px 20px;
  }

  .hero-glass-card h1 {
    font-size: 3rem;
    letter-spacing: 8px;
  }

  /* --- MOBILE OVERLAP FIX --- */
  .editorial-overlap-container {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 60px;
  }

  .editorial-image img {
    height: 350px !important;
  }

  .editorial-text-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -40px !important;
    padding: 30px 20px !important;
    width: 100% !important;
  }

  .direction-rtl.editorial-overlap-container {
    flex-direction: column !important;
  }
}

/* ================= RESET ================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--sand-light);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

/* Texture Overlay for the "Wild" feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(181, 141, 61, 0.05) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1400px;
  /* Wider for panoramic feel */
  margin-inline: auto;
  padding-inline: 30px;
}

.maasai-mara-fluid-page .container {
  max-width: var(--container-max);
  padding-inline: clamp(20px, 5vw, 60px);
  width: 100%;
}

/* ================= LOADER (LION FOOTSTEPS) ================= */
#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #14120f 0%, #1a0f05 50%, #14120f 100%);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

/* Animated background pattern */
#loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 162, 48, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 162, 48, 0.03) 0%, transparent 50%);
  animation: bgShift 8s ease-in-out infinite;
}

@keyframes bgShift {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(20px);
  }
}

.loader-center {
  position: relative;
  width: 200px;
  height: 120px;
  margin-bottom: 20px;
}

/* CSS-only Paw Prints - No SVG needed! */
.footstep {
  position: absolute;
  opacity: 0;
  animation: pawWalk 3s ease-in-out infinite;
}

/* Paw structure: main pad + 4 toes */
.footstep::before {
  content: '';
  position: absolute;
  width: 28px;
  height: 32px;
  background: var(--savannah-gold);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(212, 162, 48, 0.4);
}

/* Toes */
.footstep::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 14px;
  background: var(--savannah-gold);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow:
    -16px 4px 0 -2px var(--savannah-gold),
    16px 4px 0 -2px var(--savannah-gold),
    -10px 12px 0 -3px var(--savannah-gold),
    10px 12px 0 -3px var(--savannah-gold),
    0 0 12px rgba(212, 162, 48, 0.3);
}

.footstep:nth-child(1) {
  top: 50%;
  left: 10%;
  transform: rotate(75deg) translateY(-50%);
  animation-delay: 0s;
}

.footstep:nth-child(2) {
  top: 30%;
  left: 35%;
  transform: rotate(100deg) translateY(-50%);
  animation-delay: 0.6s;
}

.footstep:nth-child(3) {
  top: 55%;
  left: 60%;
  transform: rotate(82deg) translateY(-50%);
  animation-delay: 1.2s;
}

/* Additional paw for smoother animation */
.loader-center .footstep:nth-child(4) {
  top: 35%;
  left: 85%;
  transform: rotate(102deg) translateY(-50%);
  animation-delay: 1.8s;
}

@keyframes pawWalk {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
  }

  15% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  25% {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
  }

  75% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.8) translateY(-10px);
  }
}

.loader-text {
  margin-top: 40px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 5px;
  color: var(--savannah-gold);
  text-transform: uppercase;
  animation: textPulse 2s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(212, 162, 48, 0.3);
}

@keyframes textPulse {

  0%,
  100% {
    opacity: 0.6;
    letter-spacing: 5px;
  }

  50% {
    opacity: 1;
    letter-spacing: 7px;
  }
}

/* Progress bar */
.loader-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: rgba(212, 162, 48, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--savannah-gold), transparent);
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ================= HEADER / NAV (DARK) ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(73, 43, 10, 0.95), rgba(73, 43, 10, 0.8));
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 2px solid var(--savannah-gold);
}

.header.scrolled {
  background: var(--earth-deep);
  padding-block: 10px;
}

.nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-height: 65px;
  width: auto;
  /* Original Logo Colors - No Filter */
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  transition: .3s;
  display: flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--savannah-gold);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--sand-light);
  cursor: pointer;
}

/* ================= MEGA MENU ================= */
.has-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 1000px;
  background: rgba(20, 18, 15, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  padding: 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1000;
  display: flex;
  gap: 60px;
  border-bottom: 4px solid var(--savannah-gold);
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col {
  flex: 1;
}

.mega-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--savannah-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  padding-bottom: 12px;
}

.mega-col ul li {
  margin-bottom: 14px;
}

.mega-col ul li a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
  text-transform: none;
  display: block;
  transition: 0.3s;
}

.mega-col ul li a:hover {
  color: var(--savannah-gold);
  padding-left: 8px;
}

/* Featured image in menu if needed */
.mega-featured {
  width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.mega-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.mega-featured:hover img {
  transform: scale(1.1);
}

.mega-featured .featured-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.mega-featured .featured-info span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--savannah-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Dropdown arrow */
.dropdown-icon {
  font-size: 0.7rem;
  margin-left: 5px;
  transition: 0.3s;
  opacity: 0.5;
}

.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mobile Adjustments */
@media (max-width: 1100px) {
  .mega-menu {
    width: 90vw;
  }
}

@media (max-width: 991px) {
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    /* JS will toggle this */
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    flex-direction: column;
    gap: 30px;
    border: none;
    box-shadow: none;
  }

  .mega-menu.active {
    display: flex;
  }

  .mega-featured {
    display: none;
  }

  .mega-col h4 {
    margin-bottom: 15px;
  }
}

/* ================= VIDEO HERO ================= */
.hero-video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  /* Minimum height, but lets video expand */
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5) 40%, rgba(20, 18, 15, 1));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 1100px;
  padding: 20px;
  margin-top: 60px;
}

/* Mobile fix: Add extra top padding on smaller screens */
@media (max-width: 768px) {
  .hero-content {
    margin-top: 150px;
    /* Increased margin to avoid navbar overlap */
    padding-top: 60px;
  }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.9;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--sand-light);
}

.hero-content p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 40px;
  color: var(--savannah-gold);
  letter-spacing: 1px;
}

.hero-btns {
  display: flex;
  gap: 25px;
  justify-content: center;
}

/* ================= COUNTRY FILTER BAR ================= */
.country-filter-bar {
  background: var(--earth-deep);
  padding: 40px 0;
  position: sticky;
  top: 90px;
  z-index: 900;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  border-bottom: 3px solid var(--savannah-gold);
}

.country-filter-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10L90 90M90 10L10 90' stroke='%23ffd700' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
}

.filter-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: var(--sand-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--savannah-gold);
  color: var(--earth-deep);
  border-color: var(--savannah-gold);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
}

/* ================= SERVICES SECTION ================= */
.services-section {
  padding: 140px 0 100px 0;
  background-color: #ffffff;
  position: relative;
}

.services-section::before {
  content: "â€” THE NOMAD'S COLLECTION â€”";
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 12px;
  color: var(--earth-deep);
  opacity: 0.8;
  font-weight: 700;
}

.country-block {
  margin-bottom: 20px;
  /* Reduced gap between blocks and next section */
  display: none;
  animation: fadeIn 0.8s ease;
}

.country-block.active {
  display: block;
}

.country-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 12px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  color: var(--earth-deep);
  font-weight: 700;
  position: relative;
  display: block;
}

.country-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--savannah-gold), transparent);
  margin: 20px auto 40px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-item {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(73, 43, 10, 0.15);
  border-color: var(--savannah-gold);
}

.service-img {
  height: 350px;
  /* Taller to show more image */
  width: 100%;
  object-fit: cover;
  /* Keeps it filling the area */
  object-position: center;
  /* Centers the subject */
  filter: brightness(0.9);
  transition: transform 0.8s ease, filter 0.5s ease;
}

.service-item:hover .service-img {
  transform: scale(1.15);
  filter: brightness(1.1) contrast(1.1);
}

.service-info {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  background: #ffffff;
  backdrop-filter: blur(5px);
}

.service-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--earth-deep);
  font-weight: 700;
}

.service-info p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--earth-deep);
  margin-bottom: 25px;
  font-weight: 500;
  flex-grow: 1;
  line-height: 1.6;
}

.service-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  /* Hide scrollbar for clean look */
}

.service-stats::-webkit-scrollbar {
  display: none;
}

.stat-badge {
  font-size: 0.7rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--earth-deep);
  background: var(--savannah-gold);
  padding: 6px 12px;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(212, 162, 48, 0.2);
  white-space: nowrap;
}

.service-item:hover .stat-badge {
  background: var(--gold-deep);
  color: white;
  border-color: var(--gold-deep);
  box-shadow: 0 4px 12px rgba(166, 124, 0, 0.3);
}

.lodge-name {
  font-family: var(--font-heading);
  color: var(--earth-medium);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 5px;
  position: relative;
  display: inline-block;
}

.lodge-name::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--earth-medium);
  opacity: 0.5;
}

.book-btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--savannah-gold);
  color: var(--earth-deep);
  border-radius: 6px;
  font-family: var(--font-heading);
  margin-top: auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(212, 162, 48, 0.3);
}

.book-btn:hover {
  background: var(--earth-deep);
  color: var(--savannah-gold);
  border-color: var(--earth-deep);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(42, 24, 5, 0.4);
}

.book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}


.book-btn:hover::before {
  left: 100%;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.75rem;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
  background: var(--savannah-gold);
  color: var(--earth-deep);
  /* Dark Text on Yellow */
  border: 1px solid var(--savannah-gold);
  font-weight: 700;
}

.btn-primary:hover {
  background: #dafa63;
  /* Lighter/Brighter Gold on hover */
  color: var(--earth-deep);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--sand-light);
  color: var(--sand-light);
  background: rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background: var(--sand-light);
  color: var(--earth-deep);
  transform: translateY(-2px);
}

/* ================= INTRO ================= */
.intro {
  padding: 80px 0;
  background-color: var(--earth-deep);
  color: var(--sand-light);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/lion-footprint.svg') no-repeat -100px center;
  background-size: 50%;
  opacity: 0.03;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text h4 {
  color: var(--savannah-gold);
  font-family: var(--font-heading);
  letter-spacing: 6px;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.intro-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--sand-light);
  font-weight: 700;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.intro-text p {
  color: rgba(253, 252, 248, 0.75);
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.9;
}

.intro-image img {
  border-radius: var(--radius-lg);
  filter: sepia(20%) contrast(110%);
}

/* ================= FOOTER ================= */
.footer {
  background: #100f0d;
  color: #888;
  padding: 100px 0 30px;
  font-size: 0.95rem;
  border-top: 5px solid var(--savannah-gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
}

.footer-brand img {
  max-width: 160px;
  margin-bottom: 30px;
  /* Original colors */
}

.footer h4 {
  font-family: var(--font-heading);
  color: var(--sand-light);
  margin-bottom: 30px;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #888;
  transition: .3s;
}

.footer-links a:hover {
  color: var(--savannah-gold);
  padding-left: 5px;
}

/* ================= UTILITIES & RESPONSIVE ================= */
.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-list .service-item {
  opacity: 0;
  transform: translateY(30px);
}

.country-block.active .services-list .service-item {
  animation: slideUpFade 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.country-block.active .services-list .service-item:nth-child(1) {
  animation-delay: 0.2s;
}

.country-block.active .services-list .service-item:nth-child(2) {
  animation-delay: 0.4s;
}

.country-block.active .services-list .service-item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--earth-deep);
    /* Dark Mobile Menu */
    flex-direction: column;
    padding: 50px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .country-title {
    font-size: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-btns {
    flex-direction: column;
  }
}

/* ================= NEWSLETTER (DARK THEME) ================= */
.newsletter {
  padding: 100px 0;
  background: var(--dusk-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.newsletter::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 141, 61, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.newsletter-content h4 {
  color: var(--dusk-accent);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 0.8rem;
}

.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.newsletter-content p {
  color: var(--dusk-muted);
  max-width: 500px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 18px 25px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  color: #ffffff;
  font-weight: 400;
  outline: none;
  backdrop-filter: blur(10px);
  transition: .3s;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--dusk-accent);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* ================= PREMIUM ANIMATIONS ================= */

/* Enhanced Scroll Reveal with Stagger Effect */
.reveal-up {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(5px);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered reveal for lists */
.service-item.reveal-up:nth-child(1) {
  transition-delay: 0.1s;
}

.service-item.reveal-up:nth-child(2) {
  transition-delay: 0.2s;
}

.service-item.reveal-up:nth-child(3) {
  transition-delay: 0.3s;
}

.service-item.reveal-up:nth-child(4) {
  transition-delay: 0.4s;
}

/* Enhanced Image Parallax with Depth */
.service-item {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.service-item .service-img {
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  will-change: transform;
}

.service-item:hover .service-img {
  transform: scale(1.15) translateZ(20px);
  filter: brightness(1.1) contrast(105%) saturate(110%);
}

/* Smooth overlay fade on hover */
.service-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 162, 48, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.service-item:hover::after {
  opacity: 1;
}

/* Title slide-in animation */
.service-item h3 {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.service-item:hover h3 {
  transform: translateX(5px);
  color: var(--earth-deep);
  /* Keep sharp contrast */
}

/* Button magnetic effect */
.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary::before,
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 162, 48, 0.3);
}

/* Text shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.hero-content h1 {
  animation: textReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    shimmer 3s ease-in-out 2.5s infinite;
  animation-delay: 2.2s, 3.5s;
  opacity: 0;
  background: linear-gradient(90deg,
      var(--sand-light) 40%,
      var(--savannah-gold) 50%,
      var(--sand-light) 60%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  animation: textReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 2.5s;
  opacity: 0;
}

/* Text reveal with clip-path */
@keyframes textReveal {
  from {
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    clip-path: polygon(0 0, 0 100%, 106% 100%, 106% 0);
    transform: translateY(0);
    opacity: 1;
  }
}

/* Country section animations */
.country-section {
  transition: transform 0.5s ease;
}

.country-section:hover {
  transform: translateY(-5px);
}

/* Logo subtle float */
.logo img {
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Navigation link underline effect */
.nav-links a {
  position: relative;
  padding-bottom: 5px;
  /* Add space for underline */
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--savannah-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Parallax scroll effect for hero */
@media (min-width: 768px) {
  .hero-bg-video {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Card entrance animation */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(-10deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.service-item.active {
  animation: cardEntrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Image loading effect */
img {
  animation: imageLoad 0.6s ease-out;
}

@keyframes imageLoad {
  from {
    opacity: 0;
    filter: blur(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Smooth page transitions */
body {
  animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ================= PREMIUM FOOTER ================= */
.footer {
  background-color: #0f0a07;
  /* Deeper, richer brown */
  color: var(--sand-light);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--savannah-gold), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-brand img {
  height: 50px;
  margin-bottom: 25px;
  filter: brightness(1.2);
}

.footer-brand p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: rgba(253, 252, 248, 0.7);
  line-height: 1.6;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

@media (max-width: 600px) {
  .social-links {
    justify-content: center;
  }
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--savannah-gold);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  background: var(--savannah-gold);
  color: var(--earth-dark);
  transform: translateY(-5px) scale(1.1);
  border-color: var(--savannah-gold);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--savannah-gold);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 1px;
  background: var(--savannah-gold);
}

@media (max-width: 600px) {
  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  color: rgba(253, 252, 248, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer ul li a:hover {
  color: var(--savannah-gold);
  transform: translateX(8px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  color: rgba(253, 252, 248, 0.7);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .footer-contact p {
    justify-content: center;
  }
}

.footer-contact p i {
  color: var(--savannah-gold);
  font-size: 1.1rem;
}

.footer-badge {
  margin-top: 25px;
  padding: 15px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(253, 252, 248, 0.4);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.footer-bottom a {
  color: rgba(253, 252, 248, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--savannah-gold);
}

/* Heading focus lines */
h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--savannah-gold), transparent);
  margin-bottom: 15px;
  animation: lineExpand 0.8s ease-out;
}

@keyframes lineExpand {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 60px;
    opacity: 1;
  }
}

/* Scroll progress indicator (optional) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--savannah-gold), var(--red-brown));
  z-index: 9999;
  transform-origin: left;
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {

  0%,
  100% {
    box-shadow: 0 0 5px var(--savannah-gold);
  }

  50% {
    box-shadow: 0 0 15px var(--savannah-gold);
  }
}