/* Enable smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Amulya', sans-serif;
  color: white;
  background: #ffffff; /* White background */
  min-height: 100vh;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* Wrapper for main content to apply blur */
.main-content {
  transition: filter 0.3s ease; /* Smooth transition for blur */
}

/* Apply blur to main content when sidebar is open */
.main-content.sidebar-open {
  filter: blur(4px); /* Blur only the main content */
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 20;
  padding: 1.5rem;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: flex-end; /* Align close button to the right */
  align-items: center;
  margin-bottom: 2rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1f2937;
  cursor: pointer;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-nav li a {
  text-decoration: none;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sidebar-nav li a:hover {
  color: #FF7B00;
}

.hero-container {
  position: relative;
  min-height: 100vh; /* Full viewport height */
  width: 100%;
}

.hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

/* Background Images */
.hero-image,
.hero-image2,
.hero-image3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-image2 {
  z-index: 0;
}

.hero-image3 {
  z-index: -1;
}

.overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
}

.title {
  font-size: clamp(2.5rem, 8vw, 6rem); /* Proportional font size */
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Slide-up animation for the title */
.slide-up {
  animation: slideUp 1.5s ease-out forwards;
}

@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.subtitle {
  font-size: 0.875rem; /* Smaller subheading */
  font-weight: 400;
  margin-bottom: 2rem;
  color: #c1c1c1; /* Light grey text */
  line-height: 1.6;
}

.search-bar {
  position: relative; /* For positioning button inside input */
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: white;
  height: 60px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.search-bar input {
  width: 100%; /* Full width */
  border: none;
  padding: 0 1.5rem 0 1.5rem; /* Adjust padding for button */
  font-size: 1.1rem;
  height: 100%;
  outline: none;
  font-family: 'Amulya', sans-serif;
  color: #333;
}

.search-bar input::placeholder {
  color: #999;
}

.search-bar button {
  position: absolute;
  right: 4px; /* Position inside input */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Adjust for vertical centering */
  height: 90%; /* 90% of search bar height */
  padding: 0 2rem;
  background-color: #FF7B00;
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Amulya', sans-serif;
  cursor: pointer;
  border-radius: 999px;
}

.search-bar button:hover {
  background-color: #e66a00; /* Slightly darker orange for hover */
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.arrow img {
  width: 24px;
  height: 24px;
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

/* Animation for curtain-like effect (left slide) */
.curtain-left {
  animation: curtainLeft 3s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}

@keyframes curtainLeft {
  0% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}

/* Reverse animation for curtain-like effect (right slide) */
.curtain-right {
  animation: curtainRight 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes curtainRight {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* Travel Card Section Styles */
.travel-card-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 20px 50px; /* Minimal top padding */
  background: #ffffff; /* White background */
}

.travel-card {
  width: 150px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(136, 136, 136, 0.3);
  background: #f3f4f6; /* Light grey for cards */
  text-align: center;
  transition: transform 0.3s ease;
}

.travel-card:hover {
  transform: translateY(-8px);
}

.travel-card-top {
  background-color: #FF7B00; /* Matches search button color */
  height: 50%;
  border-bottom-left-radius: 80% 60%;
  border-bottom-right-radius: 80% 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.travel-card-top img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.travel-card-bottom {
  height: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: #333; /* Darker text for white background */
  padding: 0 10px;
  line-height: 1.2;
  text-align: center;
  margin-top: -10px;
  font-family: 'Manrope', sans-serif;
}

/* Travel Banner Card Section Styles */
.carousel-wrapper {
      position: relative;
      width: 100%;
      max-width: 1920px; /* Match banner width */
      padding: 2rem 1rem;
      margin: 0 auto;
    }

    .carousel {
      overflow: hidden;
      width: 100%;
    }

    .track {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .slide {
      flex: 0 0 100%;
      max-width: 100%;
      height: 400px; /* Match banner height */
      background: #fff;
      margin: 0 auto;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden; /* Ensure images don't overflow the curved corners */
      
    }

    .slide img {
      width: 100%; /* Scale to fit slide width */
      height: 100%; /* Match slide height (400px) */
      object-fit: cover; /* Ensure image auto-fits without distortion */
      border-radius: 12px; /* Match the slide's border-radius */
    }

    .go-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 233, 215, 0.557);
      backdrop-filter: blur(20px);
      border: 1px ;
      border-color: #0f0;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      font-size: 1.5rem;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      transition: 0.3s;
      z-index: 10;
      
    }

    .go-button:hover {
      background: #c5c5c5;
    }

    .prev {
      left: 20px;
    }

    .next {
      right: 20px;
    }

    .dots {
      margin-top: 1.5rem;
      text-align: center;
    }

    .dot {
      height: 10px;
      width: 10px;
      margin: 0 4px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
    }

    .dot.active {
      background-color: #333;
    }

/* Destination Cards Section Styles */
.destination-cards-container {
  padding: 2rem 20px;
  background: #ffffff; /* White background */
  margin-top: 2rem; /* Small gap after banner section */
  width: 90%; /* Updated width */
  max-width: 1200px; /* Match travel-container max-width for consistency */
  margin-left: auto; /* Center the container */
  margin-right: auto; /* Center the container */
}

.destination-cards-title {
  font-family: 'Amulya', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.destination-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 350px));
  gap: 2rem; /* Increased gap */
  justify-content: center; /* Center grid items horizontally */
  width: 100%; /* Ensure grid takes full container width */
  max-width: 1200px; /* Match container's max-width */
  margin: 0 auto; /* Center the grid */
}

.destination-card-link {
  text-decoration: none;
}

.destination-card {
  width: 350px; /* Increased size */
  height: 400px; /* Increased size */
  background: #e0e0e0;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(136, 136, 136, 0.16);
  cursor: pointer;
}

.destination-card img.destination-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.destination-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  height: 50px; /* Slightly increased for larger card */
  padding: 18px; /* Adjusted padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: height 0.4s ease;
  z-index: 2;
}

.destination-card:hover .destination-card-footer {
  height: 15%;
}

.destination-card-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.destination-name {
  font-family: 'Amulya', sans-serif;
  font-weight: bold;
  color: #FF7B00;
  font-size: 16px; /* Increased for larger card */
}

.destination-arrow-icon {
  width: 28px; /* Slightly increased for larger card */
  height: 28px;
  transition: transform 0.4s ease;
}

.destination-card:hover .destination-arrow-icon {
  transform: rotate(90deg);
}

.destination-sub-paragraph {
  margin-top: 14px; /* Slightly increased */
  font-size: 14px; /* Increased for larger card */
  color: #333;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: 'Manrope', sans-serif;
}

.destination-card:hover .destination-sub-paragraph {
  opacity: 1;
  transform: translateY(0);
}


/* Destination Carousel Styles for Smaller Screens */
.destination-carousel {
  display: none; /* Hidden by default */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0 10px;
}

.destination-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for cleaner look */
}

.destination-carousel-grid {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
}

.destination-carousel-grid .destination-card {
  flex: 0 0 150px; /* Fixed width for carousel items */
  scroll-snap-align: center;
  height: 350px; /* Adjusted for smaller screens */
}

.destination-carousel-grid .destination-card-footer {
  height: 70px; /* Smaller footer for smaller card */
  padding: 12px;
}

.destination-carousel-grid .destination-name {
  font-size: 14px; /* Adjusted for smaller card */
}

.destination-carousel-grid .destination-arrow-icon {
  width: 20px;
  height: 20px;
}

.destination-carousel-grid .destination-sub-paragraph {
  font-size: 12px;
  margin-top: 10px;
}

/* Carousel Dots General Styling */
.carousel-dots {
  display: none; /* Hidden by default, shown on smaller screens */
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #FF7B00; /* Matches site theme */
}

/* Instant Connect Section Styles */
.instant-connect-section {
  padding: 2rem 20px;
  background: #ffffff; /* White background to match site */
  margin-top: 2rem; /* Consistent spacing */
  width: 95%; /* Updated width */
  margin-left: auto; /* Center the section */
  margin-right: auto; /* Center the section */
}

.instant-connect-title {
  font-family: 'Amulya', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.instant-connect-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: url('contactbg.png') no-repeat center center / cover;
  border-radius: 20px;
  margin: 0 10px; /* Reduced margin */
  min-height: 360px;
}

.instant-connect-left {
  flex: 1;
  padding: 20px; /* Reduced padding */
  color: #333; /* Darker text for white background */
}

.instant-connect-left h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Amulya', sans-serif;
}

.instant-connect-left p {
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  color: #333;
}

.instant-connect-right {
  flex: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px; /* Reduced padding */
}

.form-container {
  background: rgba(180, 180, 180, 0.15);
  border-radius: 20px;
  padding: 25px;
  width: 100%; /* Use full available width */
  max-width: 100%; /* Remove fixed max-width constraint */
  backdrop-filter: blur(6px);
  border: 0.5px solid #999;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  border: 1px solid #333;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: #000000;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  outline: none;
}

.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #666; /* Adjusted for better visibility */
  font-weight: 200;
}

