/* Updated dark color palette with brown and navy blue */
:root {
  --primary-color: #4169e1; /* Royal blue */
  --secondary-color: #c8a27c; /* Desert brown - updated from green */
  --accent-color: #8b5cf6; /* Purple */
  --dark-navy: #0e1a2d; /* Dark navy blue */
  --dark-brown: #2a1e17; /* Dark brown */
  --dark-color: #121212; /* Near black */
  --darker-color: #080808; /* Even darker black */
  --light-color: #f8fafc;
  --gray-color: #94a3b8;
  --border-color: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25), 0 4px 6px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1280px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body,
h1, h2, h3, h4, h5, h6, 
p, span, a, button, input, textarea, select,
.header-brand h2, .hero-subtitle, .hero-brand h1, 
.hero-description p, .quote-btn, .destination-title,
.destination-description, .destination-meta span,
.feature-tag, .section-title, .section-subtitle,
.tab-button, .explorer-feature h3, .explorer-feature p,
.footer-col h3, .footer-links a, .contact-info p,
.footer-legal a, .copyright, .fullscreen-menu-nav ul li a,
.submenu a {
  font-family: 'Montserrat', sans-serif !important;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--light-color);
  line-height: 1.6;
  background-color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Global section fixes */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 60px;
}

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

.section-header p {
  color: var(--gray-color);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(200, 162, 124, 0.15);
  color: var(--secondary-color);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif !important;
}

#featured-destinations {
  background-color: var(--dark-navy);
  position: relative;
}

#featured-destinations:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(200, 162, 124, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Modern Featured Destinations Section */
.featured-destinations {
  padding: 100px 0;
  background-color: #f9f7f4;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background-color: rgba(200, 162, 124, 0.2);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif !important;
}

.section-title {
  font-size: 2.8rem;
  color: var(--text-color-dark);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-color-light);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.hero-subtitle {
  font-weight: 400;
  letter-spacing: 3px;
}

/* Destination Cards Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Enhanced destination card image handling with object-fit */
.destination-image {
  position: relative;
  height: 280px; /* Standardized height for ALL cards */
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

/* Remove the special height for featured cards */
.destination-card.featured .destination-image {
  height: 280px; /* Same height as regular cards */
}

/* Ensure these rules apply everywhere */
.destinations-grid .destination-image,
.destinations-grid .destination-card.featured .destination-image,
#featured-destinations .destination-image,
#featured-destinations .destination-card.featured .destination-image {
  height: 280px;
}

/* Remove any special grid positioning */
.destination-card.featured {
  grid-column: auto;
  grid-row: auto;
}

/* Keep the badge and other styling */
.destination-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

/* Ensure responsive consistency */
@media (max-width: 992px) {
  .destination-image,
  .destination-card.featured .destination-image,
  #featured-destinations .destination-image,
  #featured-destinations .destination-card.featured .destination-image {
    height: 260px; /* Consistent height on tablets */
  }
}

@media (max-width: 768px) {
  .destination-image,
  .destination-card.featured .destination-image,
  #featured-destinations .destination-image,
  #featured-destinations .destination-card.featured .destination-image {
    height: 220px; /* Consistent height on mobile */
  }
}

@media (max-width: 576px) {
  .destination-image,
  .destination-card.featured .destination-image,
  #featured-destinations .destination-image,
  #featured-destinations .destination-card.featured .destination-image {
    height: 180px; /* Consistent height on small screens */
  }
}

/* Specific image positioning for each destination */
.destination-image img[src*='serengeti2'] {
  object-position: center 30%; /* Focus on wildlife and landscape */
}

.destination-image img[src*='capetown'] {
  object-position: center 40%; /* Focus on Table Mountain view */
}

.destination-image img[src*='zanzibar'] {
  object-position: center 50%; /* Focus on beaches */
}

/* Specific image positioning for gorilla trekking */
.destination-image img[src*='gorilla'] {
  object-position: center 30%; /* Focus on gorilla faces and features */
}

/* Ensure overlay properly covers the entire image area */
.destination-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Create hover effect for image zoom */
.destination-card:hover .destination-image img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .destination-image {
    height: 260px; /* More consistent height on tablets */
  }
}

@media (max-width: 768px) {
  .destination-image {
    height: 220px; /* Slightly smaller on mobile */
  }
}

@media (max-width: 576px) {
  .destination-image {
    height: 180px; /* Even smaller on very small screens */
  }
  
  .destination-badge {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* Remove any duplicate styling that might cause conflicts */
.destinations-grid .destination-image {
  height: 280px;
}

.destinations-grid .destination-card.featured .destination-image {
  height: 280px;
}

/* Ensure consistent styling between different sections */
#featured-destinations .destination-image img,
.destination-grid .destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ensure consistent overlay positioning */
.destination-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Add hover animation for images */
.destination-card:hover .destination-image img {
  transform: scale(1.05); 
}

/* Make sure all media queries use the same values */
@media (max-width: 992px) {
  .destination-image,
  .destination-card.featured .destination-image,
  #featured-destinations .destination-image,
  #featured-destinations .destination-card.featured .destination-image {
    height: 260px; /* Same height on tablets */
  }
}

@media (max-width: 767px) {
  .destination-image,
  .destination-card.featured .destination-image,
  #featured-destinations .destination-image,
  #featured-destinations .destination-card.featured .destination-image {
    height: 220px; /* Slightly smaller on mobile */
  }
}

@media (max-width: 576px) {
  .destination-image,
  .destination-card.featured .destination-image,
  #featured-destinations .destination-image,
  #featured-destinations .destination-card.featured .destination-image {
    height: 180px; /* Even smaller on very small screens */
  }
}

/* Ensure image container maintains consistency */
.destination-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.destination-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Modern destination card styling */
.destination-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.destination-card.featured {
  grid-column: auto;
  grid-row: auto;
}

.destination-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.destination-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: white;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.destination-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.destination-title {
  font-size: 1.4rem;
  color: var(--text-color-dark);
  margin-bottom: 12px;
  font-weight: 600;
  position: relative;
}

.destination-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #777;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.destination-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.destination-meta i {
  color: var(--secondary-color);
}

.destination-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color-light);
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 400;
}

.destination-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  background-color: #f1f1f1;
  color: #666;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.destination-card:hover .feature-tag {
  background-color: rgba(200, 162, 124, 0.15);
  color: var(--secondary-color);
}

.destination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  width: 100%;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.destination-btn i {
  transition: transform 0.3s ease;
}

.destination-card:hover .destination-btn {
  background-color: var(--secondary-color);
  color: white;
}

.destination-card:hover .destination-btn i {
  transform: translateX(5px);
}

