/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  overflow-x: hidden;
}

.wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* ========== Topbar & Header ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background-color: rgb(31, 58, 80);
  color: #fff;
  width: 100%;
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
}

.logo h2 {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: rgb(217, 144, 9);
  margin-top: 15px;
}

/* ========== Navigation / Links ========== */
.hamburger {
  display: none;
  font-size: 44px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.navBar {
  display: block;
}

.navLinks {
  width: 100%;
  /* overflow-x: hidden; */ /* removed to allow dropdown to show */
}

.linkRight {
  display: flex;
  flex-direction: row;
  gap: 27px;
  align-items: center;
  list-style: none;
}

.linkRight a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

.linkRight a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.linkRight a:hover {
  color: rgb(217, 144, 9);
}

.linkRight a:hover::after {
  width: 100%;
}

.linkRight button {
  padding: 6px 12px;
  background: rgb(217, 144, 9);
  width: 120px;
  color: black;
  border: none;
  height: 40px;
  border-top-right-radius: 40px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.linkRight button:hover {
  background: white;
  color: rgb(31, 58, 80);
}

/* ========== Dropdown Menu ========== */
.linkRight li.dropdown {
  position: relative; /* parent reference for absolute menu */
}

/* Dropdown appears ABOVE parent link */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* show above the link */
  left: 0;
  margin-top: 5px;
  background: white;
  min-width: 150px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: rgb(31, 58, 80);
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgb(217, 144, 9);
  color: black;
  font-weight: bold;
}


/* .linkRight li.dropdown:hover > .dropdown-menu {
  display: block;
} */

/* Desktop: show on hover */
@media (min-width: 451px) {
  .linkRight li.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* ========== Mobile / Responsive ========== */
@media (max-width: 450px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 15px;
    gap: 10px;
  }

  .logo {
    margin-left: 0;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
    margin-left: 40px;
    margin-bottom: 10px;
  }

  .navBar {
    display: none;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .navBar.active {
    display: block !important;
  }

  .linkRight {
    flex-direction: column;
    gap: 20px;
    padding: 10px 20px;
  }

  .linkRight button {
    background-color: rgb(223, 181, 104);
    color: #555;
    width: 100%;
    border-radius: 6px;
  }

  .linkRight a {
    color: #fff !important;
    font-size: 18px;
  }

  /* Mobile dropdown shows below parent (clickable) */
  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    background-color: rgb(31, 58, 80);
    border-radius: 0;
    box-shadow: none;
    display: none; /* hidden initially */
  }

  .dropdown-menu li a {
    background-color: rgb(223, 181, 104) !important;
    color: #555 !important;
  }

  /* Show dropdown when parent gets focus */
  .linkRight li.dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}








/* Base styles for your section */
.how-it-works {
  background:rgb(247, 157, 147);
  padding: 80px 20px;
  text-align: center;
  color: #333;
  /* font-family: "Poppins", sans-serif; */
}

/* Container starts off-screen left and invisible */
.how-it-works .container {
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-100%);
  /* Animation setup */
  animation: slideInContainer 0.9s ease-out forwards;
  /* you can add delay if you want it to wait a bit after load */
  animation-delay: 0.2s;
}

/* Keyframes for container sliding in */
@keyframes slideInContainer {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.how-it-works h2 {
  font-size: 2.5rem;
  /* font-weight: 700; */
  margin-bottom: 40px;
  color: #1f3a50;
  position: relative;
}

.how-it-works h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  /* background: linear-gradient(90deg, #ff7b54, #ffb26b); */
   background:rgb(31, 58, 80);
  margin: 15px auto 0;
  border-radius: 2px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 35px;
}

