/* ==========================================================================
   NILWALA RIVER CROCODILE WATCHING - DESIGN SYSTEM & MASTER STYLES
   ========================================================================== */

:root {
  /* Color Palette - Eco Luxury Wildlife */
  --color-primary: #0a261c;
  --color-primary-light: #133f30;
  --color-primary-dark: #051711;
  --color-forest: #1e5a44;
  --color-forest-glow: #287a5d;
  
  --color-river-blue: #1b4944;
  --color-river-teal: #1f6b78;
  --color-river-cyan: #38bdf8;
  
  --color-gold: #d4a373;
  --color-gold-bright: #e7af75;
  --color-gold-dark: #b07e4d;
  --color-amber: #e09f3e;
  
  --color-bg-light: #faf8f5;
  --color-bg-card: #ffffff;
  --color-bg-alt: #f3efe8;
  --color-bg-dark: #091a14;
  --color-bg-darker: #050f0c;
  
  --color-text-main: #1c2e26;
  --color-text-muted: #577065;
  --color-text-light: #f5f5f5;
  --color-text-dim: #9fb5ab;
  
  --color-border: #e3ded6;
  --color-border-dark: #1b382d;
  
  /* Status & Accents */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-whatsapp: #25d366;
  --color-instagram: #e1306c;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 38, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 38, 28, 0.1);
  --shadow-lg: 0 16px 40px rgba(10, 38, 28, 0.15);
  --shadow-glow: 0 0 30px rgba(212, 163, 115, 0.35);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.4);
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Layout */
  --container-width: 1240px;
  --container-narrow: 920px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Header Height */
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 163, 115, 0.15);
  color: var(--color-gold-dark);
  border: 1px solid rgba(212, 163, 115, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-gold-bright);
  border-color: rgba(212, 163, 115, 0.3);
}

.section-tag i {
  font-size: 0.9em;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--color-gold) !important;
}

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

.text-dim {
  color: var(--color-text-dim) !important;
}

/* Section Wrapper Standard */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.975rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #0b1e17;
  box-shadow: 0 4px 18px rgba(212, 163, 115, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 163, 115, 0.45);
  background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
}

.btn-forest {
  background: linear-gradient(135deg, var(--color-forest), var(--color-primary));
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(30, 90, 68, 0.3);
}

.btn-forest:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 90, 68, 0.45);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  background: #22bf5b;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   TOP ANNOUNCEMENT & UTILITY BAR
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary-dark);
  color: var(--color-text-dim);
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info span i {
  color: var(--color-gold);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-light);
  font-size: 0.775rem;
  transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
  background: rgba(212, 163, 115, 0.2);
  color: var(--color-gold);
}

.sound-toggle-btn.playing {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.sound-waves {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}

.sound-waves span {
  width: 2px;
  background-color: currentColor;
  border-radius: 1px;
  animation: waveBar 1.2s infinite ease-in-out;
}

.sound-waves span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.sound-waves span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.sound-waves span:nth-child(3) { height: 8px; animation-delay: 0.2s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.currency-select-wrap select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.currency-select-wrap select option {
  background-color: var(--color-primary-dark);
  color: #fff;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 38, 28, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(5, 23, 17, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-forest));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.725rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Main Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 6px 0;
  position: relative;
}

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

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

.nav-badge {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 4px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-toggle {
  display: none;
  color: #ffffff;
  font-size: 1.6rem;
  padding: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 40px);
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  overflow: hidden;
  padding: 60px 0 100px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  filter: brightness(0.68) contrast(1.05);
  animation: subtleZoom 20s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(10, 38, 28, 0.4) 0%, 
    rgba(10, 38, 28, 0.7) 60%, 
    rgba(5, 15, 12, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-title {
  font-size: 3.85rem;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: var(--color-gold-bright);
  font-style: italic;
}

.hero-lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

/* Hero Quick Booking Bar */
.hero-booking-bar {
  background: rgba(10, 38, 28, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 163, 115, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.booking-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 16px;
}

.booking-col:nth-last-child(2) {
  border-right: none;
}

.booking-col label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-col select, .booking-col input {
  color: #ffffff;
  font-size: 0.925rem;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
}

.booking-col select option {
  background-color: var(--color-primary-dark);
  color: #fff;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  background-color: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 30px 0;
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30, 90, 68, 0.08);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid rgba(30, 90, 68, 0.15);
}

.trust-text h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.trust-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FEATURE CARDS & WHY CHOOSE US
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-forest), var(--color-gold));
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 163, 115, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(212, 163, 115, 0.12);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   SAFARI JOURNEY TIMELINE
   ========================================================================== */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 5%;
  width: 90%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-forest), var(--color-gold), var(--color-river-teal));
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  border: 3px solid var(--color-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 8px var(--color-bg-light);
  transition: var(--transition-bounce);
}