/* View All button */
.view-all-btn {
  margin-top: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 1rem;
  background-color: var(--secondary-color);
  border: none;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background-color: #b68e61;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(182, 142, 97, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination-card.featured {
    grid-column: span 1;
  }
}

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

  .destination-card.featured {
    grid-row: span 1;
  }

  .destination-card.featured .destination-image {
    height: 220px;
  }

  .featured-destinations {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* Card styles */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.destination-card {
  background: rgba(18, 18, 18, 0.6);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(200, 162, 124, 0.15);
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(200, 162, 124, 0.3);
}

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

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

.destination-card:hover .destination-image img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.destination-meta {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.9rem;
}

.destination-rating {
  color: var(--secondary-color);
}

.destination-content {
  padding: 25px;
}

.destination-location {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.destination-desc {
  margin-bottom: 1.5rem;
  color: var(--gray-color);
}

/* Tabs styling */
.tab-container {
  margin-top: 40px;
}

.tab-header {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  color: var(--gray-color);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif !important;
}

.tab-button:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.tab-button:hover,
.tab-button.active {
  color: var(--secondary-color);
}

.tab-button.active:after {
  width: 100%;
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

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

/* Enhanced Footer Styling */
.footer {
  background-color: var(--dark-color);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right bottom,
    rgba(14, 26, 45, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Create subtle decorative elements */
.footer:after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 162, 124, 0.08) 0%,
    transparent 70%
  );
  z-index: 0;
}

.footer-accent {
  height: 5px;
  background: linear-gradient(
    to right,
    var(--dark-navy),
    var(--secondary-color),
    var(--dark-brown)
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  color: white;
  font-family: 'Montserrat', sans-serif !important;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

/* Enhanced brand column */
.footer-logo {
  margin-bottom: 20px;
  max-width: 180px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  filter: brightness(1.05);
}

.footer-desc {
  color: var(--gray-color);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Enhanced social links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--gray-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-links a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.social-links a:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(200, 162, 124, 0.3);
}

.social-links a:hover:before {
  transform: scale(1);
}

/* Enhanced footer links */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a {
  color: var(--gray-color);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  font-size: 0.95rem;
  display: inline-block;
  font-family: 'Montserrat', sans-serif !important;
}

.footer-links a:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

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

.footer-links a:hover:before {
  width: 100%;
}

/* Enhanced contact info */
.contact-info p {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  color: var(--gray-color);
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif !important;
}

.contact-info i {
  margin-right: 12px;
  color: var(--secondary-color);
  font-size: 1rem;
  margin-top: 3px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  margin-top: 15px;
}

/* Enhanced footer bottom */
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.copyright {
  color: var(--gray-color);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif !important;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal a {
  color: var(--gray-color);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Montserrat', sans-serif !important;
}

.footer-legal a:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

.footer-legal a:hover:before {
  width: 100%;
}

/* Responsive footer adjustments */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }

  .brand-col {
    grid-column: 1 / -1;
  }

  .footer-logo {
    margin: 0 auto 20px;
  }

  .footer-desc {
    text-align: center;
    max-width: 80%;
    margin: 0 auto 25px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }

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

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-col h3 {
    text-align: center;
  }

  .footer-col h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .contact-info p {
    justify-content: center;
  }

  .contact-info p i {
    margin-top: 5px;
  }

  .footer-col:last-child a.btn-outline-secondary {
    display: block;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-desc {
    max-width: 100%;
  }
}

/* Testimonial section styling */
.testimonials {
  background-color: var(--dark-color);
  padding: 120px 0;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: var(--dark-navy);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.quote-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.5;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--secondary-color);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.author-info p {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;

}

.prev-btn,
.next-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--secondary-color);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

/* Remove Newsletter Section Styles */
.newsletter.dark-section {
  display: none; /* Hide the newsletter section */
}

.newsletter-content {
  display: none;
}

.newsletter-form {
  display: none;
}

.form-group {
  display: none;
}

.form-consent {
  display: none;
}

/* Remove Take Wilder Destinations With You section */
.wilder-destinations-app {
  display: none; /* Hide the entire section */
}

.app-section {
  display: none; /* Alternative class name that might be used */
}

.mobile-app-section {
  display: none; /* Another possible class name */
}

.app-features {
  display: none;
}

.app-download {
  display: none;
}

.app-badges {
  display: none;
}

.app-screenshots {
  display: none;
}

.app-content {
  display: none;
}

.app-image {
  display: none;
}

/* Simplified Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hide the hero text content */
.hero-text-content {
  display: none;
}

/* Hide the hero CTA button */
.hero-cta {
  display: none;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero bottom bar with horizontal line and text */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
  border-top: 1px solid rgba(200, 162, 124, 0.3);
}

.hero-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hero-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(200, 162, 124, 0.7),
    rgba(255, 255, 255, 0.5),
    rgba(200, 162, 124, 0.7)
  );
  transform: translateY(-50%);
  z-index: -1;
}

.hero-brand {
  background-color: rgba(14, 26, 45, 0.7);
  padding: 0 20px;
  color: var(--secondary-color);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  max-width: 20%;
}

.hero-brand:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--secondary-color);
}

.hero-about {
  background-color: rgba(14, 26, 45, 0.7);
  padding: 0 20px;
  position: relative;
  z-index: 1;
  max-width: 50%;
}

.hero-about-content {
  display: flex;
  flex-direction: column;
}

