/* ==========================================================================
   DEVALIA PARK SAFARI - Official Stylesheet (100% In-House Local WEBP Assets)
   Color Ratio: 60% Ivory/Cream + 25% Forest/Olive + 10% Golden + 5% Lion Brown
   ========================================================================== */

:root {
  /* Color Palette - Strict Brand Specifications */
  --primary-forest: #293516;   /* Header, Footer, Main Buttons */
  --safari-olive: #405123;     /* Sections, Navigation, Icons */
  --golden-safari: #D99A32;    /* CTA Buttons, Highlights, Hover */
  --lion-brown: #9A6228;       /* Warm Accents, Headings, Sub-titles */
  --safari-cream: #F5EBD3;     /* Main Light Backgrounds & Light Navbar */
  --ivory: #FAF8F0;            /* Cards & Soft Backgrounds */
  --muted-olive: #687345;      /* Secondary Elements, Tags */
  --charcoal-green: #202617;   /* Footer Background, Main Body Text Dark */
  --earth-grey: #6D6D5C;       /* Descriptions, Subtitles, Metadata */
  
  /* Additional UI Tokens */
  --footer-text: #C8C3AE;
  --card-border: #D9D1BC;
  --white: #FFFFFF;
  --black-overlay: rgba(20, 26, 12, 0.62);
  --shadow-sm: 0 4px 12px rgba(41, 53, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(41, 53, 22, 0.12);
  --shadow-lg: 0 16px 36px rgba(41, 53, 22, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Typography - Clean Sans-Serif Hierarchy */
  --font-heading: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* Reset & Basic Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 20px; /* 25% scale increase from standard 16px */
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--charcoal-green);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-forest);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--earth-grey);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container (+25% expansion from 1280px) */
.container {
  width: 94%;
  max-width: 1540px;
  margin: 0 auto;
}

/* Full Width Navbar Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--safari-cream);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-bottom: 2px solid var(--card-border);
  width: 100%;
}

.site-header .container {
  width: 100%;
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-forest);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--lion-brown);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--primary-forest);
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--font-heading);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--lion-brown);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--lion-brown);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-btn {
  background-color: var(--primary-forest);
  color: var(--safari-cream);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--primary-forest);
  transition: var(--transition);
}

.header-btn:hover {
  background-color: var(--golden-safari);
  border-color: var(--golden-safari);
  color: var(--primary-forest);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-forest);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--golden-safari);
  color: var(--primary-forest);
}

.btn-primary:hover {
  background-color: var(--lion-brown);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(154, 98, 40, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-forest);
  color: var(--safari-cream);
}

.btn-secondary:hover {
  background-color: var(--safari-olive);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--safari-cream);
  border: 2px solid var(--golden-safari);
}

.btn-outline:hover {
  background-color: var(--golden-safari);
  color: var(--primary-forest);
}

/* Section Common Styling */
.section {
  padding: 80px 0;
}

.section-bg-cream {
  background-color: var(--safari-cream);
}

.section-bg-ivory {
  background-color: var(--ivory);
}

.section-bg-forest {
  background-color: var(--primary-forest);
  color: var(--safari-cream);
}

.section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  color: var(--lion-brown);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  position: relative;
  color: var(--primary-forest);
  line-height: 1.25;
  word-wrap: break-word;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--earth-grey);
}

/* HERO SECTION - WITH WEBP OPTIMIZED BACKGROUND */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: linear-gradient(var(--black-overlay), var(--black-overlay)), 
              url('../images/asiatic-lion-devalia-park-safari-sasan-gir.webp') center/cover no-repeat;
  color: var(--white);
  padding: 50px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--golden-safari);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 35px;
  height: 2px;
  background-color: var(--golden-safari);
}

