/* ==========================================================================
   SAFARIWALE — Urban Yet Wild Design System
   Inspired by tendua.co.in ("Urban Yet Wild" aesthetic)
   Palette: Deep Jungle Charcoal, Forest Olive, Sandstone Khaki, Tiger Amber
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Syne:wght@700;800&display=swap');

:root {
  /* Colors */
  --bg-dark: #0F120E;
  --bg-dark-elevated: #161B15;
  --bg-earthy: #F5F2EB;
  --bg-earthy-alt: #EAE5D9;
  --bg-card-dark: #1A2018;
  --bg-card-light: #FFFFFF;
  --primary-olive: #2C3E2D;
  --primary-olive-light: #3D553E;
  --accent-amber: #D97724;
  --accent-amber-hover: #BF6318;
  --accent-whatsapp: #25D366;
  --accent-whatsapp-hover: #1EBE5D;
  --text-light: #F9F8F6;
  --text-dark: #1C1F1B;
  --text-muted: #6E756A;
  --text-muted-light: #9EA89A;
  --border-dark: rgba(249, 248, 246, 0.12);
  --border-light: rgba(28, 31, 27, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);

  /* Typography */
  --font-heading: 'Oswald', 'Syne', sans-serif;
  --font-display: 'Syne', 'Oswald', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing & Layout */
  --container-max: min(1860px, 98vw);
  --container-pad: clamp(1.25rem, 2.5vw, 2rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --header-height: 88px;
  --ticker-height: 38px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
}

/* Lenis Smooth Scroll Engine */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Ultra-Slim Luxury Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0B0E0A;
}

::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 36, 0.45);
  border-radius: 999px;
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
}

/* Firefox thin scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 119, 36, 0.45) #0B0E0A;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
  font-weight: 400;
  letter-spacing: -0.01em;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-amber {
  color: var(--accent-amber);
}

.text-muted {
  color: var(--text-muted);
}

.text-muted-light {
  color: var(--text-muted-light);
}

/* --------------------------------------------------------------------------
   Safariwale Luxury Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  pointer-events: all;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.preloader-emblem {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  animation: preloaderBreath 3s ease-in-out infinite;
}

@keyframes preloaderBreath {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  25% {
    opacity: 1;
    transform: scale(1);
  }
  65% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   Layout Containers & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  box-sizing: border-box;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-sm {
  padding: 3rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-earthy {
  background-color: var(--bg-earthy);
  color: var(--text-dark);
}

.section-earthy h1, 
.section-earthy h2, 
.section-earthy h3:not(.tour-card-title):not(.tour-card h3), 
.section-earthy h4 {
  color: var(--text-dark);
}

.section-earthy .lead-text {
  color: #3C423A;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 48px;
  min-width: 48px;
  text-decoration: none;
}

.btn-desktop-text {
  display: inline;
}

.btn-mobile-text {
  display: none;
}

.btn-primary {
  background-color: var(--accent-amber);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(217, 119, 36, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(249, 248, 246, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(249, 248, 246, 0.1);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-earthy {
  background-color: var(--primary-olive);
  color: #FFFFFF;
}

.btn-earthy:hover {
  background-color: var(--primary-olive-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--accent-whatsapp);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: var(--accent-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  min-height: 38px;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.badge-amber {
  background: rgba(217, 119, 36, 0.94);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-dark {
  background: rgba(15, 18, 14, 0.92);
  color: var(--text-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.badge-olive {
  background: rgba(44, 62, 45, 0.94);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-placeholder {
  background: rgba(217, 119, 36, 0.15);
  color: var(--accent-amber);
  border: 1px dashed var(--accent-amber);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Sticky Top Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(7, 10, 7, 0.16);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transition: background-color 0.25s ease,
              background 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.site-header .nav-link,
.site-header .header-contact {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.site-header .logo-img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
}

.site-header.scrolled {
  background-color: #000000 !important;
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-header.scrolled .nav-link,
.site-header.scrolled .header-contact {
  text-shadow: none;
}

/* Pull main content underneath sticky header */
#main-content {
  margin-top: calc(-1 * var(--header-height));
  position: relative;
  z-index: 1;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-transform: uppercase;
}

.logo-img {
  height: 66px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.site-logo:hover .logo-img {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 80px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.footer-brand-logo:hover .footer-logo-img,
.site-logo:hover .footer-logo-img {
  transform: scale(1.05);
}

.site-logo .logo-mark {
  color: var(--accent-amber);
  display: flex;
  align-items: center;
}

.site-logo span {
  color: var(--accent-amber);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-amber);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-amber);
}

/* --------------------------------------------------------------------------
   Mega-Dropdown Navigation for Wildlife Tours
   -------------------------------------------------------------------------- */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.dropdown-chevron {
  width: 9px;
  height: 6px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--accent-amber);
}

/* Desktop Floating Mega-Dropdown Rules */
@media (min-width: 769px) {
  /* Invisible bridge so mouse moving from link to menu never drops hover */
  .nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
  }

  .mega-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 920px;
    background: rgba(16, 21, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--accent-amber);
    border-radius: 12px;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(217, 119, 36, 0.2);
    padding: 1.6rem 1.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s ease;
    z-index: 1100;
  }

  .mega-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #111710;
    border-left: 2px solid var(--accent-amber);
    border-top: 2px solid var(--accent-amber);
    z-index: 1;
  }

  .nav-item-dropdown:hover .mega-dropdown,
  .nav-item-dropdown:focus-within .mega-dropdown,
  .nav-item-dropdown.open .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-container {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.dropdown-col {
  display: flex;
  flex-direction: column;
}

.dropdown-col-divided {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding-right: 1.25rem;
}

.dropdown-heading {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-heading svg {
  width: 14px;
  height: 14px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--accent-amber);
  transform: translateX(4px);
}

.dropdown-item-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--accent-amber);
}

.dropdown-item-desc {
  font-size: 0.74rem;
  color: #929D93;
  margin: 0.2rem 0 0 0;
  line-height: 1.35;
  font-family: var(--font-body);
  transition: color 0.18s ease;
}