.hero-about-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-about a {
  color: var(--secondary-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  align-self: flex-end;
}

.hero-about a:hover {
  color: white;
}

.hero-about a .arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero-about a:hover .arrow {
  transform: translateX(5px);
}

/* Adjust separator since we now have a bottom bar */
.hero-separator {
  display: none; /* Hide the previous separator since we have the new bar */
}

.hero:after {
  display: none; /* Hide the after element line since we have the new bar */
}

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

.hero-cta {
  display: flex;
  justify-content: center;
  animation: fadeIn 1.5s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.btn-hero-primary {
  background: linear-gradient(to right, var(--secondary-color), #d4ae87);
  color: white;
  border: none;
  font-weight: 600;
  padding: 20px 48px;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(200, 162, 124, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(200, 162, 124, 0.6);
}

.btn-hero-primary:hover:before {
  transform: translateX(100%);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-icon {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.5s ease;
}

.btn-hero-primary:hover .btn-icon {
  transform: rotate(90deg);
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 5rem;
  }

  .hero-welcome {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }

  .hero-text-content h1 > span:last-child {
    font-size: 3.8rem;
  }

  .hero-bottom-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-brand,
  .hero-about {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .hero-about-content {
    align-items: center;
  }

  .hero-about a {
    align-self: center;
  }

  .hero-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-welcome {
    font-size: 1.1rem;
    letter-spacing: 3px;
  }

  .hero-text-content h1 > span:last-child {
    font-size: 2.8rem;
  }

  .btn-hero-primary {
    padding: 16px 32px;
    font-size: 1.1rem;
  }

  .hero-bottom-content {
    flex-direction: column;
    gap: 15px;
  }

  .hero-line {
    display: none;
  }

  .hero-brand,
  .hero-about {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .hero-brand:before {
    display: none;
  }

  .hero-about a {
    justify-content: center;
  }

  .hero-about-content p br {
    display: none; /* Remove line breaks on mobile for better flow */
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .hero-welcome {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .hero-text-content h1 > span:last-child {
    font-size: 2.2rem;
  }

  .btn-hero-primary {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Search bar */
.hero-search.sophisticated {
  background: rgba(14, 26, 45, 0.8);
  border: 1px solid rgba(200, 162, 124, 0.2);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.search-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
}

.search-item {
  position: relative;
}

.search-item label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* Transparent Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: linear-gradient(
    to right,
    rgba(42, 30, 23, 0.9),
    rgba(14, 26, 45, 0.9)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(200, 162, 124, 0.2);
}

.header.scrolled:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(200, 162, 124, 0.7),
    transparent
  );
  opacity: 0.5;
}

/* Header brand text styling with logo color matching */
.header-brand {
  display: flex;
  align-items: center;
  margin: 0 auto 0 2rem; /* Center between logo and menu toggle */
}

.header-brand h2 {
  color: var(
    --secondary-color
  ); /* Match the desert brown color from the logo */
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  font-family: 'Montserrat', sans-serif !important;
  position: relative;
  transition: var(--transition);
  background: linear-gradient(to right, var(--secondary-color), #d4ae87);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.header-brand h2:before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-color), #d4ae87);
  transition: width 0.3s ease;
  opacity: 0.7;
}

.header-brand h2:hover:before {
  width: 100%;
  opacity: 1;
}

/* Update header container to accommodate the brand text */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
}

/* Adjust logo size to balance with brand text */
.logo {
  flex-shrink: 0;
  margin-right: 1rem;
}

/* Make circular menu toggle more compact */
.circular-menu-toggle {
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .header-brand h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .header-brand {
    margin: 0 auto 0 1rem;
  }

  .header-brand h2 {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .header-brand {
    display: none; /* Hide on very small screens */
  }
}

/* Improved header layout with proper alignment */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
}

/* Enhanced logo styling with increased size */
.logo {
  height: auto; /* Remove fixed height */
  margin-left: 0;
  position: relative;
  z-index: 1001; /* Same as menu toggle to remain visible */
}

.logo img {
  height: auto;
  width: 100%; /* Full width */
  max-height: 100px; /* Limit maximum height if needed */
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
  transition: var(--transition);
}

/* When scrolled, slightly reduce the logo size */
.header.scrolled .logo img {
  max-height: 80px; /* Slightly smaller when scrolled */
}

/* Add stylish background effect for better visibility */
.logo:before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    135deg,
    rgba(200, 162, 124, 0.2),
    rgba(14, 26, 45, 0.2)
  );
  border-radius: var(--border-radius);
  z-index: -1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: var(--transition);
}

.header.scrolled .logo:before {
  opacity: 1;
}

.main-nav {
  display: none; /* Hide the default navigation */
}

.circular-menu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
  z-index: 1001;
}

.circular-menu-toggle:hover {
  background: rgba(200, 162, 124, 0.2);
}

.circular-menu-toggle .line {
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.circular-menu-toggle .line:nth-child(1) {
  transform: translateY(-8px);
}

.circular-menu-toggle .line:nth-child(2) {
  transform: translateY(-2px);
}

.circular-menu-toggle .line:nth-child(3) {
  transform: translateY(4px);
}

.circular-menu-toggle .line:nth-child(4) {
  transform: translateY(10px);
}

/* Active/Open state */
.circular-menu-toggle.active {
  background: rgba(200, 162, 124, 0.3);
}

.circular-menu-toggle.active .line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.circular-menu-toggle.active .line:nth-child(2),
.circular-menu-toggle.active .line:nth-child(3) {
  opacity: 0;
}

.circular-menu-toggle.active .line:nth-child(4) {
  transform: translateY(0) rotate(-45deg);
}

/* Fullscreen Menu */
.fullscreen-menu {
  position: fixed;
  top: 0;
  right: -380px; /* Start off-screen */
  width: 380px;
  height: 100vh;
  background: rgba(42, 30, 23, 0.95); /* Transparent dark brown */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.fullscreen-menu.open {
  right: 0;
}

.fullscreen-menu:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(42, 30, 23, 0.8) 0%,
    rgba(14, 26, 45, 0.6) 100%
  );
  z-index: -1;
}

.fullscreen-menu-content {
  padding: 120px 40px 60px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.4s ease;
  transition-delay: 0.1s;
}

.fullscreen-menu.open .fullscreen-menu-content {
  opacity: 1;
  transform: translateX(0);
}

/* Fix dropdown menu styling */
.fullscreen-menu-nav {
  margin-bottom: 2rem;
}

.fullscreen-menu-nav > ul > li {
  margin-bottom: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fullscreen-menu.open .fullscreen-menu-nav > ul > li {
  opacity: 1;
  transform: translateX(0);
}

.fullscreen-menu-nav > ul > li:nth-child(1) {
  transition-delay: 0.1s;
}
}
.fullscreen-menu-nav > ul > li:nth-child(3) {
  transition-delay: 0.2s;
}
.fullscreen-menu-nav > ul > li:nth-child(4) {
  transition-delay: 0.25s;
}
.fullscreen-menu-nav > ul > li:nth-child(5) {
  transition-delay: 0.3s;
}

.fullscreen-menu-nav > ul > li > a {
  font-size: 1.6rem;
  color: white;
  font-family: 'Montserrat', sans-serif !important;
  position: relative;
  display: block;
  padding: 0.5rem 0;
}

.fullscreen-menu-nav > ul > li > a:hover {
  color: var(--secondary-color);
}

/* Fixed dropdown toggle icon */
.dropdown-toggle-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 2;
}

.dropdown-toggle-icon:before,
.dropdown-toggle-icon:after {
  content: '';
  position: absolute;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.dropdown-toggle-icon:before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dropdown-toggle-icon:after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dropdown-toggle-icon.active:after {
  opacity: 0;
}

/* Fixed submenu styling */
.submenu {
  padding-left: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  margin-top: 0.5rem;
}

.submenu.open {
  max-height: 300px;
}

.submenu li {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
}

.submenu.open li {
  opacity: 1;
  transform: translateY(0);
}

.submenu.open li:nth-child(1) {
  transition-delay: 0.1s;
}
.submenu.open li:nth-child(2) {
  transition-delay: 0.15s;
}
.submenu.open li:nth-child(3) {
  transition-delay: 0.2s;
}
.submenu.open li:nth-child(4) {
  transition-delay: 0.25s;
}
.submenu.open li:nth-child(5) {
  transition-delay: 0.3s;
}

.submenu a {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
  padding: 0.3rem 0;
  font-family: 'Montserrat', sans-serif !important;
}

.submenu a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Responsive fixes */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-col {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-col h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

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

  .contact-info p {
    justify-content: center;
  }

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

  .section {
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial {
    padding: 30px 20px;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .form-group {
    flex-direction: column;
  }

  .tab-header {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .tab-button {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Enhanced Experience Cards */
.experiences.dark-section {
  background-color: var(--dark-navy);
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.experiences.dark-section:before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 162, 124, 0.15) 0%,
    transparent 70%
  );
}

.experiences.dark-section:after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 162, 124, 0.15) 0%,
    transparent 70%
  );
}

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

.experience-card {
  background-color: rgba(18, 18, 18, 0.6);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(200, 162, 124, 0.3);
}

.experience-card.elevated {
  background-color: rgba(42, 30, 23, 0.6);
}

.card-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    transparent 70%,
    rgba(200, 162, 124, 0.15)
  );
  z-index: 1;
}

.experience-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.experience-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
}

/* Image specific positioning */
.experience-image img[src*='serengeti.jpg'] {
  object-position: center 30%;
}

.experience-image img[src*='zanzibar.jpg'] {
  object-position: center 40%;
}

.experience-image img[src*='marrakech.avif'] {
  object-position: center 20%;
}

.experience-image img[src*='capetown.avif'] {
  object-position: center 30%;
}

.experience-card:hover .experience-image img {
  transform: scale(1.1);
}

.experience-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 2;
}

.experience-content {
  padding: 25px;
  position: relative;
  z-index: 3;
}

.experience-content h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 10px;
  position: relative;
  font-family: 'Montserrat', sans-serif !important;
}