.phone-group {
  display: flex;
  align-items: center;
  border: 1px solid #333;
  border-radius: 30px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.08);
  height: 48px;
  padding-right: 12px;
  align-items: first baseline;
}

.phone-group span {
  background: white;
  padding: 10px 22px;
  border-radius: 30px;
  margin-left: 5px;
  font-weight: 600;
  font-size: 14px;
  color: #FF7B00; /* Matches site theme */
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-group input {
  border: none;
  background: transparent;
  flex: 1;
  color: #333;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  outline: none;
  padding: 12px 12px;
  line-height: 1.4;
}

.submit-button {
  width: 100%;
  padding: 14px;
  background: #FF7B00; /* Matches site theme */
  color: white;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Amulya', sans-serif;
}

.submit-button:hover {
  background: #082fa1;
}

.success-message {
  margin-top: 15px;
  padding: 12px 18px;
  border-radius: 10px;
  background-color: rgba(0, 255, 0, 0.15);
  border: 1px solid #0f0;
  color: green;
  font-size: 14px;
  display: none;
  font-family: 'Manrope', sans-serif;
}

/* How to Plan Your Trip Section Styles */
.plan-trip-section {
  padding: 2rem 20px;
  background: #ffffff; /* White background to match site */
  margin-top: 2rem; /* Consistent spacing */
  width: 90%; /* Updated width */
  margin-left: auto; /* Center the section */
  margin-right: auto; /* Center the section */
}

.plan-trip-title {
  font-family: 'Amulya', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.steps-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.step-card {
  width: 280px;
  height: 320px;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFDEB;
  color: #333;
  text-align: center;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.step-desc {
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Manrope', sans-serif;
}

.step-icon {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 48px;
  height: 48px;
}

.step-label {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: 'Amulya', sans-serif;
}

.active-step {
  background-color: #FF7B00 !important; /* Matches site theme */
  color: #fff !important;
}

.active-step img {
  filter: brightness(0) invert(1);
}

.travel-container {
  max-width: 1200px;
  width: 90%; /* Updated width */
  margin: 0 auto; /* Center the section */
  padding: 2rem 20px; /* Consistent padding */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content vertically */
}

.travel-section-title {
  font-family: 'Amulya', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

h2 {
  font-family: 'Amulya', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3-column grid */
  gap: 10px;
  width: 100%; /* Full width of container */
  max-width: 1200px; /* Match container's max-width */
  justify-content: center; /* Center grid items */
  height: 170vh; /* Maintain original height */
}

.travel-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.travel-box {
  border-radius: 8px;
  background: rgb(244, 255, 193);
  border: 1px solid #c7b84f;
  padding: 20px 15px;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.travel-blue {
  background: #FF7B00;
  color: #fff;
}

.travel-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  color: #1f2937;
}

.travel-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 6px;
}

.travel-desc {
  font-size: 14px;
  opacity: 0.85;
}

/* Equal heights for specified square boxes */
.travel-left .travel-box:first-child,
.travel-middle .travel-box:first-child {
  height: 400px; /* Equal height for Easy Booking and Best Pricing */
}

.travel-middle .travel-box:nth-child(3),
.travel-right .travel-box:first-child {
  height: 400px; /* Equal height for Customized Plans and Real Reviews */
}

/* Height ratios for other boxes */
.travel-left .travel-box:last-child,
.travel-right .travel-box:last-child {
  flex: 2; /* Maintain rectangle boxes */
}

.travel-middle .travel-box:nth-child(2) {
  flex: 1; /* Maintain square box for 24/7 Support */
}

/* Styles from index.php */
.hero-image { z-index: 1; }
.hero-image2 { z-index: 0; }
.hero-image3 { z-index: -1; }

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  display: flex;
  opacity: 1;
}

.popup-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  width: 90%;
  max-width: 400px;
  border: 0.5px solid #999;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popup-overlay.show .popup-content {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.popup-title {
  font-family: 'Amulya', sans-serif;
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 20px;
  text-align: center;
}

.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  border: 1px solid #333;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: #333;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  outline: none;
}