.dropdown-item:hover .dropdown-item-desc {
  color: #C2CBC3;
}

.dropdown-badge {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.dropdown-badge.badge-amber {
  background: rgba(217, 119, 36, 0.18);
  color: #F59E0B;
  border: 1px solid rgba(217, 119, 36, 0.38);
}

.dropdown-badge.badge-olive {
  background: rgba(44, 62, 45, 0.55);
  color: #86EFAC;
  border: 1px solid rgba(134, 239, 172, 0.35);
}

.dropdown-badge.badge-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-featured {
  display: flex;
  flex-direction: column;
}

.dropdown-featured-card {
  background: linear-gradient(180deg, #171F15 0%, #0F140E 100%);
  border: 1px solid rgba(217, 119, 36, 0.28);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dropdown-featured-card:hover {
  border-color: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 12px rgba(217, 119, 36, 0.2);
}

.dropdown-featured-img {
  position: relative;
  height: 115px;
  overflow: hidden;
  background-color: #0b0e0a;
}

.dropdown-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.dropdown-featured-card:hover .dropdown-featured-img img {
  transform: scale(1.08);
}

.dropdown-featured-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(180deg, transparent 0%, rgba(23, 31, 21, 0.95) 100%);
}

.dropdown-featured-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(217, 119, 36, 0.95);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-featured-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
}

.dropdown-featured-body {
  padding: 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dropdown-featured-body h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dropdown-featured-body p {
  font-size: 0.74rem;
  color: #9EABA0;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.dropdown-featured-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: var(--accent-amber);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 12px rgba(217, 119, 36, 0.35);
}

.dropdown-featured-btn:hover {
  background: #E58632;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 36, 0.5);
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
}

.nav-phone:hover {
  color: var(--accent-amber);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 48px;
  min-height: 48px;
}

/* --------------------------------------------------------------------------
   Announcement / Ticker Strip
   -------------------------------------------------------------------------- */
.ticker-strip {
  background-color: var(--primary-olive);
  color: var(--text-light);
  height: var(--ticker-height);
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: tickerSlide 28s linear infinite;
}

.ticker-strip:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-dot {
  color: var(--accent-amber);
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Hero Section & Slider
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  min-height: calc(100vh - var(--ticker-height));
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  overflow: hidden;
  padding-top: var(--header-height);
  box-sizing: border-box;
}

.hero-slider-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease, transform 10s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Specific vertical focal positions so wildlife subjects in lower sections are prominently framed */
.hero-slide:nth-child(1) img { object-position: center bottom; }
.hero-slide:nth-child(2) img { object-position: center 85%; }
.hero-slide:nth-child(3) img { object-position: center 70%; }
.hero-slide:nth-child(4) img { object-position: center 80%; }
.hero-slide:nth-child(5) img { object-position: center bottom; }
.hero-slide:nth-child(6) img { object-position: center 65%; }
.hero-slide:nth-child(7) img { object-position: center bottom; }
.hero-slide:nth-child(8) img { object-position: center bottom; }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 18, 14, 0.4) 0%, rgba(15, 18, 14, 0.25) 35%, rgba(15, 18, 14, 0.45) 70%, rgba(15, 18, 14, 0.75) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-content .hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: rgba(249, 248, 246, 0.9);
  margin-bottom: 2rem;
  max-width: 850px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-slider-controls {
  display: none !important;
  position: absolute;
  bottom: 2rem;
  right: var(--container-pad);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(15, 18, 14, 0.75);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--accent-amber);
  width: 24px;
  border-radius: 6px;
}

/* Page Hero for Internal Pages */
.page-hero {
  position: relative;
  padding: calc(5.5rem + var(--header-height)) 0 4rem;
  background-color: var(--bg-dark);
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.85);
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,18,14,0.6) 0%, rgba(15,18,14,0.95) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  color: var(--text-muted-light);
}

.breadcrumbs a:hover {
  color: var(--accent-amber);
}

.breadcrumbs .separator {
  color: var(--accent-amber);
}