.experience-content h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.experience-content p {
  color: var(--gray-color);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif !important;
}

.experience-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.experience-meta span {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.experience-meta i {
  color: var(--secondary-color);
  margin-right: 6px;
}

.btn-text {
  color: var(--secondary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-text i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-text:hover {
  color: white;
}

.btn-text:hover i {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .experience-image {
    height: 180px;
  }

  .tab-button {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .experience-image {
    height: 160px;
  }
}

/* We Are Explorers Section */
.explorers-section {
  background-color: var(--dark-color);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.explorers-section:before {
  content: '';
  position: absolute;
  top: 50px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 162, 124, 0.08) 0%,
    transparent 70%
  );
  z-index: 0;
}

.explorers-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.explorers-text {
  padding-right: 20px;
}

.explorers-text h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  color: white;
  line-height: 1.2;
}

.explorers-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-color);
  margin-bottom: 40px;
}

.explorer-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.explorer-feature {
  display: flex;
  gap: 15px;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(200, 162, 124, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 5px;
}

.feature-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: white;
  font-family: 'Montserrat', sans-serif !important;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-color);
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif !important;
}

.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-secondary i {
  transition: transform 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-outline-secondary:hover i {
  transform: translateX(5px);
}

.explorers-image {
  position: relative;
}

.explorers-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(200, 162, 124, 0.2);
  object-fit: cover;
  height: 500px;
}

.image-badge {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: var(--secondary-color);
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge-number {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.badge-text {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .explorer-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .explorers-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .explorers-text {
    padding-right: 0;
  }

  .explorers-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .explorers-section {
    padding: 80px 0;
  }

  .explorers-text h2 {
    font-size: 2.3rem;
  }

  .image-badge {
    left: 0;
    bottom: 20px;
    padding: 15px;
    width: 140px;
  }

  .badge-number {
    font-size: 2.2rem;
  }

  .badge-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .explorer-feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .feature-icon {
    margin-bottom: 5px;
  }

  .explorers-image img {
    height: 400px;
  }
}

/* Simple CTA Section */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
    url('images/cta-background.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 30, 23, 0.8) 0%,
    rgba(14, 26, 45, 0.8) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid white;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--dark-navy);
}

.btn-outline-light i,
.btn-primary i {
  transition: transform 0.3s ease;
}

.btn-outline-light:hover i,
.btn-primary:hover i {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section {
    padding: 80px 0;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-outline-light {
    width: 100%;
    justify-content: center;
  }
}

/* Darker video overlay */
.overlay.darker-overlay {
  background-color: rgba(0, 0, 0, 0.7); /* Increased opacity from default */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Updated Inner Hero Styling */
.inner-hero {
  height: 70vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01); /* Slight scale to prevent edge artifacts */
  image-rendering: -webkit-optimize-contrast; /* Better rendering in webkit browsers */
  backface-visibility: hidden; /* Prevent blurry text during animations */
  -webkit-font-smoothing: subpixel-antialiased; /* Improve text rendering */
  -webkit-transform: translateZ(0); /* Force GPU acceleration */
  will-change: transform; /* Hint to the browser about properties that will change */
  max-width: none; /* Prevent image constraints */
}

.hero-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.7)
  );
  backdrop-filter: blur(0px); /* Remove any blur effect from the overlay */
}

/* Updated positioning for the inner hero content on experiences.html */
.inner-hero-content.split-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Left side (Immerse Yourself text) */
.hero-left {
  flex: 0 0 auto;
  max-width: 400px;
  padding-left: 50px;
}

