﻿/* Custom Styles for Diani Wilderness Tours & Safaris */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #2C1E15;
  /* Night Brown */
  --color-secondary: #DDA110;
  /* Mustard Bright Yellow */
  --color-accent: #F5B914;
  /* Highlight Gold */
  --color-ocean: #B88E3E;
  /* Sand Gold */
  --color-bg: #0A0604;
  /* Dark Night Background */
  --color-bg-dark: #0A0604;
  /* Dark Night Brown */
  --color-text: #F2E8DC;
  /* Soft Off-White/Gold Text */
  --color-text-light: #FAF8F5;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
  --font-btn: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: #0A0604 !important;
  color: #F2E8DC !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading);
}

.btn-font {
  font-family: var(--font-btn);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Base custom interactive effects */
.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(139, 107, 46, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, border-color 0.3s;
}

/* Glassmorphism Classes */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sticky Scrolled Header Backdrop Fix */
#main-header.scrolled,
#main-header.bg-safari-tz,
header.scrolled {
  background-color: rgba(10, 6, 4, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85) !important;
}

.glass-dark {
  background: rgba(44, 30, 21, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Custom transitions and hover states */
.hover-zoom img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hover-zoom:hover img {
  transform: scale(1.08);
}

.text-reveal-container {
  overflow: hidden;
}

.text-reveal {
  transform: translateY(100%);
}

/* Custom Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-accent));
  width: 0%;
  z-index: 10001;
  pointer-events: none;
}

.btn-safari-primary {
  background-color: #DDA110 !important;
  color: #0A0604 !important;
  font-family: var(--font-btn);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border: 1px solid #DDA110;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-safari-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-safari-primary:hover {
  color: #0A0604 !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(221, 161, 16, 0.4);
}

.btn-safari-primary:hover::before {
  left: 0;
}

.btn-safari-secondary {
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-btn);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.btn-safari-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-safari-secondary:hover {
  color: white;
}

.btn-safari-secondary:hover::before {
  left: 0;
}

/* Custom Mega Menu CSS */
.mega-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover bridge: invisible area bridging header and dropdown panel so cursor never leaves container */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  height: 30px;
  background: transparent;
  z-index: 10;
}

.nav-item-has-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dark Mode Helper classes */
.dark-mode {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Preloader styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.preloader-logo {
  max-width: 180px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.9);
}

.preloader-bar {
  width: 150px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--color-secondary);
  position: absolute;
  left: 0;
  top: 0;
}

/* ==========================================================================
   PREMIUM WEBSITE NAVIGATION (REDESIGNED FROM SCRATCH)
   ========================================================================== */

/* Logo wrapper container */
.logo-wrapper {
  height: 65px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 1);
  background-color: transparent;
}

.header-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 1);
  will-change: height, transform;
}

.header-logo:hover {
  transform: scale(1.05);
}

/* Nav Links Underline Transition (Grows from center) */
.nav-link {
  position: relative;
  transition: color 0.4s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active-nav::after {
  width: 100%;
}

/* Header Container Sticky shrinking (90px -> 76px) */
#header-container {
  height: 90px;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 1);
}

/* Scroll Frosted Glass State */
#main-header.bg-white,
#main-header.scrolled {
  background-color: rgba(10, 6, 4, 0.95) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border-bottom: 1px solid rgba(221, 161, 16, 0.2) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#main-header.bg-white #header-container,
#main-header.scrolled #header-container {
  height: 76px;
}

#main-header.bg-white .logo-wrapper,
#main-header.scrolled .logo-wrapper {
  height: 48px;
  width: 192px;
}

/* Sticky Mode Dark Theme Link Colors */
#main-header.bg-white .nav-link,
#main-header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

#main-header.bg-white .nav-link:hover,
#main-header.scrolled .nav-link:hover {
  color: #DDA110 !important;
}

#main-header.bg-white #mobile-menu-toggle,
#main-header.scrolled #mobile-menu-toggle {
  color: #ffffff !important;
}

/* Request a Quote Pill Button Styling */
.header-cta-pill-btn {
  font-family: inherit;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 1) !important;
}

