* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 77, 64, 0.9); /* deep green, transparent */
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.9);
}

.logo {
  height: 85px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100; /* Ensure it stays above the links */
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
}

header {
  height: 100vh;
  background: url('images/hero.png') no-repeat center center/cover;
  position: relative;
}

@media screen and (max-width: 650px) {
  header {
    background-image: url('images/hero1.png');
  }
}
.hero-text {
  animation: fadeIn 2s ease-in-out forwards;
  opacity: 0;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-text h1 {
  font-size: 2.5em;
}
.hero-text p {
  display: inline-block;
  padding: 0.2em 0.5em;
  font-size: 1.2em;
  margin-top: 10px;
}

.page-section {
  padding: 2em;
}

.about-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
}


@media screen and (max-width: 768px) {
  nav ul {
    display: none; /* Hide links by default */
    flex-direction: column;
    position: absolute;
    top: 115px; /* Position below the navbar */
    right: 0px; /* Align to the right */
    background: rgba(20, 20, 20, 0.7);
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 1);
    z-index: 1000;
    width: 100%;
  }
  nav ul.show {
    display: flex; /* Show links when hamburger is clicked */
    animation: slideDown 0.3s ease forwards;
  }
  nav a {
    color: white; /* Ensure links are visible */
    padding: 10px 15px;
    text-align: center;
    display: block;
    font-size: 1em;
    font-weight: bold;
  }
  .hamburger {
    display: flex; /* Show hamburger icon */
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flight-form {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: nowrap;
}

.flight-form input,
.flight-form button {
  padding: 8px;
  font-size: 0.9em;
  border-radius: 5px;
  border: none;
}

.flight-form input {
  width: 120px;
  background-color: rgba(255, 255, 255, 0.9); /* white with 80% opacity */
}

.flight-form button {
  background-color: #248277;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.flight-form button:hover {
  background-color: #3a998a;
}

.airport-select {
  width: 120px;
  padding: 8px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
}

.select-wrapper {
  width: 140px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
}

.select2-container--default .select2-selection--single {
  height: 100% !important;
  line-height: 42px !important;
  padding: 6px 10px;
  font-size: 1em;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0;
}

.select2-container {
  width: 100% !important; /* forces Select2 to obey wrapper width */
}


/* Reduce font size in the dropdown list */
.select2-results__option {
  font-size: 0.8em; /* or try 0.85em for even smaller text */
}

/* Force dropdown menu to be wider */
.select2-container--default .select2-results > .select2-results__options {
  min-width: 220px; /* Adjust as needed */
}

/* Optionally, set a wider dropdown itself */
.select2-dropdown {
  min-width: 220px !important;
  width: auto !important;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease; /* Smooth fade */
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  color: rgba(0, 77, 64, 0.8);
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}



/* Calendar Layout */
.calendar-controls {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  gap: 10px; /* Add spacing between the month and year */
  margin-bottom: 15px; /* Keep the existing margin */
}

.calendar-controls select,
.calendar-controls input[type="number"] {
  text-align: center; /* Center text inside the dropdown and input */
  font-size: 1em; /* Adjust font size for better visibility */
  padding: 6px 10px; /* Add padding for better spacing */
  border: 1px solid #ccc; /* Keep the border styling */
  border-radius: 4px; /* Rounded corners */
  box-sizing: border-box; /* Ensure consistent sizing */
}

#travel-date {
  width: 90%; /* Match the width of other inputs */
  max-width: 300px; /* Optional: Limit the maximum width */
  height: 42px; /* Ensure consistent height */
  padding: 8px; /* Match the padding of other inputs */
  font-size: 0.9em; /* Match the font size of other inputs */
  border-radius: 5px; /* Ensure consistent rounded corners */
  border: 1px solid #ccc; /* Match the border style */
  background-color: rgba(255, 255, 255, 0.9); /* Background color */
  text-align: center; /* Center the text inside the input */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}


/* Calendar Grid */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 340px;
}
.calendar div {
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  z-index:9999;
}
.day-header {
  font-weight: bold;
  background-color: #248277;
  font-size: 0.8em;
}
.empty {
  background: transparent;
}

/* Clickable Date Cell */
.date-cell {
  cursor: pointer;
  transition: all 0.2s ease;
  color: black;
  font-size: 0.85em;
}
.date-cell:hover {
  background-color: #e0f2ed;
}

/* Selected Date */
.date-cell.selected {
  background-color: #248277;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 3px #222;
}




.calendar-container {
  position: relative; /* Can be kept as-is, or changed to static if needed */
  display: inline-block;
}