.hero-brand {
  text-align: left;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-left: 3px solid var(--secondary-color);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Center button positioning */
.hero-center {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  z-index: 10;
}

/* Right side (Discover extraordinary text) */
.hero-right {
  flex: 0 0 auto;
  max-width: 400px;
  padding-right: 50px;
}

.hero-description {
  text-align: right;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-right: 3px solid var(--secondary-color);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Text styling */
.hero-subtitle {
  display: block;
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

.hero-brand h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.hero-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

/* Button styling */
.quote-btn {
  background-color: var(--secondary-color);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.quote-btn:hover {
  background-color: #d4ae7c;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero-left, .hero-right {
    max-width: 350px;
  }
  
  .hero-left {
    padding-left: 40px;
  }
  
  .hero-right {
    padding-right: 40px;
  }
}

@media (max-width: 992px) {
  .inner-hero-content.split-content {
    bottom: 50px;
  }
  
  .hero-left {
    padding-left: 30px;
    max-width: 300px;
  }
  
  .hero-right {
    padding-right: 30px;
    max-width: 300px;
  }
  
  .hero-brand h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-description p {
    font-size: 0.9rem;
  }
  
  .hero-center {
    bottom: 130px;
  }
  
  .quote-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .inner-hero-content.split-content {
    flex-direction: column;
    align-items: center;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
  }
  
  .hero-left, .hero-right {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 100px;
  }
  
  .hero-right {
    margin-bottom: 0;
  }
  
  .hero-brand, .hero-description {
    text-align: center;
    border: none;
    border-bottom: 3px solid var(--secondary-color);
  }
  
  .hero-center {
    position: static;
    transform: none;
    margin: 40px 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .quote-btn {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .hero-brand h1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
  }
  
  .hero-description p {
    font-size: 0.8rem;
  }
  
  .quote-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Hero Side Text Styling */
.hero-side-text {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  bottom: 120px; /* Position above the destination navigation */
}

.hero-side-text-left {
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-side-text-right {
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-accent-word {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 3px;
  line-height: 1.8;
  position: relative;
  padding-left: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-accent-word:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background-color: var(--secondary-color);
  box-shadow: 0 0 5px rgba(200, 162, 124, 0.7);
  transition: width 0.3s ease;
}

.hero-accent-word:hover {
  transform: translateX(5px);
  color: var(--secondary-color);
}

.hero-accent-word:hover:before {
  width: 15px;
}

.hero-vertical-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3.5rem;
  letter-spacing: 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  color: var(--secondary-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.hero-year:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  box-shadow: 0 0 5px rgba(200, 162, 124, 0.7);
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-side-text {
    bottom: 100px;
  }
  
  .hero-side-text-left {
    left: 20px;
  }
  
  .hero-side-text-right {
    right: 20px;
  }
  
  .hero-accent-word {
    font-size: 1rem;
  }
  
  .hero-vertical-text {
    font-size: 2.5rem;
  }
  
  .hero-year {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-side-text {
    bottom: 90px;
  }
  
  .hero-accent-word {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
  
  .hero-vertical-text {
    font-size: 2rem;
    letter-spacing: 5px;
  }
  
  .hero-year {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero-side-text-left {
    left: 15px;
    bottom: 80px;
  }
  
  .hero-side-text-right {
    right: 15px;
    bottom: 80px;
  }
  
  .hero-accent-word {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  
  .hero-vertical-text {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }
  
  .hero-year {
    font-size: 1.5rem;
  }
}

/* Hero Corner Text Elements */
.hero-corner-text {
  position: absolute;
  bottom: 50px;
  color: white;
  display: flex;
  flex-direction: column;
  line-height: 1;
  z-index: 3;
  opacity: 0.9;
}

.hero-corner-text.left {
  left: 50px;
  text-align: left;
  border-left: 3px solid var(--secondary-color);
  padding-left: 15px;
}

.hero-corner-text.right {
  right: 50px;
  text-align: right;
  border-right: 3px solid var(--secondary-color);
  padding-right: 15px;
}

.corner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.corner-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-corner-text {
    bottom: 30px;
  }
  
  .hero-corner-text.left {
    left: 20px;
  }
  
  .hero-corner-text.right {
    right: 20px;
  }
  
  .corner-title {
    font-size: 1.4rem;
  }
  
  .corner-subtitle {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .hero-corner-text {
    display: none;
  }
}

/* Modern Tour Card Styling - Improved Readability */
.tour-packages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.tour-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto; /* Let content determine height */
  max-height: none; /* Remove max-height limitation */
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tour-card.featured {
  border: 1px solid var(--secondary-color);
}

.tour-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: var(--secondary-color);
  z-index: 2;
}

/* Consistent Tour Card Image Styling */
.tour-image {
  position: relative;
  height: 200px !important; /* Force consistent height */
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  line-height: 0; /* Remove any whitespace */
  display: block; /* Consistent display */
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove any padding */
}

/* Force consistent image size and behavior */
.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block; /* Ensure consistent display */
  margin: 0; /* Remove any margin */
}

/* Remove any special styling for featured cards */
.tour-card.featured .tour-image {
  height: 200px !important; /* Same as regular cards */
}

/* Ensure all tour card containers have the same height properties */
#east-africa .tour-image,
#southern-africa .tour-image,
#north-africa .tour-image,
.destination-section .tour-image,
.tour-packages .tour-image {
  height: 200px !important;
}

/* Override any media query changes to maintain consistency */
@media (max-width: 992px) {
  .tour-image,
  .tour-card.featured .tour-image,
  #east-africa .tour-image,
  #southern-africa .tour-image,
  #north-africa .tour-image {
    height: 200px !important;
  }
}

@media (max-width: 768px) {
  .tour-image,
  .tour-card.featured .tour-image,
  #east-africa .tour-image,
  #southern-africa .tour-image,
  #north-africa .tour-image {
    height: 200px !important;
  }
}

@media (max-width: 576px) {
  .tour-image,
  .tour-card.featured .tour-image,
  #east-africa .tour-image,
  #southern-africa .tour-image,
  #north-africa .tour-image {
    height: 200px !important;
  }
}

/* Ensure consistent padding in card content */
.tour-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Remove any special treatment in featured cards except minimal border */
.tour-card.featured {
  border: 1px solid var(--secondary-color);
}

/* Ensure consistent text heights */
.tour-description {
  margin-bottom: 15px;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
  height: 4.8rem; /* Force consistent height - 3 lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

/* Ensure consistent spacing for features */
.tour-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  min-height: 32px; /* Ensure consistent height even if empty */
}

/* Tour Card Image Consistency Improvements */
.tour-image img[src*='gorilla'] {
  object-position: center 30%; /* Focus on gorilla faces */
}

.tour-image img[src*='nyungwe'] {
  object-position: center 40%; /* Focus on forest canopy */
}

.tour-image img[src*='serengeti'], 
.tour-image img[src*='safari'] {
  object-position: center 25%; /* Focus on wildlife and savanna */
}

.tour-image img[src*='zanzibar'] {
  object-position: bottom center; /* Focus on beach and water */
}

.tour-image img[src*='capetown'] {
  object-position: center 40%; /* Focus on city and mountain */
}

.tour-image img[src*='masaimara'] {
  object-position: center 35%; /* Focus on wildlife */
}

.tour-image img[src*='cultural'],
.tour-image img[src*='massai'] {
  object-position: center 30%; /* Focus on people and cultural elements */
}

/* Consistent hover effect */
.tour-card:hover .tour-image img {
  transform: scale(1.05);
  will-change: transform; /* Optimize performance */
}

/* Card - Image connection consistency */
.tour-image,
.tour-card.featured .tour-image,
#east-africa .tour-image,
#southern-africa .tour-image,
#north-africa .tour-image {
  height: 200px;
}

/* Ensure consistency across sections */
.destination-section .tour-image,
.tour-packages .tour-image {
  height: 200px;
}

/* Responsive adjustments to maintain consistency */
@media (max-width: 992px) {
  .tour-image,
  .tour-card.featured .tour-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .tour-image,
  .tour-card.featured .tour-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .tour-image,
  .tour-card.featured .tour-image {
    height: 200px; /* Larger on mobile for better visibility */
  }
}

/* Ensure image quality */
.tour-image img {
  -webkit-backface-visibility: hidden; /* Prevent blurry images during transitions */
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1.0, 1.0); /* Force GPU rendering */
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast; /* Improve image clarity */
}

.tour-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.tour-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary-color);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

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

.tour-header {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
}

.tour-header h4 {
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.3;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
  max-width: 75%;
}

.tour-card:hover .tour-header h4 {
  color: var(--secondary-color);
}

.tour-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.stars {
  color: #ffa41b;
  font-size: 0.8rem;
}

.rating-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: #555;
}

.tour-details {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
}

.tour-details span {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #555;
  white-space: nowrap;
}

.tour-details i {
  margin-right: 6px;
  color: var(--secondary-color);
  font-size: 0.75rem;
}

.tour-description {
  margin-bottom: 15px;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
  /* Allow text to be visible but limit height */
  max-height: 4.8rem; /* 3 lines × 1.6 line height */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.tour-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.feature {
  background-color: #f5f5f5;
  color: #444;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.feature:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tour-price {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
}

.price-info {
  font-size: 0.7rem;
  color: #777;
}

.tour-card .btn {
  padding: 8px 15px;
  font-size: 0.8rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.tour-card .btn:hover {
  background-color: #b68e61;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(182, 142, 97, 0.3);
}

/* Destination Category Styling */
.destination-category {
  margin-bottom: 60px;
}

.destination-category h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
  display: inline-block;
}

.destination-category h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  height: 25px;
  width: 5px;
  background: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .tour-packages {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .tour-packages {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .tour-header h4 {
    font-size: 1.1rem;
  }
  
  .tour-image {
    height: 200px;
  }
  
  .tour-content {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .tour-packages {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .tour-description {
    -webkit-line-clamp: 2; /* Limit to 2 lines on smaller screens */
    max-height: 3.2rem;
  }
  
  .tour-features {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .feature {
    padding: 4px 8px;
    font-size: 0.65rem;
  }
}

@media (max-width: 576px) {
  .tour-packages {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tour-image {
    height: 200px;
  }
  
  .tour-card {
    max-height: none;
  }
  
  .tour-description {
    max-height: none;
    -webkit-line-clamp: 3;
  }
  
  .tour-details {
    flex-wrap: wrap;
  }
}

/* Card Loading Animation */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tour-card {
  animation: cardFadeIn 0.5s ease forwards;
  opacity: 0;
}

.tour-card:nth-child(1) {
  animation-delay: 0.1s;
}
.tour-card:nth-child(2) {
  animation-delay: 0.2s;
}
.tour-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Tour Modal Styling Fixes */
.modal-overlay, 
#destination-modal-overlay, 
#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active, 
#destination-modal-overlay.active, 
#modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tour-modal, 
.destination-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  background: linear-gradient(145deg, rgba(14, 26, 45, 0.98), rgba(14, 26, 45, 0.95));
  border: 1px solid rgba(200, 162, 124, 0.2);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tour-modal.active, 
.destination-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.tour-modal-header,
.destination-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.5));
  border-bottom: 1px solid rgba(200, 162, 124, 0.3);
  padding: 22px 30px;
}

.tour-modal-header h3,
.destination-modal-header h3 {
  margin: 0;
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.modal-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(200, 162, 124, 0.1);
  transition: all 0.3s ease;
  color: var(--gray-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  background-color: rgba(200, 162, 124, 0.3);
  transform: rotate(90deg);
}

.tour-modal-body,
.destination-modal-body {
  display: flex;
  flex-direction: column;
  max-height: calc(90vh - 70px);
  overflow-y: auto;
}

.destination-modal-image,
.modal-image-carousel {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(200, 162, 124, 0.2);
}

.destination-modal-image img,
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide {
  position: relative;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

.destination-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
}

.destination-modal-content,
.modal-tour-info {
  padding: 30px;
}

.destination-modal-meta,
.modal-tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.destination-modal-meta span,
.modal-tour-meta span {
  display: flex;
  align-items: center;
  color: var(--gray-color);
  font-size: 0.95rem;
}

.destination-modal-meta i,
.modal-tour-meta i {
  margin-right: 8px;
  color: var(--secondary-color);
}

.destination-modal-description,
.modal-description {
  color: var(--light-color);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.destination-modal-features h4,
.destination-modal-packages h4,
.destination-modal-booking h4,
.tab-pane h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.tab-pane h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
  margin-top: 8px;
}

.feature-tags,
.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.feature-tag {
  padding: 8px 15px;
  background-color: rgba(200, 162, 124, 0.15);
  color: var(--secondary-color);
  border-radius: 30px;
  font-size: 0.9rem;
}

.modal-tabs {
  background: rgba(18, 26, 36, 0.6);
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 25px;
  border: 1px solid rgba(200, 162, 124, 0.15);
}

.modal-tab {
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.modal-tab.active {
  background-color: rgba(200, 162, 124, 0.2);
  color: var(--secondary-color);
}

.modal-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.modal-package {
  background-color: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(200, 162, 124, 0.15);
  border-radius: 10px;
  padding: 20px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-package:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modal-package.featured {
  border: 1px solid var(--secondary-color);
}

.package-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background-color: var(--secondary-color);
  color: white;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
}

.package-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(200, 162, 124, 0.2);
}

.package-header h5 {
  font-size: 1.2rem;
  margin: 0;
  color: white;
  font-weight: 600;
}

.package-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--gray-color);
  font-size: 0.95rem;
}

.package-features li i {
  color: var(--secondary-color);
  margin-right: 10px;
}

.booking-form-simple {
  background-color: rgba(14, 26, 45, 0.6);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(200, 162, 124, 0.2);
}

.modal-booking-section {
  border-left: 1px solid rgba(200, 162, 124, 0.2);
  background: linear-gradient(to bottom, rgba(14, 23, 36, 0.95), rgba(10, 15, 25, 0.95));
}

.booking-price {
  background: rgba(200, 162, 124, 0.1);
  padding: 15px;
  border-radius: 10px;
  border: 1px dashed rgba(200, 162, 124, 0.3);
  margin-bottom: 25px;
}

.price-amount {
  font-size: 2rem;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-color);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 162, 124, 0.25);
  border-radius: 6px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(200, 162, 124, 0.1);
  border-color: var(--secondary-color);
}

.btn-block {
  width: 100%;
}

.btn-book-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, #c8a27c, #a67c52);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-book-now:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #d2ab85, #b18a5e);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced itinerary timeline */
.itinerary-day {
  transition: transform 0.3s ease;
}

.itinerary-day:hover {
  transform: translateX(5px);
}

.day-number {
  border: 2px solid rgba(200, 162, 124, 0.5);
  background: linear-gradient(135deg, rgba(200, 162, 124, 0.3), rgba(200, 162, 124, 0.1));
}

/* Enhanced activities cards */
.activity-card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.7));
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(200, 162, 124, 0.4);
}

