@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

:root {

  --bg: white;
  --bgl2: #f0f4f9;
  --accent: #863e23;
  --accent-2: #77943d;
  --muted: #36393d;
  --muted1: #7a8190;
  --muted2: #ccc;
  --text_color: #36393d;
  --border_color: #e1e5eb;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --btnbghoverl: rgba(0, 0, 0, 0.05);
  --shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
  --radius: 14px;
  --top-bar-height: 35px;
  /* Approximate height of the top bar */
  --header-height: 80px;
  /* Height of the main header */
  --total-header-height: calc(var(--top-bar-height) + var(--header-height) + 20px);
  /* Total combined height */

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;

  /* Dark Mode Colors */
  --bgd: #000000;
  --bgd1: #141414;
  --bgd_l2: #1a1a1a;
  --bgd_l3: #1d1d1d;
  --bgd_l4: #262626;
  --bgd_l5: #333333;
  --accentd: #863e23;
  --accentd-2: #77943d;
  --text_colord: white;

  --largest_font_size: 36px;
  --large_font_size: 22px;
  --normal_font_size: 18px;
  --small_font_size: 15px;
}


/* Fullscreen loader */
#site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background-color: var(--bg);
}



/* Spinner */
#site-loader .spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--accentd-2);
  /* rotating part */
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.dark-mode #site-loader {
  background-color: var(--bgd);
}

.dark-mode #site-loader .spinner {
  border-top: 6px solid var(--accent-2);
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text_color);
  font-size: var(--normal_font_size);
  width: 100%;
  top: 0px !important;
}



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

.no-scroll {
  overflow: hidden;
  position: fixed;
  /* This prevents the main content from jumping */
  width: 100%;
  /* Ensures the content maintains its width */
}


.fixed-header-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid var(--muted2);
}

/* TOP BAR */
.top-bar-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  font-size: var(--small_font_size);
  background: var(--bgl2);
  border-bottom: 1px solid var(--muted2);
}

.top-bar-contact {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.top_bar_phone_icon,
.top_bar_mail_icon {
  margin-right: 10px;
}

.top-bar-contact a {
  text-decoration: underline;
}

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

.top-bar-actions a {
  color: var(--text_color);
}

.lang-switcher-container {
  position: relative;
  display: inline-block;
}

.lang-switcher-btn,
.mode-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: transparent;
  border: 1px solid var(--muted2);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text_color);
  font-weight: 500;
  transition: all 0.2s ease-in-o ut;
}

.lang-switcher-btn:hover,
.mode-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.divider {
  width: 1px;
  height: 16px;
  background-color: var(--muted2);
  transition: background-color 0.3s ease;
}

.lang-flag img {
  width: 20px;
  height: auto;
}

/* Language Dropdown Menu */
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background-color: var(--bg);
  border: 1px solid var(--muted2);
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lang-dropdown-menu.is-visible {
  display: block;
}

.lang-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text_color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mode-toggle {
  background: none;
  border: none;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text_color);
  background: rgba(0, 0, 0, 0.05);
}

.mode-toggle:hover {
  background: none;
}

/* SITE HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background-color: var(--bg);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-brand img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: var(--normal_font_size);
  color: var(--text_color);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--accent);
  border-top: 3px solid var(--accent);
}

/* DROPDOWNS */
.dropdown {
  display: none;
  position: absolute;
  top: 25px;
  left: -158px;
  background: white;
  border-radius: 0px 0px 10px 10px;
  min-width: 220px;
  padding: 16px;
  z-index: 50;
  margin-top: 10px;
}

.nav-item:hover .dropdown {
  display: block;
}

.dropdown.mega {
  width: 1000px;
  padding: 1rem;
}

.dropdown-content-mega {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: #fff;
  align-items: stretch;
}

.dropdown-col {
  flex: 1 1 calc(33.333% - 1.5rem);
  display: flex;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.service-card h4 {
  margin: 0.5rem 0;
  min-height: 2.5rem;
}

.service-card p {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card .btn.small {
  align-self: flex-start;
}


.dropdown-col .service-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 6px;
}

.dropdown-col .service-card h4 {
  margin: 6px 0;
  font-size: var(--normal_font_size);
  color: var(--accent);
}

.dropdown-col .service-card p {
  font-size: var(--small_font_size);
  color: var(--muted);
  margin-bottom: 6px;
}

.dropdown-col .service-card .btn.small {
  font-size: var(--small_font_size);
  padding: 4px 10px;
  background: var(--accent);
  color: var(--text_colord);
  border-radius: 6px;
}

.dropdown-packages {
  width: 700px;
  padding: 1rem;
}

.dropdown-inner {
  display: flex;
  gap: 1.5rem;
}


/* package list (left) */
.package-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ddd;
  padding-right: 1rem;
  min-width: 180px;
}

/* package links */
.package-list .package-link {
  padding: 8px 6px;
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.package-list .package-link:hover,
.package-list .package-link.active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}

/* preview area (right) */
.package-preview {
  flex: 2;
  padding-left: 1rem;
  min-width: 320px;
}

/* show/hide: default is visible, .hidden hides */
.package-info {
  display: block;
  /* default visible when no .hidden present */
  transition: opacity 0.18s ease;
  opacity: 1;
}

.package-info.hidden {
  display: none;
  /* hidden state */
  opacity: 0;
}

/* preview image and text */
.package-info img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.package-info h4 {
  margin: 0.5rem 0;
  font-size: 1.06rem;
  color: var(--accent);
}




.duration-days {
  background-color: var(--accent-2);
  color: var(--text_colord);
  padding: 8px 15px;
  border-radius: 100px;
}



/* Footer section at the bottom of dropdown */
.dropdown-footer {
  margin-top: 1rem;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  /* Reduced gap for a tighter look */
  flex-wrap: wrap;
}

.footer-links a {
  display: flex;
  /* Makes the icon and text align */
  align-items: center;
  gap: 0.25rem;
  /* Space between icon and text */
  padding: 6px 10px;
  background-color: #f0f4f8;
  /* Light background to "isolate" them */
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  /* Slightly smaller font for a more compact feel */
  border-radius: 6px;
  border: 1px solid #e0e4e8;
  /* Subtle border for definition */
  transition: all 0.2s ease-in-out;
}

.footer-links a:hover {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.footer-links a ion-icon {
  font-size: 1rem;
  /* Adjust icon size */
}


.header-actions {
  display: flex;
  align-items: center;
}


.calltoactioncontainer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}



.calltoaction-btn {

  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-right: 5px;
}

/* Specific button colors */
.calltoactionbook {
  color: var(--text_colord);
  background-color: var(--accent-2);
  border: 2px solid var(--accent-2);
}

.calltoactioncontactus {
  background-color: var(--accent);
  color: var(--text_colord);
  border: 2px solid var(--accent);
}

.calltoactioncontactus .btn-icon {
  color: var(--text_colord);
}

.calltoactionbook:hover {
  background-color: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

.calltoactioncontactus:hover {
  transform: translateY(-3px);
}


/* --- Text and Divider Styling --- */
.calltoaction-btn .btn-text {
  position: relative;
  padding-right: 15px;
  white-space: nowrap;
}

.calltoaction-btn .btn-text::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 90%;
  background-color: currentColor;
  opacity: 0.4;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}



@keyframes popWiggle {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(2px, -2px) scale(1.8) rotate(-8deg);
  }

  50% {
    transform: translate(-2px, 2px) scale(1.8) rotate(8deg);
  }

  75% {
    transform: translate(2px, -2px) scale(1.8) rotate(-8deg);
  }

  100% {
    transform: translate(0, 0) scale(1.5) rotate(0deg);
  }
}

.calltoaction-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: color 0.3s ease;
}


.calltoaction-btn:hover .btn-icon {
  color: var(--bg-color);
  animation: popWiggle 0.6s ease-in-out forwards;
  transform: translate(0, 0) scale(1.3) rotate(0deg);
}

.calltoactionbook .btn-icon {
  color: var(--bg-color);
}


/* CONTACT MODAL */

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal Active State */
.contact-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Modal Content Box */
.contact-modal .modal-content {
  border-radius: var(--radius);
  padding: 24px;
  width: 90%;
  max-width: 600px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: none;
  background: none;
}

/* Modal Content Active State */
.contact-modal.is-visible .modal-content {
  transform: translateY(0);
}

/* Modal Header and Title */
.contact-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--muted2);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.contact-modal .modal-title {
  margin: 0;
  font-size: 1.5rem;
}

/* Modal Close Button */
.contact-modal .modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text_color);
  transition: color 0.2s ease;
}

.contact-modal .modal-close-btn:hover {
  color: var(--accent);
}

/* --- Contact Options Grid --- */
.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

/* Individual Contact Option Card */
.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  background-color: var(--bgl2);
  text-decoration: none;
  color: var(--text_color);
  transition: all 0.2s ease;
  border: 1px solid var(--bgl2);
}

.contact-option:hover {
  background-color: var(--muted2);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.contact-option ion-icon {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.trip_advisor_logo {
  height: 32px;
  width: auto;
  fill: var(--accent);

}

.trip_advisor_logo_hero {
  height: 32px;
  width: auto;
  fill: var(--text_color);

}

.trip_advisor_logo_hero:hover {
  fill: var(--accent);
}


.contact-option:hover ion-icon {
  transform: scale(1.1);
}

.contact-option:hover .trip_advisor_logo {
  transform: scale(1.1);
}

.contact-option span {
  font-weight: 600;
  color: var(--text_color);
}

.contact-option small {
  font-size: 12px;
  color: var(--muted);
}

/* To prevent body scrolling when modal is open */
.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* --- New Download Button Styles --- */
.modal-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  /* This aligns the button to the bottom right */
  padding-top: 16px;
  border-top: 1px solid var(--muted2);
}

.download-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.download-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.download-link ion-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.download-link:hover ion-icon {
  transform: scale(1.1);
}

/* Optional: Add a class to the modal-content to hide the footer when needed */
.modal-content.no-footer .modal-footer {
  display: none;
}


.account_container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--muted1);
  border-radius: 50%;
  margin-left: 20px;
  padding: 4px;

}