.step {
  background: linear-gradient(145deg, #1f3a50, #29465f);
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
  z-index: 0;
}

.step:hover::before {
  transform: scale(1);
}

.step:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.step-icon {
  font-size: 3rem;
  color: #ffb26b;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
  /* margin-top: 130px; */
}

.step-icon img{
  /* padding-top: 40px; */
}

.step h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #ff7b54;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.step p {
  font-size: 1rem;
  color: #e8e8e8;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Hover glow effect */
.step:hover .step-icon {
  color: #ffe6cc;
  text-shadow: 0 0 10px rgba(255, 178, 107, 0.8);
}



/* Steps items hidden initially, slightly lower and transparent */
.how-it-works .step {
  opacity: 0;
  transform: translateY(20px);
  
  /* Animation settings (same animation name for all, but use delay for stagger) */
  animation: fadeUpStep 0.6s ease-out forwards;
}

/* Staggered delays for steps */
.how-it-works .step:nth-child(1) {
  animation-delay: 0.6s; /* container delay + some extra */
}
.how-it-works .step:nth-child(2) {
  animation-delay: 0.75s;
}
.how-it-works .step:nth-child(3) {
  animation-delay: 0.9s;
}
.how-it-works .step:nth-child(4) {
  animation-delay: 1.05s;
}

/* Keyframes for steps fade up */
@keyframes fadeUpStep {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*== media query ==*/
@media (max-width: 450px) {
  /* Adjust padding for smaller screens */
  .how-it-works {
    padding: 60px 15px;
  }

  /* Modify heading size and margin */
  .how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  /* Stack steps vertically with reduced gap */
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Adjust step padding and icon size */
  .step {
    padding: 25px 15px;
    width: 320px;
    margin-left: 5px;
  }

  .step-icon {
    font-size: 2.5rem;
  }

  /* Reduce text size for better readability */
  .step h3 {
    font-size: 1.4rem;
  }

  .step p {
    font-size: 0.9rem;
  }
}









/* Hero Section */
.hero-search {
  /* background: linear-gradient(135deg, #0078ff, #00d4ff); */
  background-color:rgb(247, 157, 147);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 40px 20px;
}

/* Container */
.hero-container {
  background:rgb(31, 58, 80);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 600px;
  /* box-shadow: 20px 50px 30px   10px rgb(31, 58, 80, 0.5); */
  animation: fadeIn 1s ease-in-out;
}

/* Title */
.hero-container h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
  color:white;
}

/* Form */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Fields */
.field-group {
  display: flex;
  flex-direction: column;
  /* color: salmon; */
}

.field-group label {
  font-weight: 500;
  margin-bottom: 5px;
  color:salmon !important;
}

.field-group input,
.field-group select {
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  outline: none;
  /* background: rgba(255, 255, 255, 0.9); */
  color: #333;
  font-size: 0.95rem;
  transition: box-shadow 0.3s ease;
}

.field-group input:focus,
.field-group select:focus {
  box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.4);
}