.activity-icon {
  background: linear-gradient(135deg, rgba(200, 162, 124, 0.25), rgba(200, 162, 124, 0.1));
  border: 2px solid rgba(200, 162, 124, 0.3);
}

/* Responsive styles for the modal */
@media (min-width: 992px) {
  .destination-modal-body,
  .tour-modal-body {
    flex-direction: row;
  }
  
  .destination-modal-image,
  .modal-image-carousel {
    width: 40%;
    height: auto;
  }
  
  .destination-modal-content,
  .modal-tour-info {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .modal-packages-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .destination-modal-header h3,
  .tour-modal-header h3 {
    font-size: 1.5rem;
  }
  
  .destination-modal-image,
  .modal-image-carousel {
    height: 200px;
  }
  
  .destination-modal-body,
  .tour-modal-body {
    overflow-y: auto;
  }
}

/* Hidden Tours Section */
.hidden-tours {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.hidden-tours.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show More Button */
.show-more-container {
  text-align: center;
  margin: 30px 0 50px;
}

.show-more-btn {
  padding: 12px 25px;
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.show-more-btn:hover {
  background-color: rgba(200, 162, 124, 0.1);
  transform: translateY(-3px);
}

.show-more-btn i {
  transition: transform 0.3s ease;
}

.show-more-btn.active i {
  transform: rotate(180deg);
}

.show-more-btn .hide-text {
  display: none;
}

.show-more-btn.active .show-text {
  display: none;
}

.show-more-btn.active .hide-text {
  display: inline;
}

/* Tour Modal Styling Improvements */
/* Add this to your CSS file or in a <style> tag in the head */

/* General modal improvements */
.tour-modal-content {
  background: #1a2533;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tab styling enhancements */
.modal-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.modal-tab {
  padding: 12px 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.modal-tab.active {
  color: var(--secondary-color);
}

.modal-tab.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px 3px 0 0;
}

/* Improved tab content area */
.tab-pane {
  padding: 10px 5px;
}

/* Overview tab improvements */
#tab-overview p {
  line-height: 1.7;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
}

.overview-section {
  margin-bottom: 30px;
}

.overview-section h4 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.overview-section h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

#overview-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

#overview-highlights li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

#overview-highlights li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 1rem;
  margin-top: 4px;
}

/* Itinerary tab improvements */
.itinerary-timeline {
  position: relative;
  padding-left: 30px;
}

.itinerary-timeline:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-color) 0%, rgba(200, 162, 124, 0.3) 100%);
}