/* --------------------------------------------------------------------------
   Cards Grid & Tour Cards
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.tour-card {
  background: #141913;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.35s ease;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(217, 119, 36, 0.4);
  border-color: rgba(217, 119, 36, 0.5);
}

.tour-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #1a2219;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.08);
}

/* Subtle bottom gradient fade connecting photo to card body without obscuring animals */
.tour-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(to top, #141913 0%, rgba(20, 25, 19, 0.55) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Wildlife Subject Alignment & Framing (Tour Cards, Heroes & Detail Pages)
   Ensures wild animals (tigers, elephants, leopards, rhinos, etc.) are 
   always perfectly positioned in frame and never cropped off on mobile or desktop.
   -------------------------------------------------------------------------- */

/* Corbett: Wild elephant herd in Ramganga river is in the upper part of the image */
.tour-card-image img[src*="corbett"],
.tour-card-image img[src*="SID_6161"],
.page-hero-bg[src*="corbett"],
.page-hero-bg[src*="SID_6161"] {
  object-position: center 10% !important;
}

/* Ranthambore: Royal Bengal Tiger standing between trees at bottom */
.tour-card-image img[src*="ranthambore"],
.page-hero-bg[src*="ranthambore"] {
  object-position: center 75% !important;
}

/* Bandhavgarh (SID_6952): Tiger cubs gathered in lower half */
.tour-card-image img[src*="SID_6952"],
.page-hero-bg[src*="SID_6952"] {
  object-position: center 75% !important;
}

/* Bandhavgarh landscape (hero-bandhavgarh): Tiger resting on stone at left */
.tour-card-image img[src*="hero-bandhavgarh"],
.page-hero-bg[src*="hero-bandhavgarh"] {
  object-position: 25% center !important;
}

/* Pilibhit: Bengal tiger emerging in lower third */
.tour-card-image img[src*="pilibhit"],
.page-hero-bg[src*="pilibhit"] {
  object-position: center 75% !important;
}

/* Rajaji: Leopard resting on high tree branch in upper third */
.tour-card-image img[src*="rajaji"],
.page-hero-bg[src*="rajaji"] {
  object-position: center 30% !important;
}

/* Tanzania: Tree-climbing lion on trunk in lower-middle */
.tour-card-image img[src*="tanzania"],
.page-hero-bg[src*="tanzania"] {
  object-position: center 60% !important;
}

/* Umred Karhandla: Tiger cubs in lower half */
.tour-card-image img[src*="umred-karhandla"],
.page-hero-bg[src*="umred-karhandla"] {
  object-position: center 68% !important;
}

/* Masai Mara: Leopard leaping down trunk */
.tour-card-image img[src*="masai-mara"],
.page-hero-bg[src*="masai-mara"] {
  object-position: center 35% !important;
}

/* Satpura: Tiger portrait */
.tour-card-image img[src*="satpura"],
.page-hero-bg[src*="satpura"] {
  object-position: center 35% !important;
}

/* Kanha: Tigress resting under riverbank */
.tour-card-image img[src*="_SID4188"],
.page-hero-bg[src*="_SID4188"] {
  object-position: center 65% !important;
}

/* Kaziranga: Tiger resting on sandbar */
.tour-card-image img[src*="kaziranga"],
.page-hero-bg[src*="kaziranga"] {
  object-position: center 40% !important;
}

/* Dudhwa: Tiger walking forward on forest path */
.tour-card-image img[src*="_SID8642"],
.page-hero-bg[src*="_SID8642"] {
  object-position: center 40% !important;
}

/* Panna (0U9A2968): Tiger cub exploring */
.tour-card-image img[src*="0U9A2968"],
.page-hero-bg[src*="0U9A2968"] {
  object-position: center 45% !important;
}

/* Tadoba Tiger Safari (DSC_0158-2 & hero-tiger-tadoba): Tiger walking center */
.tour-card-image img[src*="DSC_0158-2"],
.tour-card-image img[src*="hero-tiger-tadoba"],
.page-hero-bg[src*="hero-tiger-tadoba"] {
  object-position: center 40% !important;
}

/* Jawai: Leopard in flame-of-the-forest tree */
.tour-card-image img[src*="jawai"],
.page-hero-bg[src*="jawai"] {
  object-position: center 52% !important;
}

/* Snow Leopard: High mountain snow leopard family */
.tour-card-image img[src*="snow-leopard"],
.page-hero-bg[src*="snow-leopard"] {
  object-position: center 45% !important;
}

/* Kingfisher bird watching tour */
.tour-card-image img[src*="gallery-kingfisher"] {
  object-position: center 40% !important;
}

/* Wild Dogs / Dhole pack */
.tour-card-image img[src*="gallery-wild-dogs"] {
  object-position: center 60% !important;
}

/* Gallery Leopard on teak limb */
.page-hero-bg[src*="gallery-leopard"],
.tour-card-image img[src*="gallery-leopard"] {
  object-position: center 40% !important;
}

.tour-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
}

.tour-card-body {
  padding: 1.65rem 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #141913;
}

/* Ensure Tour Card title is ALWAYS high contrast and visible in all sections */
.tour-card .tour-card-title,
.tour-card .tour-card-title a,
.section-earthy .tour-card .tour-card-title,
.section-earthy .tour-card .tour-card-title a,
.section-earthy .tour-card h3,
.section-earthy .tour-card h3 a {
  color: #FFFFFF !important;
  font-family: var(--font-heading) !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: color var(--transition-fast) !important;
}

.tour-card .tour-card-title a:hover,
.tour-card:hover .tour-card-title a,
.section-earthy .tour-card .tour-card-title a:hover {
  color: var(--accent-amber) !important;
}

/* High contrast, legible body text on dark card */
.tour-card .tour-card-text,
.section-earthy .tour-card .tour-card-text {
  color: #C8D3C6 !important;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  gap: 0.75rem;
}

.tour-card-price {
  font-size: 0.74rem;
  color: #8E9A8C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.tour-card-price strong {
  display: block;
  font-size: 1.15rem;
  color: #F9F8F6;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  font-weight: 700;
  margin-top: 0.15rem;
}

.tour-card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Polished View Tour button */
.tour-card-actions .btn-secondary,
.tour-card-actions .btn-sm {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #F9F8F6 !important;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  min-height: 42px;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tour-card-actions .btn-secondary:hover,
.tour-card-actions .btn-sm:hover {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(217, 119, 36, 0.4);
}

/* High-Contrast, Vibrant WhatsApp Quick Enquire Button */
.tour-card-actions .btn-whatsapp.btn-icon,
.tour-card-actions .quick-enquire-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: #25D366 !important;
  border: 1px solid #20BA5A !important;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.tour-card-actions .btn-whatsapp.btn-icon:hover,
.tour-card-actions .quick-enquire-btn:hover {
  background: #1EBE5D !important;
  border-color: #17A34E !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.65);
}

.tour-card-actions .btn-whatsapp.btn-icon:active,
.tour-card-actions .quick-enquire-btn:active {
  transform: scale(0.95);
}

.tour-card-actions .btn-whatsapp.btn-icon svg,
.tour-card-actions .quick-enquire-btn svg {
  width: 26px !important;
  height: 26px !important;
  fill: #FFFFFF !important;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* --------------------------------------------------------------------------
   Counter Strip
   -------------------------------------------------------------------------- */
.counter-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: #141913;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.counter-item .counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--accent-amber);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-item .counter-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C8D3C6;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Feature Tiles & One-Row Animated Marquee Scroll
   -------------------------------------------------------------------------- */
.marquee-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem 0 2rem;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
}

.marquee-scroll-wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.marquee-scroll-wrapper:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-tile {
  background: #141913;
  padding: 2.25rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.35s ease;
}

.marquee-track .feature-tile {
  flex: 0 0 350px;
  width: 350px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
}

@media (max-width: 768px) {
  .marquee-track .feature-tile {
    flex: 0 0 290px;
    width: 290px;
    padding: 1.75rem 1.5rem;
    min-height: 230px;
  }

  .marquee-track {
    gap: 1.25rem;
  }
}

.feature-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(217, 119, 36, 0.35);
  border-color: rgba(217, 119, 36, 0.5);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-amber);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-desc {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Google Testimonials Marquee & Trust Bar
   -------------------------------------------------------------------------- */
.testimonials-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.google-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-light);
}