.header-cta-pill-btn:hover {
  background-color: transparent !important;
  border-color: var(--color-secondary) !important;
  color: var(--color-secondary) !important;
  box-shadow: 0 6px 20px rgba(221, 161, 16, 0.15);
}

#main-header.bg-white .header-cta-pill-btn:hover {
  color: var(--color-secondary) !important;
}

/* Mega Menu Dropdown Visibility transitions */
.nav-item-has-menu .mega-menu {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 15px);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 1);
  pointer-events: none;
}

.nav-item-has-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* CSS Animated Hamburger Button */
.nav-icon-burger {
  width: 26px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-icon-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 1);
  transform-origin: center;
}

.nav-icon-burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-icon-burger.open span:nth-child(2) {
  opacity: 0;
  width: 0%;
}

.nav-icon-burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile responsive menu sizes matching xl breakpoint (max-width: 1279px) */
@media (max-width: 1279px) {
  .logo-wrapper {
    height: 48px;
    width: 192px;
  }
}

@media (max-width: 767px) {
  .logo-wrapper {
    height: 40px;
    width: 160px;
  }
}

/* ==========================================================================
   Premium Safari Card Redesign
   ========================================================================== */

.safari-card {
  background-color: rgba(36, 22, 14, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(221, 161, 16, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.safari-card:hover {
  transform: translateY(-8px);
  border-color: rgba(221, 161, 16, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(221, 161, 16, 0.25);
  background-color: rgba(36, 22, 14, 0.65);
}

.safari-card-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background-color: #1A0F09;
}

.safari-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.safari-card:hover .safari-card-image {
  transform: scale(1.06);
}

/* Luxury badges */
.safari-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: #DDA110;
  color: #1A0F09;
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: none;
}

.safari-card-price-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: rgba(26, 15, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FAF8F5;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 0.5rem 0.9rem;
  border-radius: 99px;
  border: 1px solid rgba(221, 161, 16, 0.2);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.safari-card-price-badge .price {
  color: #DDA110;
  font-size: 13px;
  font-weight: 900;
}

.safari-card-price-badge .label {
  font-size: 8px;
  font-weight: 400;
  color: #9A8D7D;
}

/* Card body layout */
.safari-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.safari-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  color: #9A8D7D;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.safari-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.safari-card-meta i {
  color: #DDA110;
  font-size: 10px;
}

.safari-card-meta .meta-dot {
  width: 3px;
  height: 3px;
  background-color: rgba(221, 161, 16, 0.25);
  border-radius: 50%;
}

.safari-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
  color: #FAF8F5;
  margin-bottom: 0.85rem;
  transition: color 0.3s ease;
}

.safari-card:hover .safari-card-title {
  color: #DDA110;
}

.safari-card-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.7;
  color: #9A8D7D;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Highlights pills */
.safari-card-highlights {
  border-top: 1px solid rgba(221, 161, 16, 0.1);
  padding-top: 1.15rem;
  margin-top: auto;
}

.safari-card-highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.safari-card-highlight-pill {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(221, 161, 16, 0.08);
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 400;
  color: #C4B8A8;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.safari-card-highlight-pill .pill-dot {
  width: 4px;
  height: 4px;
  background-color: #DDA110;
  border-radius: 50%;
}

/* Footer Section */
.safari-card-footer {
  border-top: 1px solid rgba(221, 161, 16, 0.1);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.safari-card-footer-price {
  display: flex;
  flex-direction: column;
}

.safari-card-footer-price .footer-price-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: #9A8D7D;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.safari-card-footer-price .footer-price-val {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FAF8F5;
}

.safari-card-footer-price .footer-price-val span {
  font-size: 9.5px;
  font-weight: 350;
  color: #9A8D7D;
}

.safari-card-btn-book {
  background-color: transparent;
  color: #FAF8F5;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: 99px;
  border: 1px solid rgba(221, 161, 16, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 1);
  cursor: pointer;
}

.safari-card-btn-book:hover {
  background-color: #DDA110;
  border-color: #DDA110;
  color: #1A0F09;
  box-shadow: 0 10px 20px rgba(221, 161, 16, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   Introduction Section — Dark Cinematic Theme
   ========================================================================== */

/* Stat counter hover lift */
.intro-stat {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: default;
}

.intro-stat:hover {
  transform: translateY(-3px);
}

/* Intro heading italic gold accent underline */
.intro-heading span {
  display: inline-block;
  position: relative;
}

.intro-heading span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #DDA110, transparent);
  opacity: 0.35;
}

/* Parallax-ready image subtle scale */
.intro-parallax-img {
  transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.intro-parallax-img:hover {
  transform: scale(1.04);
}

/* Floating glassmorphism panel */
.intro-floating-panel {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
}

.intro-floating-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
}

/* Intro section vignette overlays */
.intro-vignette-radial {
  background: radial-gradient(ellipse at 30% 50%, rgba(26, 15, 9, 0.45) 0%, rgba(26, 15, 9, 0.15) 60%, rgba(26, 15, 9, 0.05) 100%);
}

.intro-vignette-bottom {
  background: linear-gradient(to top, rgba(26, 15, 9, 0.7) 0%, transparent 25%);
}

/* ==========================================================================
   Coordinated Dark Backgrounds & Custom Card Styles
   ========================================================================== */

/* Tanzania Collection - Deep Earth Brown */
.bg-safari-tz {
  background-color: #120A07;
  background-image: radial-gradient(circle at 10% 20%, rgba(221, 161, 16, 0.03) 0%, transparent 60%);
}

/* Air Safaris - Twilight Sky Midnight */
.bg-safari-air {
  background-color: #070B11;
  background-image: radial-gradient(circle at 90% 80%, rgba(221, 161, 16, 0.03) 0%, transparent 60%);
}

/* Special Focus Safaris - Dark Concession Charcoal */
.bg-safari-special {
  background-color: #100C09;
}

/* Coastal Beach Holidays - Deep Ocean Shore */
.bg-safari-beach {
  background-color: #050D11;
  background-image: radial-gradient(circle at center, rgba(14, 52, 69, 0.15) 0%, transparent 80%);
}

/* Visual Stories - Dark Obsidian */
.bg-safari-gallery {
  background-color: #080605;
}

/* guest Chronicles - Cinematic Amber Glow */
.bg-safari-reviews {
  background-color: #110E0C;
  background-image: radial-gradient(circle at 50% 120%, rgba(221, 161, 16, 0.04) 0%, transparent 50%);
}

/* Bush Journals - Warm Safari Dark */
.bg-safari-blog {
  background-color: #14100E;
}

/* Premium Dark/Glass Cards and interactive elements */
.glass-card-dark {
  background: rgba(26, 15, 9, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 1);
}

.glass-card-dark:hover {
  border-color: rgba(221, 161, 16, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

/* Air Safari card style */
.air-safari-card {
  background: linear-gradient(135deg, rgba(23, 31, 46, 0.45) 0%, rgba(11, 16, 25, 0.75) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.air-safari-card:hover {
  border-color: rgba(221, 161, 16, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(-6px);
}

/* Special interest cards */
.special-interest-card {
  background: rgba(20, 16, 14, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.special-interest-card:hover {
  border-color: rgba(221, 161, 16, 0.4);
  transform: translateY(-4px);
}

/* Beach cards */
.beach-holiday-card {
  background: rgba(14, 21, 26, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.beach-holiday-card:hover {
  border-color: rgba(221, 161, 16, 0.3);
  transform: translateY(-5px);
}

/* Blog article cards */
.blog-article-card {
  background: rgba(22, 17, 14, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-article-card:hover {
  border-color: rgba(221, 161, 16, 0.3);
  transform: translateY(-5px);
}

/* Testimonial cards */
.testimonial-card {
  background: rgba(18, 14, 12, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card:hover {
  border-color: rgba(221, 161, 16, 0.25);
  transform: translateY(-3px);
}

/* Mobile Submenu Accordion Drawer Animation */
.mobile-submenu-content {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s ease;
}

.mobile-submenu-content.is-open {
  max-height: 500px !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* === CRITICAL SAFARI GOLD UTILITIES === */
.bg-safari-gold {
  background-color: #DDA110 !important;
}

.text-safari-gold {
  color: #DDA110 !important;
}

.border-safari-gold {
  border-color: #DDA110 !important;
}

.hover\:bg-safari-gold:hover {
  background-color: #DDA110 !important;
}

.hover\:text-safari-gold:hover {
  color: #DDA110 !important;
}

.hover\:border-safari-gold:hover {
  border-color: #DDA110 !important;
}

.bg-safari-bg {
  background-color: #0A0604 !important;
}

.text-safari-dark {
  color: #120A07 !important;
}

/* === GOOGLE TRANSLATE CUSTOM STYLING & BANNER SUPPRESSION === */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#google_translate_element {
  display: none !important;
}

.skiptranslate {
  font-family: inherit !important;
}

/* Custom Scrollbar for Language Dropdown */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #DDA110;
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER TRUST SECTION — Payment & Partners Separated
   ========================================================================== */

.footer-trust-section {
  background-color: #0A0604;
  padding: 4rem 1.5rem 3.5rem;
  border-top: 1px solid rgba(221, 161, 16, 0.15);
  border-bottom: 1px solid rgba(221, 161, 16, 0.15);
  margin-top: 3.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  width: calc(100% + 3rem);
}

.footer-trust-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.trust-column-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #FAF8F5;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.trust-column-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(154, 141, 125, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ---- Payment Logos ---- */
.payment-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

.payment-logo {
  height: 44px;
  width: auto;
  filter: grayscale(30%) brightness(0.95);
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.payment-logo:hover {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 4px 12px rgba(221, 161, 16, 0.3));
  opacity: 1;
  transform: translateY(-3px);
}

/* ---- Partner Grid (14 Logos — 7x2 Desktop, 4x4 Tablet, 2x7 Mobile, Extra Large) ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.15rem;
  width: 100%;
}

.partner-card {
  background: rgba(26, 15, 9, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  height: 118px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 1);
  cursor: default;
}

.partner-card-link {
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(221, 161, 16, 0.6);
  background: rgba(35, 20, 12, 0.85);
  box-shadow: 0 16px 40px rgba(221, 161, 16, 0.2), 0 0 0 1px rgba(221, 161, 16, 0.3);
}

.partner-card img {
  max-height: 86px;
  width: 100%;
  height: auto;
  max-width: 95%;
  object-fit: contain;
  filter: brightness(0.98);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Upscale SafariBookings logo to be prominently larger */
.partner-card img[src*="safari"],
.partner-card img[src*="Safari"] {
  max-height: 98px !important;
  transform: scale(1.5);
}

.partner-card:hover img[src*="safari"],
.partner-card:hover img[src*="Safari"] {
  filter: brightness(1.15);
  transform: scale(1.6) !important;
}

/* Scale up BookAllSafaris image */
.partner-card img[src*="bookall"],
.partner-card img[src*="BookAll"] {
  max-height: 96px !important;
  max-width: 98% !important;
  object-fit: contain !important;
  transform: scale(1.45);
  filter: brightness(1.1) contrast(1.05);
}

/* Scale up EcoTourism image */
.partner-card img[src*="eco"],
.partner-card img[src*="Eco"] {
  max-height: 96px !important;
  max-width: 98% !important;
  object-fit: contain !important;
  transform: scale(1.45);
  filter: brightness(1.1) contrast(1.05);
}

/* Scale up NatGeo image */
.partner-card img[src*="natgeo"],
.partner-card img[src*="National"] {
  max-height: 96px !important;
  transform: scale(1.45);
}

.partner-card:hover img {
  filter: brightness(1.15);
  transform: scale(1.05);
}

/* ---- Responsive: Mobile & Tablet Layouts (2x6 on Mobile) ---- */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .footer-trust-section {
    padding: 4rem 3rem 3.5rem;
    margin-left: -3rem;
    margin-right: -3rem;
    width: calc(100% + 6rem);
  }
}

@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .partner-card {
    height: 100px;
    padding: 0.85rem 0.6rem;
  }

  .partner-card img {
    max-height: 60px;
  }

  .trust-column-heading {
    font-size: 1.35rem;
  }

  .footer-trust-section {
    padding: 2.5rem 1.5rem 2rem;
    margin-top: 2.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
  }
}