.hero-title {
  font-size: 3.2rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-desc {
  font-size: 1.1rem;
  color: #E2DEC9;
  margin-bottom: 28px;
  max-width: 650px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Hero Feature Badges */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: rgba(41, 53, 22, 0.75);
  backdrop-filter: blur(8px);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 154, 50, 0.3);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-feature-icon {
  width: 42px;
  height: 42px;
  background-color: var(--golden-safari);
  color: var(--primary-forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hero-feature-info h4 {
  color: var(--safari-cream);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero-feature-info p {
  color: #C8C3AE;
  font-size: 0.78rem;
}

/* Right Floating Hero Card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-top: 4px solid var(--golden-safari);
  text-align: center;
  color: var(--charcoal-green);
}

.hero-card-title {
  color: #79552A;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.hero-card-desc {
  font-size: 0.85rem;
  color: var(--earth-grey);
  margin-bottom: 22px;
  line-height: 1.5;
}

.hero-card-desc strong {
  color: var(--charcoal-green);
}

.btn-card-whatsapp {
  background-color: #1E8E3E;
  color: var(--white);
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  transition: var(--transition);
  border: none;
}

.btn-card-whatsapp:hover {
  background-color: #166B2E;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-card-call {
  background-color: #79552A;
  color: var(--white);
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  transition: var(--transition);
  border: none;
}

.btn-card-call:hover {
  background-color: #5C401F;
  color: var(--white);
  transform: translateY(-2px);
}

.hero-card-security {
  font-size: 0.76rem;
  color: var(--earth-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}

/* Experience Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.experience-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--golden-safari);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.experience-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--golden-safari);
  color: var(--primary-forest);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(217, 154, 50, 0.12);
  color: var(--golden-safari);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-forest);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--earth-grey);
  margin-bottom: 20px;
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #ECE7D8;
  font-size: 0.88rem;
  color: var(--safari-olive);
  font-weight: 600;
}

.card-price {
  color: var(--lion-brown);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.card-btn {
  margin-top: 20px;
  width: 100%;
}

/* Gir & Devalia Overview Section */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.overview-images {
  position: relative;
}

.main-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.secondary-img {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.experience-badge-floating {
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: var(--primary-forest);
  color: var(--safari-cream);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--golden-safari);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--golden-safari);
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.overview-text .section-title {
  text-align: left;
}

.feature-list {
  margin: 24px 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-item i {
  color: var(--golden-safari);
  font-size: 1.1rem;
  margin-top: 4px;
}

.feature-item span {
  font-size: 0.98rem;
  color: var(--charcoal-green);
}

/* Wildlife Showcase Grid */
.wildlife-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.wildlife-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
}

.wildlife-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wildlife-card:hover img {
  transform: scale(1.1);
}

.wildlife-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 38, 23, 0.9) 0%, rgba(32, 38, 23, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}

.wildlife-name {
  font-size: 1.45rem;
  color: var(--safari-cream);
  font-weight: 700;
  margin-bottom: 4px;
}

.wildlife-sub {
  font-size: 0.85rem;
  color: var(--golden-safari);
  font-weight: 600;
  font-style: italic;
}

/* Booking Page Specifics */
.booking-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.booking-card {
  background-color: var(--white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-forest);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid #D2CBBA;
  border-radius: var(--radius-sm);
  background-color: #FCFBF7;
  color: var(--charcoal-green);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--golden-safari);
  box-shadow: 0 0 0 3px rgba(217, 154, 50, 0.2);
  background-color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calculator-box {
  background-color: var(--primary-forest);
  color: var(--safari-cream);
  padding: 30px;
  border-radius: var(--radius-md);
  position: sticky;
  top: 120px;
}

.calculator-title {
  color: var(--golden-safari);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(245, 235, 211, 0.15);
  padding-bottom: 12px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.calc-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--golden-safari);
  font-family: var(--font-heading);
  border-top: 1px dashed rgba(245, 235, 211, 0.2);
  padding-top: 14px;
  margin-top: 18px;
}

/* ENHANCED TARIFFS SECTION & NO-WRAP PRICING TABLES */
.tariffs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.tariff-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
}

.tariff-card-header {
  background: var(--lion-brown);
  color: var(--white);
  padding: 16px 14px;
  text-align: center;
}

.tariff-card-header h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0;
  white-space: nowrap;
  font-weight: 700;
}

