.tab-nav {
  position: sticky;
  top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 14px;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tab-nav a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  background: #e2e8f0;
  color: #0f172a;
  transition: 0.3s ease;
}

.tab-nav a.active,
.tab-nav a:hover {
  background: #0ea5e9;
  color: white;
}

.section {
  max-width: 1000px;
  margin: 60px auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
  color: #0f5e6f;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.accordion-header {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  background: #e0f2fe;
  position: relative;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: white;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 15px 20px 20px;
}

ul li {
  margin: 10px 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #F4F5F8;
  color: #f1f5f9;
  line-height: 1.6;
}

/* Snow layer background */
.snow-layer {
  position: fixed;
  inset: 0;
  background: url('https://raw.githubusercontent.com/rajat2502/css-starfield/main/stars');
  opacity: 0.2;
  z-index: -20;
  animation: snow 60s linear infinite;
}

@keyframes snow {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 600px 300px;
  }
}



/* Hero Section */
#hero {
  height: 100vh;
  /* background-image: url('../img/destination/India/kerala_landscape.png'); */
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.295), rgba(0, 0, 0, 0.151));
}

.clouds {
  position: absolute;
  top: 8rem;
  left: 50%;
  width: 200%;
  transform: translateX(-50%);
  opacity: 0.25;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #f8f8f2;
}

.hero-content p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.button-accent {
  padding: 1rem 2.5rem;
  background-color: #c7cfcc;
  color: #111;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
}

.button-accent:hover {
  color: #111;
  background-color: #eaefed;
  opacity: 0.9;
}

/* form Section */

.section {
  padding: 6rem 1rem;
}

.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2rem;
  padding: 3rem;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.booking-form h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f5e6f;
  text-align: center;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-grid label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #212121d6;
}

.form-grid input,
.form-grid select {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #f0f0f1b5;
  color: #252525;
  border: none;
}

.form-button {
  grid-column: span 2;
}

.button-brand {
  width: 100%;
  background-color: #239fbb;
  color: #111;
  padding: 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
}

.button-brand:hover {
  background-color: #1fafd0;
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 1rem;
  }

  .glass {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .booking-form h2 {
    font-size: 2rem;
  }

  .form-grid {
    gap: 1rem;
  }

  .form-grid input,
  .form-grid select {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .button-brand {
    padding: 0.9rem;
    font-size: 1rem;
  }
}


/* old form css */


/* additional form css */
.form-loader {
  text-align: center;
  color: #0f5e6f;
  font-weight: 600;
  margin-top: 2rem;
}

.spinner {
  margin: 1rem auto;
  width: 40px;
  height: 40px;
  border: 4px solid #239fbb;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* additional form css */



/*LATEST CSS*/
.hidden {
  display: none;
}

.confirmation-message {
  text-align: center;
  margin-top: 2rem;
  animation: fadeInUp 0.6s ease-out forwards;
}

.confirmation-message h3 {
  color: #0f5e6f;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.confirmation-message p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
}

.confirmation-gif img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* BOOKING SECTION END*/





/* Additional Utilities */
a {
  text-decoration: none;
  color: inherit;
}

/* Reusable sections */
section {
  padding: 6rem 1rem;
}

/* Fade-in animation placeholder (if needed with JS) */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer styles */
footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 4rem 1rem;
}

footer .footer-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

@media (min-width: 768px) {
  footer .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

footer h3,
footer h4 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-weight: bold;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

footer .social-links a {
  margin-right: 1rem;
  font-weight: bold;
}

/* Responsive typography */
h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  .hero-content p {
    font-size: 1.5rem;
  }
}

.section-title {
  font-size: 45px;
  line-height: 1.2em;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #0f2454;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title span {
  color: #2095AE;
}

.section-title.accent {
  color: var(--accent);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

.light-section {
  background-color: #f9fafb;
  color: #1f2937;
}

.gallery-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.itinerary .day-plan {
  border-left: 4px solid var(--brand);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.itinerary h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.itinerary ul li {
  margin-bottom: 0.3rem;
  color: #ccc;
}


/*  reviews */


.enhanced-reviews {
  padding: 4rem 1rem;
  background: #f9f9f9;
  color: #333;
  text-align: center;
}



.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  animation: fadeIn 1.5s ease-in-out;
}

.review-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: left;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.reviewer-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #00bcd4;
}

.stars {
  color: #ffb400;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.review-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---------------------------- */
.pricing-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--brand);
  margin-bottom: 1rem;
}