.header-actions .account_link {
  text-decoration: none;
  color: var(--muted1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-actions .personicon {
  font-size: 40px;
}



/* HAMBURGER & MOBILE MENU */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  position: relative;
  width: 32px;
  height: 32px;
  margin-right: 15px;
}

.menu-toggle .hamburger {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--muted);
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.menu-toggle .hamburger::before {
  top: -8px;
}

.menu-toggle .hamburger::after {
  top: 8px;
}

/* Hamburger to 'X' transition */
.menu-toggle.is-active .hamburger {
  background: transparent;
}

.menu-toggle.is-active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.is-active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* New style to show dropdown on click */
.dropdown.is-open {
  display: block;
}


/* Main container */
.main_container {
  padding-top: 70px;
  background-color: var(--bg);
}

.dark-mode .main_container{
  background-color: var(--bgd);
}


/* --- HERO SECTION STYLES --- */

.hero-page-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;


}

.hero-background-image {
  position: relative;
  width: 100%;
  height: 450px;
  background-image: url('svg3.svg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 1;
}

.hero-background-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  z-index: 2;
  padding: 20px;
  margin-bottom: 40px;
}

.hero-text-combined {
  font-size: 80px;
  margin-bottom: 10px;
  font-family: "Archivo Black", sans-serif;
  color: #f0e6d6;
  letter-spacing: 0.1rem;
  text-align: center;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 6px;
  background-color: #f0e6d6;
  animation: draw-line 3s ease-out forwards;
}

@keyframes draw-line {
  to {
    width: 100%;
  }
}


.typing-text {
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid #f0e6d6;
  animation:
    typing 4s steps(22, end) forwards,
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: #f0e6d6;
  }
}




.hero-cta-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  border: 1px solid var(--border_color);
  background-color: var(--card);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 3;
}

.search-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
}

.search-input {
  border: none;
  font-size: 16px;
  padding: 8px 0;
  width: 100%;
}

.search-input:focus {
  outline: none;
}

.search-input-group ion-icon {
  color: var(--muted);
  font-size: 20px;
}


.search-page-wrapper {
  padding: 3rem;
  text-align: center;
}

.search-bar-container input {
  width: 60%;
  padding: 1rem;
  font-size: 1.2rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
}

.suggestions-list {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.suggestion-item {
  padding: 0.8rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #333;
}

.suggestion-item:hover {
  background: var(--primary-dark);
  color: #fff;
}

.page-transition {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}



/* New styles for the play button */
.video-play-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  margin-left: 20px;
}

.video-play-btn ion-icon {
  font-size: 24px;
}

.video-play-btn:hover {
  transform: scale(1.1);
  background-color: var(--accent-2);
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid #e1e5eb;
}



/* Visual Pop-up for Socials */
.socials .social-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 24px;
  transition: color 0.2s;
}

.socials .social-link:hover {
  color: var(--accent);
}

.social-preview-card {
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 400px;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  border: 1px solid #e1e5eb;
  padding: 8px;

}

/* Show the pop-up on hover */
.social-link:hover .social-preview-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}


.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
}


/* --- CARDS SECTION STYLES --- */

.info-cards-section {
  padding: 80px 20px 40px;
  margin: 0 auto;

}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 100px;
}




/* --- CARDS SECTION STYLES --- */

.info-cards-section {
  padding: 80px 20px 40px;
  margin: 0 auto;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Base style for all cards (vertical layout) */
.info-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}


.info-card.image-left,
.info-card.image-right {
  display: flex;
  flex-direction: row;
}

.info-card.image-left .card-image-wrapper {
  flex-basis: 40%;
  height: auto;
  align-self: stretch;
}

.info-card.image-left .card-content {
  flex-basis: 60%;
}

.info-card.image-right {
  flex-direction: row-reverse;
}

.info-card.image-right .card-image-wrapper {
  flex-basis: 40%;
  height: auto;
  align-self: stretch;
}

.info-card.image-right .card-content {
  flex-basis: 60%;
}

.card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.info-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: var(--accent);
}

.card-content p {
  font-size: 1rem;
  color: var(--muted);
  flex-grow: 1;
  line-height: 1.5;
}

/* Video Modal */
.video-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.video-modal.is-visible {
  display: flex;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 90%;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.modal-title {
  font-size: 1.2em;
  color: #333;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #888;
}

.modal-close-btn:hover {
  color: #333;
}

.modal-body iframe {
  width: 100%;
  height: 450px;
  /* Default height for desktop */
  display: block;
}


/* --- MOBILE BOTTOM NAV STYLES --- */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--card);
  border-top: 1px solid #e1e5eb;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  z-index: 99;
  justify-content: space-between;
  /* Use space-between for better control */
  align-items: center;
  padding: 8px 0;
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  padding: 4px;
  text-align: center;
  transition: color 0.2s, transform 0.3s;
  flex-grow: 1;
  /* Apply flex-grow to all items by default */
}

.mobile-bottom-nav .menu-item-center {
  transform: translateY(-20%);
  background-color: var(--accent);
  color: white;
  width: 70px;
  height: 70px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  border-radius: 50%;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}


.mobile-bottom-nav .nav-item:not(.menu-item-center) {
  flex-grow: 1;
}

.mobile-bottom-nav .nav-item ion-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item span {
  font-weight: 500;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
  color: var(--accent);
}

.mobile-bottom-nav .menu-item-center:hover {
  transform: translateY(-25%) scale(1.05);
  background-color: var(--accent-2);
  box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-nav .menu-item-center ion-icon {
  font-size: 28px;
  margin-bottom: 4px;
  color: white;
}

.mobile-bottom-nav .menu-item-center span {
  font-size: 10px;
  text-transform: uppercase;
}




.section-title {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* --- POPULAR SAFARIS SECTION --- */
.popular-safaris-section {
  background-color: var(--bg);
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.unique-extended-title-wrapper {
    overflow: hidden; 
    text-align: left; 
    margin-bottom: 20px; 
}

.popular-safaris-section .service-title {
    font-size: var(--large_font_size);
    color: var(--text_colord);
    border-radius: 10px;
    background-color: var(--accent);
    padding: 10px 20px;
    display: inline-block; 
    position: relative; 
    z-index: 1; 
}

.popular-safaris-section .service-title::after {
    content: ""; 
    position: absolute; 
    left: 100%; 
    right: -9999px; 
    top: 50%; 
    height: 8px; 
    background-color: var(--accent);
    z-index: 0; 
}


.safari-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  align-items: start; 

}

.safari-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.safari-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.15);
}

.safari-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.safari-card-content {
  padding: 25px;
  text-align: left;
}

.safari-card-content h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 10px;
}

.safari-card-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.price-tag {
  background-color: var(--accent-2);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
}

.duration {
  color: var(--primary);
}

.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.features-list li {
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-2);
}


/* GIVING BACK */

.giving-back-section {
  padding: 80px 20px;
  background-color: var(--bgl2);
  text-align: center;
}

.giving-back-content {
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bgl1);
  border-radius: 10px;
}

.main-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.main-story-text h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.main-story-text p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.main-story-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.impact-quote {
  font-family: "Archivo Black", sans-serif;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 900;
  color: var(--primary);
  margin: 60px auto;
  max-width: 800px;
  line-height: 1.2;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.photo-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}



/* --- PHOTO GALLERY SECTION (Compact Version) --- */
.photo-gallery-section {

  padding: 80px 20px;
  background-color: var(--bg);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}



.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;

}

.photo-card-compact {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.photo-card-compact:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.15);
}

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

.photo-card-content-compact {
  padding: 25px;
}

.photo-card-content-compact h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 10px;
}

.photo-card-content-compact p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}




/* --- OUR BLOG SECTION --- */
.hero-blog-section {
  background-color: var(--bg);
  border-radius: var(--radius);
  padding: 80px 20px;
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.hero-blog-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.hero-blog-section .blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background-color: var(--bg_l2);
  border: 1px solid var(--border_color);
  overflow: hidden;
}



.hero-blog-section .blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hero-blog-section .blog-card-content {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hero-blog-section .blog-date {
  font-size: 0.8rem;
  color: var(--accent-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-blog-section .blog-card-content h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 10px;
  margin-bottom: 8px;
}

.hero-blog-section .blog-card-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 15px;
}

.hero-blog-section .read-more-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.hero-blog-section .read-more-link:hover {
  color: var(--accent);
}

.hero-blog-section .read-all-container {
  text-align: end;
  margin-top: 50px;
}



/* General button styling for both sections */
.safari-card .btn,
.blog-card .btn {
  width: auto;
  align-self: flex-start;
}




/* --- FAQ SECTION --- */
.faq-section {
  background-color: var(--bg);


}

.container-faq {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}



.faq-accordion-container {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #e1e5eb;
}



.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text_color);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}



.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-bottom: 0;
}

.faq-answer.is-open {
  max-height: 200px;
  padding-bottom: 20px;
  transition: max-height 0.5s ease-in;
}