.tariff-card-header span {
  font-size: 0.78rem;
  color: #EADBC8;
  display: block;
  margin-top: 3px;
  white-space: nowrap;
}

.pricing-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: var(--white);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-sans);
}

.pricing-table th, .pricing-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #ECE7D8;
  white-space: nowrap;
  font-size: 0.94rem;
}

.pricing-table th {
  background-color: var(--safari-olive);
  color: var(--safari-cream);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-table td strong {
  color: var(--primary-forest);
  font-family: var(--font-heading);
}

.pricing-table tr:hover {
  background-color: #FAF6EA;
}

/* Comparison Table (Base) */
.comparison-table-wrap {
  width: 100%;
  overflow-x: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: var(--white);
  font-family: var(--font-sans);
}

.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #ECE7D8;
  font-size: 0.94rem;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.comparison-table tr:hover {
  background-color: #FAF6EA;
}

/* Attractions Gallery & Filter */
.filter-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  background-color: var(--safari-cream);
  color: var(--primary-forest);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--golden-safari);
  color: var(--primary-forest);
  border-color: var(--golden-safari);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.home-gallery-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
}

@media (max-width: 992px) {
  .home-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px;
  }
}

@media (max-width: 576px) {
  .home-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
}

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(32, 38, 23, 0.85), transparent);
  color: var(--safari-cream);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-forest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question i {
  color: var(--golden-safari);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  display: none;
  color: var(--earth-grey);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background-color: var(--white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(217, 154, 50, 0.12);
  color: var(--golden-safari);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-forest);
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--earth-grey);
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--lion-brown);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--golden-safari);
  text-decoration: underline;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--card-border);
  height: 420px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  line-height: 1;
}

.whatsapp-float i {
  display: inline-block;
  line-height: 1;
  font-size: 2rem;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--primary-forest);
  color: var(--safari-cream);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

/* Toast Alert */
.toast-alert {
  position: fixed;
  top: 25px;
  right: 25px;
  background-color: var(--primary-forest);
  color: var(--safari-cream);
  padding: 16px 24px;
  border-left: 5px solid var(--golden-safari);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform 0.4s ease;
}

.toast-alert.show {
  transform: translateX(0);
}

/* PAGE BANNER - WEBP OPTIMIZED */
.page-banner {
  background: linear-gradient(var(--black-overlay), var(--black-overlay)), 
              url('../images/devalia-safari-park-gir-teak-forest-landscape.webp') center/cover no-repeat;
  padding: 70px 0;
  color: var(--white);
  text-align: center;
}

.page-banner-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--safari-cream);
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--golden-safari);
  font-weight: 600;
}

.breadcrumb a {
  color: #D1CBB8;
}

.breadcrumb a:hover {
  color: var(--golden-safari);
}

/* SITE FOOTER & LEGAL DISCLAIMER - MATCHING NAVBAR BG */
.site-footer {
  position: relative;
  background-color: var(--safari-cream);
  color: var(--charcoal-green);
  padding-top: 60px;
  padding-bottom: 25px;
  overflow: hidden;
  border-top: 4px solid var(--golden-safari);
}

/* Watermark Silhouette Overlay Across Footer Background */
.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background-image: url('../images/devalia-gir-forest-wildlife-silhouette-footer.webp');
  background-position: center bottom;
  background-size: auto 115px;
  background-repeat: repeat-x;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

.footer-col h3, .footer-col h4 {
  color: var(--primary-forest);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
  font-family: var(--font-heading);
}

.footer-col h3::after, .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--golden-safari);
}

.footer-brand p {
  color: var(--earth-grey);
  font-size: 0.92rem;
  margin-top: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--charcoal-green);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--lion-brown);
  transform: translateX(4px);
}

.footer-links a i {
  color: var(--golden-safari);
  font-size: 0.75rem;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--charcoal-green);
}