.stars-gold {
  color: #FBBC05;
  letter-spacing: 2px;
  font-size: 1rem;
}

.google-redirect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.google-redirect-btn:hover {
  background: #FFFFFF;
  color: #141913;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.google-redirect-btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 999px;
  background: #1A2018;
  border: 1px solid rgba(217, 119, 36, 0.4);
}

.google-redirect-btn-lg:hover {
  background: var(--accent-amber);
  color: #FFFFFF;
  border-color: var(--accent-amber);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(217, 119, 36, 0.4);
}

.marquee-track .testimonial-card {
  flex: 0 0 380px;
  width: 380px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #141913;
  padding: 2rem 1.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
}

.marquee-track .testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 36, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(217, 119, 36, 0.15);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.testimonial-stars {
  color: #FBBC05;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #E2E8DF;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.testimonial-author-block {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--accent-amber);
  margin-top: 0.15rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #34A853;
  background: rgba(52, 168, 83, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(52, 168, 83, 0.2);
  font-weight: 600;
}

@media (max-width: 768px) {
  .marquee-track .testimonial-card {
    flex: 0 0 310px;
    width: 310px;
    padding: 1.6rem 1.35rem;
    min-height: 270px;
  }
}

/* --------------------------------------------------------------------------
   Full-Width CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  background-color: var(--bg-dark);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border-dark);
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,18,14,0.7) 0%, rgba(15,18,14,0.92) 100%);
}

.cta-banner .container {
  position: relative;
  z-index: 2;
  max-width: 1050px;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(249, 248, 246, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

/* --------------------------------------------------------------------------
   Filter Bar & Category Pills
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Tables (Clean responsive tables for AEO/GEO & specs)
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  background: var(--bg-card-dark);
}

.table-earthy {
  background: #FFFFFF;
  border-color: var(--border-light);
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.table-custom th {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  color: var(--accent-amber);
  border-bottom: 1px solid var(--border-dark);
}

.table-earthy th {
  background: var(--bg-earthy-alt);
  color: var(--primary-olive);
  border-bottom: 1px solid var(--border-light);
}

.table-custom td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light);
}

.table-earthy td {
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.table-custom tr:last-child td {
  border-bottom: none;
}

.table-custom tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* --------------------------------------------------------------------------
   FAQ Accordions (Semantic <details> for AEO / voice snippets)
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-dark);
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--accent-amber);
}

.faq-summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-family: var(--font-heading);
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary h3,
.faq-item .faq-summary h3 {
  font-size: 1.15rem;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  color: #FFFFFF !important;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-amber);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: #C8D3C6 !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Forms & Contact Elements
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-label .required {
  color: var(--accent-amber);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 36, 0.2);
}

.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.radio-label, .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
}

.contact-card {
  background: var(--bg-card-dark);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-amber);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border-dark);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Masonry Gallery & Lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* --------------------------------------------------------------------------
   Aligned Responsive Gallery Grid (Natural Formats with Flush Row & End Alignment)
   -------------------------------------------------------------------------- */
.gallery-aligned-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-aligned-grid .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.gallery-aligned-grid .gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 147, 58, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(201, 147, 58, 0.15);
}

.gallery-aligned-grid .gallery-item.is-landscape {
  aspect-ratio: 5 / 4;
}

.gallery-aligned-grid .gallery-item.is-portrait {
  aspect-ratio: 4 / 5;
}

.gallery-aligned-grid .gallery-item.is-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

.gallery-aligned-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-aligned-grid .gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-aligned-grid .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 18, 14, 0.94) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  pointer-events: none;
}

.gallery-aligned-grid .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

@media (max-width: 992px) {
  .gallery-aligned-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .gallery-aligned-grid .gallery-item.is-wide {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .gallery-aligned-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .gallery-aligned-grid .gallery-item.is-landscape {
    aspect-ratio: 5 / 4;
  }
  .gallery-aligned-grid .gallery-item.is-portrait {
    aspect-ratio: 4 / 5;
  }
  .gallery-aligned-grid .gallery-item.is-wide {
    grid-column: 1;
    aspect-ratio: 16 / 9;
  }
}

/* Multi-column Masonry Gallery (Preserves Natural Aspect Ratios for Landscape & Portrait) */
.gallery-masonry {
  column-count: 3;
  column-gap: 1.5rem;
}

@media (max-width: 992px) {
  .gallery-masonry {
    column-count: 2;
    column-gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .gallery-masonry {
    column-count: 1;
    column-gap: 1rem;
  }
}

.gallery-masonry .gallery-item {
  aspect-ratio: auto !important;
  height: auto !important;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
  vertical-align: top;
}

.gallery-masonry .gallery-item img {
  width: 100%;
  height: auto !important;
  display: block;
  object-fit: unset;
  transition: transform var(--transition-slow);
}

.gallery-masonry .gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-masonry .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 18, 14, 0.94) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  pointer-events: none;
}

.gallery-masonry .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  aspect-ratio: 4 / 3;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 147, 58, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(201, 147, 58, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-watermark {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 18, 14, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.85rem;
  color: var(--text-light);
}

.gallery-caption strong {
  display: block;
  font-size: 1rem;
  font-family: var(--font-heading);
  color: var(--accent-amber);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 18, 14, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
}

.lightbox-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #fff;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Tendua Merchandise Elements
   -------------------------------------------------------------------------- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.merch-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.merch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 36, 0.4);
}

.merch-card-img {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: #181d17;
}

.merch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.merch-card:hover .merch-card-img img {
  transform: scale(1.05);
}

.merch-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.merch-card-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--accent-amber);
  margin-top: 0.5rem;
}

.safari-tip-box {
  background: rgba(217, 119, 36, 0.08);
  border-left: 4px solid var(--accent-amber);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 3rem 0;
}