#calendar-wrapper {
  position: fixed; /* ⬅️ Changed from absolute to fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* ⬅️ Perfectly centres it */
  background: white;
  z-index: 99999; /* ⬅️ Ensures it stays on top of everything */
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  padding: 12px;
  width: 90vw;      /* ⬅️ Responsive width */
  max-width: 360px; /* ⬅️ Prevents it from being too wide */
  max-height: 90vh; /* ⬅️ Prevents vertical overflow */
  overflow-y: auto;
}

#calendar-wrapper:focus-within {
  outline: 2px solid #248277;
}


@media screen and (max-width: 400px) {
  #calendar-wrapper {
    min-width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
  }
}



/* How It Works Section */
.how-it-works {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.how-it-works .card {
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  height: 380px; /* ⬅️ Increased height */
  width: 280px;   /* ⬅️ Fixed width */
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.how-it-works .card:hover {
  transform: translateY(-6px);
}

.how-it-works .overlay {
  background-color: rgba(0, 0, 0, 0.45); /* semi-transparent overlay */
  color: white;
  padding: 20px;
  height: 100%;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.how-it-works .overlay h3 {
  font-size: 1em; /* ⬅️ Smaller heading */
  margin-bottom: 10px;
}

.how-it-works .overlay p {
  font-size: 0.85em; /* ⬅️ Smaller paragraph */
  line-height: 1.4;
}

.how-it-works .icon {
  font-size: 2.2em;
  margin-bottom: 12px;
}

/* Universal fade-in effect triggered by Intersection Observer */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}





/* Popula Destinations */
.popular-destinations {
  padding: 60px 20px;
  text-align: center;
  background-color: #fdfdfd;
}

.popular-destinations h2 {
  font-size: 2em;
  color: #004d40;
  margin-bottom: 40px;
}

.destination-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.destination-card {
  width: 160px;
  height: 250px;
  padding: 10px;
  border-radius: 10px;
  background-size: cover;           /* Ensures the image covers the card */
  background-position: center;      /* Centers the image */
  background-repeat: no-repeat;     /* Prevents tiling */
  display: flex;
  align-items: flex-end;            /* Pushes the text to the bottom */
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* For readability */
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.destination-card:hover {
  box-shadow: 0 6px 16px rgba(0, 77, 64, 0.2);
}

.destination-card h3 {
  font-size: 1.2em;
  color: white;
  margin-bottom: 10px;
}





/* About Us Section */
.page-section {
  width: 80%;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  color: #333;
  background-color: #fdfdfd;
  border-radius: 8px;
}

.page-section h1 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
  color: #004d40;
}

.page-section p {
  font-size: 1em;
  margin-bottom: 18px;
  text-align: justify;
}

.page-section strong {
  color: #248277;
}


.team-carousel-container {
  position: relative;
  max-width: 1000px; /* wider to fit two cards side-by-side */
  margin: 30px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-carousel {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.team-slide {
  flex: 0 0 50%; /* 2 visible slides = 50% width */
  height: 300px;
  position: relative;
  display: block;
  padding: 0 10px;
  box-sizing: border-box;
}

.team-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.caption {
  position: absolute;
  bottom: 0;
  width: calc(100% - 20px); /* account for horizontal padding */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: white;
  padding: 20px 15px 10px;
  box-sizing: border-box;
}

.caption h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.caption p {
  margin: 4px 0 0;
  font-size: 0.9em;
  font-weight: 400;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(36, 130, 119, 0.8);
  border: none;
  padding: 10px 16px;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background-color: rgba(36, 130, 119, 1);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}




footer {
  text-align: center;
  padding: 30px 20px;
  background: #f5f5f5;
  font-size: 0.9em;
  color: #333;
}

.footer-contact {
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-contact a {
  color: #248277;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 10px 20px;
  font-size: 0.9em;
  text-align: center;
  line-height: 1.6;
}

.footer-item a {
  color: #248277;
  text-decoration: none;
}

.footer-item a:hover {
  text-decoration: underline;
}


/* Mobile devices (up to 480px) */
@media screen and (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .logo {
    height: 60px;
  }

  .hero-text h1 {
    font-size: 1.6em;
  }

  .hero-text p {
    font-size: 1em;
  }

  .flight-form {
    flex-wrap: wrap;
    gap: 12px;
  }

  .flight-form input,
  .flight-form button,
  .airport-select {
    width: 100%;
  }

  .calendar-controls {
    grid-template-columns: 1fr 1fr;
  }

  .how-it-works {
    flex-direction: column;
    gap: 25px;
  }

  .how-it-works .card {
    width: 100%;
    height: 320px;
  }

  .page-section {
    width: 94%;
    padding: 30px 10px;
  }

  .team-slide {
    flex: 0 0 100%; /* show 1 at a time */
    padding: 0;
  }

  .team-carousel-container {
    max-width: 90%;
  }

  .carousel-btn {
    padding: 8px 12px;
    font-size: 1.2em;
  }

  .destination-grid {
    justify-content: center;
    gap: 15px;
  }

  .destination-card {
    width: 140px;
    height: 220px;
  }

  .footer-contact-row {
    flex-direction: column;
    gap: 12px;
    padding: 20px 10px;
  }
}

/* Tablets (481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .hero-text h1 {
    font-size: 2em;
  }

  .hero-text p {
    font-size: 1.1em;
  }

  .flight-form {
    flex-wrap: wrap;
    gap: 15px;
  }

  .airport-select,
  .flight-form input,
  .flight-form button {
    width: 48%;
  }

  .how-it-works {
    flex-direction: column;
    gap: 25px;
  }

  .how-it-works .card {
    width: 100%;
  }

  .team-slide {
    flex: 0 0 100%;
  }

  .team-carousel-container {
    max-width: 90%;
  }

  .destination-card {
    width: 150px;
    height: 230px;
  }

  .footer-contact-row {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Small desktops/laptops (769px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    padding: 10px 20px;
  }

  .logo {
    height: 70px;
  }

  .how-it-works {
    gap: 30px;
    flex-wrap: wrap;
  }

  .team-slide {
    flex: 0 0 50%;
  }

  .team-carousel-container {
    max-width: 90%;
  }

  .destination-card {
    width: 160px;
    height: 240px;
  }
}



/* Mobile devices (up to 480px) */
@media screen and (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5em; /* Reduce font size for smaller screens */
  }

  .hero-text p {
    font-size: 0.8em; /* Adjust paragraph font size */
  }

  .flight-form {
    flex-wrap: nowrap; /* Keep form in one row */
    gap: 5px; /* Reduce gap between inputs */
    overflow-x: hide; /* Allow horizontal scrolling if needed */
  }

  .flight-form input,
  .flight-form button,
  .airport-select {
    width: 40px; /* Reduce width of inputs */
    padding: 6px; /* Adjust padding for smaller inputs */
    font-size: 0.8em; /* Reduce font size */
  }
}

/* Tablets (481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2em; /* Slightly larger font size for tablets */
  }

  .hero-text p {
    font-size: 1.1em; /* Adjust paragraph font size */
  }

  .flight-form {
    flex-wrap: nowrap; /* Keep form in one row */
    gap: 8px; /* Adjust gap between inputs */
  }

  .flight-form input,
  .flight-form button,
  .airport-select {
    width: 100px; /* Slightly larger width for tablets */
    padding: 8px; /* Adjust padding */
    font-size: 0.9em; /* Adjust font size */
  }
}

/* Small desktops/laptops (769px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5em; /* Slightly larger font size for desktops */
  }

  .hero-text p {
    font-size: 1.2em; /* Adjust paragraph font size */
  }

  .flight-form {
    flex-wrap: nowrap; /* Ensure form stays in one row */
    gap: 10px; /* Adjust gap between inputs */
  }

  .flight-form input,
  .flight-form button,
  .airport-select {
    width: 120px; /* Larger width for desktops */
    padding: 10px; /* Adjust padding */
    font-size: 1em; /* Adjust font size */
  }
}