.popup-content input::placeholder,
.popup-content textarea::placeholder {
  color: #666;
}

.popup-content .phone-group {
  display: flex;
  align-items: center;
  border: 1px solid #333;
  border-radius: 30px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.08);
  height: 48px;
  padding-right: 12px;
  align-items: first baseline;
}

.popup-content .phone-group span {
  background: white;
  padding: 10px 22px;
  border-radius: 30px;
  margin-left: 5px;
  font-weight: 600;
  font-size: 14px;
  color: #FF7B00;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content .phone-group input {
  border: none;
  background: transparent;
  flex: 1;
  color: #333;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  outline: none;
  padding: 12px 12px;
  line-height: 1.4;
}

.popup-content .submit-button {
  width: 100%;
  padding: 14px;
  background: #FF7B00;
  color: white;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Amulya', sans-serif;
}

.popup-content .submit-button:hover {
  background: #082fa1;
}

.popup-content .success-message {
  margin-top: 15px;
  padding: 12px 18px;
  border-radius: 10px;
  background-color: rgba(0, 255, 0, 0.15);
  border: 1px solid #0f0;
  color: green;
  font-size: 14px;
  display: none;
  font-family: 'Manrope', sans-serif;
}

.search-bar {
  position: relative;
}

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.suggestions div {
  padding: 10px 18px;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #333;
}