.faq-answer p {
  margin: 0;
  color: var(--text_color);
  line-height: 1.6;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.faq-question.is-open .accordion-icon {
  transform: rotate(-180deg);
}

/* --- PARTNERSHIPS SECTION --- */
.partnerships-section {
  background-color: var(--bgl2);
  border-bottom: 1px solid var(--text_color);
}

.partnerships-contents {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.logo-belt-container {
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto 0;
  white-space: nowrap;
  position: relative;
}

.partnership-logos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 50px;
  animation: scroll-logos 40s linear infinite;
}

.partnership-logos a {
  flex-shrink: 0;
  display: inline-block;
}

.partnership-logos img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.partnership-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

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

.logo-belt-container:hover .partnership-logos {
  animation-play-state: paused;
}


/* Footer Section */
.footer {
  background-color: var(--bg_l2);
  padding: 60px 20px 20px;
  color: var(--muted);
}



.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text_color);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-col.brand {
  text-align: left;
}

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-socials {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.footer-socials a {
  font-size: 24px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: var(--accent);
}

/* Style for the container of the payment methods */
.payment-methods {
    /* 1. Use Flexbox to put items in a row and manage wrapping */
    display: flex;
    /* 2. Allow items to wrap to the next line if needed */
    flex-wrap: wrap;
    /* 3. Remove default list styles */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style for the first three payment icons */
.payment-methods li:not(.payment-banner) {
    /* Gives a bit of space between the inline icons */
    margin-right: 10px;
    margin-bottom: 10px; 
}

/* Style for the banner (the last item) */
.payment-banner {
    /* Forces the banner to take up the full width of its parent container */
    width: 100%; 
    margin-top: 5px; /* Add some space above the banner */
    /* Remove any right margin that was added to the other <li>s */
    margin-right: 0; 
}

/* Ensure the image inside the banner fills the full width of the list item */
.payment-banner img {
    width: 100%;
    height: auto;
}

/* Style for the policy links (optional but good for cleanup) */
.policy-links {
    list-style: none;
    padding: 0;
    margin-top: 15px; /* Separate from the payment icons */
}

.policy-links li {
    margin-bottom: 5px;
}

.button_footer {
  background-color: var(--accent);
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  color: var(--text_colord);
  font-size: var(--normal_font_size);
}


.footer-bottom {
  border-top: 1px solid #e1e5eb;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #a9a9a9;
}

.mobile_menu_footer{

  text-align:center;
  margin-top:10px;
}
.dark-mode .mobile_menu_footer a {
  text-decoration:underline;
}


/* Explore */
/* ================================================= */
/* --- ADVENTURE GALLERY SECTION STYLES (NEW) --- */
/* ================================================= */

/* Main Section Container: Renamed to adventure-gallery-section */
.adventure-gallery-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 150px auto !important;
    text-align: center;
    /* Prevents horizontal scroll from cards */
    overflow-x: hidden; 
}

/* Headings: Renamed titles */
.adventure-gallery-section .gallery-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: var(--largest_font_size); /* 36px+ */
    color: var(--accent); /* Earthy Brown/Red */
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.adventure-gallery-section .gallery-subtitle {
    font-size: var(--normal_font_size); /* 18px */
    color: var(--muted1); /* Gray/Blue-Gray */
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Gallery Grid - FLEXBOX Layout: Renamed to adventure-gallery-grid */
.adventure-gallery-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 30px;
    padding: 0;
    list-style: none;
    width: 100%; 
}

/* Adventure Card - The Core Element: Renamed to adventure-card */
.adventure-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card);
    border-radius: var(--radius); /* 14px */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid var(--border_color);
    
    /* FLEXBOX SIZING LOGIC for 2-column layout on desktop */
    max-width: 300px; 
    
}

.adventure-card:hover {
    transform: translateY(-8px); /* Subtle lift effect */
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
}

/* Card Image: Renamed to adventure-img */
.adventure-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.adventure-card:hover .adventure-img {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Card Text Content Area: Renamed to adventure-content */
.adventure-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes link to the bottom */
}

/* Adventure Title: Renamed to adventure-title */
.adventure-title {
    font-size: var(--large_font_size); /* 22px */
    color: var(--text_color);
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Adventure Description: Renamed to adventure-description */
.adventure-description {
    color: var(--muted);
    font-size: var(--small_font_size); /* 15px */
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; 
}

/* 'View Details' Link/Call-to-Action: Renamed to adventure-link */
.adventure-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-2); /* Secondary accent color (Green) */
    font-weight: 600;
    font-size: var(--small_font_size);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.adventure-card:hover .adventure-link {
    color: var(--accent); /* Accent color on hover */
}

.adventure-link ion-icon {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.adventure-card:hover .adventure-link ion-icon {
    transform: translateX(4px); /* Little arrow animation */
}

/* Fallback for no adventures */
.adventure-gallery-grid > p {
    flex-basis: 100%; 
    padding: 40px;
    background-color: var(--bgl2);
    border-radius: var(--radius);
    color: var(--muted1);
    font-size: 1.2rem;
    font-style: italic;
}

/* =================================================== */
/* --- MOBILE RESPONSIVENESS (<= 768px) FOR GALLERY --- */
/* =================================================== */

@media (max-width: 768px) {
    .adventure-gallery-section {
        padding: 40px 15px;
    }

    .adventure-gallery-section .gallery-title {
        font-size: 2.2rem;
    }
    
    /* Enforce single column layout on mobile */
    .adventure-card {
        max-width: 100%; 
        min-width: 100%; 
    }
    
    .adventure-content {
        padding: 20px;
    }
}


/* =================================================== */
/* --- DARK MODE ADJUSTMENTS FOR GALLERY --- */
/* =================================================== */

.dark-mode .adventure-gallery-section {
    background-color: var(--bgd);
}

.dark-mode .adventure-gallery-section .gallery-title {
    color: var(--accentd);
}

.dark-mode .adventure-gallery-section .gallery-subtitle {
    color: var(--muted2);
}

.dark-mode .adventure-card {
    background-color: var(--bgd_l2);
    border-color: var(--bgd_l4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .adventure-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .adventure-title {
    color: var(--text_colord);
}

.dark-mode .adventure-description {
    color: var(--muted1);
}

.dark-mode .adventure-link {
    color: var(--accentd-2);
}

.dark-mode .adventure-card:hover .adventure-link {
    color: var(--accentd);
}

.dark-mode .adventure-gallery-grid > p {
    background-color: var(--bgd_l3);
    color: var(--muted1);
}

/* ABOUT US STYLES */

/* ========================================================================= */
/* 0. Focused Typography (Only affecting specific class elements)              */
/* ========================================================================= */

.ea-section-title {
    font-family: 'Archivo Black', sans-serif;
    color: var(--muted); 
    line-height: 1.1;
    margin-bottom: 0.5em;
    letter-spacing: -0.5px;
    font-size: var(--large_font_size); /* 22px */
}

/* Ensure Archivo Black is used for stats numbers and card headers */
.ea-stat-number, 
.ea-card h3 {
    font-family: 'Archivo Black', sans-serif;
}

.ea-card h3 {
    color: var(--muted);
    font-size: var(--normal_font_size); /* 18px */
}

/* Specific styling for the H1 in the Hero section */
.ea-section-title.text-center {
    font-size: var(--largest_font_size); /* 36px */
}

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

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



.ea-main-content {
    /* Set a light background for the content wrapper */
    background-color: var(--bgl2); 
    padding-top: 30px;
    padding-bottom: 50px;
}

.dark-mode .ea-main-content {
  background-color: var(--bgd);
  color: var(--text_colord);
}

.ea-container {
    width: 90%;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
}

.ea-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Alternating light background color for visual separation between sections */
.ea-section:nth-child(even) {
    background-color: var(--bg); /* White background */
}

.dark-mode .ea-section:nth-child(even){
  background-color: var(--bgd);
}


/* Flex Layout for Hero/Story Sections (Mobile First: Stacked) */
.ea-flex-row, .ea-flex-row-reverse {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}
.ea-flex-row-reverse {
    flex-direction: column-reverse;
}

/* Grid Layouts (Mobile First: Single Column) */
.ea-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}



/* Section Title Underline */
h2.ea-section-title {
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    position: relative;
}
.dark-mode .ea-section-title h2 {
  color: var(--text_colord);
}

/* Subtle accent underline */
h2.ea-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    position: absolute;
    bottom: 0;
    left: 0; 
}



h2.ea-section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Main Action Button Style */
.ea-main-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent);
    color: var(--card); 
    text-decoration: none;
    font-size: var(--normal_font_size);
    font-weight: 600;
    border-radius: var(--radius);
    transition: background-color 0.3s ease, transform 0.1s ease;
    border: 2px solid var(--accent);
    margin-top: 15px;
    letter-spacing: 0.5px;
}



.ea-main-btn:hover {
    background-color: #6d331f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(134, 62, 35, 0.4);
}

/* Feature Card Style */
.ea-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 5px solid var(--accent-2); 
}

.dark-mode .ea-card {
  background-color: var(--bgd_l3);
  color: var(--text_colord);
}

.ea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.15);
}

/* Icon Styling */
.ea-icon-wrapper {
    color: var(--accent);
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-flex;
    padding: 10px;
    background-color: var(--bgl2);
    border-radius: 50%;
}
.ea-icon-wrapper ion-icon {
    --ionicon-stroke-width: 40px;
}

/* Call to Action Box */
.ea-cta {
    background-color: var(--accent);
    color: white;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 20px;
}

.ea-cta h2, .ea-cta p {
    color: white; 
}

/* Secondary CTA Button (uses accent-2) */
.ea-cta .ea-main-btn {
    background-color: var(--bg);
    border-color: var(--accent-2);
    color: var(--text_color);
    border: 0px;
}