.footer-contact-item i {
  color: var(--golden-safari);
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: var(--primary-forest);
  color: var(--safari-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--golden-safari);
  color: var(--primary-forest);
  transform: translateY(-3px);
}

/* Legal Disclaimer Box - Compliance & Transparency */
.footer-disclaimer {
  background: rgba(41, 53, 22, 0.07);
  border: 1px solid var(--card-border);
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 25px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--charcoal-green);
  line-height: 1.65;
}

.footer-disclaimer strong {
  color: var(--primary-forest);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--earth-grey);
}

/* ==========================================================================
   MODAL & LOADING OVERLAYS (BASE STYLES)
   ========================================================================== */

/* Thank You Modal Popup Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 26, 12, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border-top: 5px solid var(--golden-safari);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  max-width: 520px;
  width: 100%;
  padding: 35px 28px;
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: all 0.35s ease;
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(217, 154, 50, 0.14);
  color: var(--golden-safari);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px auto;
}

.modal-title {
  font-size: 1.75rem;
  color: var(--primary-forest);
  margin-bottom: 12px;
  font-weight: 800;
}

.modal-desc {
  font-size: 0.98rem;
  color: var(--earth-grey);
  margin-bottom: 25px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--earth-grey);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--primary-forest);
}

/* Full-Screen Loading Wheel Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 26, 12, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 30000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  color: var(--safari-cream);
  text-align: center;
  padding: 20px;
}

.loading-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.loading-wheel {
  width: 75px;
  height: 75px;
  border: 6px solid rgba(245, 235, 211, 0.15);
  border-top: 6px solid var(--golden-safari);
  border-right: 6px solid var(--golden-safari);
  border-radius: 50%;
  animation: spinWheel 0.9s linear infinite;
  margin-bottom: 22px;
  box-shadow: 0 0 30px rgba(217, 154, 50, 0.5);
}

@keyframes spinWheel {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--safari-cream);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.loading-desc {
  font-size: 0.95rem;
  color: #D1CBB8;
  max-width: 420px;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    width: 94%;
  }
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* Medium Tablets & Mobile Navigation Trigger (max-width: 992px) */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  .site-header {
    position: sticky;
    top: 0;
    overflow: hidden;
  }
  .site-header .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .navbar {
    padding: 10px 0;
  }
  .brand-logo img {
    height: 75px;
  }
  .brand-title {
    font-size: 1.35rem;
  }
  .brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
  }
  .header-btn {
    display: none; /* Mobile CTA is accessible in mobile nav drawer & hero */
  }
  
  /* Mobile Toggle Hamburger */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(41, 53, 22, 0.08);
    color: var(--primary-forest);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-toggle:hover {
    background: var(--golden-safari);
    color: var(--primary-forest);
  }

  /* Luxury Full-Width Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--safari-cream);
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start;
    padding: 85px 20px 30px 20px;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    overflow-y: auto;
    z-index: 999;
    list-style: none;
    margin: 0;
  }
  .nav-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
  .nav-menu li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    display: block !important;
  }
  .nav-menu .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 18px;
    width: 100% !important;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(41, 53, 22, 0.08);
    border-left: 5px solid transparent;
    color: var(--primary-forest);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    transition: all 0.2s ease;
  }
  .nav-menu .nav-link::after {
    content: '\f054'; /* FontAwesome chevron-right */
    font-family: 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--golden-safari);
    position: static;
    width: auto;
    height: auto;
    background: none;
    transition: transform 0.2s ease;
  }
  .nav-menu .nav-link:hover, 
  .nav-menu .nav-link.active {
    background: var(--white);
    color: var(--lion-brown);
    border-left-color: var(--golden-safari);
    box-shadow: 0 4px 12px rgba(217, 154, 50, 0.2);
  }
  .nav-menu .nav-link:hover::after,
  .nav-menu .nav-link.active::after {
    transform: translateX(4px);
    color: var(--lion-brown);
  }
  
  /* Mobile Book Gypsy CTA Button */
  .nav-menu li:last-child {
    margin-top: 8px !important;
  }
  .nav-menu .header-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    padding: 15px 20px;
    font-size: 1.05rem;
    font-weight: 800;
    background-color: var(--golden-safari);
    color: var(--primary-forest);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(217, 154, 50, 0.35);
    text-align: center;
    border: none;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .nav-menu .header-btn:hover {
    background-color: var(--lion-brown);
    color: var(--white);
  }
  
  /* Hero & Grid Collapse */
  .hero {
    min-height: auto;
    padding: 50px 0 60px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-title {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }
  .hero-desc {
    font-size: 1.02rem;
  }
  .overview-grid, .booking-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tariffs-wrapper {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }
  .secondary-img {
    position: static !important;
    width: 100% !important;
    margin-top: 15px !important;
    right: auto !important;
    bottom: auto !important;
  }
  .experience-badge-floating {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
  }
  .experience-badge-floating .badge-number {
    font-size: 1.6rem;
  }
  .experience-badge-floating .badge-text {
    font-size: 0.72rem;
  }
  .calculator-box {
    position: static;
    margin-top: 25px;
  }
}