/* General adjustments for larger screens */
@media screen and (min-width: 1025px) {
  .hero-text h1 {
    font-size: 3em; /* Larger font size for larger screens */
  }

  .hero-text p {
    font-size: 1.4em; /* Adjust paragraph font size */
  }

  .flight-form {
    flex-wrap: nowrap; /* Keep form in one row */
    gap: 12px; /* Adjust gap between inputs */
  }

  .flight-form input,
  .flight-form button,
  .airport-select {
    width: 140px; /* Larger width for larger screens */
    padding: 12px; /* Adjust padding */
    font-size: 1em; /* Adjust font size */
  }
}

@media screen and (max-width: 572px) {
  .flight-form {
    flex-wrap: wrap; /* Allow inputs to wrap to the next line */
    flex-direction: column; /* Stack inputs vertically */
    gap: 10px; /* Add spacing between inputs */
    align-items: center; /* Center inputs horizontally */
  }

  .flight-form input,
  .flight-form button,
  .airport-select {
    width: 90%; /* Set a consistent width for all inputs */
    max-width: 300px; /* Optional: Limit the maximum width */
    font-size: 0.9em; /* Slightly smaller font size */
    padding: 8px; /* Adjust padding for better spacing */
    text-align: center; /* Center text inside inputs */
  }
}




.faq-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.7;
  margin-top: 1rem;
}

.faq-list li {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #00bfa5;
}




.whatsapp-fixed-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-fixed-btn a {
  display: inline-block;
  background-color: #25d366;
  color: white;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-fixed-btn a:hover {
  background-color: #1ebd5a;
  transform: scale(1.05);
}