@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --primary-color: #2cc50d;
  --primary-color-dark: #295a12;
  --text-dark: #0a0a0a;
  --text-light: #737373;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
  --green_light:#e4f1e4;
  --oranage:#bd5113;
}

* {
  padding: 0; 
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 5px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav__logo .logo img{
border-radius: 30px;
  width: 200px;
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--white);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--primary-color);
}

.nav__btns {
  display: none;
}

header {
  margin-top: 5rem;
  padding-inline: 1rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

header::before {
  position: absolute;
  content: "";
  height: 100%;
  width: calc(100% - 2rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url("../img/retouch.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 3rem;
  z-index: -1;
}

.header__container {
  display: grid;
}

.header__content {
  padding: 4rem 1rem;
}

.header__content p {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}

.header__content h1 {
  margin-bottom: 2rem;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--white);
  line-height: 5.5rem;
  text-align: center;
}

.header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header__btns .btn {
  padding: 1rem 2rem;
}

.header__btns a {
  padding: 9px 13px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: var(--white);
  border-radius: 100%;
}

.header__btns a:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.destination__container :is(.section__header, .section__description) {
  text-align: left;
  margin-inline-start: unset;
}

.destination__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;
}

.destination__card img {
  border-radius: 1.5rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.destination__card__details {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.destination__card__details h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.destination__card__details p {
  color: var(--text-light);
}

.destination__rating {
  padding: 5px 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 1rem;
  transition: 0.3s;
}

.destination__card:hover .destination__rating {
  background-color: var(--primary-color-dark);
}


.showcase__container {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.showcase__image img {
  max-width: 400px;
  margin-inline: auto;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.showcase__content h4 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-dark);
}

.showcase__content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.showcase__content .btn {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  background-image: url("assets/header-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.banner__container {
  display: grid;
  gap: 2rem;
}

/* serch availabilty */
.booking__container {
  background: #fff;
  margin: -40px auto 40px;
  padding: 20px;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.booking__tabs {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 15px;
  gap: 10px;
}

.booking__tabs .tab {
  background: #f5f5f5;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.booking__tabs .tab.active {
  background: var(--primary-color);
  color: #fff;
}

.trip__type {
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  font-size: 14px;
}

/* --- Round Trip toggle behavior --- */
.booking__form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.form__group {
  flex: 1 1 300px;
  /* default flexible min width */
}

.booking__form.round-trip .form__group {
  flex: 1 1 300px;
  /* shrink inputs when round trip */
}

.form__group select,
.form__group input {
  width: 100%;
}

/* Trip type radios styled as pill buttons with active color */
.trip__type {
  display: inline-flex;
  gap: 12px;
  width: 100%;
}

.trip__type label {
  padding: 8px 18px;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  transition: all 0.3s ease;
  user-select: none;
}

/* hide native radios */
.trip__type input {
  display: none;
}

/* style whole label when radio is checked */
.trip__type input:checked+label,
.trip__type label:has(input:checked) {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  font-weight: 600;
}

.discover__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.discover__card {
  padding: 2rem 1rem;
  text-align: center;
  transition: 0.3s;
  border-radius: 1rem;
}

.discover__card:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.discover__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 10px 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: rgba(40, 135, 255, 0.1);
  border-radius: 100%;
}

.discover__card h4 {
  max-width: 150px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.destination__card p {
  color: var(--text-light);
}

.swiper {
  margin-top: 4rem;
  width: 100%;
}

.swiper-slide {
  min-width: 375px;
}


.route__header h4 {
  font-size: 0.8rem;
  /* smaller than default */
}

.route__header .route__price {
  font-size: 0.85rem;
  /* smaller than default */
}

.testimonial {
  height: 100vh;
  background-color: var(--extra-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.testimonial__swiper {
  padding-bottom: 7rem;
}

.testimonial__title {
  font-size: var(--h1-font-size);
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial__card {
  width: 280px;
  background-color: var(--container-color);
  box-shadow: 0 8px 16px hsla(144, 71%, 4%, 0.637);
  padding: 2rem 1.5rem 3rem;
  border-radius: 1.5rem;
  text-align: center;
}

.testimonial__img {
  width: 100px;
  border-radius: 4rem;
  border: 4px solid var(--first-color);
  margin: 0 auto .5rem;
}

.testimonial__name {
  font-size: var(--h3-font-size);
  margin-bottom: 2rem;
}

.testimonial__rating {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: .75rem;
}

.testimonial__stars {
  display: flex;
  align-items: center;
  column-gap: .25rem;
}

.testimonial__stars i {
  font-size: 1rem;
  color: var(--second-color);
}

.testimonial__number {
  font-size: var(--h3-font-size);
}

/* Swiper class */
.testimonial .swiper-pagination-bullets {
  bottom: 4rem;
}

.testimonial .swiper-pagination-bullet {
  background-color: var(--first-color);
  transition: opacity .4s;
}

.testimonial .swiper-button-prev {
  left: calc(50% - 3rem);
}

.testimonial .swiper-button-next {
  right: calc(50% - 3rem);
}

.testimonial .swiper-button-prev::after,
.testimonial .swiper-button-next::after {
  content: "";
}

.testimonial :is(.swiper-button-prev, .swiper-button-next) {
  top: initial;
  bottom: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--first-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 1.5rem;
}

/* ============ Advert Popup ============ */
#advert-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#advert-popup.show {
  opacity: 1;
  visibility: visible;
}

#advert-popup .advert-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 100%;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

#advert-popup.show .advert-content {
  transform: scale(1);
}

#advert-popup img {
  max-width: 100%;
  border-radius: 8px;
  height: 500px;
}

#close-advert {
  margin-top: 10px;
  background: #1da018;
  border: none;
  padding: 8px 14px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#close-advert:hover {
  background: #148110;
}
/* ============ Cookie Consent ============ */
#cookie-consent {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1500;
}

#cookie-consent button {
  background: #23a10a;
  border: none;
  padding: 6px 12px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

 #support-btn {
   position: fixed;
   bottom: 25px;
   right: 25px;
   background: #23a10aff;
   color: #fff;
   border-radius: 50%;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 28px;
   cursor: pointer;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
   animation: float 2s infinite ease-in-out;
   z-index: 999;
 }

 @keyframes float {

   0%,
   100% {
     transform: translateY(0);
   }

   50% {
     transform: translateY(-8px);
   }
 }

 #support-popup {
   position: fixed;
   bottom: 100px;
   right: 25px;
   background: #fff;
   padding: 15px 20px;
   border-radius: 12px;
   box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
   width: 280px;
   display: none;
   z-index: 1000;
 }

 #support-popup p {
   margin: 0 0 10px;
   font-size: 14px;
   color: #333;
 }

 #support-popup button {
   background: #3eb109ff;
   border: none;
   padding: 6px 12px;
   color: #fff;
   font-size: 13px;
   border-radius: 6px;
   cursor: pointer;
 }

 /* Modal background */
 .modal {
   display: none;
   position: fixed;
   z-index: 1000;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5);
   justify-content: center;
   align-items: center;
 }

 /* Modal box */
 .modal-content {
   background: #fff;
   padding: 20px 30px;
   border-radius: 10px;
   text-align: center;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
 }

 /* Spinner animation */
 .spinner {
   width: 40px;
   height: 40px;
   border: 4px solid #ddd;
   border-top: 4px solid #28a745;
   /* green */
   border-radius: 50%;
   animation: spin 1s linear infinite;
   margin: 10px auto;
 }

 @keyframes spin {
   to {
     transform: rotate(360deg);
   }
 }