.safari-tip-box h4 {
  color: var(--accent-amber);
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   Chronological Interactive Milestones Timeline (About Page)
   -------------------------------------------------------------------------- */
.timeline-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.timeline-header-text {
  max-width: 720px;
}

.timeline-header-text h2 {
  margin-bottom: 0.5rem;
}

.timeline-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.timeline-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 27, 21, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.timeline-nav-btn:hover:not(:disabled) {
  background: var(--accent-amber);
  color: #FFFFFF;
  border-color: var(--accent-amber);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(217, 119, 36, 0.45);
}

.timeline-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.timeline-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.timeline-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75rem 0 1.5rem 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
  cursor: grab;
  user-select: none;
}

.timeline-scroll:active {
  cursor: grabbing;
}

/* Hide scrollbar Chrome, Safari, Opera */
.timeline-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.timeline-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  position: relative;
  padding: 0.5rem 0 1.25rem 0;
  margin: 0;
}

/* Continuous Horizontal Golden Rail Line */
.timeline-axis-line {
  position: absolute;
  top: calc(0.5rem + 15px);
  left: 36px;
  right: 36px;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(217, 119, 36, 0.5) 0%, 
    var(--accent-amber) 5%, 
    var(--accent-amber) 95%, 
    rgba(217, 119, 36, 0.5) 100%
  );
  box-shadow: 0 0 12px rgba(217, 119, 36, 0.45);
  pointer-events: none;
  z-index: 1;
}

.timeline-item {
  flex: 0 0 320px;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Milestone Node / Pinpoint */
.timeline-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0F120E;
  border: 2px solid var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
  box-shadow: 0 0 0 4px rgba(217, 119, 36, 0.16), 0 0 14px rgba(217, 119, 36, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
  position: relative;
  z-index: 3;
}

.timeline-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px rgba(217, 119, 36, 0.8);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Connecting Stem from Node to Card */
.timeline-stem {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--accent-amber) 0%, rgba(217, 119, 36, 0.2) 100%);
  margin-left: 39px;
  margin-bottom: 8px;
  transition: background 0.3s ease;
}

/* Timeline Card */
.timeline-card {
  width: 100%;
  background: linear-gradient(180deg, #1A2018 0%, #131712 100%);
  padding: 1.85rem 1.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.timeline-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--accent-amber);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  text-shadow: 0 0 18px rgba(217, 119, 36, 0.2);
}

.timeline-step {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8C9988;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.timeline-desc {
  color: var(--text-muted-light);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Hover Interactions */
.timeline-item:hover .timeline-node {
  transform: scale(1.15);
  border-color: #F5A642;
  box-shadow: 0 0 0 6px rgba(217, 119, 36, 0.25), 0 0 20px rgba(217, 119, 36, 0.65);
}

.timeline-item:hover .timeline-node-dot {
  transform: scale(1.2);
  background: #FFA742;
}

.timeline-item:hover .timeline-stem {
  background: linear-gradient(to bottom, #FFA742 0%, rgba(217, 119, 36, 0.6) 100%);
}

.timeline-item:hover .timeline-card {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 36, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(217, 119, 36, 0.16);
}

@media (max-width: 900px) {
  .timeline-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .timeline-item {
    flex: 0 0 280px;
    width: 280px;
  }
}

/* --------------------------------------------------------------------------
   Founder Story Showcase (About Us)
   -------------------------------------------------------------------------- */
.founder-story-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.founder-story-col {
  display: flex;
  justify-content: center;
}

.founder-story-card {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  background: var(--bg-card-dark);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.founder-story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 36, 0.45);
}

.founder-story-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.founder-story-caption {
  padding: 0.85rem 1.15rem;
  font-size: 0.84rem;
  color: var(--text-muted-light);
  border-top: 1px solid var(--border-dark);
  text-align: center;
  background: var(--bg-card-dark);
}

.founder-story-caption strong {
  color: var(--text-light);
}

@media (max-width: 900px) {
  .founder-story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .founder-story-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .founder-story-image {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .founder-story-card {
    max-width: 270px;
  }

  .founder-story-image {
    height: 270px;
  }

  .founder-story-caption {
    font-size: 0.78rem;
    padding: 0.65rem 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Meet the Founder Spotlight Feature
   -------------------------------------------------------------------------- */
.founder-spotlight-card {
  display: grid;
  grid-template-columns: clamp(300px, 32%, 440px) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.founder-spotlight-photo-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(217, 119, 36, 0.35);
  aspect-ratio: 4 / 5;
  background: #1a2018;
}

.founder-spotlight-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-slow);
}

.founder-spotlight-card:hover .founder-spotlight-photo {
  transform: scale(1.03);
}

.founder-photo-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(15, 18, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 36, 0.4);
  color: var(--accent-amber);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.founder-photo-badge:hover {
  background: var(--accent-amber);
  color: #0F120E;
  border-color: var(--accent-amber);
}

.founder-spotlight-details {
  display: flex;
  flex-direction: column;
}

.founder-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  background: rgba(217, 119, 36, 0.12);
  border: 1px solid rgba(217, 119, 36, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.founder-name {
  color: #FFFFFF !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.85rem, 3.2vw, 2.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 0 1rem 0 !important;
  letter-spacing: 0.02em !important;
}

.founder-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}

.founder-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted-light);
  margin-bottom: 1.5rem;
}

.founder-quote {
  position: relative;
  background: rgba(201, 147, 58, 0.08);
  border-left: 3px solid var(--accent-amber);
  padding: 1.15rem 1.4rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 0 0 1.75rem 0;
}

.founder-quote p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-light);
  margin: 0;
}

.founder-stats-strip {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.founder-stat-item {
  display: flex;
  flex-direction: column;
}

.founder-stat-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-amber);
  line-height: 1.1;
}

.founder-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 960px) {
  .founder-spotlight-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .founder-spotlight-photo-wrap {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .founder-spotlight-card {
    padding: 1.5rem 1.25rem;
  }
  .founder-stats-strip {
    gap: 1.25rem;
  }
  .founder-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .founder-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Team Cards with Flip / Reveal
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  transition: transform var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 36, 0.4);
}