/* Stats Box */
.ea-stat-box {
    text-align: center;
    padding: 20px;
}

.ea-stat-number {
    font-size: calc(var(--largest_font_size) * 1.5); 
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
}

.ea-stat-box p:last-child {
    font-size: var(--small_font_size);
    color: var(--muted1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}


/* Tablet/Medium Screens */
@media (min-width: 768px) {
    
    /* Horizontal flex layout for story/hero sections */
    .ea-flex-row, .ea-flex-row-reverse {
        flex-direction: row;
        text-align: left;
    }
    .ea-flex-row > *, .ea-flex-row-reverse > * {
        flex: 1; 
    }

    /* 2-column grid for features and stats */
    .ea-grid-md-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop/Large Screens */
@media (min-width: 1024px) {
    .ea-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    /* Increase font size for main H1 on desktop */
    h1.ea-section-title {
        font-size: calc(var(--largest_font_size) * 1.2);
    }

    /* 3-column grid for features */
    .ea-grid-lg-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 4-column grid for stats */
    .ea-grid-lg-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* SERVICE DETAILS PAGE STYLES */

.sd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sd-section {
  padding-bottom: 120px;
  padding-top: 2rem;
}

.sd-section-title {
  font-family: 'Archivo Black', sans-serif;
  color: var(--text_color);
  font-size: var(--largest_font_size);
  letter-spacing: -1px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-align: start;
}

.sd-section-subtitle {
  text-align: start;
  color: var(--text_color);
  font-size: var(--normal_font_size);
}

.sd-section-title-2{
  font-family: 'Archivo Black', sans-serif;
  color: var(--accent);
  font-size: var(--large_font_size);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 30px;
  text-align: start;
}

.sd-btn {
  background-color: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  display: inline-block;
  margin-top: 1rem;
  text-transform: uppercase;
}

.sd-btn:hover {
  background-color: var(--accent-2);
}

/* Hero Section */
.sd-hero-section {
  position: relative;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 1rem;
}

.sd-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.sd-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.sd-hero-content h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sd-hero-content p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.sd-intro-section {
  background-color: var(--bgl2);
}

.sd-intro-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
/* --- Awesome Featured Price Bar Card Design --- */

/* 1. Layout Overhaul: Horizontal Split */
.sd-packages-grid {
    /* Retain grid styles */
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem; /* Increased gap */
}

/* Base Card Reset */
.sd-package-card {
    background-color: var(--card);
    border-radius: var(--radius);
    /* Subtle border for separation */
    border: 1px solid var(--border_color); 
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06); 
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* NEW: Flexbox for Horizontal Layout */
    display: flex;
    flex-direction: column; /* Default stack on mobile */
    align-items: stretch;
}

.sd-package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(16, 24, 40, 0.1);
}

/* Desktop: Two-Column Layout */
@media (min-width: 768px) {
    .sd-package-card {
        flex-direction: row; /* Horizontal layout */
        height: 250px; /* Fixed height for consistency */
    }
}

/* 2. Image and Content Sections */

.sd-card-image-wrapper {
    flex-shrink: 0;
    width: 100%; /* Full width on mobile */
    max-height: 200px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .sd-card-image-wrapper {
        width: 35%; /* Image takes 35% on desktop */
        max-height: none;
    }
}

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

.sd-package-card:hover .sd-package-image {
    transform: scale(1.05);
}

.sd-package-content {
    flex-grow: 1; /* Content takes up remaining space */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically align text */
}

.sd-package-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: var(--large_font_size);
    color: var(--text_color);
    margin-bottom: 0.2rem;
}

.sd-package-duration {
    font-size: var(--small_font_size);
    color: var(--accent-2);
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.sd-package-description {
    font-size: var(--small_font_size);
    color: var(--muted1);
    /* Flex-grow allows it to push the price bar down if needed */
    margin-bottom: 0; 
}


/* 3. The Awesome Price/Action Bar */

.sd-package-action-bar {
    /* Use accent color for high visual impact */
    background-color: var(--accent); 
    color: white;
    padding: 1rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    
    /* Slanted effect to separate content and action bar */
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 100%);
    margin-top: -15px; /* Overlap the content section */
}

@media (min-width: 768px) {
    .sd-package-action-bar {
        /* Vertical layout on desktop side bar */
        flex-direction: column;
        justify-content: center;
        width: 200px; /* Fixed width for the bar */
        clip-path: none; /* Remove slant for vertical layout */
        margin-top: 0; 
        /* Add a vertical divider */
        border-left: 1px solid rgba(255, 255, 255, 0.2); 
    }
}

.sd-price-placeholder {
    font-family: 'Archivo Black', sans-serif;
    font-size: var(--large_font_size); /* Big price text */
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 0; /* No bottom margin on mobile layout */
}

@media (min-width: 768px) {
    .sd-price-placeholder {
        margin-bottom: 1rem; /* Space below price on desktop */
    }
}

/* 4. The Awesome Button (Inverted & Energetic) */

.sd-btn {
    /* Inverted Button: White background with accent text */
    background-color: white;
    color: var(--accent);
    border: 2px solid white; /* Thick white border for pop */
    border-radius: 50px; 
    padding: 0.6rem 1.25rem; /* Smaller padding inside the action bar */
    font-weight: 700;
    font-size: var(--small_font_size);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sd-btn:hover {
    /* Hover: Fill with accent color for strong feedback */
    background-color: var(--accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- Dark Mode Adjustments --- */

.dark-mode .sd-package-card {
    background-color: var(--bgd_l4);
    border-color: var(--bgd_l5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dark-mode .sd-package-action-bar {
    background-color: var(--accentd);
}

.dark-mode .sd-btn {
    background-color: white;
    color: var(--accentd);
    border-color: white;
}

.dark-mode .sd-btn:hover {
    background-color: var(--accentd);
    color: white;
}

.dark-mode .sd-price-placeholder {
    color: white;
}



.sd-route-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sd-checkpoints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.sd-checkpoint-card {
  background: var(--background);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #eee;
}

.sd-photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}

.sd-photo-gallery img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}



.pd-container {
  max-width: 1200px;
  margin-bottom: 80px;
  margin-inline: auto;
  padding: 0 15px;
}

/* -------------------- */
/* Buttons */
/* -------------------- */

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.pd-btn-primary {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(134, 62, 35, 0.4);
}

.pd-btn-primary:hover {
  background-color: #a0522d; /* Slightly lighter accent */
  transform: translateY(-1px);
}

/* -------------------- */
/* Hero Section */
/* -------------------- */
.pd-hero-section {
    position: relative;
    height: 60vh; /* Adjust for better screen fit */
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px 0;
    margin-bottom: 40px;
    box-shadow: inset 0 -50px 50px -20px rgba(0, 0, 0, 0.7);
}

.pd-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

.pd-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.pd-h1 {
    font-size: var(--largest_font_size);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.pd-meta-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    background: var(--glass);
    padding: 10px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text_color); /* Use dark text on glass */
}

.pd-meta-grid span {
    display: flex;
    align-items: center;
    font-size: var(--small_font_size);
    font-weight: 500;
}

.pd-meta-grid ion-icon {
    font-size: 1.2em;
    margin-right: 5px;
    color: var(--accent);
}

/* -------------------- */
/* Main Content Structure */
/* -------------------- */

.pd-main-content {
    padding-bottom: 50px;
}

.pd-section-title {
    font-size: var(--large_font_size);
    color: var(--text_color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--muted2);
    padding-bottom: 10px;
}

.pd-description-lg {
    font-size: var(--normal_font_size);
    line-height: 1.6;
    color: var(--muted);
}

/* -------------------- */
/* Tabs (Desktop/Large Screen) */
/* -------------------- */

.pd-tabs {
    display: flex;
    border-bottom: 1px solid var(--muted2);
    margin-bottom: 30px;
}

.pd-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: var(--normal_font_size);
    font-weight: 600;
    color: var(--muted1);
    cursor: pointer;
    transition: color 0.3s, border-bottom 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-tab:hover {
    color: var(--accent);
}

.pd-tab.active {
    border-bottom: 2px solid var(--accent);
    color: var(--accent);
}

/* Mobile: Hide tabs and show content stacked by default */
@media (max-width: 768px) {
    .pd-tabs {
        display: none;
    }
    .pd-tab-content {
        display: block !important; /* Force content to show on mobile */
        margin-bottom: 40px;
    }
}

/* -------------------- */
/* Accordion (Routes/Itinerary) */
/* -------------------- */

.pd-route-accordion {
    margin-bottom: 15px;
    /* Use the shadow to make the whole card distinct */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--bgl2); /* Subtle border for definition */
}

.pd-accordion-header {
    width: 100%;
    /* Highlighting the clickable area */
    background-color: var(--bgl2);
    padding: 20px;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s, border-bottom 0.3s;
}

.pd-accordion-header:hover {
    background-color: #e0e6ec; /* Noticeable hover */
}

/* Appearance when the accordion is OPEN */
.pd-accordion-header[aria-expanded="true"] {
    background-color: var(--card); /* Revert background when open */
    border-bottom: 2px solid var(--accent); /* Strong indicator it's open */
    color: var(--accent);
}

.pd-route-title {
    font-size: var(--normal_font_size);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text_color); /* Default to normal text color */
    transition: color 0.3s;
}

/* Highlight title when header is active/expanded */
.pd-accordion-header[aria-expanded="true"] .pd-route-title {
    color: var(--accent);
    font-weight: 600;
}

.pd-accordion-icon {
    transition: transform 0.3s;
    font-size: 1.2em;
}