@media screen and (max-width: 300px) {
  .testimonial__title {
    font-size: 1.25rem;
  }

  .testimonial__card {
    width: 240px;
    padding-inline: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 640px) {
  .testimonial__swiper {
    max-width: 640px;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .testimonial__swiper {
    max-width: 760px;
  }

  .testimonial__title {
    margin-bottom: 4rem;
  }

  .testimonial__card {
    width: 330px;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
  }

  .testimonial__number {
    font-size: var(--normal-font-size);
  }
}
footer {
  background-color: var(--text-dark);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__col p {
  max-width: 300px;
  margin-block: 2rem;
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  display: inline-block;
  padding: 7px 10px;
  font-size: 1.25rem;
  color: var(--white);
  border-radius: 100%;
}


.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__links a span {
  font-size: 1.25rem;
}

.footer__col form {
  display: grid;
  gap: 1rem;
}

.footer__col input {
  padding: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--text-light);
  border-radius: 5px;
}

.footer__col input::placeholder {
  color: var(--text-light);
}

.footer__col .btn {
  border-radius: 5px;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

@media (width > 540px) {
  .destination__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }


  .discover__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:last-child {
    grid-area: 2/1/3/2;
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }


  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    width: fit-content;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none !important;
  }

  .nav__links a {
    color: var(--text-dark);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__links li:last-child {
    display: none;
  }

  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav__btns button {
    padding: 0.75rem 2rem;
    background-color: var(--text-dark);
  }

  header {
    margin-top: 0;
  }

  .header__container {
    grid-template-columns:
      minmax(0, 1fr)
      repeat(5, minmax(0, calc(var(--max-width) / 5)))
      minmax(0, 1fr);
  }

  .header__content {
    grid-column: 2/4;
    padding-block: 8rem;
  }

  .header__content :is(p, h1) {
    text-align: left;
  }

  .header__btns {
    justify-content: flex-start;
  }

  .header__image {
    grid-column: 4/8;
    position: relative;
    isolation: isolate;
    height: 100%;
  }

  .header__image img {
    position: absolute;
    top: 2rem;
    left: 0;
    height: 100%;
    width: unset;
  }

  .destination__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase__content {
    grid-column: 2/4;
  }
    .booking__form.round-trip .form__group {
      flex: 0 0 270px;
      /* shrink inputs when round trip */
    }

  .banner__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .discover__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .footer__col:last-child {
    grid-area: unset;
  }
}

@media (width > 1200px) {
  .header__content {
    padding-inline: 1rem 0;
  }

  .destination__grid {
    gap: 2rem;
  }
}

/* INDEX ENDS  */
/* ROUTE STARTS */
.routes__page {
  padding: 2rem 0;
  background-color: var(--green_light);
}

.route__filter {
  margin-bottom: 2rem;
  text-align: center;
}

.route__filter input {
  padding: 0.75rem 1.5rem;
  width: 80%;
  max-width: 500px;
  font-size: 1rem;
  border: 1px solid var(--text-light);
  border-radius: 5rem;
  outline: none;
}

.route__filter input:focus {
  border-color: var(--primary-color);
}

.routes__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.route__card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.route__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.route__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.route__header h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
}

.route__price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.route__details p {
  margin: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.book__btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
}

/* Responsive */
@media (width > 768px) {
  .routes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 1024px) {
  .routes__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ROUTE END */
/* LOGISTICS START */
.logistics__page {
  padding: 2rem 0;
  background-color: var(--green_light);
}

.logistics__form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form__row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--text-light);
  border-radius: 0.5rem;
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--primary-color);
}