.itinerary-day {
  position: relative;
  padding: 0 0 30px 30px;
}

.itinerary-day:last-child {
  padding-bottom: 0;
}

.day-number {
  position: absolute;
  left: -40px;
  top: 0;
  width: 30px;
  height: 30px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0d1620;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.8);
}

.day-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 3px solid var(--secondary-color);
}

.day-content h5 {
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.day-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Activities tab improvements */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.activity-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(200, 162, 124, 0.1);
  border-color: var(--secondary-color);
}

.activity-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(200, 162, 124, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.activity-icon i {
  font-size: 24px;
  color: var(--secondary-color);
}

.activity-card h5 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.activity-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Inclusions tab improvements */
.inclusions-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 15px;
}

.inclusions-section h4 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.included-items,
.excluded-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included-items li,
.excluded-items li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.included-items li i {
  color: var(--secondary-color);
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4px;
}

.excluded-items li i {
  color: #e74c3c;
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Booking section improvements */
.booking-section {
  background-color: rgba(17, 24, 39, 0.5);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 20px;
}

.booking-section h4 {
  color: var(--secondary-color);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.price-duration {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(200, 162, 124, 0.2);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* Enhanced book now button */
.btn-book-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--secondary-color), #b38b5a);
  color: #0d1620;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-book-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #d4b27c, var(--secondary-color));
}

.btn-book-now:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 162, 124, 0.4), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-book-now i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-book-now:hover i {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .inclusions-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .modal-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  
  .modal-tab {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .activities-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }
  
  .activity-icon {
    width: 45px;
    height: 45px;
  }
  
  .activity-icon i {
    font-size: 18px;
  }
}

/* Isolated Booking Form - Won't affect other site styles */
.eoa-booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.eoa-booking-modal.active {
  opacity: 1;
  visibility: visible;
}