.pd-accordion-header[aria-expanded="true"] .pd-accordion-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.pd-accordion-content {
    max-height: 0; /* Starts closed (no height) */
    overflow: hidden;
    /* Transition handles the animation of height and padding */
    transition: max-height 0.4s cubic-bezier(0.86, 0, 0.07, 1), padding 0.4s ease-out;
    padding: 0 20px;
    background-color: #fcfcfc;
    border-top: none;
}

.pd-accordion-content.active {
    max-height: 4000px; /* Jumps to a large enough value to accommodate all content */
    padding: 20px;
}

/* -------------------- */
/* Sub-Sections (Activities/Checkpoints) */
/* -------------------- */

.pd-sub-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--muted2);
}

.pd-sub-section-title {
    font-size: var(--normal_font_size);
    margin-bottom: 15px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- CHECKPOINTS (Timeline - 2 per row) --- */
.pd-checkpoints-grid {
    display: grid;
    /* Default to 1 column on small screens */
    grid-template-columns: 1fr;
    gap: 30px; /* Increased gap for better spacing */
}

/* Enforce 2 columns on large screens */
@media (min-width: 1000px) {
    .pd-checkpoints-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pd-checkpoint-card {
    background-color: var(--card); /* Use card background */
    padding: 20px; /* Increased padding */
    border-radius: var(--radius);
    box-shadow: var(--shadow); /* Keep shadow for a lift effect */
    border: 1px solid var(--bgl2);
    /* Set display to flex-column to easily stack content and photo */
    display: flex;
    flex-direction: column;
}

.pd-checkpoint-name {
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: var(--large_font_size); /* Make the name stand out */
    font-weight: 700;
}

/* **FIXED IMAGE STYLING** */
.pd-checkpoint-photo-single {
    width: 100%;
    /* Ensure image doesn't stretch too tall but keeps aspect ratio */
    max-height: 250px; 
    height: auto; 
    object-fit: cover; /* ESSENTIAL: Ensures image covers the space without distortion */
    border-radius: var(--radius);
    margin-top: 15px; /* Space above the photo */
    order: 10; /* Ensures the photo is at the bottom of the flex column */
    display: block;
    border: 1px solid var(--muted2); /* Added subtle border */
}

/* Remove original unused/complex photo gallery styles */
.pd-photo-gallery, .pd-checkpoint-photo, .pd-more-photos {
    display: none;
}


/* --- ACTIVITIES (Compact List) --- */

.pd-activities-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.pd-activity-item {
    margin-bottom: 10px; /* Reduced margin */
    padding: 10px 0;
    border-bottom: 1px dashed var(--muted2); /* Use a dashed line for separation */
    padding-left: 0; /* Remove left padding */
    border-left: none; /* Remove left border */
}

.pd-activity-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.pd-activity-header {
    font-weight: 600;
    margin-bottom: 3px; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--normal_font_size);
}

.pd-activity-title {
    color: var(--text_color);
    font-weight: 600; /* Make the title bold */
}

.pd-time-badge {
    /* Smaller, compact badge */
    background-color: var(--accent-2);
    color: white;
    padding: 1px 6px; /* Smaller padding */
    border-radius: 3px;
    font-size: var(--smallest_font_size); /* Smaller font */
    font-weight: normal;
}

.pd-activity-item p {
    font-size: var(--small_font_size);
    color: var(--muted);
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Remove the photo from the activities list */
.pd-activity-photo {
    display: none;
}


/* Mobile Adjustments */
@media (max-width: 500px) {
    .pd-hero-content p {
        font-size: var(--small_font_size);
    }

    .pd-h1 {
        font-size: 30px;
    }

    .pd-meta-grid {
        flex-direction: column;
        gap: 10px;
    }
}

.pd-tab-content {
    display: none;
}

.pd-tab-content.active {
    display: block;
}

.pd-tab.active {
    border-bottom: 2px solid var(--accent);
    color: var(--accent);
}

/* ==================================== */
/* MASTER WRAPPER & CENTERING STYLES    */
/* ==================================== */

/* This wrapper handles the full page height and centering */
.search_page_master_wrapper {
    display: flex;
    justify-content: center;
    align-items: center; 
    box-sizing: border-box;
    margin-inline: 30px;
}

.search-page-content {
    /* Container for the header, search, and results */
   height: 60vh;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================================== */
/* SEARCH HEADER (BUTTONS) STYLES       */
/* ==================================== */

.search-header {
    display: none;
    width: 100%;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-btn ion-icon {
    font-size: 24px;
}

.header-btn:hover {
    background-color: var(--accent);
    color: var(--card);
    transform: translateY(-2px);
}

/* ==================================== */
/* SEARCH BAR STYLES (MODERN LOOK)      */
/* ==================================== */

.new-search-page-wrapper {
    /* This container's height is now flexible */
    width: 100%;
    /* max-width is handled by .search-page-content */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.new-search-bar-container {
    width: 100%;
    position: relative;
    /* Removed box-shadow here to incorporate it into the focus state */
    border-radius: 50px; /* Pill shape for modern look */
    transition: all 0.3s ease;
    /* Initial subtle shadow */
}

.search-icon-html {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px; 
    color: var(--muted1);
    pointer-events: none;
    z-index: 10;
    transition: color 0.3s ease;
}

.new-search-bar-input {
    width: 100%;
    padding: 16px 20px 16px 60px; 
    font-size: var(--normal_font_size);
    border: 1px solid var(--border_color); 
    border-radius: 50px;
    outline: none;
    color: var(--text_color);
    background-color: transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.new-search-bar-input:focus {
    border-color: var(--accent);
}

.new-search-bar-input:focus ~ .search-icon-html {
    color: var(--accent);
}
/* ==================================== */
/* SUGGESTIONS LIST STYLES (ENHANCED)   */
/* ==================================== */

.new-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    width: 100%;
    /* Keep background, radius, shadow, and animation */
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeIn 0.6s ease-out forwards;
}

/* Base style for individual suggestion items */
.new-suggestions-list li {
    /* Changed to a more visual layout, using a flex column inside for content grouping */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px; /* Increased padding for more space */
    cursor: pointer;
    border-bottom: 1px solid var(--border_color);
    color: var(--text_color);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: var(--small_font_size);
    font-weight: 500;
}

.new-suggestions-list li:last-child {
    border-bottom: none;
}

/* Content wrapper for better organization (assuming you can wrap your text content in a <div> or <span>) */
/* If you cannot change the HTML, this will still apply to the default text */
.suggestion-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1; /* Allows content to take up available space */
}

.suggestion-content .title {
    font-size: var(--normal_font_size); /* Make the main title stand out */
    font-weight: 600;
    color: var(--text_color);
}

.suggestion-content .category {
    font-size: var(--small_font_size);
    color: var(--muted1); /* Muted color for secondary info */
    margin-top: 2px;
}

/* Professional Hover Effect: Lift and glow */
.new-suggestions-list li:hover {
    background-color: var(--card); /* Keep background white/card */
    transform: translateY(-3px); /* Pronounced lift on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Stronger shadow on hover */
    z-index: 1; /* Bring forward slightly */
    border-bottom-color: transparent; /* Hide bottom border on hover for a cleaner lift */
}

/* Style for the "go somewhere" icon (chevron-forward-outline) - Now with a visual pop */
.new-suggestions-list li .item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 10px;
    font-size: 10px;
    border-radius: 50%;
    font-family: "Ionicons";
    font-size: 16px;
    color: var(--muted);
    margin-left: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0; 
}

.new-suggestions-list li:hover .item-icon {
    color: var(--card); 
    background-color: var(--accent-2); 
    transform: scale(1.1); 
}

/* ==================================== */
/* ICON FOR SUGGESTION TYPE (Optional)  */
/* ==================================== */

/* This is a placeholder for adding a contextual icon (e.g., service, package, blog) 
   You would need to inject a corresponding icon element in your HTML/JS. 
   Example: <ion-icon name="list-outline" class="suggestion-type-icon"></ion-icon> */
.suggestion-type-icon {
    font-size: 16px;
    color: var(--muted1);
    margin-right: 15px;
    flex-shrink: 0;
}
/* ==================================== */
/* RESPONSIVE MEDIA QUERIES             */
/* ==================================== */

@media (min-width: 768px) {
    /* --- Large Screen Styles --- */

    /* 1. Center the whole content vertically (Google-like) */
    .search_page_master_wrapper {
        align-items: center; 
        padding-top: 0; /* Remove top padding when centered */
    }

    /* 2. Display the navigation buttons */
    .search-header {
        display: flex; /* Show buttons on large screens */
    }

    /* 3. Give the search bar more vertical breathing room */
    .new-search-page-wrapper {
        padding-top: 0;
    }

    /* 4. Make the search bar and results wider */
    .search-page-content {
        max-width: 800px;
    }
}



/* BLOG STYLES */

/* ================================================= */
/* --- TRAVEL BLOG INDEX STYLES (UNIQUE NAMING) --- */
/* ================================================= */

/* Main Section Container */
.travel-blog-index-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    overflow-x: hidden;
}

/* Page Header */
.blog-header-content {
    margin-bottom: 60px;
}

.blog-main-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: var(--largest_font_size); 
    color: var(--accent); 
    margin-bottom: 10px;
}

.blog-main-subtitle {
    font-size: var(--normal_font_size); 
    color: var(--muted1);
    max-width: 800px;
    margin: 0 auto;
}

/* ================== */
/* FEATURED POST CARD */
/* ================== */

.featured-post-card {
    display: flex;
    flex-direction: row; /* Horizontal layout on desktop */
    align-items: center;
    gap: 30px;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow); /* Subtle shadow */
    margin-bottom: 60px;
    padding: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: left;
    border: 1px solid var(--border_color);
}