.team-card-photo {
  height: 280px;
  overflow: hidden;
  background: #232a21;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card h3,
.team-card-info h3,
.section-earthy .team-card h3,
.section-earthy .team-card-info h3 {
  color: #FFFFFF !important;
  font-family: var(--font-heading) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 0.35rem 0 !important;
  line-height: 1.25 !important;
}

.team-card-role {
  color: var(--accent-amber);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.team-card-quote {
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted-light);
  border-left: 2px solid var(--accent-amber);
  padding-left: 0.75rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Footer (Redesigned Luxury Wild Aesthetic)
   -------------------------------------------------------------------------- */
.site-footer {
  background: radial-gradient(circle at 50% 0%, rgba(201, 147, 58, 0.05) 0%, #070A07 70%);
  color: var(--text-light);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(201, 147, 58, 0.22);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 147, 58, 0.45) 30%, rgba(201, 147, 58, 0.85) 50%, rgba(201, 147, 58, 0.45) 70%, transparent);
}

/* Top Trust & Quick Connect Ribbon */
.footer-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2.75rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.footer-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-stars {
  color: var(--accent-amber);
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1;
}

.trust-badge-icon {
  color: var(--accent-amber);
  flex-shrink: 0;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
}

.trust-badge-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
}

.trust-badge-text span {
  font-size: 0.78rem;
  color: var(--text-muted-light);
  line-height: 1.25;
}

.footer-trust-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.12);
}

.footer-top-cta {
  display: flex;
  align-items: center;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  background: rgba(201, 147, 58, 0.08);
  border: 1px solid rgba(201, 147, 58, 0.4);
  border-radius: 999px;
  color: var(--accent-amber);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-cta-btn:hover {
  background: var(--accent-amber);
  color: #070A07;
  border-color: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 147, 58, 0.35);
}

.footer-cta-btn svg {
  flex-shrink: 0;
}

/* Main 4-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  color: var(--text-muted-light);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-social-wrapper {
  margin-top: auto;
  padding-top: 0.5rem;
}

.footer-social-title {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-social-strip {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #D2D6CE;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.footer-social-btn:hover svg {
  transform: scale(1.08);
}

/* Individual Brand Hover States */
.footer-social-btn.btn-social-yt:hover {
  background: rgba(255, 0, 0, 0.18);
  border-color: #FF0000;
  color: #FF4D4D;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
}

.footer-social-btn.btn-social-ig:hover {
  background: rgba(225, 48, 108, 0.18);
  border-color: #E1306C;
  color: #FF6584;
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.35);
}

.footer-social-btn.btn-social-fb:hover {
  background: rgba(24, 119, 242, 0.18);
  border-color: #1877F2;
  color: #4D96FF;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.footer-social-btn.btn-social-wa:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-amber);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: var(--text-muted-light);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-nav-list a:hover {
  color: var(--accent-amber);
  transform: translateX(4px);
}

.footer-all-tours {
  color: var(--accent-amber) !important;
  font-weight: 600;
  margin-top: 0.35rem;
}

/* Contact Cards Column */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-contact-link {
  color: var(--text-muted-light);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--accent-amber);
}

.footer-contact-link.highlight {
  color: var(--accent-amber);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.footer-contact-text {
  color: var(--text-muted-light);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copyright a {
  color: var(--accent-amber);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-copyright a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: 6.5rem; /* Clearance to ensure floating WhatsApp button never overlaps */
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--accent-amber);
}

.footer-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Floating Elements
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--accent-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  display: block;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(15, 18, 14, 0.98);
  border-top: 1px solid var(--border-dark);
  z-index: 1500;
  backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
}

.mobile-bottom-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  height: 100%;
}

.mobile-bottom-bar .btn {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   Tour Package Cards, Itinerary, Extras & Policy Styles
   -------------------------------------------------------------------------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .pkg-grid {
    grid-template-columns: 1fr;
  }
}

.pkg-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
}

.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.pkg-card.featured {
  border-color: var(--accent-amber);
  box-shadow: 0 12px 32px rgba(217, 119, 36, 0.12);
}

.pkg-popular-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-amber);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(217, 119, 36, 0.35);
}

.pkg-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 1.5rem;
}

.pkg-duration {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  letter-spacing: 0.02em;
}

.pkg-safaris-badge {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  background: rgba(217, 119, 36, 0.12);
  border: 1px solid rgba(217, 119, 36, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.pkg-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pkg-spec-item {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pkg-spec-label {
  color: var(--text-muted-light);
  font-weight: 600;
  min-width: 75px;
  flex-shrink: 0;
}

.pkg-spec-sep {
  color: var(--accent-amber);
  margin: 0 0.15rem;
}

.pkg-spec-value {
  color: var(--text-light);
}

.pkg-itinerary-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.75rem;
}

.pkg-itinerary-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pkg-itinerary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pkg-itinerary-item {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-light);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.pkg-day-badge {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(217, 119, 36, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.pkg-pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pkg-price-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.15rem 0.75rem;
  text-align: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.pkg-price-box.luxury {
  border-color: var(--accent-amber);
  background: rgba(217, 119, 36, 0.06);
}

.pkg-tier-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 0.35rem;
}

.pkg-price-box.luxury .pkg-tier-name {
  color: var(--accent-amber);
  font-weight: 700;
}

.pkg-price-amount {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pkg-price-box.luxury .pkg-price-amount {
  color: var(--accent-amber);
}

.pkg-price-unit {
  font-size: 0.75rem;
  color: var(--text-muted-light);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.policy-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-dark);
}

.policy-card-header h3 {
  font-size: 1.2rem;
  color: var(--accent-amber);
  margin: 0;
}

.policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.policy-list li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-light);
  position: relative;
  padding-left: 1.25rem;
}

.policy-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-amber);
  font-size: 1.2rem;
  line-height: 1.2;
}

.policy-list.exclusions li::before {
  content: '×';
  color: #E55353;
  font-size: 1.1rem;
  font-weight: 700;
}

.policy-list.inclusions li::before {
  content: '✓';
  color: #25D366;
  font-size: 1rem;
  font-weight: 700;
}

.pdf-contact-strip {
  background: var(--bg-card-dark);
  border: 1px solid var(--accent-amber);
  border-radius: var(--radius-md);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.pdf-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pdf-contact-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted-light);
}