.timeline-step:hover .step-node {
  transform: scale(1.15);
  background: var(--color-forest);
  box-shadow: 0 0 0 8px var(--color-bg-light), 0 0 20px rgba(212, 163, 115, 0.5);
}

.step-time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-step h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-step p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   TOUR CARDS & PACKAGES
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.package-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.package-card.featured {
  border: 2px solid var(--color-gold);
  box-shadow: 0 12px 36px rgba(212, 163, 115, 0.2);
  transform: translateY(-8px);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.package-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.package-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary-dark);
  color: var(--color-gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(212, 163, 115, 0.4);
}

.package-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 600;
}

.package-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-body h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.package-desc {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.package-meta-list {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-text-main);
  border-top: 1px dashed var(--color-border);
  padding-top: 16px;
}

.package-meta-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-meta-list li i {
  color: var(--color-forest);
  font-size: 0.95rem;
}

.package-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  margin-bottom: 20px;
}

.price-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.price-unit {
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ==========================================================================
   WILDLIFE GUIDE & CROCODILE SPECIES
   ========================================================================== */
.species-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.species-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.species-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.species-header-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.species-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.species-status-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 38, 28, 0.9);
  color: var(--color-gold);
  border: 1px solid rgba(212, 163, 115, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.species-info {
  padding: 28px;
}

.scientific-name {
  font-style: italic;
  color: var(--color-gold-dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.species-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--color-bg-alt);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  text-align: center;
}

.stat-item small {
  display: block;
  font-size: 0.725rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.stat-item strong {
  font-size: 0.925rem;
  color: var(--color-primary-dark);
}

/* ==========================================================================
   INTERACTIVE HUB: SPOT THE CROCODILE MINI-GAME & ANATOMY
   ========================================================================== */
.interactive-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--color-text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.tab-btn.active {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-gold);
  box-shadow: 0 4px 18px rgba(212, 163, 115, 0.3);
}

.interactive-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.interactive-panel.active {
  display: block;
}

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

/* Quiz Options Responsive Grid */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quiz-option-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.quiz-option-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-gold);
}

.quiz-option-card input[type="radio"] {
  accent-color: var(--color-gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
}

/* Mini Game Container */
.game-container {
  background: rgba(5, 15, 12, 0.9);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-dark);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.game-score-badge {
  background: rgba(212, 163, 115, 0.15);
  border: 1px solid var(--color-gold);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--color-gold-bright);
  font-weight: 700;
}

.game-canvas-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  cursor: crosshair;
}

.game-canvas-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crocodile-hotspot {
  position: absolute;
  width: 70px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
}

.crocodile-hotspot.found {
  border: 3px solid #10b981;
  background: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 20px #10b981;
  animation: pulseTarget 1.5s infinite;
}

@keyframes pulseTarget {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.game-feedback-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 20;
  text-align: center;
  padding: 30px;
}

/* Anatomy Explorer */
.anatomy-explorer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  background: rgba(5, 15, 12, 0.9);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.anatomy-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.anatomy-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.4);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.anatomy-pin:hover, .anatomy-pin.active {
  transform: scale(1.3);
  background: #ffffff;
  box-shadow: 0 0 0 6px var(--color-gold);
}

.anatomy-info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px;
  border-radius: var(--radius-md);
}

.anatomy-info-box h3 {
  font-size: 1.6rem;
  color: var(--color-gold-bright);
  margin-bottom: 12px;
}

/* Digital Safari Checklist */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.checklist-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.checklist-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--color-gold);
}