.featured-post-card:hover {
    box-shadow: 0 10px 25px rgba(16, 24, 40, 0.15);
    transform: translateY(-4px);
}

.featured-post-img {
    width: 50%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.featured-post-content {
    flex-grow: 1;
    padding: 10px 0;
}

.featured-post-title {
    font-size: 2.2rem;
    color: var(--text_color);
    margin: 15px 0 10px;
}

.featured-post-excerpt {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.post-category-tag {
    display: inline-block;
    background-color: var(--accent-2); /* Green accent */
    color: var(--text_colord); /* White text */
    padding: 6px 15px;
    border-radius: 50px;
    font-size: var(--small_font_size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== */
/* BLOG POST GALLERY GRID */
/* ==================== */

.post-gallery-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 30px;
}

/* Individual Post Card */
.blog-post-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid var(--border_color);
    
    /* Flexbox sizing for 3 columns on desktop */
    min-width: 280px;
    max-width: calc(33.333% - 20px); 
    flex-grow: 1; 
}

.blog-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.1);
}

.post-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-size: 1.4rem;
    color: var(--accent); /* Use accent color for card titles */
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-card-excerpt {
    color: var(--muted);
    font-size: var(--small_font_size);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Post Metadata (Author/Date) */
.post-meta-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted1);
    border-top: 1px solid var(--bgl2);
    padding-top: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item ion-icon {
    font-size: 1.1rem;
    color: var(--accent-2);
}

.no-posts-message {
    padding: 60px;
    background-color: var(--bgl2);
    border-radius: var(--radius);
    color: var(--muted1);
    font-size: 1.5rem;
    font-style: italic;
    width: 100%;
}


/* =================================================== */
/* --- MOBILE RESPONSIVENESS (<= 992px) --- */
/* =================================================== */

@media (max-width: 992px) {
    
    /* Change featured post to vertical stack on smaller tablets/mobile */
    .featured-post-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .featured-post-img {
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }

    .featured-post-title {
        font-size: 1.8rem;
    }

    .post-gallery-grid {
        gap: 20px;
    }

    /* Change gallery grid to 2 columns on tablets */
    .blog-post-card {
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .travel-blog-index-section {
        padding: 40px 15px;
    }

    .blog-main-title {
        font-size: 2.2rem;
    }

    .blog-main-subtitle {
        font-size: 1rem;
    }

    .featured-post-card {
        /* No transform for simplicity on touch devices */
        transform: none; 
        box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
    }

    /* Change gallery grid to single column on mobile */
    .blog-post-card {
        max-width: 100%;
        min-width: 100%;
    }
}


/* =================================================== */
/* --- DARK MODE ADJUSTMENTS FOR BLOG --- */
/* =================================================== */

.dark-mode .travel-blog-index-section {
    background-color: var(--bgd);
}

.dark-mode .blog-main-title {
    color: var(--accentd);
}

.dark-mode .blog-main-subtitle {
    color: var(--muted2);
}

.dark-mode .featured-post-card,
.dark-mode .blog-post-card {
    background-color: var(--bgd_l2);
    border-color: var(--bgd_l4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .featured-post-card:hover,
.dark-mode .blog-post-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .featured-post-title,
.dark-mode .blog-post-card .post-card-title {
    color: var(--text_colord);
}

.dark-mode .featured-post-excerpt,
.dark-mode .post-card-excerpt {
    color: var(--muted1);
}

.dark-mode .post-meta-details {
    border-top: 1px solid var(--bgd_l4);
    color: var(--muted1);
}

.dark-mode .post-category-tag {
    background-color: var(--accentd-2);
}

.dark-mode .no-posts-message {
    background-color: var(--bgd_l3);
}


/* Blog details page */

/* ================================================= */
/* --- BLOG ARTICLE DETAIL STYLES (UNIQUE NAMING) --- */
/* ================================================= */

/* Main Section Container */
.post-article-section {
    padding: 80px 20px;
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--bgl2); /* Light background for contrast */
}

/* Constrained Content Wrapper */
.post-container {
    max-width: 900px; /* Optimal width for reading long-form content */
    margin: 0 auto;
    background-color: var(--card); /* White reading background */
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Article Header */
.article-hero-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-main-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.2rem;
    color: var(--text_color);
    margin: 0 0 20px;
    line-height: 1.1;
}

/* Metadata Bar (Author/Date) */
.article-meta-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: var(--small_font_size); /* 15px */
    color: var(--muted);
    font-weight: 500;
}

.article-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-bar ion-icon {
    font-size: 1.2rem;
    color: var(--accent-2);
}

/* Hero Image */
.article-image-figure {
    margin: 0;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: var(--radius);
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ================== */
/* ARTICLE CONTENT STYLES */
/* ================== */

.article-main-content {
    font-size: 1.15rem; /* Large, comfortable reading font */
    line-height: 1.8;
    color: var(--text_color);
    margin-bottom: 60px;
    text-align: left;
}

/* General Content Formatting */
.article-main-content p {
    margin-bottom: 1.5em;
}

.article-main-content h2,
.article-main-content h3 {
    font-family: Inter, sans-serif;
    color: var(--accent);
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.article-main-content h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--bgl2);
    padding-bottom: 8px;
}

.article-main-content h3 {
    font-size: 1.8rem;
}

.article-main-content ul,
.article-main-content ol {
    margin-left: 20px;
    margin-bottom: 1.5em;
    padding-left: 0;
}

.article-main-content li {
    margin-bottom: 0.5em;
}

.article-main-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer Actions */
.article-footer-actions {
    padding-top: 30px;
    border-top: 1px solid var(--border_color);
    text-align: left;
}

.back-to-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-2);
    font-weight: 600;
    font-size: var(--normal_font_size);
    padding: 8px 15px;
    border: 2px solid var(--accent-2);
    border-radius: 50px;
    transition: all 0.2s ease;
}

.back-to-blog-link:hover {
    background-color: var(--accent-2);
    color: var(--text_colord);
}


/* =================================================== */
/* --- MOBILE RESPONSIVENESS (<= 768px) --- */
/* =================================================== */

@media (max-width: 768px) {
    .post-article-section {
        padding: 40px 0; /* Reduce outer padding */
    }
    
    .post-container {
        padding: 20px; /* Reduce inner padding */
        border-radius: 0; /* Optional: Make container full width on mobile */
        box-shadow: none;
    }

    .article-main-title {
        font-size: 2.2rem;
    }

    .article-meta-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        text-align: left;
    }

    .article-image-figure {
        height: 250px;
    }

    .article-main-content {
        font-size: 1.05rem;
    }

    .article-main-content h2 {
        font-size: 1.8rem;
    }
}


/* =================================================== */
/* --- DARK MODE ADJUSTMENTS --- */
/* =================================================== */

.dark-mode .post-article-section {
    background-color: var(--bgd_l2);
}