.quote__box {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f0f9ff;
  border-left: 4px solid var(--primary-color);
  border-radius: 0.5rem;
  color: var(--text-dark);
}

.form__actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.form__actions .btn {
  flex: 1;
  max-width: 200px;
  padding: 0.75rem;
  font-weight: 600;
}

/* Responsive */
@media (width < 768px) {
  .form__row {
    grid-template-columns: 1fr;
  }

  .form__actions {
    flex-direction: column;
  }

  .form__actions .btn {
    max-width: 100%;
  }
}

/* Header */
.result_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  border-bottom: 2px solid var(--primary-color-dark);
}

.result_header .route {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result_header .modify-btn {
  background-color: white;
  color: var(--primary-color-dark);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.result_header .modify-btn:hover {
  background-color: #e0e0e0;
}

/* Main Container */
.result_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.main_container {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Results Layout */
.results {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* Filters Sidebar */
.filters {
  width: 260px;
  background-color: #f9f9f9;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.filters h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

.filter-group div {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.filter-group input[type="checkbox"] {
  margin-right: 8px;
}

/* Bus List */
.bus-list {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.bus-list h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

/* Bus Card */
.bus-card {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}

.bus-card:last-child {
  border-bottom: none;
}

.bus-image {
  width: 170px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  background: transparent;
}

.bus-info {
  flex: 1;
}

.bus-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color-dark);
}

.bus-route svg {
  color: var(--primary-color);
  width: 16px;
  height: 16px;
}

.bus-details {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.time-fare {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.fare {
  font-weight: 600;
  color: #d35400;
}

.vehicle-type {
  background-color: #eafce8;
  color: var(--primary-color-dark);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.available {
  background-color: #d4f4d4;
  color: #006600;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.view-seats {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.view-seats:hover {
  background-color: var(--primary-color-dark);
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
  .result_header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px;
    margin-top: 90px;
  }

  .result_header .route {
    font-size: 13px;
  }

  .results {
    flex-direction: column;
  }

  .filters,
  .bus-list {
    width: 100%;
    margin-bottom: 20px;
  }

  .bus-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .bus-image {
    width: 100%;
    height: 120px;
    margin-bottom: 15px;
  }

  .bus-route {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .time-fare {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 10px;
  }

  .view-seats {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .main {
    padding: 15px;
  }

  .bus-card {
    padding: 15px;
  }

  .bus-image {
    height: 100px;
  }

  .filter-group label {
    font-size: 13px;
  }

  .view-seats {
    padding: 9px 16px;
    font-size: 13px;
  }
}