.checklist-item.checked {
  background: rgba(30, 90, 68, 0.35);
  border-color: #10b981;
}

.custom-checkbox {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.checklist-item.checked .custom-checkbox {
  background: #10b981;
  border-color: #10b981;
}

/* ==========================================================================
   DISCOVER MATARA & ATTRACTION CARDS
   ========================================================================== */
.attractions-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-forest);
  color: var(--color-primary-dark);
}

.filter-btn.active {
  background: var(--color-primary-dark);
  color: #ffffff;
  border-color: var(--color-primary-dark);
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.attraction-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.attraction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.attraction-media {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.attraction-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.attraction-card:hover .attraction-media img {
  transform: scale(1.06);
}

.attraction-cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 38, 28, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-gold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
}

.attraction-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.attraction-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.attraction-highlights {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.attraction-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.attraction-highlights li i {
  color: var(--color-gold-dark);
}

/* ==========================================================================
   DAY TRIPS & ITINERARIES
   ========================================================================== */
.itineraries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.itinerary-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.itinerary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.itinerary-title h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.itinerary-duration-badge {
  background: rgba(212, 163, 115, 0.15);
  color: var(--color-gold-dark);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.itinerary-stops {
  position: relative;
  padding-left: 28px;
}

.itinerary-stops::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 10px;
  bottom: 8px;
  width: 2px;
  background: var(--color-gold);
}

.stop-item {
  position: relative;
  margin-bottom: 18px;
}

.stop-item:last-child {
  margin-bottom: 0;
}

.stop-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-forest);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--color-gold);
}

.stop-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-transform: uppercase;
}

.stop-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.stop-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   PHOTO & INSTAGRAM GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 38, 28, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
  opacity: 0;
  transition: var(--transition-fast);
}

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

.gallery-overlay h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--color-gold);
}

/* Instagram Showcase Ribbon */
.instagram-ribbon {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  box-shadow: var(--shadow-lg);
}

.instagram-ribbon-text h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.instagram-ribbon-text p {
  font-size: 0.95rem;
  opacity: 0.95;
}

/* ==========================================================================
   BLOG / TRAVEL GUIDE ARTICLES
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.blog-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.775rem;
  color: var(--color-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.blog-read-more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SAFETY & RESPONSIBLE TOURISM
   ========================================================================== */
.safety-box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.safety-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.safety-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.safety-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.safety-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ==========================================================================
   CONTACT & BOOKING SYSTEM
   ========================================================================== */
.booking-section-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.booking-form-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-forest);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 90, 68, 0.15);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--color-primary-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 163, 115, 0.15);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-gold);
  text-transform: uppercase;
}

.contact-item-text p, .contact-item-text a {
  color: #ffffff;
  font-size: 0.95rem;
}

/* Map Simulation */
.map-embed-box {
  background: #e5e5e5;
  border-radius: var(--radius-lg);
  height: 280px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
}

.map-embed-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.review-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 1rem;
}

.review-text {
  font-style: italic;
  color: var(--color-text-main);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.reviewer-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-forest);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-info h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  margin-bottom: 2px;
}

.reviewer-info small {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-darker);
  color: var(--color-text-dim);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.925rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ==========================================================================
   STICKY MOBILE CONVERSION BAR & FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: var(--transition-bounce);
  animation: pulseGlow 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12) rotate(6deg);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(212, 163, 115, 0.3);
  padding: 12px 16px;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   MODAL DIALOGS (BLOG READER, BOOKING CONFIRMATION, CERTIFICATE)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

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

.modal-dialog {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-dark);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--color-danger);
  color: #fff;
}

.modal-header-img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.modal-content-body {
  padding: 36px;
}

.modal-content-body h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.modal-article-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-main);
}

.modal-article-text p {
  margin-bottom: 18px;
}

.modal-article-text h3 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
}

.modal-article-text ul {
  list-style: disc;
  margin: 0 0 20px 24px;
}

.modal-article-text li {
  margin-bottom: 8px;
}

/* Certificate Generator Box */
.certificate-preview {
  border: 6px double var(--color-gold);
  background: #fdfbf7;
  padding: 40px;
  text-align: center;
  border-radius: var(--radius-md);
  margin-top: 20px;
  color: #0b1e17;
}