.dark-mode .post-container {
    background-color: var(--bgd_l3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dark-mode .article-main-title {
    color: var(--text_colord);
}

.dark-mode .article-meta-bar {
    color: var(--muted1);
}

.dark-mode .article-main-content {
    color: var(--muted2);
}

.dark-mode .article-main-content h2,
.dark-mode .article-main-content h3 {
    color: var(--accentd);
}

.dark-mode .article-main-content h2 {
    border-bottom: 2px solid var(--bgd_l4);
}

.dark-mode .article-footer-actions {
    border-top: 1px solid var(--bgd_l4);
}

.dark-mode .back-to-blog-link {
    color: var(--accentd-2);
    border: 2px solid var(--accentd-2);
}

.dark-mode .back-to-blog-link:hover {
    background-color: var(--accentd-2);
    color: var(--bgd);
}



.booking-card {
  background: var(--bg);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  max-width: 1200px;
  margin-inline: auto;
  margin-bottom: 90px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border_color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.header-content {
  text-align: center;
  margin-bottom: 2rem;
}

.card-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 700;
}

.card-subtitle {
  font-size: 1rem;
  color: var(--text_color);
  max-width: 600px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border_color);
  background-color: var(--bg);
}

.form-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  border-left: 4px solid var(--accent-2);
  padding-left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section h2 ion-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

label ion-icon {
  font-size: 1.2rem;
  color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 2px 15px 10px;
  border: 1px solid var(--border_color);
  border-radius: 10px;
  background: var(--bgl2);
  font-size: 1rem;
  color: var(--text_color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(119, 148, 61, 0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 3rem;
}

.submit-btn,
.cancel-btn {
  padding: 15px 15px 15px 15px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn {
  background: var(--accent);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(134, 62, 35, 0.3);
}

.submit-btn:hover {
  background: var(--accent-2);
  box-shadow: 0 6px 20px rgba(119, 148, 61, 0.4);
  transform: translateY(-2px);
}

.cancel-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border_color);
  box-shadow: none;
  text-decoration: none;
}

.cancel-btn:hover {
  background: var(--bgl2);
  color: var(--text_color);
  transform: translateY(-2px);
}

.submit-btn ion-icon,
.cancel-btn ion-icon {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .booking-card {
    padding: 2rem;
  }

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

  .form-field {
    margin-bottom: 1rem;
  }

  .button-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .submit-btn,
  .cancel-btn {
    width: 100%;
    justify-content: center;
    padding: 15px -10px 15px 15px;
  }
}


/* Group Calendar Section */
.group-calendar-section {
  background: #f9fafb;
  padding: 4rem 2rem;
  /* Text align removed to make list start at the left */
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1b1b1b;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #6a6a6a;
}

.month-block {
  margin-bottom: 2rem;
  max-width: 900px; /* Constrain width for a nicer list flow */
  margin-left: auto;
  margin-right: auto;
}

.month-title {
  font-size: 1.5rem;
  color: #0d47a1; /* Stronger color for month separation */
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

/* --- New List Styles --- */

.compact-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.group-list-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.group-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.group-link-card {
  display: block; /* Make the whole list item a clickable link */
  text-decoration: none;
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  color: inherit; /* Inherit text color */
}

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem; /* Space between title/date and stats */
}

.card-title-date {
  flex-grow: 1;
  text-align: left;
}

.group-title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: #222;
}

.group-dates {
  font-size: 0.9rem;
  color: #6b7280;
}

.group-dates i {
  margin-right: 0.5rem;
  color: #9ca3af;
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0; /* Prevents stats from shrinking on smaller screens */
}

/* Availability (People Count) Style */
.people-count {
  font-weight: 500;
  color: var(--accent);
  background: #eff6ff;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.people-count i {
  margin-right: 0.4rem;
}

.booked-amount {
  font-weight: 700;
}

/* Discount Pill Style (Fancy) */
.discount-pill {
  background: var(--accent-2); /* Vibrant green for attention */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Regular Price Display */
.price-display {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  padding: 0.5rem 1rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .card-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .card-stats {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .people-count, .discount-pill, .price-display {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .group-title {
    font-size: 1.1rem;
  }
}



.message-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.alert {
  background: #e0ffe0;
  border: 1px solid #6fdc6f;
  color: #066a06;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  animation: fadeOut 6s forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; display: none; }
}


.form-errors {
  background: #ffeaea;
  border: 1px solid #ff8a8a;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
}
.form-errors ul {
  margin: 0;
  padding-left: 1.5rem;
}




/* DARK MODE STYLES */

.dark-mode a {
  color: white;
}

.dark-mode body {
  background-color: var(--bgd);
  color: #f1f1f1;
}


.dark-mode .top-bar-info {
  background-color: var(--bgd_l2);
  color: var(--text_color);
  border-bottom: 1px solid var(--text_color);
}

.dark-mode .lang-switcher-btn {
  color: var(--text_colord);
  border: none;
  background-color: var(--bgd_l3);
  border: 1px solid var(--text_color);
}


.dark-mode .lang-dropdown-menu {
  background-color: var(--bgd_l3);
  border: 1px solid var(--text_color);
}


.dark-mode .mode-toggle {
  color: var(--text_colord);
  background: var(--bgd_l3);
  border: 1px solid var(--text_color);
}


.divider {
  background-color: var(--text_color);

}




.dark-mode .site-header {
  background-color: var(--bgd_l3);
}

.dark-mode .main-nav .nav-link {
  color: var(--text_colord);
}

.dark-mode .dropdown {
  background-color: var(--bgd_l3);
  border: 0px;
}

.dark-mode .dropdown-content-mega {
  background-color: var(--bgd_l3);
}

.dark-mode .dropdown-col .service-card {
  background-color: var(--bgd_l4);
  border: 1px solid var(--text_color);
}

.dark-mode .dropdown-col .service-card h4 {
  color: var(--accent-2);
}

.dark-mode .dropdown-col .service-card p {
  color: var(--text_colord);
}

.dark-mode .dropdown-col .service-card .btn.small {
  color: var(--text_colord);
  background: var(--accent-2);
}

.dark-mode .package-list {
  border-right: 1px solid var(--text_color);
}

.dark-mode .package-list .package-link {
  color: var(--text_colord);
}

.dark-mode .package-list .package-link.active {
  color: var(--accent-2);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}

.dark-mode .package-info h4 {
  color: var(--accent-2);
}

.dark-mode .package-info p {
  color: var(--text_colord);
}

.dark-mode .package-preview-go {
  text-decoration: underline;
}

.dark-mode .dropdown-footer .footer-divider {
  border-top: 1px solid var(--text_color);
}

.dark-mode .footer-links a {
  background-color: transparent;
  border: 1px solid var(--text_color);
  color: var(--text_colord);
}



/* CONTACT MODAL DARK MODE */


.dark-mode .contact-modal {
  background-color: var(--bgd);
}

.dark-mode .contact-modal .modal-content {
  background-color: var(--bgd_l2);
  color: var(--text_colord);
}

.dark-mode .contact-modal .modal-close-btn {
  color: var(--text_colord);
}

.dark-mode .contact-modal .modal-title {
  color: var(--text_colord);
}

.dark-mode .contact-modal .modal-header {
  border-bottom: 1px solid var(--text_color);
  color: var(--text_colord);
}

.dark-mode .contact-modal .modal-body {
  color: var(--text_colord);
}

.dark-mode .contact-modal .contact-options-grid a {
  color: var(--text_colord);
  background-color: var(--bgd_l4);
}

.dark-mode .contact-options-grid span,
small {
  color: var(--text_colord);
}

.dark-mode .contact-options-grid small {
  color: var(--text_colord);
}

.dark-mode .contact-modal .modal-footer {
  background-color: var(--bgd_l3);
  border-top: 1px solid var(--text_color);
}

.dark-mode .contact-modal .contact-option ion-icon {
  color: var(--text_colord);
}

.dark-mode .trip_advisor_logo {
  fill: var(--text_colord);
}

.dark-mode .account_container {
  border: 2px solid var(--text_colord);

}

.dark-mode .account_link {
  color: var(--text_colord);
}

.dark-mode .hamburger {
  background-color: var(--text_colord);
}

.dark-mode .hamburger::before,
.dark-mode .hamburger::after {
  background-color: var(--text_colord);
}


/* mobile dark mode  */

.dark-mode .mobile-menu {
  background-color: var(--bgd);
}

.dark-mode .mobile-nav-link {
  background-color: var(--bgd_l4);
  border: 1px solid var(--text_color);
  color: var(--text_colord);
}

.dark-mode .mobile-nav-link .title,
.dark-mode .mobile-nav-link .subtitle {
  color: var(--text_colord);
}

.dark-mode .mobile-nav-link .arrow-icon {
  color: var(--text_colord);
}

.dark-mode .toggle-button {
  border: 0px;
}


/* Hero dark mode */


.dark-mode .hero-background-image {
  background-image: url('svg_dark3.svg');
}

.dark-mode .hero-cta-bar {
  background-color: var(--bgd_l3);
  border: 1px solid var(--text_color);
}

.dark-mode .search-input {
  background-color: var(--bgd_l4);
  padding: 10px;
  border: 0px;
  border-radius: var(--radius);
  color: var(--text_colord);
  margin-right: 5px;
}

.dark-mode .search-input::placeholder {
  color: var(--text_colord);
}

.dark-mode .search-input-group ion-icon {
  color: var(--text_colord);
}

.dark-mode .trip_advisor_logo_hero {
  fill: var(--text_colord);

}


.dark-mode .video-play-btn {
  background-color: var(--accent-2);
}

.dark-mode .socials .social-link {
  color: var(--text_colord);
}


/* Info card dark mode */

.dark-mode .info-card {
  background-color: var(--bgd_l3);
  border: 1px solid var(--text_color);
}




.dark-mode .info-card .card-content {
  color: var(--text_colord);
}

.dark-mode .info-card .card-content h3 {
  color: var(--text_colord);
}

.dark-mode .card-content p {
  color: var(--text_colord);
}

.dark-mode .card-content a {
  text-decoration: underline;
}


/* MOBILE BOTTOM NAV  dark mode*/

.dark-mode .mobile-bottom-nav {
  background-color: var(--bgd);
  border-top: 1px solid var(--text_color);
}

.dark-mode .mobile-bottom-nav .nav-item {
  color: var(--text_colord);
}

/* section dark mode */

.dark-mode .section-title {
  color: var(--text_colord);
}

.dark-mode .section-subtitle {
  color: var(--text_colord);
}

/* Popular safaris dark mode */

.dark-mode .popular-safaris-section {
  background-color: var(--bgd);
}

.dark-mode .safari-card {
  background-color: var(--bgd_l3);
  border: 1px solid var(--text_color);
}


.dark-mode .safari-card-content {
  color: var(--text_colord);
}

.dark-mode .safari-card-content h3 {

  color: var(--text_colord);

}

.dark-mode .safari-card-content p {
  color: var(--text_colord);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dark-mode .safari-card-content a {
  text-decoration: underline;
}



/* Giving back dark mode */

.dark-mode .giving-back-section {
  background-color: var(--bgd_l2);
}



.dark-mode .main-story-text h3 {
  color: var(--accent-2);
}

.dark-mode .main-story-text p {
  color: var(--text_colord);
}

/* gallery dark mode */
.dark-mode .photo-gallery-section {
  background-color: var(--bgd);
}

.dark-mode .photo-card-compact {
  background-color: var(--bgd_l3);
  border: 1px solid var(--text_color);
}

.dark-mode .photo-card-content-compact h3 {
  color: var(--accent-2);
}

.dark-mode .photo-card-content-compact p {
  color: var(--text_colord);
}

.dark-mode .photo-card-content-compact a {
  text-decoration: underline;
}

/* Blog dark mode */

.dark-mode .hero-blog-section {
  background-color: var(--bgd);
}

.dark-mode .hero-blog-section .blog-card {
  background-color: var(--bgd_l4);
  border: 1px solid var(--text_color);
}

.dark-mode .blog-card-content h3 {
  color: var(--text_colord);
}

.dark-mode .blog-card-content p {
  color: var(--text_colord);
}

.dark-mode .blog-card-content a {
  text-decoration: underline;
}

.dark-mode .hero-blog-section a {
  text-decoration: underline;
}

/* faq section dark mode */

.dark-mode .faq-section {
  background-color: var(--bgd);
}

.dark-mode .faq-question {
  color: var(--text_colord);
}

.dark-mode .faq-question:hover {
  color: var(--accent-2);
}

.dark-mode .faq-answer p {
  color: var(--text_colord);
}


/* Partnership dark mode */

.dark-mode .partnerships-section {
  background-color: var(--bgd_l2);
  border-bottom: 1px solid var(--bg);
}

/* footer dark mode */

.dark-mode .footer-col h4 {
  color: var(--accent-2);
}

.dark-mode .footer-col ul li a {
  color: var(--text_colord);
}

.dark-mode .footer p {
  color: var(--text_colord);
}



/*  Serive Detail Page dark mode */


.dark-mode .sd-section-title {
  color: var(--text_colord);
}

.dark-mode .sd-section-subtitle {
  color: var(--text_colord);
}

.dark-mode .sd-section-title-2 {
  color: var(--accent-2);
}   

.dark-mode .sd-btn {
  background-color: var(--accentd);
  color: white;
}

.dark-mode .sd-btn:hover {
  background-color: var(--accentd-2);
}

.dark-mode .sd-package-card {
  background-color: var(--bgd_l4);
}

.dark-mode .sd-package-title {
  color: var(--text_colord);
}

.dark-mode .sd-package-description {
  color: var(--text_colord);
}




/* MEDIA QUERIES */


/* Add a new breakpoint for the mobile menu */
@media (min-width: 1413px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 1413px) {
  .main-nav {
    display: none;
  }

  .contact-options-grid {
    height: 60vh;
  }

  .contact-option {
    padding: 10px;
    font-size: var(--small_font_size);
  }

  .contact-option ion-icon {
    font-size: 20px;
  }

  .trip_advisor_logo {
    height: 20px;
    width: auto;
  }

  .search-input-group {
  display: none;
}

.socials {

  border-left: 0px;
}

.sd-hero-section {
  
  height: 20vh;
}

  /* The mobile menu container */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100vh;
    padding: 1rem;
    background-color: var(--bg);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu.is-active {
    transform: translateX(0);
  }

  /* The main navigation container for the compact menu */
  .mobile-nav {
    height: auto;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
  }

  /* Grid for menu links */
  .mobile-nav-links-grid {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 8px;
    margin-right: 30px;

  }

  /* Individual menu link items */
  .mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--bg);
    border-radius: 0.5rem;
    border: 1px solid var(--muted2);
    transition: background-color 0.3s;
    text-decoration: none;
    cursor: pointer;
  }

}

.mobile-nav-link .icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.mobile-nav-link .content {
  flex-grow: 1;
}

.mobile-nav-link .title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text_color);
}

.mobile-nav-link .subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--text_color);
}