.eoa-booking-container {
  width: 90%;
  max-width: 800px;
  background: linear-gradient(145deg, #1a2533 0%, #0d151e 100%);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(200, 162, 124, 0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.eoa-booking-modal.active .eoa-booking-container {
  transform: scale(1);
}

.eoa-booking-header {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px 25px;
  border-bottom: 1px solid rgba(200, 162, 124, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2;
}

.eoa-booking-header h3 {
  color: var(--secondary-color);
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.eoa-booking-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.eoa-booking-close:hover {
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.eoa-booking-body {
  padding: 30px;
}

.eoa-tour-summary {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.eoa-tour-details h4 {
  color: #fff;
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.eoa-details-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.eoa-detail-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.eoa-detail-item i {
  color: var(--secondary-color);
  margin-right: 8px;
}

.eoa-form-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eoa-form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.eoa-form-section h5 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
  font-weight: 600;
}

.eoa-form-section h5:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.eoa-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.eoa-form-group {
  flex: 1;
  margin-bottom: 15px;
}

.eoa-form-group label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.eoa-required {
  color: var(--secondary-color);
  margin-left: 3px;
}

.eoa-form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.eoa-form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(200, 162, 124, 0.2);
}

.eoa-payment-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.eoa-payment-option {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.eoa-payment-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.eoa-payment-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.eoa-payment-checkbox {
  height: 22px;
  width: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-right: 15px;
  position: relative;
  transition: all 0.2s ease;
}

.eoa-payment-option input:checked ~ .eoa-payment-checkbox {
  border-color: var(--secondary-color);
}

.eoa-payment-option input:checked ~ .eoa-payment-checkbox:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.eoa-payment-info {
  display: flex;
  flex-direction: column;
}

.eoa-payment-title {
  color: #fff;
  font-weight: 500;
  margin-bottom: 5px;
}

.eoa-payment-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.eoa-terms-container {
  margin-top: 10px;
}

.eoa-terms-label {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  user-select: none;
}

.eoa-terms-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.eoa-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: all 0.2s ease;
}

.eoa-terms-label:hover input ~ .eoa-checkmark {
  background-color: rgba(255, 255, 255, 0.1);
}

.eoa-terms-label input:checked ~ .eoa-checkmark {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.eoa-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.eoa-terms-label input:checked ~ .eoa-checkmark:after {
  display: block;
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.eoa-checkbox-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  font-size: 0.9rem;
}

.eoa-checkbox-text a {
  color: var(--secondary-color);
  text-decoration: none;
}

.eoa-checkbox-text a:hover {
  text-decoration: underline;
}

.eoa-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eoa-btn {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--secondary-color), #b38b5a);
  color: #0d1620;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.eoa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.eoa-btn i {
  margin-left: 10px;
}

.eoa-secure-payment {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 15px;
}

.eoa-secure-payment i {
  margin-right: 8px;
  color: var(--secondary-color);
}

/* Booking Confirmation Styling */
.eoa-confirmation {
  text-align: center;
  padding: 40px 30px;
}

.eoa-confirmation-icon {
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.eoa-confirmation h4 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.eoa-confirmation p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  line-height: 1.6;
}

.eoa-reference {
  background-color: rgba(200, 162, 124, 0.1);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(200, 162, 124, 0.2);
  margin: 25px 0;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.eoa-btn-close {
  padding: 14px 40px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary-color), #b38b5a);
  color: #0d1620;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

.eoa-btn-close i {
  margin-left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .eoa-form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .eoa-booking-container {
    width: 95%;
    max-height: 85vh;
  }
  
  .eoa-booking-body {
    padding: 20px 15px;
  }
  
  .eoa-tour-summary {
    padding: 15px;
  }
}

/* Add this responsive CSS to the head section */
@media (max-width: 991px) {
  /* Header responsive adjustments */
  .header-container {
    padding: 15px 20px;
  }
  
  .header-brand h2 {
    font-size: 1.2rem;
    margin-left: 10px;
  }
  
  .logo img {
    width: 40px;
    height: auto;
  }
  
  /* Ensure circular menu toggle is more visible */
  .circular-menu-toggle {
    display: flex;
    z-index: 110;
  }
  
  /* Fullscreen menu optimizations */
  .fullscreen-menu-content {
    padding: 20% 5% 5%;
  }
  
  .fullscreen-menu-nav ul li {
    margin-bottom: 20px;
  }
  
  .fullscreen-menu-nav ul li a {
    font-size: 24px;
  }
  
  /* Submenu adjustments */
  .fullscreen-menu-nav .submenu {
    position: relative;
    left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    border-radius: 8px;
  }
  
  .fullscreen-menu-nav .submenu.active {
    max-height: 300px;
    padding: 10px;
  }
  
  .fullscreen-menu-nav .submenu li {
    margin-bottom: 10px;
  }
  
  .fullscreen-menu-nav .submenu li a {
    font-size: 18px;
    padding: 8px 15px;
  }
  
  /* Menu CTA and social adjustments */
  .menu-cta {
    margin-top: 30px;
  }
  
  .menu-social {
    margin-top: 20px;
  }
  
  .menu-social a {
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  /* Even smaller screen adjustments */
  .header-brand h2 {
    font-size: 1rem;
  }
  
  .logo img {
    width: 32px;
  }
  
  .fullscreen-menu-content {
    padding-top: 25%;
  }
  
  .fullscreen-menu-nav ul li a {
    font-size: 20px;
  }
  
  .fullscreen-menu-nav .submenu li a {
    font-size: 16px;
  }
}

/* Add this JavaScript to handle submenu toggling on mobile */
document.addEventListener('DOMContentLoaded', function() {
  // Responsive submenu functionality
  const dropdownToggles = document.querySelectorAll('.dropdown-toggle-icon');
  
  dropdownToggles.forEach(toggle => {
    toggle.addEventListener('click', function(e) {
      e.preventDefault();
      e.stopPropagation();
      
      const submenu = this.nextElementSibling;
      if (submenu && submenu.classList.contains('submenu')) {
        submenu.classList.toggle('active');
        this.classList.toggle('active');
      }
    });
  });
  
  // Prevent parent links with submenus from navigating on mobile
  const parentLinks = document.querySelectorAll('.fullscreen-menu-nav > ul > li > a');
  
  parentLinks.forEach(link => {
    link.addEventListener('click', function(e) {
      const hasSubmenu = this.nextElementSibling && 
                        this.nextElementSibling.classList.contains('dropdown-toggle-icon');
      
      if (hasSubmenu && window.innerWidth <= 991) {
        e.preventDefault();
        const toggle = this.nextElementSibling;
        const submenu = toggle.nextElementSibling;
        
        submenu.classList.toggle('active');
        toggle.classList.toggle('active');
      }
    });
  });
});

/* Tour Modal Responsive Improvements */
@media (max-width: 992px) {
  .tour-modal-content {
    width: 90%;
    max-width: 800px;
    flex-direction: column;
    max-height: 90vh;
  }
  
  .modal-image-carousel {
    width: 100%;
    max-height: 300px;
  }
  
  .modal-tour-info {
    width: 100%;
    padding: 20px;
  }
  
  .modal-booking-section {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
  }
  
  .carousel-thumbnails {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .tour-modal-content {
    width: 95%;
    padding: 0;
  }
  
  .tour-modal-header {
    padding: 15px;
  }
  
  .tour-modal-header h3 {
    font-size: 1.2rem;
  }
  
  .modal-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    margin-bottom: 15px;
  }
  
  .modal-tab {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  .modal-tour-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .modal-tour-meta span {
    font-size: 0.85rem;
  }
  
  .modal-description {
    font-size: 0.9rem;
  }
  
  .overview-highlights ul {
    column-count: 1;
  }
  
  .itinerary-timeline {
    padding-left: 20px;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
  }
  
  .inclusions-list {
    flex-direction: column;
    gap: 20px;
  }
  
  .included-container,
  .excluded-container {
    width: 100%;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-group {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .tour-modal-content {
    width: 100%;
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
  }
  
  .modal-overlay {
    padding: 0;
  }
  
  .modal-image-carousel {
    max-height: 200px;
  }
  
  .carousel-slide img {
    height: 200px;
  }
  
  .carousel-thumbnails {
    padding: 10px 0;
  }
  
  .carousel-thumbnail {
    width: 60px;
    height: 40px;
  }
  
  .tour-modal-header {
    padding: 12px 15px;
  }
  
  .modal-close-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .modal-tab {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .booking-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .price-amount {
    font-size: 1.5rem;
  }
  
  .btn-book-now {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  /* Improve scrolling within the modal */
  .tour-modal-body {
    max-height: calc(100vh - 50px);
    overflow-y: auto;
  }
  
  /* Fix for better visibility of modal content */
  .modal-tab-content {
    padding: 15px 0;
  }
  
  .overview-content h4,
  .overview-highlights h5 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .overview-highlights li {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
}