.certificate-preview h3 {
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

/* ==========================================================================
   FLUID TYPOGRAPHY & RESPONSIVE COMPONENT OPTIMIZATIONS
   ========================================================================== */
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.85rem);
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.form-control, select, input, textarea {
  font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
}

/* Responsive Mini-Game Canvas */
.game-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 250px;
  max-height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  cursor: crosshair;
  background-color: #000;
}

.game-canvas-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- Large Desktops & Laptops (max-width: 1200px) --- */
@media (max-width: 1200px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .nav-menu {
    gap: 20px;
  }

  .features-grid, .packages-grid, .attractions-grid, .blog-grid, .reviews-grid, .safety-box-grid {
    gap: 24px;
  }
}

/* --- Tablets & Small Laptops (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .hero-booking-bar {
    grid-template-columns: repeat(2, 1fr) auto;
  }

  .hero-booking-bar .booking-col:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-booking-bar .booking-col:nth-child(3) {
    border-right: none;
  }

  .packages-grid, .features-grid, .attractions-grid, .blog-grid, .reviews-grid, .safety-box-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .anatomy-explorer-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* --- Tablets & Phablets (max-width: 820px) --- */
@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 70px 0;
  }

  .top-bar {
    display: none;
  }

  /* Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: rgba(5, 23, 17, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 28px 24px 36px;
    gap: 16px;
    transform: translateY(-130%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
    z-index: 999;
  }

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

  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.4rem;
  }

  .header-cta-group .btn-whatsapp {
    display: none;
  }

  /* Hero Adjustments */
  .hero-section {
    min-height: auto;
    padding: 40px 0 70px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-booking-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .hero-booking-bar .booking-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    padding-right: 0;
  }

  .hero-booking-bar button {
    width: 100%;
  }

  /* Trust Strip 2-col */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Vertical Timeline for Mobile */
  .timeline-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    position: relative;
    padding-left: 20px;
  }

  .timeline-track::before {
    display: block;
    top: 20px;
    left: 45px;
    width: 3px;
    height: calc(100% - 40px);
    background: linear-gradient(180deg, var(--color-forest), var(--color-gold), var(--color-river-teal));
  }

  .timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }

  .step-node {
    margin: 0;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
    box-shadow: 0 0 0 4px var(--color-bg-light);
  }

  /* Species & Packages to 1 Column */
  .packages-grid, .species-grid, .features-grid, .attractions-grid, .blog-grid, .reviews-grid, .itineraries-grid, .safety-box-grid {
    grid-template-columns: 1fr;
  }

  .booking-section-wrap {
    grid-template-columns: 1fr;
  }

  .booking-form-box {
    padding: 24px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Checklist 2-col */
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery 2-col */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-item.span-2 {
    grid-column: span 2;
  }

  .gallery-item {
    height: 190px;
  }

  /* Sticky Bottom Conversion Bar */
  .mobile-sticky-bar {
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-bar .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 12px 14px;
  }

  .floating-whatsapp {
    bottom: calc(75px + env(safe-area-inset-bottom, 0px));
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }

  .instagram-ribbon {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 28px 20px;
  }
}

/* --- Mobile Phones (max-width: 540px) --- */
@media (max-width: 540px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-item {
    padding: 10px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
  }

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

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

  .gallery-item.span-2 {
    grid-column: span 1;
  }

  .gallery-item {
    height: 220px;
  }

  .game-container {
    padding: 18px 14px;
  }

  .game-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 0.825rem;
    flex: 1 1 45%;
    text-align: center;
  }

  #safariQuizForm label > div {
    grid-template-columns: 1fr !important;
  }

  .modal-dialog {
    max-width: 95%;
    max-height: 92vh;
    border-radius: var(--radius-md);
  }

  .modal-content-body {
    padding: 22px 18px;
  }

  .modal-content-body h2 {
    font-size: 1.45rem;
  }

  .modal-header-img {
    height: 180px;
  }

  .certificate-preview {
    padding: 20px 14px;
  }

  .certificate-preview h3 {
    font-size: 1.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --- Ultra-small screens (max-width: 360px) --- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.875rem;
  }

  .tab-btn {
    flex: 1 1 100%;
  }
}