.suggestions div:hover {
  background: #f5f5f5;
  color: #FF7B00;
}

.instagram-feed-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.travel-banner-carousel {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 auto;
  padding: 20px 0 40px 0;
  border-radius: 12px;
  position: relative;
}

.travel-banner-carousel::-webkit-scrollbar {
  display: none;
}

.travel-banner-carousel-grid {
  display: flex;
  width: fit-content;
  gap: 0;
  transition: transform 0.9s ease;
}

.travel-banner-card {
  width: calc(100vw - 10px);
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}

.travel-banner-card img.destination-card-image {
  width: 95%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.travel-banner-carousel .arrow-left {
  position: absolute;
  top: 55%;
  left: 10px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.travel-banner-carousel .arrow-right {
  position: absolute;
  top: 55%;
  right: 10px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.travel-banner-carousel .arrow-left:hover,
.travel-banner-carousel .arrow-right:hover {
  opacity: 1;
}

.travel-banner-carousel .arrow-left img,
.travel-banner-carousel .arrow-right img {
  width: 100%;
  height: 100%;
}

/* Added for form messages */
#popupFormMessage.success,
#contactFormMessage.success {
  color: green;
}

#popupFormMessage.error,
#contactFormMessage.error {
  color: red;
}

/* Updated testimonial styles for left alignment */
.testimonial-card {
  text-align: left;
  justify-content: flex-start;
}

.testimonial-card .customer-info {
  justify-content: flex-start;
}

.testimonial-card .testimonial-text {
  text-align: left;
}

.view-all-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.view-all-link {
  color: #FF7B00;
  font-size: 14px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: #082fa1;
}

/* Testimonial Section Styles */
.testimonial-section-container {
  padding: 2rem 20px;
  background: #ffffff; /* White background to match site */
  margin-top: 2rem; /* Consistent spacing */
}

.testimonial-section-title {
  font-family: 'Amulya', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr; /* Arrow box wider */
  grid-template-rows: repeat(2, auto);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto; /* Center the section horizontally */
}

.testimonial-card {
  background: #FF7B00; /* Matches site theme */
  color: white;
  padding: 20px;
  border-radius: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.arrow-box {
  grid-row: span 2;
  background: #e6eeff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF7B00; /* Matches site theme */
  font-size: 60px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.arrow-box:hover {
  background: #cfdfff;
}

.arrow-box::before {
  content: "▶";
}

.customer-info {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  margin-right: 12px;
}

.customer-name {
  font-weight: 600;
  font-size: 16px;
  font-family: 'Amulya', sans-serif;
}

.stars {
  font-size: 14px;
  margin-top: 2px;
  font-family: 'Manrope', sans-serif;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
  font-family: 'Manrope', sans-serif;
}

/* Testimonial Carousel for Smaller Screens */
.testimonial-carousel {
  display: none; /* Hidden by default */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for cleaner look */
}

.testimonial-carousel-content {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
}

.testimonial-carousel-content .testimonial-card {
  flex: 0 0 250px; /* Fixed width for carousel items */
  scroll-snap-align: center;
  min-height: 220px; /* Match adjusted height */
  padding: 16px;
}

.testimonial-carousel-content .customer-name {
  font-size: 14px;
}

.testimonial-carousel-content .stars {
  font-size: 12px;
}

.testimonial-carousel-content .testimonial-text {
  font-size: 12px;
  line-height: 1.4;
}

.testimonial-carousel-content .avatar {
  width: 100%;
  height: 100%;
  margin-right: 8px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .destination-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .destination-carousel,
  #destinationDots {
    display: none;
  }
}

@media (max-width: 1200px) {
  .destination-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 350px));
  }
}