/* Small Tablets & Large Smartphones (max-width: 768px) */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
    overflow-x: hidden;
  }
  .section-header {
    margin-bottom: 30px;
  }
  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.2rem);
  }
  .section-desc {
    font-size: 0.96rem;
  }
  .page-banner {
    padding: 45px 15px;
  }
  .page-banner-title {
    font-size: clamp(1.8rem, 5.5vw, 2.4rem);
  }
  .cards-grid, .wildlife-grid, .species-grid, .flora-grid, .seasonal-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .stat-box {
    padding: 20px 14px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.82rem;
  }
  .hero-features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px;
  }
  .hero-card {
    padding: 24px 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Tariffs & Timings Tables - 100% Fit with ZERO Horizontal Scroll */
  .tariffs-wrapper .pricing-table-wrap {
    overflow-x: hidden !important;
    width: 100% !important;
    box-shadow: none !important;
  }
  .tariffs-wrapper .pricing-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: auto !important;
  }
  .tariffs-wrapper .pricing-table th, 
  .tariffs-wrapper .pricing-table td {
    padding: 9px 6px !important;
    font-size: 0.82rem !important;
    white-space: normal !important;
  }
  
  /* Comparison Table on Home Page - ZERO HORIZONTAL SCROLL */
  .comparison-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    display: block !important;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
  }
  .comparison-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: auto !important;
  }
  .comparison-table th, .comparison-table td {
    padding: 8px 5px !important;
    font-size: 0.78rem !important;
    white-space: normal !important;
  }
  .comparison-table th {
    font-size: 0.8rem !important;
    padding: 10px 5px !important;
  }
  
  /* Buttons touch friendly */
  .btn {
    padding: 13px 22px;
    font-size: 0.88rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

/* Smartphones / Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
  html {
    font-size: 18px; /* +25% scale increase from 14.5px */
  }
  .container {
    width: 92%;
    padding-left: 0;
    padding-right: 0;
  }
  .site-header .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-logo img {
    height: 65px;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 1px;
  }
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.82rem;
    letter-spacing: 2px;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  .footer-disclaimer {
    padding: 14px 16px;
    font-size: 0.82rem;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  /* Filter Buttons on Gallery */
  .filter-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .filter-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
  
  /* Form Inputs iOS Auto-Zoom Prevention */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 48px;
    padding: 12px 14px;
  }
  
  /* Floating WhatsApp Button on Mobile */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.75rem;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float .tooltip {
    display: none !important;
  }
  
  /* Modal Overlay Mobile Sizing */
  .modal-card {
    padding: 24px 16px;
    max-width: 95%;
    border-radius: 12px;
  }
  .modal-title {
    font-size: 1.4rem;
  }
  .modal-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .modal-icon {
    width: 58px;
    height: 58px;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-logo img {
    height: 55px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .filter-btn {
    flex: 1 1 100%;
  }
  .hero-title {
    font-size: 1.75rem;
  }
}