.pdf-contact-phone {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}

.pdf-contact-phone:hover {
  color: var(--text-light);
}

.pdf-contact-web {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Mobile Responsiveness & Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .testimonials-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
    --container-pad: 1.5rem;
  }

  /* Zero Horizontal Scroll Strict Containment */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  /* Universal Container Safe Margins Across Entire Website */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* Prevent any heading, title, or body text from overflowing or cropping */
  h1, h2, h3, h4, h5, h6, p, .lead-text, .eyebrow, span, a, li {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  /* Clean Mobile Header: Hide multi-line breadcrumb trails on mobile devices */
  .breadcrumbs {
    display: none !important;
  }

  /* Remove floating WhatsApp icon on mobile (redundant with mobile bottom bar) */
  .floating-whatsapp {
    display: none !important;
  }

  /* Compact section spacing for refined mobile layout */
  .section {
    padding: 3.25rem 0;
    box-sizing: border-box;
  }

  .section-sm {
    padding: 2.25rem 0;
    box-sizing: border-box;
  }

  .section-header {
    margin-bottom: 1.85rem;
    padding-left: 0;
    padding-right: 0;
  }

  /* Proportioned Smaller Mobile Headings (Neat & Refined) */
  h1 {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem) !important;
    line-height: 1.22 !important;
    letter-spacing: 0.02em !important;
  }

  h2 {
    font-size: clamp(1.25rem, 4.6vw, 1.55rem) !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
  }

  h3 {
    font-size: clamp(1.05rem, 3.6vw, 1.25rem) !important;
    line-height: 1.3 !important;
  }

  h4 {
    font-size: 0.95rem !important;
  }

  p {
    font-size: 0.91rem;
    line-height: 1.58;
    margin-bottom: 0.85rem;
  }

  .lead-text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 0.5rem !important;
  }

  /* Hero adjustments for mobile: Generous margins, no text cropping */
  .hero-slider-section {
    min-height: 520px;
    height: auto;
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 4rem;
    box-sizing: border-box;
  }

  .hero-content {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-content h1 {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.85rem !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  }

  .hero-content .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.35rem !important;
    max-width: 100% !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 0 1.5rem 0;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-slider-controls {
    bottom: 1.25rem;
  }

  .page-hero {
    min-height: 220px;
    padding: calc(2.25rem + var(--header-height)) 0 1.75rem;
    box-sizing: border-box;
  }

  .page-hero h1 {
    font-size: clamp(1.4rem, 5vw, 1.75rem) !important;
    line-height: 1.22 !important;
  }

  .page-hero .container {
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
  }

  .cta-banner {
    padding: 3.5rem 0;
    box-sizing: border-box;
  }

  .cta-banner h2 {
    font-size: clamp(1.3rem, 4.8vw, 1.65rem) !important;
    line-height: 1.22 !important;
  }

  /* Dual-span responsive button text: Mobile shows concise 2-word labels */
  .btn-desktop-text {
    display: none !important;
  }

  .btn-mobile-text {
    display: inline !important;
  }

  /* Button styling: Single line (white-space: nowrap), smaller font, compact padding */
  .btn {
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.6rem 1.15rem !important;
    min-height: 42px !important;
    gap: 0.45rem !important;
    letter-spacing: 0.04em !important;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .btn-sm {
    font-size: 0.78rem !important;
    padding: 0.48rem 0.9rem !important;
    min-height: 38px !important;
  }

  .google-redirect-btn {
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 0.6rem 1.15rem !important;
    box-sizing: border-box;
  }

  .footer-cta-btn {
    white-space: nowrap !important;
    font-size: 0.84rem !important;
    padding: 0.7rem 1.25rem !important;
  }

  /* Tour Card typography & padding on mobile */
  .tour-card .tour-card-title,
  .tour-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.35rem !important;
  }

  .tour-card .tour-card-text {
    font-size: 0.86rem !important;
    line-height: 1.52 !important;
  }

  .tour-card-content {
    padding: 1.15rem 1rem !important;
  }

  /* Tour Card WhatsApp quick enquire on mobile: bold, prominent, high contrast */
  .tour-card-actions .btn-whatsapp.btn-icon,
  .tour-card-actions .quick-enquire-btn {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    background: #25D366 !important;
    border: 1px solid #20BA5A !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
  }

  .tour-card-actions .btn-whatsapp.btn-icon svg,
  .tour-card-actions .quick-enquire-btn svg {
    width: 28px !important;
    height: 28px !important;
    fill: #FFFFFF !important;
  }

  /* Filter bar touch scroll */
  .filter-bar {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.65rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.45rem;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    font-size: 0.78rem !important;
    padding: 0.42rem 0.85rem !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  /* Stack cards vertically one below the other on mobile */
  .features-grid,
  .team-grid,
  .cards-grid,
  .cards-grid.carousel-mobile {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    overflow-x: visible !important;
  }

  .cards-grid .tour-card,
  .cards-grid.carousel-mobile .tour-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  [style*="minmax(320px"],
  [style*="minmax(340px"],
  [style*="minmax(300px"],
  [style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .logo-img {
    height: 54px;
    max-width: 200px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(15, 18, 14, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.25rem;
    width: 100%;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-link:focus,
  .nav-link:active,
  .nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  /* Mobile Dropdown (Wildlife Tours Accordion) */
  .nav-item-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link.dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
  }

  .nav-link.dropdown-toggle:focus,
  .nav-link.dropdown-toggle:active,
  .nav-link.dropdown-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  .nav-item-dropdown.open .nav-link.dropdown-toggle {
    color: var(--accent-amber);
  }

  .nav-item-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--accent-amber);
  }

  /* Dropdown Menu Container Mobile Reset */
  .mega-dropdown,
  .nav-item-dropdown.open .mega-dropdown {
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(20, 26, 19, 0.96) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: 3px solid var(--accent-amber) !important;
    border-radius: 10px !important;
    padding: 1.15rem 0.95rem !important;
    margin-top: 0.75rem !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
  }

  .nav-item-dropdown.open .mega-dropdown {
    display: block !important;
  }

  .mega-dropdown::before {
    display: none !important;
  }

  .dropdown-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .dropdown-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .dropdown-col-divided {
    border-right: none !important;
    padding-right: 0 !important;
    padding-bottom: 0.85rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .dropdown-heading {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    color: var(--accent-amber) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding-bottom: 0.45rem !important;
    margin-bottom: 0.45rem !important;
    border-bottom: 1px dashed rgba(201, 147, 58, 0.25) !important;
  }

  .dropdown-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .dropdown-item {
    display: block !important;
    padding: 0.65rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 2px solid transparent !important;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    transform: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .dropdown-item:hover,
  .dropdown-item:active {
    background: rgba(201, 147, 58, 0.14) !important;
    border-left-color: var(--accent-amber) !important;
    transform: none !important;
  }

  .dropdown-item-title {
    font-family: var(--font-heading) !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
  }

  .dropdown-item-desc {
    font-size: 0.78rem !important;
    color: #9BA99E !important;
    margin: 0.25rem 0 0 0 !important;
    line-height: 1.35 !important;
  }

  .dropdown-badge {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    padding: 0.15rem 0.45rem !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
  }

  .dropdown-featured {
    display: none !important;
  }

  .nav-phone {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }

  .footer-top-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-trust-divider {
    display: none;
  }

  .footer-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
    width: 100%;
  }

  .footer-top-cta {
    width: 100%;
  }

  .footer-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 2rem;
  }

  .footer-legal-links {
    padding-right: 0;
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .floating-whatsapp {
    display: none !important;
  }



  .counter-strip {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Terms & Conditions Modal Popup
   -------------------------------------------------------------------------- */
.terms-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.terms-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.terms-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}

.terms-modal-dialog {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  background: var(--bg-dark-elevated, #161B15);
  border: 1px solid rgba(249, 248, 246, 0.16);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.terms-modal.active .terms-modal-dialog {
  transform: translateY(0) scale(1);
}

.terms-modal-header {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid rgba(249, 248, 246, 0.1);
  background: var(--bg-card-dark, #1A2018);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.terms-modal-eyebrow {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-amber, #D97724);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.terms-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.terms-modal-close {
  background: rgba(249, 248, 246, 0.05);
  border: 1px solid rgba(249, 248, 246, 0.15);
  border-radius: 6px;
  color: #F9F8F6;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.terms-modal-close:hover {
  background: rgba(217, 119, 36, 0.2);
  border-color: var(--accent-amber, #D97724);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.terms-modal-body {
  padding: 1.75rem;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  color: #D1D5DB;
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1 1 auto;
  min-height: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-amber, #D97724) rgba(249, 248, 246, 0.05);
}

.terms-modal-body::-webkit-scrollbar {
  width: 7px;
}

.terms-modal-body::-webkit-scrollbar-track {
  background: rgba(249, 248, 246, 0.06);
  border-radius: 4px;
}

.terms-modal-body::-webkit-scrollbar-thumb {
  background: var(--accent-amber, #D97724);
  border-radius: 4px;
}

.terms-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber-hover, #BF6318);
}

.terms-intro-box {
  background: rgba(217, 119, 36, 0.08);
  border-left: 3px solid var(--accent-amber, #D97724);
  padding: 1.1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  color: #F9F8F6;
  font-size: 0.95rem;
  line-height: 1.65;
}

.terms-intro-box strong {
  color: var(--accent-amber, #D97724);
}

.terms-points-list,
.terms-pointers-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.terms-section-title {
  color: var(--accent-amber, #D97724);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.65rem 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-section-title:first-of-type {
  margin-top: 0.5rem;
}

.terms-sub-list {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.5rem 0 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.terms-sub-list li {
  color: #CBD5E1;
  font-size: 0.91rem;
  line-height: 1.55;
}

.terms-pointer-item {
  background: rgba(26, 32, 24, 0.55);
  border: 1px solid rgba(249, 248, 246, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.terms-pointer-item:hover {
  background: rgba(26, 32, 24, 0.85);
  border-color: rgba(217, 119, 36, 0.3);
  transform: translateX(3px);
}

.terms-pointer-marker {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(217, 119, 36, 0.15);
  border: 1px solid rgba(217, 119, 36, 0.35);
  color: var(--accent-amber, #D97724);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.terms-pointer-item:hover .terms-pointer-marker {
  background: var(--accent-amber, #D97724);
  color: #FFFFFF;
  border-color: var(--accent-amber, #D97724);
}

.terms-pointer-text {
  color: #E2E8F0;
  line-height: 1.6;
  font-size: 0.94rem;
  flex: 1;
}

.terms-points-list li {
  color: #E2E8F0;
  line-height: 1.65;
  font-size: 0.94rem;
}

.terms-acceptance-card {
  background: #181d16;
  border: 1px solid #7c4a1e;
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.terms-acceptance-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #D97724;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terms-checkbox-label {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.terms-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.terms-custom-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 2px solid #22c55e;
  background: rgba(34, 197, 94, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.terms-custom-checkbox svg {
  display: none;
}

.terms-checkbox-input:checked + .terms-custom-checkbox {
  background: #22c55e;
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.terms-checkbox-input:checked + .terms-custom-checkbox svg {
  display: block;
}

.terms-checkbox-input:focus-visible + .terms-custom-checkbox {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}

.terms-checkbox-text {
  color: #FFFFFF;
  font-size: 0.93rem;
  line-height: 1.6;
  font-weight: 400;
}

.terms-modal-footer {
  padding: 1.15rem 1.75rem;
  border-top: 1px solid rgba(249, 248, 246, 0.1);
  background: var(--bg-card-dark, #1A2018);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.terms-modal-footer-link {
  color: var(--text-muted-light);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.terms-modal-footer-link:hover {
  color: var(--accent-amber);
}

@media (max-width: 640px) {
  .terms-modal {
    padding: 0.75rem;
  }
  .terms-modal-dialog {
    max-height: 94vh;
  }
  .terms-modal-header,
  .terms-modal-body,
  .terms-modal-footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .terms-modal-title {
    font-size: 1.2rem;
  }
}

