/* =====================================================
   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" */
  --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 */
}

/* ================= 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: 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.4;
}

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;
}

/* ================= 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(-15deg) translateY(-50%);
  animation-delay: 0s;
}

.footstep:nth-child(2) {
  top: 30%;
  left: 35%;
  transform: rotate(10deg) translateY(-50%);
  animation-delay: 0.6s;
}

.footstep:nth-child(3) {
  top: 55%;
  left: 60%;
  transform: rotate(-8deg) translateY(-50%);
  animation-delay: 1.2s;
}

/* Additional paw for smoother animation */
.loader-center .footstep:nth-child(4) {
  top: 35%;
  left: 85%;
  transform: rotate(12deg) 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;
  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;
}

.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;
}

/* ================= 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: 100px;
    /* Increased margin to avoid navbar overlap */
    padding-top: 40px;
  }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 7rem);
  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: 25px 0;
  position: sticky;
  top: 90px;
  z-index: 900;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.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: 10px 28px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.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: 120px 0 40px 0;
  /* Reduced bottom padding */
  background-color: var(--sand-light);
}

.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: 4rem;
  /* Bigger, bolder */
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 80px;
  color: var(--earth-deep);
  position: relative;
  display: inline-block;
  width: 100%;
}

.country-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: var(--savannah-gold);
  margin: 20px auto 0;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-item {
  background: var(--sand-warm);
  /* NO WHITE */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: .4s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
}

.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.1);
  /* Smooth zoom */
  filter: brightness(1.05);
  /* Brighten on hover */
}

.service-info {
  padding: 35px;
  /* More breathing room */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  background: var(--sand-warm);
}

.service-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--earth-deep);
  /* Dark Heading */
}

.service-info p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--earth-medium);
  margin-bottom: 25px;
  flex-grow: 1;
}

.book-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--savannah-gold);
  /* Golden Yellow BG */
  color: var(--earth-deep);
  /* Dark Brown Text */
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  /* Bold */
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  margin-top: auto;
  /* Push to bottom if flex container */
}

.book-btn:hover {
  background: var(--earth-deep);
  color: var(--savannah-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 18px 42px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  font-family: var(--font-heading);
}

.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: 120px 0;
  background-color: var(--earth-deep);
  color: var(--sand-light);
  position: relative;
}

.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: 4px;
  margin-bottom: 20px;
}

.intro-text h2 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--sand-light);
}

.intro-text p {
  color: rgba(244, 241, 234, 0.7);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.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 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  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 ================= */
.newsletter {
  padding: 60px 0 100px 0;
  /* Reduced top padding to close gap */
  background: var(--sand-warm);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.newsletter::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 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(--red-brown);
  /* Red Brown Text */
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  font-weight: 700;
}

.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #333333;
  /* Dark Grey (Visible on Light BG) */
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 18px 25px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--red-brown);
  /* Red Brown Border */
  background: #1a1a1a;
  /* Dark Input Background */
  font-family: var(--font-body);
  color: var(--red-brown);
  /* Red Brown Text */
  font-weight: 600;
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--savannah-gold);
  /* Yellow Placeholder (User Request) */
  opacity: 0.8;
}

.newsletter-form input:focus {
  border-color: var(--savannah-gold);
  box-shadow: 0 0 0 3px rgba(153, 101, 21, 0.2);
}

@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(10px);
  color: var(--savannah-gold);
}

/* 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;
  -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;
  overflow: hidden;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--savannah-gold);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(0);
}

/* 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;
  }
}

/* Footer link hover effect */
footer a {
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--savannah-gold);
  transform: translateX(5px);
}

/* 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);
  }
}