.mobile-nav-link .arrow-icon {
  font-size: 1.25rem;
  color: var(--accent);
  transform: rotate(45deg);
}

/* Settings Section at the bottom */
.mobile-settings-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 0.75rem;
  width: 100%;
}


.mobile-settings-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  margin-right: 30px;
}

.mobile-lang-switcher-container,
.mobile-currency-switcher-container,
.mobile-mode-toggle-container {
  position: relative;
}

.toggle-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--muted2);
  padding: 0.75rem;
  background-color: var(--bgl2);
  transition: background-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  cursor: pointer;
  color: var(--text_color);
}


.toggle-button .button-text {
  font-size: var(--small_font_size);
  font-weight: 600;
}

.toggle-button .button-icon ion-icon {
  font-size: var(--normal_font_size);
}

/* Dropdown styling remains the same */
.mobile-dropdown-options {
  display: none;
  position: absolute;
  bottom: 60px;
  /* Adjust this to position it correctly above the buttons */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--card);
  border: 1px solid var(--muted2);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 101;
  min-width: 150px;
  text-align: left;
}

.mobile-dropdown-options.is-visible {
  display: block;
}

.mobile-dropdown-options a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text_color);
}

.mobile-dropdown-options a:hover {
  background-color: var(--bgl2);
}


@media (max-width: 1349px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;

  }

  .site-brand img {
    height: 50px;

  }





  .header-actions {
    display: inline;
  }



  .header-actions .account_container {
    display: none;
  }




  .mobile-only {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .nav-item,
  .nav-link,
  .btn {
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
  }

  .nav-item .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown,
  .dropdown.mega {
    position: static;
    box-shadow: none;
    padding: 8px 0 8px 16px;
    width: 100%;
  }

  .dropdown-content {
    grid-template-columns: 1fr;
  }

  .dropdown.mega .dropdown-col.photo {
    display: none;
  }

  /* Style for the dropdown icon */
  .nav-link .dropdown-icon {
    transition: transform 0.3s ease-in-out;
  }

  /* Rotate the icon when the menu is open */
  .nav-item .dropdown.is-open+.nav-link .dropdown-icon,
  .nav-item .dropdown.is-open+.nav-link .dropdown-icon {
    transform: rotate(-180deg);
  }
}

.mobile-only {
  display: none;
}


@media (max-width: 413px) {
  .calltoaction-btn {
    padding: 10px 10px;
    font-size: var(--small_font_size);


  }

  .site-header {
    flex-wrap: nowrap;
    justify-content: space-between;

  }

  .calltoaction-btn .btn-icon {
    font-size: 10px;

  }
}



/* Ensure mobile bottom nav is hidden on large screens */
@media (min-width: 1328px) {
  .mobile-bottom-nav {
    display: none;
  }
}

/* Show mobile bottom nav on small screens */
@media (max-width: 1327px) {
  .mobile-bottom-nav {
    display: flex;
  }

  .calltoactionbook {
    display: none;
  }
}



/* Hide on mobile to prevent clutter */
@media (max-width: 768px) {
  .social-preview-card {
    display: none;
  }
}




@media (max-width: 768px) {
  .hero-cta-bar {
    flex-direction: column;
    bottom: -130px;
    padding: 20px;
  }

  .hero-cta-bar .search-input-group,
  .hero-cta-bar .socials {
    width: 100%;
    justify-content: space-around;
  }


  .hero-cta-bar .socials {
    border-left: none;
    padding-left: 0;
    justify-content: space-around;
  }
}







@media (max-width: 768px) {
  .hero-cta-bar {
    flex-direction: column;
    bottom: -124px;
    padding: 20px;
  }

  .hero-cta-bar .search-input-group,
  .hero-cta-bar .socials {
    width: 100%;
  }

  .hero-cta-bar .socials {
    border-left: none;
    padding-left: 0;
    justify-content: space-around;
  }

  .info-cards-section {
    padding-top: 180px;
  }

  .modal-body iframe {
    height: 300px;
  }
}

@media (max-width: 551px) {
  .top-bar-info {
    display: none;
  }

  .top-bar-info .top-bar-contact {
    width: 100%;
    justify-content: center;
  }
}


/* Responsive adjustments */
@media (max-width: 900px) {
  .giving-back-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .giving-back-text h3 {
    font-size: 1.5rem;
  }
}


@media (max-width: 768px) {

  .safari-cards-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}


/* Responsive adjustments for all new sections */
@media (max-width: 768px) {
  .partnership-logos {
    gap: 30px;
  }

  .partnership-logos img {
    height: 60px;
  }
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .expectations-timeline {
    flex-direction: column;
    gap: 20px;
  }

  .expectations-timeline::before {
    height: 100%;
    width: 2px;
    top: 0;
    left: 20px;
  }

  .timeline-item {
    padding-left: 40px;
    padding-top: 0;
    text-align: left;
  }

  .timeline-item::before {
    left: 10px;
    top: 0;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .route-hero-section {
    height: 350px;
  }

  .route-title {
    font-size: 2.5rem;
  }

  .route-subtitle {
    font-size: 1.2rem;
  }

  .route-info-badges {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .info-badge {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .route-details-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .route-highlights h3 {
    margin-top: 20px;
  }

  .route-map-section {
    padding: 40px 15px;
  }
}




/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
  .blog-post-title {
    font-size: 2rem;
  }

  .blog-post-image-container {
    padding: 0;
  }

  .blog-post-image {
    border-radius: 0;
  }

  .blog-article-content {
    padding: 20px;
    margin-top: 20px;
  }

  .intro-paragraph {
    font-size: 1rem;
  }

  .article-heading {
    font-size: 1.5rem;
    margin-top: 30px;
  }
}



/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 20px;
    max-width: 100%;
    text-align: center;
  }

  .testimonial-card .quote-icon {
    left: 50%;
    transform: translateX(-50%);
    top: 0px;
  }
}





@media (max-width: 1576px) {
  .hero-text-combined {
    font-size: 60px;
  }

  .highlight::after {
    height: 5px;
  }
}

@media (max-width: 967px) {
  .hero-text-combined {
    font-size: 45px;
  }

  .highlight::after {
    height: 4px;
  }
}

@media (max-width: 480px) {
  .hero-text-combined {
    font-size: 36px;
    letter-spacing: 1px;
    line-height: 1.2;
    word-spacing: 4px;
  }

  .highlight::after {
    height: 3px;
  }
}


/* --- Responsive adjustments for smaller screens --- */
@media (max-width: 768px) {
  .main-story-grid {
    grid-template-columns: 1fr;
  }

  .main-story-text,
  .main-story-image {
    grid-column: 1 / -1;
  }

  .main-story-text {
    /* Order the text above the image on mobile */
    order: 2;
  }

  .main-story-image {
    /* Order the image above the text on mobile */
    order: 1;
  }

  .impact-quote {
    font-size: 1.8rem;
  }
}


@media (max-width: 378px) {
  .video-play-btn {
  width: 40px;
  height: 36px;
  margin-left: 4px;
}

}