/* Button */
.btn-search {
  /* background: #fff; */
  color:rgb(31, 58, 80);
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-search:hover {
  background:rgb(1, 15, 27);
  color: #fff;
  transform: translateY(-2px);
  /* box-shadow: 0 5px 15px rgb(31, 58, 80,0.5); */
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 450px) {
  /* Hero Section */
  .hero-search {
    padding: 20px;
    min-height: auto;
  }

  .hero-container {
    padding: 20px;
    width: 100%;
    max-width: none;
    border-radius: 10px;
  }

  .hero-container h1 {
    font-size: 1.5rem;
  }

  .search-form {
    flex-direction: column;
    gap: 10px;
  }

  .field-group input,
  .field-group select {
    padding: 8px;
    font-size: 0.9rem;
  }

  .btn-search {
    padding: 10px;
    font-size: 0.9rem;
  }

  /* How It Works Section */
  .how-it-works {
    padding: 60px 15px;
  }

  .how-it-works h2 {
    font-size: 2rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    padding: 25px;
  }

  .step-icon {
    font-size: 2.5rem;
  }

  .step h3 {
    font-size: 1.3rem;
  }

  .step p {
    font-size: 0.95rem;
  }

  /* Testimonials Section */
  .testimonials-section {
    padding: 60px 15px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-author {
    font-size: 0.9rem;
  }

  /* Services Section */
  .services-section {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card img {
    width: 50px;
    height: 50px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}











/* Popular routes section */
.popular-routes {
  padding: 60px 20px;
  background-color: #f5f7fa;
}
.popular-routes .container {
  /* max-width: 1100px; */
  margin: 0 auto;
}
.popular-routes h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 8px;
}
.popular-routes .subtitle {
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
  color:salmon;
  margin-bottom: 30px;
  font-size:18px;
}

/* Routes list container */
.routes-list {
  overflow: hidden;
  position: relative;
}

/* The moving track */
.slide-track {
  display: flex;
  gap: 20px;
  animation: scroll-left 20s linear infinite;
}

/* Route card style */
.route-card {
  flex: 0 0 auto;
  width: 260px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background:rgb(31, 58, 80);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #eef2f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.card-info {
  flex-grow: 1;
}
.route-title {
  font-size: 1.2rem;
  font-weight: 600;
  color:white;
  margin: 0;
}
.route-detail {
  font-size: 0.95rem;
  color:salmon;
  margin-top: 4px;
}

/* Button view-all */
.view-all {
  margin-top: 35px;
  text-align: center;
}
.btn-view-all {
  display: inline-block;
  padding: 12px 28px;
  background-color:rgb(31, 58, 80);
  color: #fff;
  border: none;
  font-weight: bold !important;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-view-all:hover {
  background-color:salmon;
  color: #555;
  /* font-weight: bold; */
  transform: translateY(-2px);
}

/* Animation keyframes */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive tweaks */
@media (max-width: 450px) {
  .route-card {
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
  }
  .card-icon {
    width: 40px;
    height: 40px;
  }
  .card-icon img {
    width: 24px;
    height: 24px;
  }
  .route-title {
    font-size: 1.1rem;
  }
  .route-detail {
    font-size: 0.9rem;
  }
}









/* Base Styles */
.train-results {
  padding: 2rem 1rem;
  background: #f5f5f5;
}
.train-results .container {
  margin: 0 auto;
}
.train-results h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color:salmon;
}

/* Train List */
.train-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* Train Card */
.train-card {
  display: flex;
  flex-direction: row;
  background:rgb(31, 58, 80) !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.train-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Train Info */
.train-info {
  flex: 2;
  padding: 1rem;
  background: rgb(31, 58, 80);
}
.train-info h3 {
  margin: 0;
  font-size: 1.5rem;
  color:white;
}
.train-info .route {
  margin-top: 0.5rem;
  font-size: 1rem;
  color:salmon;
  margin-top: 25px;
}

/* Train Details */
.train-details {
  flex: 3;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 100px;
}
.time-block {
  margin-bottom: 1rem;
}
.time-block .label {
  font-size: 0.9rem;
  color:white;
}
.time-block .time {
  font-size: 1.2rem;
  font-weight: 500;
  color:salmon;
}

/* Train Classes */
.train-classes {
  margin-right: 100px;
  flex: 1;
  padding: 1rem;
  background:rgb(31, 58, 80);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.class {
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
}
.available {
  background-color: #e0f7e9;
  color:rgb(31, 58, 80);
  font-weight: bold;
}
.sold-out {
  background-color: #fbeaea;
  color: #c0392b;
  font-weight: bold;
  text-decoration: line-through;
}

/* Train Fare */
.train-fare {
  flex: 1;
  padding: 1rem;
  background:rgb(31, 58, 80);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  /* margin-left: 50px; */
}
.price {
  font-size: 1.6rem;
  font-weight: bold;
  color:white;
}
.btn-book {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color:white;
  color:rgb(31, 58, 80);
  font-weight: bold;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-book:hover {
  background-color: #2ecc71;
}

/* Responsive Styles */
@media only screen and (max-width: 450px) {
  /* Hero Section */
  .hero-search {
    padding: 20px;
  }
  .hero-container {
    padding: 20px;
    max-width: 100%;
  }
  .hero-container h1 {
    font-size: 1.5rem;
  }
  .search-form {
    gap: 10px;
  }
  .field-group input,
  .field-group select {
    font-size: 0.9rem;
  }
  .btn-search {
    font-size: 0.9rem;
  }

  /* How It Works Section */
  .how-it-works {
    padding: 60px 10px;
  }
  .how-it-works h2 {
    font-size: 2rem;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step {
    padding: 30px 15px;
  }
  .step-icon {
    font-size: 2.5rem;
  }
  .step h3 {
    font-size: 1.4rem;
  }
  .step p {
    font-size: 0.95rem;
  }

  /* Train Results Section */
  .train-results {
    padding: 1rem;
  }
  .train-list {
    flex-direction: column;
    align-items: center;
  }
  .train-card {
    flex-direction: column;
    width: 100%;
    margin: 0.5rem 0;
  }
  .train-info{
    margin-left: 120px;
  }
  .train-details{
    margin-left: 150px;
  }
  .train-classes{
    width: 150px;
    margin-left: 110px;
  }
  .train-fare {
    margin-right: 160px;
  }

  .train-fare .price{
    margin-right: 40px;
  }
  .train-info h3,
  .train-details .time-block .time,
  .train-classes .class,
  .train-fare .price {
    font-size: 1rem;
  }
  .btn-book {
    font-size: 0.9rem;
  }
}













/* Container */
.passenger-details {
  padding: 2rem 1rem;
  background: rgb(120, 227, 150);

  display: flex;
  flex-direction: row;
}

.passenger-details .img{
  margin-top: 250px;
  margin-left: 150px;
}

.passenger-details .container {
  padding: 50px;
  width: 600px;
  margin: 0 auto;
  margin-top: 100px;
  background-color:whitesmoke;
}
.passenger-details h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color:rgb(120, 227, 150);
}

/* Form layout */
.passenger-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Field group */
.field-group {
  display: flex;
  flex-direction: column;
}
.field-group label {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #555 !important;
}
.field-group input,
.field-group select {
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Submit button */
.btn-submit {
  background-color: rgb(120, 227, 150);
  color:#555;
  border: none;
  padding: 0.8rem 1.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-submit:hover {
  background-color: rgb(70, 202, 108);
  color: white;
}

/* Responsive tweaks */
@media screen and (max-width: 450px) {
  /* Adjust container layout */
  .passenger-details {
    flex-direction: column;
    padding: 1rem;
  }

  /* Center the image */
  .passenger-details .img {
    margin-left: -10px;
    margin-top: 1rem;
    width: 20%;
    /* height: auto; */
  }

  /* Adjust container width */
  .passenger-details .container {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    margin-left:2px;
  }

  /* Adjust heading size */
  .passenger-details h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  /* Adjust form layout */
  .passenger-form {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  /* Adjust input and select fields */
  .field-group input,
  .field-group select {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  /* Adjust submit button */
  .btn-submit {
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
}










/* Container & section styling */
.fare-summary {
  padding: 2rem 1rem;
  background-color:#34495e;
  padding-top: 100px;
  display: flex;
  flex-direction: row;
  /* margin-top: 50px; */
  padding-bottom: 100px;

}
.fare-summary .container {
  max-width: 500px;
  margin: 0 auto;
  /* border: 5px solid salmon; */
  padding: 50px;
}
.fare-summary h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color:rgb(120, 227, 150) ;
}

/* Fare breakdown box */
.fare-breakdown {
  /* border: 1px solid #ddd; */
  border-radius: 8px;
  padding: 1.5rem 1rem;
  /* background-color: #f9f9f9; */
}

/* Each row */
.fare-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color:whitesmoke;
}

/* Divider line before total */
.fare-divider {
  border: none;
  border-top: 1px solid rgb(120, 227, 150);
  margin: 0.8rem 0;
}

/* Total row styling */
.fare-row.total {
  font-size: 1.2rem;
  font-weight: bold;
  color:rgb(120, 227, 150);
}
.fare-row.total .amount {
  color:rgb(120, 227, 150);
  margin-left: 20px;
}




.fare-summary .container .subtitle{
  color:orange;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Form Container */
.addons-form {
  margin: 2rem auto;
}

/* Addon Item */
.addon-item {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.addon-item label {
  font-size: 1rem;
  color:whitesmoke;
  display: flex;
  align-items: center;
  gap: 8px;
}

.addon-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  /* accent-color: #27ae60; */
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.addon-item input[type="checkbox"]:hover {
  transform: scale(1.1);
}

.addon-item input[type="number"] {
  width: 80px;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
  /* background-color: #fff; */
  transition: border-color 0.3s ease;
}

.addon-item input[type="number"]:focus {
  /* border-color: #27ae60; */
  outline: none;
}

/* Submit Button */
.addons-submit {
  text-align: center;
  margin-top: 1.5rem;
}

.addons-submit .btn-addons-apply {
  padding: 0.8rem 1.5rem;
  background-color: rgb(120, 227, 150);
  color:#555;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.addons-submit .btn-addons-apply:hover {
  background-color:rgb(120, 227, 150);
  color: white;
}





.fare-summary .container .payment-subtitle{
  color:orange;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}
/* Title */
.payment-form h2 {
  font-size: 1.6rem;
  color:whitesmoke;
  text-align: center;
  margin-bottom: 1rem;
}

/* Subtitle */
.payment-form .payment-subtitle {
  font-size: 1rem;
  color:whitesmoke;
  text-align: center;
  margin-bottom: 2rem;
}

/* Payment Method */
.payment-method {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.payment-method input[type="radio"] {
  margin-right: 1rem;
}

.payment-method img.payment-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.8rem;
}

.payment-method label {
  font-size: 1rem;
  color:whitesmoke;
  display: flex;
  align-items: center;
}

/* Checkout Button */
.checkout-btn-container {
  text-align: center;
  margin-top: 2rem;
}

.btn-checkout {
  background-color: rgb(120, 227, 150);
  color:#555;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-checkout:hover {
  background-color:rgb(120, 227, 150);
  color: whitesmoke;
}

/*== media query ==*/
@media only screen and (max-width: 450px) {
  /* Container & Section Styling */
  .fare-summary {
    flex-direction: column;
    padding: 1rem;
  }

  .fare-summary .container {
    padding: 30px;
    width: 100%;
  }

  .fare-summary h2 {
    font-size: 1.5rem;
  }

  /* Fare Breakdown */
  .fare-breakdown {
    padding: 1rem;
  }

  .fare-row {
    font-size: 0.9rem;
  }

  .fare-divider {
    margin: 0.5rem 0;
  }

  .fare-row.total {
    font-size: 1rem;
  }

  /* Addons Form */
  .addons-form {
    margin: 1rem auto;
  }

  .addon-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .addon-item label {
    font-size: 0.9rem;
  }

  .addon-item input[type="checkbox"] {
    margin-bottom: 0.5rem;
  }

  .addon-item input[type="number"] {
    width: 60px;
  }

  .addons-submit .btn-addons-apply {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }

  /* Payment Form */
  .payment-form h2 {
    font-size: 1.4rem;
  }

  .payment-method {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-method input[type="radio"] {
    margin-bottom: 0.5rem;
  }

  .payment-method img.payment-icon {
    margin-right: 0.5rem;
  }

  .payment-method label {
    font-size: 0.9rem;
  }

  .checkout-btn-container .btn-checkout {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
}






.ticket-confirmation{
  display: flex;
  flex-direction: row;
  margin-top: 100px;
  margin-bottom: 100px;
}

.ticket-confirmation .container{
  margin-left: 150px;
}

.confirmation-message{
  margin-bottom: 30px;
  color: salmon;
  font-weight: bold;
}

.ticket-details h3{
  margin-bottom: 20px;
}

/* Header */
h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom:20px;
}

.ticket-info {
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.ticket-info td {
  padding: 0.8rem;
}

.ticket-info td:first-child {
  font-weight: bold;
  color: #34495e;
}

.ticket-info td:last-child {
  color: black;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-download {
  background-color: #27ae60;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-print{
  background-color: salmon;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-share{
  background-color:rgb(31, 58, 80);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Booking Image */
.booking img {
  margin-top: 100px;
  margin-right: 40px;
}

/* Responsive Design */
@media only screen and (max-width: 450px) {
  /* Container */
  .ticket-confirmation {
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .ticket-confirmation .container {
    margin-left: 0;
    padding: 20px;
  }

  /* Header */
  h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  /* Ticket Info */
  .ticket-info td {
    padding: 0.6rem;
  }

  .ticket-info td:first-child {
    font-size: 0.9rem;
  }

  .ticket-info td:last-child {
    font-size: 0.9rem;
  }

  /* Action Buttons */
  .action-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn-download,
  .btn-print,
  .btn-share {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  /* Booking Image */
  .booking img {
    margin-top: 20px;
    margin-right: 0;
    width: 100%;
    height: auto;
  }
}










.why-book-with-us {
  background-color:salmon;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.why-book-with-us .container {
  max-width: 900px;
  margin: 0 auto;
}

.why-book-with-us h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.trust-signals {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.signal {
  text-align: center;
  /* border: 3px solid black; */
}

.signal img {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
  margin-top: 30px;
}

.signal p {
  font-size: 1rem;
  color:white;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 10px;
}

.refund-policy, .support, .guarantee, .reviews {
  background-color:rgb(31, 58, 80);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.refund-policy h3, .support h3, .guarantee h3, .reviews h3 {
  font-size: 1.5rem;
  color:white;
  margin-bottom: 1rem;
}

.refund-policy p, .support p, .guarantee p {
  font-size: 1rem;
  color:rgb(236, 184, 89);
  line-height: 1.6;
}

.support ul {
  list-style-type: none;
  padding: 0;
}

.support li {
  font-size: 1rem;
  color:wheat;
  margin-top: 10px;
  margin-bottom: 0.5rem;
}

.reviews .review {
  background-color: #f1f1f1;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.reviews .review p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.reviews .review span {
  font-size: 0.9rem;
  color: #777;
}

@media screen and (max-width: 450px) {
  /* Container & Section Styling */
  .why-book-with-us {
    padding: 1rem;
  }

  .why-book-with-us h2 {
    font-size: 1.8rem;
  }

  .trust-signals {
    flex-direction: column;
    align-items: center;
  }

  .signal {
    margin-bottom: 1rem;
  }

  .signal img {
    width: 40px;
    height: 40px;
  }

  .signal p {
    font-size: 0.9rem;
  }

  .refund-policy, .support, .guarantee, .reviews {
    padding: 1rem;
  }

  .refund-policy h3, .support h3, .guarantee h3, .reviews h3 {
    font-size: 1.2rem;
  }

  .refund-policy p, .support p, .guarantee p {
    font-size: 0.9rem;
  }

  .support li {
    font-size: 0.9rem;
  }

  .reviews .review {
    padding: 0.8rem;
  }

  .reviews .review p {
    font-size: 0.9rem;
  }

  .reviews .review span {
    font-size: 0.8rem;
  }
}








/* FAQ Section Base */
.faq-section {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
}
.faq-section .container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #333;
}

/* FAQ Item */
.faq-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Question Button */
.faq-question {
  width: 100%;
  background:rgb(31, 58, 80);
  border: none;
  outline: none;
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  color:white;
  transition: background 0.3s;
}
.faq-question:hover {
  /* background: #f0f0f5; */
}

/* Add arrow icon (plus/minus) */
.faq-question::after {
  content: "\02795";  /* plus sign */
  font-size: 1.2rem;
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  content: "\2796";  /* minus sign when open */
}

/* Answer Panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  background: salmon;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px; /* large enough to show content */
  padding: 1rem 1.2rem;
}

/* Answer content text */
.faq-answer p {
  margin: 0;
  color: #555;
  font-weight: bold;
  line-height: 1.5;
}












/* Footer Styles */

.site-footer {
  background-color:rgb(31, 58, 80);   /* dark background */
  color: #f9f9f9;            /* light text */
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  padding-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
  margin-left:100px;
}


.footer-contact{
  color:rgb(217, 144, 9);
}

.col{
  display: flex;
  flex-direction: row;
  margin-left: -50px;
  margin-top: -25px;
}

.col p{
  margin-top: 30px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-contact a {
  color: #f9f9f9;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  transition: color 0.3s;
  /* font-weight: bold; */
}

.footer-contact a:hover {
  color: #1abc9c;  /* accent color */
}

.footer-column h4 {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: rgb(217, 144, 9);
  position: relative;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: rgb(217, 144, 9);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #f9f9f9;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: bold;
}

.footer-column ul li a:hover {
  color: #1abc9c;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #333;
  border-radius: 50%;
  color: #f9f9f9;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
  background-color: #1abc9c;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaaaaa;
}

.footer-bottom a {
  color: #cccccc;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #1abc9c;
}

/* ====== Mobile / Responsive Footer for 450px ====== */
@media (max-width: 450px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
  }

  .footer-column {
    margin-left: 0; /* remove extra left margin */
    text-align: center;
    margin-top: -20px;
  }

  .footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-column ul li {
    margin-bottom: 8px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    margin-top: -80px;
  }

  .footer-bottom a {
    margin: 0 5px;
  }

  .col {
    flex-direction:row;
    margin-left: 0;
    margin-top: 0;
  }

  .col p {
    margin-top:30px;
  }

  .footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
  }
}