details {
  background: #1f2937;
  color: #d1d5db;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
}

details summary {
  font-weight: bold;
  cursor: pointer;
}

.center-text {
  text-align: center;
}




/*ITENARY*/
.tour-tabs-new {
  display: flex;
  gap: 20px;
  justify-content: center;
  background: #0baabff8;
  padding: 14px 24px;
  border-radius: 12px;
  max-width: fit-content;
  margin: 50px auto 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.tour-new-tab-link {
  font-weight: 500;
  text-decoration: none;
  color: #111;
  padding: 6px 10px;
  position: relative;
  transition: color 0.3s ease;
}

.tour-new-tab-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background: #0078d4;
  transition: 0.3s ease;
}

.tour-new-tab-link:hover::after,
.tour-new-tab-link.active::after {
  width: 100%;
}

html {
  scroll-behavior: auto !important;
}
/* === TOUR SECTIONS === */
.tour-section {
  background: #fff;
  max-width: 950px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.tour-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 5px solid #2095AE;
  padding-left: 12px;
}

/* === LISTS === */
.tour-checklist li,
.tour-crosslist li {
  margin-bottom: 10px;
  padding-left: 10px;
  line-height: 1.6;
}

.tour-crosslist li {
  color: #d32f2f;
}

.tour-checklist li {
  color: #2e7d32;
}

/* === ITINERARY ACCORDION === */
.itinerary-accordion {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.itinerary-accordion-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: #f4f5f8;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  border-radius: 4px;
  overflow: hidden;
}

.itinerary-accordion-item:hover {
  background: rgba(32, 149, 174, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #2095AE;
}

.itinerary-accordion-header {
  all: unset;
  display: block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 20px 30px;
  color: #0f2454;
  font-family: 'Poppins', sans-serif;
  background-color: transparent;
}

.itinerary-accordion-header:hover {
  color: #2095AE;
}

.itinerary-accordion-header.active {
  color: #2095AE;
}

.itinerary-accordion-body {
  display: none;
  padding: 20px 30px;
  background-color: #f4f5f8;
  color: #676977;
}

.itinerary-accordion-item.active .itinerary-accordion-body {
  display: block;
}

.itinerary-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-end; /* optional, ensures left alignment */
}
.itinerary-content .text {
  flex: 1;
  min-width: 250px;
  order: 1;
}
.itinerary-content .image {
  flex: 1;
  min-width: 250px;
  order: 0; /* Make sure image appears first */
}

.itinerary-content .image img {
  max-width: 70%;
  height: 300px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin: 0; /* Remove margin-right */
}



/*FAQ*/
.faq-main {
  padding: 60px 20px;
  /* background-color: #f0f6ff; */
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: #1d3557;
  margin-bottom: 40px;
}

.accordion-box {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.accordion.block {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease-in-out;
}

.acc-btn {
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 600;
  color: #1d3557;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.acc-btn:hover {
  background-color: #e2efff;
}

.acc-btn::after {
  content: '+';
  position: absolute;
  right: 24px;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.accordion.active .acc-btn::after {
  content: '−';
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  background-color: #fdfdff;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion.active .acc-content {
  padding: 0 24px 20px;
  max-height: 500px;
}

.acc-content .text {
  padding-top: 16px;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.faq-spacer-top,
.faq-spacer-bottom {
  height: 40px;
}

.tour-section {
  scroll-margin-top: 100px !important;
  /* Adjust based on your header height */
}