@media (max-width: 800px) {
  .destination-cards-grid {
    grid-template-columns: repeat(1, minmax(0, 350px));
  }
}

@media (max-width: 768px) {
  .instant-connect-content {
    flex-direction: column;
    padding: 20px;
    min-height: auto;
  }

  .instant-connect-left,
  .instant-connect-right {
    width: 100%;
    padding: 20px 0;
  }

  .steps-section {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    width: 90%;
    max-width: 300px;
  }

  .testimonial-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .arrow-box {
    grid-row: auto;
    height: 220px;
  }

  .travel-container {
    padding: 1rem 10px; /* Adjust padding for smaller screens */
    width: 100%; /* Full width */
    max-width: 100%; /* Allow full viewport width */
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .travel-grid {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    height: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    width: 100%; /* Full width */
    max-width: 100%; /* Match container */
    margin: 0 auto; /* Center the grid */
  }

  .travel-col {
    display: contents; /* Flatten the column structure */
  }

  .travel-box {
    flex: 0 0 80vw; /* Each box takes 80% of viewport width */
    width: 80vw; /* Equal width */
    height: 200px; /* Equal height */
    min-height: 200px; /* Ensure consistent height */
    padding: 15px 10px;
    scroll-snap-align: center;
    box-sizing: border-box; /* Ensure padding doesn't affect size */
  }
  .carousel-wrapper {
        max-width: 720px;
      }

      .slide {
        height: 240px; /* Further adjusted height */
      }

      .slide img {
        width: 100%;
        height: 100%;
      }

      .go-button {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
      }
    }

  /* Override specific box heights to ensure equality */
  .travel-left .travel-box:first-child,
  .travel-middle .travel-box:first-child,
  .travel-middle .travel-box:nth-child(2),
  .travel-middle .travel-box:nth-child(3),
  .travel-right .travel-box:first-child,
  .travel-left .travel-box:last-child,
  .travel-right .travel-box:last-child {
    flex: 0 0 80vw; /* All boxes same width */
    width: 80vw; /* Equal width */
    height: 200px; /* Equal height */
    min-height: 200px; /* Consistent height */
  }

  .travel-icon img {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
  }

  .travel-title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .travel-desc {
    font-size: 12px;
  }

  /* Navigation Dots */
  .travel-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  .travel-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }

  .travel-dot.travel-active {
    background: #004dff; /* Match weekend.php for consistency */
  }

  /* Hide scrollbar for cleaner look */
  .travel-grid::-webkit-scrollbar {
    display: none;
  }

  .travel-grid {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }


@media (max-width: 480px) {
  .travel-box {
    flex: 0 0 90vw; /* Wider cards on very small screens */
    width: 90vw; /* Equal width */
    height: 180px; /* Equal height */
    min-height: 180px; /* Consistent height */
    padding: 10px 8px;
    border-radius: 20px;
  }

  /* Override specific box heights for very small screens */
  .travel-left .travel-box:first-child,
  .travel-middle .travel-box:first-child,
  .travel-middle .travel-box:nth-child(2),
  .travel-middle .travel-box:nth-child(3),
  .travel-right .travel-box:first-child,
  .travel-left .travel-box:last-child,
  .travel-right .travel-box:last-child {
    flex: 0 0 90vw; /* All boxes same width */
    width: 90vw; /* Equal width */
    height: 180px; /* Equal height */
    min-height: 180px; /* Consistent height */
  }

  .travel-icon img {
    width: 25px;
    height: 25px;
  }

  .travel-title {
    font-size: 13px;
  }

  .travel-desc {
    font-size: 11px;
  }

  .search-bar {
    height: 40px; /* Decreased height */
    width: 90%; /* Increased width */
  }

  .search-bar input {
    font-size: 0.9rem; /* Smaller font size for input */
    padding: 0 1rem 0 1rem; /* Adjusted padding */
  }

  .search-bar input::placeholder {
    top: 10px;
    font-size: 0.6rem; /* Adjust this value to your desired size */
    text-align: left; /* Ensure placeholder is centered (optional, as it inherits from input) */
    align-items: center;
  }

  .search-bar button {
    font-size: 0.8rem; /* Smaller button text */
    padding: 0 1rem; /* Smaller padding for button */
    right: 2px; /* Adjust position */
    height: 90%; /* Maintain proportion */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
  }
  .carousel-wrapper {
        max-width: 480px;
      }

      .slide {
        height: 150px; /* Further adjusted height */
      }

      .slide img {
        width: 100%;
        height: 100%;
      }

      .go-button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
      }

  /* Hero Section Adjustments */
  .title {
    font-size: clamp(3rem, 10vw, 7rem); /* Keep your existing font size */
    text-align: center; /* Explicitly center text */
    width: 100%; /* Ensure full width for centering */
    margin-left: 0; /* Remove any potential left margin */
    margin-right: 0; /* Remove any potential right margin */
    padding: 0; /* Remove any padding that might offset centering */
  }

  .overlay {
    padding: 1rem; /* Reduce padding for smaller screens */
    max-width: 100%; /* Ensure overlay takes full width */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
  }

  /* Travel Card Section (Section 2) - 3x3 Grid */
  .travel-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 5px 5px; /* 5px vertical gap, 15px horizontal gap */
    padding: 1rem 10px 30px;
  }

  .travel-card {
    width: 90%; /* Full width of grid cell */
    height: 180px; /* Reduced height for smaller screens */
    border-radius: 6px;
    border: 0.7px solid #ccc;
    box-shadow: 0 10px 25px rgba(168, 168, 168, 0.15);
  }

  .travel-card-top img {
    width: 40px;
    height: 40px;
  }

  .travel-card-bottom {
    font-size: 14px;
    margin-top: -5px;
  }

  /* Banner Section */
  .travel-banner-card {
    width: 100%;
    height: 150px; /* Proportionate height (half of original 400px) */
    border-radius: 10px;
  }

  .travel-banner-carousel .arrow-left {
    left: 5px;
    width: 20px;
    height: 20px;
  }

  .travel-banner-carousel .arrow-right {
    right: 5px;
    width: 20px;
    height: 20px;
  }

  .travel-view-more {
    font-size: 10px;
    padding: 8px 16px;
  }

  /* Destination Cards - Horizontal Carousel */
  .destination-cards-container {
    padding: 2rem 5px; /* Reduce side padding from 20px to 5px */
    width: 98%; /* Increase width to maximize available space */
  }
  .destination-cards-grid {
    display: none; /* Hide grid layout */
  }

  .destination-carousel {
    display: block; /* Show carousel layout */
  }

  /* Show Carousel Dots */
  .carousel-dots {
    display: flex; /* Show dots on smaller screens */
  }

  /* Instant Connect Section - Square Form */
  .instant-connect-section {
    width: 98%; /* Updated to 98% for smaller screens */
  }

  .instant-connect-content {
    padding: 15px; /* Reduced padding */
    margin: 0; /* Removed margin to maximize width */
  }

  .instant-connect-left,
  .instant-connect-right {
    padding: 10px; /* Reduced padding */
  }

  .form-container {
    max-width: 100%; /* Ensure it takes full width */
    width: 100%; /* Use full available width */
    padding: 20px;
    aspect-ratio: unset; /* Remove square aspect ratio to allow natural sizing */
  }

  .form-container input,
  .form-container textarea {
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .phone-group {
    height: 40px;
  }

  .phone-group span {
    padding: 8px 18px;
    font-size: 12px;
    height: 30px;
  }

  .phone-group input {
    font-size: 14px;
    padding: 10px 10px;
  }

  .submit-button {
    padding: 12px;
    font-size: 14px;
  }

  .success-message {
    font-size: 12px;
    padding: 10px 14px;
  }

  .destination-cards-title,
  .plan-trip-title,
  .instant-connect-title,
  .travel-section-title,
  .testimonial-section-title {
    font-family: 'Amulya', sans-serif;
    font-size: 1.5rem;
  }

  .popup-content {
    max-width: 280px;
    padding: 20px;
  }

  .popup-content input,
  .popup-content textarea {
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .popup-content .phone-group {
    height: 40px;
  }

  .popup-content .phone-group span {
    padding: 8px 18px;
    font-size: 12px;
    height: 30px;
  }

  .popup-content .phone-group input {
    font-size: 14px;
    padding: 10px 10px;
  }

  .popup-content .submit-button {
    padding: 12px;
    font-size: 14px;
  }

  .popup-content .success-message {
    font-size: 12px;
    padding: 10px 14px;
  }

  .suggestions div {
    font-size: 13px;
    padding: 8px 14px;
  }
}