@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --primary-font: "Inter", sans-serif;
  --primary-color: #0A3D8B;
  --secondary-color: #BE1316;
  --tertiary-color: #0A8245;
  --secondary-border-color: #E4E6E8;
  --grey-color: #737373;
}



.primary-color {
  color: var(--primary-color) !important;
}

.secondary-color {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}
.bg-grey {
  background-color:rgba(217, 217, 217, 0.3)
}
.color-inherit {
  color: inherit !important;
}

.color-grey {
  color: var(--grey-color) !important;
}

.bg-white {
  background-color: white;
}

.border-secondary {
  border: 1.5px solid var(--secondary-color) !important;
}
.border-secondary.light{border-width: 0.8px !important;}

.border-secondary-border {
  border-color: var(--secondary-border-color) !important;
}

.bg-secondary-border {
  background-color: var(--secondary-border-color) !important;
}

.primary-font {
  font-family: var(--primary-font) !important;
}

.font-medium {
  font-weight: 500 !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.mt-header {
  margin-top: 74px !important;
}

body {
  font-family: var(--primary-font);
  color: black;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  box-sizing: border-box;
}

p,
figure {
  margin-bottom: 0 !important;
}

a {
  text-decoration: none !important;
}

ul {
  list-style: none;
}

li {
  text-decoration: none;
}

input,
textarea {
  outline: none;
}

textarea {
  resize: none;
}

.h-min {
  height: min-content;
}

.w-min {
  width: min-content;
}

.w-fit {
  width: fit-content !important;
}

.text-transparent {
  color: transparent !important;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible;
}

.overflow-x-scroll {
  overflow-x: scroll !important;
}

.object-fit-contain {
  object-fit: contain;
}

.object-fit-cover {
  object-fit: cover;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-sticky {
  position: sticky;
}

.position-unset {
  position: unset;
}

.h-unset {
  height: unset !important;
}

.fit-content {
  width: fit-content !important;
}

.section-padding-top {
  padding-top: var(--section-padding-top);
}

.section-padding-bottom {
  padding-bottom: var(--section-padding-bottom);
}

.aspect-ratio-1 {
  aspect-ratio: 1;
}

.aspect-ratio-2 {
  aspect-ratio: 2;
}

@media screen and (min-width: 992px) {
  .aspect-ratio-lg-2 {
    aspect-ratio: 2 !important;
  }
}

@media screen and (min-width: 992px) {
  .aspect-ratio-lg-3_5 {
    aspect-ratio: 3.5 !important;
  }
}

@media screen and (min-width: 768px) {
  .aspect-ratio-md-3 {
    aspect-ratio: 3 !important;
  }
}

@media screen and (min-width: 768px) {
  .aspect-ratio-md-3 {
    aspect-ratio: 3 !important;
  }
}

.aspect-ratio-3_4 {
  aspect-ratio: 3/4;
}

.aspect-ratio-3_5 {
  aspect-ratio: 3/5;
}

.aspect-ratio-4_3 {
  aspect-ratio: 4/3;
}

.aspect-ratio-5_3 {
  aspect-ratio: 5/3;
}

.aspect-ratio-5_4 {
  aspect-ratio: 5/4;
}

.aspect-ratio-6_5 {
  aspect-ratio: 6/5;
}

.aspect-ratio-5_6 {
  aspect-ratio: 5/6;
}

.aspect-ratio-3_2 {
  aspect-ratio: 3/2;
}

.aspect-ratio-2_3 {
  aspect-ratio: 2/3;
}

.aspect-ratio-13_7 {
  aspect-ratio: 13/7;
}

.aspect-ratio-_4 {
  aspect-ratio: 5/4;
}

.aspect-ratio-16_9 {
  aspect-ratio: 16/9;
}

.mt-4_5 {
  margin-top: 2.25rem;
}

.mb-4_5 {
  margin-bottom: 2.25rem;
}

.gx-4_5 {
  --bs-gutter-x: 2.25rem;
}

.py-4_5 {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.pb-4_5 {
  padding-bottom: 2.25rem;
}

.pt-4_5 {
  padding-top: 2.25rem;
}

.ps-4_5 {
  padding-inline-start: 2.25rem;
}

.p-4_5 {
  padding: 2.25rem;
}

.px-4_5 {
  padding-inline: 2.25rem;
}

.lh-08 {
  line-height: 0.8;
}

.lh-1 {
  line-height: 1;
}

.cursor-pointer {
  cursor: pointer;
}

.button {
  height: 40px;
  padding-inline: 20px;
  border-radius: 20px;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid;
}

.rounder-btn {
  height: 42px;
  padding-inline: 20px;
  border-radius: 24px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.rounder-btn.primary {
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
}

.rounder-btn.primary:hover {
  cursor: pointer;
  background-color: white !important;
  box-shadow: 0 2px rgba(0, 0, 0, 0.2);
  color: var(--primary-color) !important;
  border-color: white !important;
}

.rounder-btn.secondary {
  background-color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}

.rounder-btn.secondary:hover {
  cursor: pointer;
  background-color: white !important;
  box-shadow: 0 2px rgba(0, 0, 0, 0.2);
  color: var(--secondary-color) !important;
  border-color: white !important;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.head-links {
  color: black;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home-hero-banner {
  background-image: url('../images/home-hero-banner.jpg');
  background-size: cover;
  background-position: center;
  height: 75vh;
  border-radius: 20px;
  margin-top: 74px;
  padding-inline: clamp(1.25rem, -0.2083rem + 6.4815vw, 5.625rem);;
}

.font-bold {
  font-weight: 700 !important;
}

.font-normal {
  font-weight: 400 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-light {
  font-weight: 300 !important;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}
.text-2xs{font-size: 0.5rem;}
.text-xs {
  font-size: 0.75rem;
}

.text-l {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}
.text-3xl{
  font-size: 2rem;
}
.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-banner {
  font-size: 2.5rem;
}

.mt-n3 {
  margin-top: -3rem;
}

.mt-n2 {
  margin-top: -2rem;
}

.aeroplane-image {
  transform: rotateY(180deg);
}

.aeroplane-image-figure {
  left: 59.5%;
  top: 0px;
  width: 40vw;
  height: 100%;
  overflow: hidden;
}



.home-search-section {
  background-color: transparent !important;
  margin-top: clamp(-5.625rem, calc(2.875rem - 9.4444vw), 0.75rem) !important;
  z-index: 99;
}

.home-search-section>div {
  padding-inline: clamp(0.875rem, -0.7083rem + 7.037vw, 5.625rem);
}

.home-form-header {
  background-color: rgba(217, 217, 217, 0.3);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.form-header {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
}

.form-header.active {
  background-color: white;
  color: black;
}

.button.bg-primary:hover {
  background-color: white !important;
  box-shadow: 0 2px rgba(0, 0, 0, 0.2);
  color: var(--primary-color) !important;
}

.button.bg-secondary:hover {
  background-color: white !important;
  box-shadow: 0 2px rgba(0, 0, 0, 0.2);
  color: var(--secondary-color) !important;
}

.line-decorated-li {
  list-style: disc !important;
  color: white !important;
}

.input-fields:focus {
  box-shadow: none !important;
}

.swap-button {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swap-button:hover {
  background-color: #9a0f12;
  transform: rotate(180deg);
}

/* Remove Bootstrap default tab styles */
.nav-tabs {
  border-bottom: none;
}

.nav-link {
  border: none;
  background: none;
}

.nav-link:hover,
.nav-link:focus {
  border: none;
  isolation: auto;
}

.home-tab-link.active {
  background-color: #FFF !important;
  color: black !important;
}

.home-tab-link {
  font-weight: 500;
}

.explore-img-text-hidden {
  display: none;
  transition: all 0.3s ease;
}

.explore-card:hover .explore-img-text-hidden {
  display: block;
}

.explore-img-text {
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
  transition: padding 0.3s ease;
}

.explore-card:hover .explore-img-text {
  padding: 24px !important;
}

.service-card {
  box-shadow: 0px 2px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.service-card-main:nth-child(even) .service-card:hover {
  box-shadow: 0 8px 15px -5px rgba(10, 61, 139, 0.9);
}

.service-card-main:nth-child(odd) .service-card:hover {
  box-shadow: 0 8px 15px -5px rgba(190, 19, 22, 0.9);
}

.service-card-icon {
  border-radius: 100%;
  height: 70px;
  aspect-ratio: 1;
  box-shadow: 0px 3px rgba(187, 177, 177, 0.5);
}

.service-card-main:nth-child(even) .service-card-icon {
  color: var(--primary-color);
}

.service-card-main:nth-child(odd) .service-card-icon {
  color: var(--secondary-color);
}

.popular-destinations-card {
  box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.popular-destinations-card:hover {
  box-shadow: 0 4px 2px 0px rgba(0, 0, 0, 0.2);
}

.popular-destinations-image {
  transition: transform 0.3s ease;
}

.popular-destinations-card:hover .popular-destinations-image {
  transform: scale(1.05);
}

.footer-icon {
  height: 40px;
  aspect-ratio: 1;
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  transition: all 0.3s ease;
}

.footer-icon:hover {
  background-color: white;
  color: var(--secondary-color);
}

/* Customize the dropdown button */
.packages-dropdown {
  background-color: #E4E6E8;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.packages-dropdown:hover,
.packages-dropdown:focus {
  background-color: white !important;
  color: #000 !important;
  box-shadow: none !important;
  outline: none !important;
}

.packages-dropdown:active {
  background-color: white !important;
  color: #000 !important;
}

/* Remove Bootstrap's default dropdown arrow and add custom one */
.packages-select::after {
  border: none;
  content: '';
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='10' width='10' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 10,0 5,6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when dropdown is open */
.packages-select[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Customize the dropdown menu */
.packages-dropdown .dropdown-menu {
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 4px;
  margin-top: 4px;
  min-width: 100%;
}

/* Customize dropdown items */
.packages-dropdown .dropdown-item {
  border-radius: 12px;
  padding: 10px 16px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.packages-dropdown .dropdown-item:hover,
.packages-dropdown .dropdown-item:focus {
  background-color: var(--primary-color);
  color: white;
}

.packages-dropdown .dropdown-item:active {
  background-color: var(--primary-color);
  color: white;
}

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.packages-card:nth-child(odd) .package-top-tag {
  color: var(--secondary-color);
}

.packages-card:nth-child(even) .package-top-tag {
  color: var(--primary-color);
}

.like-package-button {
  height: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.like-package-button.active {
  background-color: #BE1316;
}

.like-package-button.active svg path {
  stroke: #BE1316;
  fill: #BE1316;
}

.rating-details-package {
  position: absolute;
  transform: translateY(-50%);
  right: 12px;
  padding: 4px 8px;
  background-color: white;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.07);
}

.package-card-detail {
  border: 0.5px solid #E4E6E8 !important;
}

.packages-card:hover>div>div>figure>img {
  transform: scale(1.05);
}

.package-section {
  padding-inline: clamp(0rem, -3.2452rem + 14.4231vw, 9.375rem);
}

/* .booking-page-figure {
  transform: translateY(-50%);
} */

select {
  outline: none !important;
  box-shadow: none !important;
}

.input-field {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  width: 100%;
  margin-top: 8px;
  outline: none;
  height: 42px;
}

.input-field:focus {
  box-shadow: var(--primary-color) !important;
  border: 1.5px solid var(--primary-color);
}

.input-field.textarea {
  height: 200px;
}

.input-field::placeholder {
  color: rgba(0, 0, 0, 0.8);
}

input[type="radio"]:checked {
  accent-color: black !important;
}

table {
  border-collapse: separate;
  border-spacing: 12px 12px;
}

.payment-detail-div {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {
  .dotted-right-border {
    border-right: none;
    background-image: linear-gradient(to bottom,
        var(--secondary-color) 0,
        var(--secondary-color) 8px,
        transparent 8px,
        transparent 16px);
    background-size: 2px 16px;
    background-repeat: repeat-y;
    background-position: right;
  }
}
@media screen and (max-width: 768px) {
  .dotted-bottom-border {
    border-bottom: none;
    background-image: linear-gradient(
        to right,
        var(--secondary-color) 0,
        var(--secondary-color) 8px,
        transparent 8px,
        transparent 16px
    );
    background-size: 16px 2px; /* width = 16px pattern, height = 2px border thickness */
    background-repeat: repeat-x;
    background-position: bottom;
    padding-bottom: 16px;
  }
}

.dotted-right-border-primary {
  border-right: none;
  background-image: linear-gradient(to bottom,
      var(--primary-color) 0,
      var(--primary-color) 8px,
      transparent 8px,
      transparent 16px);
  background-size: 2px 16px;
  background-repeat: repeat-y;
  background-position: right;
}

.border-light-black {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.border-light-black:hover {
  background-color: rgba(190, 19, 22, 0.1) !important;
  border-color: var(--secondary-color);
}

.border-block {
  border-block: 1px solid rgba(0, 0, 0, 0.2);
}

.low-opacity-btn.secondary-color:hover {
  background-color: var(--secondary-color) !important;
  color: white !important;
}

.payment-buttons {
  height: 48px;
  width: 120px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-buttons:has(input:checked) {
  background-color: rgba(190, 19, 22, 0.1) !important;
  border-color: var(--secondary-color);
}

.payment-buttons:hover {
  background-color: rgba(190, 19, 22, 0.1) !important;
  border-color: var(--secondary-color);
}

.transparent-button {
  border: 1px solid transparent;
  background-color: transparent !important;
}

.transparent-button.secondary:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color) !important;
}

.plane-ticket-logo {
  height: 40px;
  aspect-ratio: 1;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
@media (min-width: 768px) {
  .ticket-white-circle-top {
    background-color: white;
    height: 90px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
  }

  .ticket-white-circle-bottom {
    background-color: white;
    height: 90px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
  }
}

.h-72 {
  height: 72px !important;
}

.h-200 {
  height: clamp(18.75rem, 20.9135rem + -9.6154vw, 12.5rem);
}

.duration {
  position: relative;
  padding: 0 40px;
  text-align: center;
}

/* Left dotted line - from Kathmandu to duration */
.duration::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50% - 65px);
  height: 2px;
  background-image: linear-gradient(to right, #333 50%, transparent 50%);
  background-size: 8px 2px;
  background-repeat: repeat-x;
}

/* Right dotted line - from duration to Pokhara */
.duration::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50% - 65px);
  height: 2px;
  background-image: linear-gradient(to right, #333 50%, transparent 50%);
  background-size: 8px 2px;
  background-repeat: repeat-x;
}

.duration {
  margin: 0;
  font-size: 14px;
  color: #666;
  z-index: 9;
}
@media (min-width: 768px){
  .from-div {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    height: 12px;
    aspect-ratio: 1;
    border-radius: 50%;
  }

  .to-div {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    height: 12px;
    aspect-ratio: 1;
    border-radius: 50%;
  }
}

.duration span {
  background-color: rgba(10, 61, 139, 0.2);
  color: var(--primary-color);
  border-radius: 16px;
  padding: 4px 8px;
}


/* new-1 */

.day-input {
  max-width: 500px;
}

@media (min-width: 576px) {
  .day-input {
    max-width: 500px;
  }
}

@media (min-width: 768px) {
  .day-input {
    max-width: 100px;
  }
}

@media (min-width: 992px) {
  .day-input {
    max-width: 100px;
  }
}

@media (min-width: 1200px) {
  .day-input {
    max-width: 100px;
  }
}

@media (min-width: 1400px) {
  .day-input {
    max-width: 100px;
  }
}


@media (max-width: 359px) {
  .pickup-container {
    flex-direction: column !important;
    justify-content: start !important;
    gap: 0.75rem !important;
    align-items: start !important;
    margin-left: 0 !important;
    padding-left: 0.25rem !important;
  }

  .pickup-container label {
    font-size: 0.75rem !important;
  }
}

@media (min-width: 360px) and (max-width: 575px) {
  .pickup-container {
    flex-direction: column !important;
    justify-content: start !important;
    gap: 0.85rem !important;
    align-items: start !important;
    margin-left: 0.5rem !important;
    padding-left: 0.5rem !important;
  }

  .pickup-container label {
    font-size: 0.8rem !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .pickup-container {
    flex-direction: column !important;
    justify-content: start !important;
    gap: 1rem !important;
    align-items: start !important;
    margin-left: 1.2rem !important;
  }

  .pickup-container label {
    font-size: 0.875rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .pickup-container {
    flex-direction: row !important;
    justify-content: start !important;
    gap: 3rem !important;
    align-items: center !important;
  }

  .pickup-container label {
    font-size: 0.74rem !important;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .pickup-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 3rem !important;
    align-items: center !important;
  }

  .pickup-container label {
    font-size: 0.875rem !important;
  }
}

@media (min-width: 1400px) and (max-width: 100000px) {
  .pickup-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 3rem !important;
    align-items: center !important;
  }

  .pickup-container label {
    font-size: 0.875rem !important;
  }
}

@media (max-width: 359px) {
  .booking-page-figure figure {
    height: 80px !important;
    padding: 0.25rem !important;
  }

  .booking-page-figure {
    gap: 0.5rem !important;
  }
}

@media (min-width: 360px) and (max-width: 479px) {
  .booking-page-figure figure {
    height: 100px !important;
    padding: 0.5rem !important;
  }

  .booking-page-figure {
    gap: 0.75rem !important;
  }
}

@media (min-width: 480px) and (max-width: 575px) {
  .booking-page-figure figure {
    height: 120px !important;
    padding: 0.5rem !important;
  }

  .booking-page-figure {
    gap: 1rem !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .booking-page-figure figure {
    height: 140px !important;
    padding: 0.5rem !important;
  }

  .booking-page-figure {
    gap: 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .booking-page-figure figure {
    height: 160px !important;
    padding: 0.5rem !important;
  }

  .booking-page-figure {
    gap: 2rem !important;
  }
}

@media (min-width: 992px) {
  .booking-page-figure figure {
    height: 180px !important;
    padding: 0.5rem !important;
  }

  .booking-page-figure {
    gap: 3rem !important;
  }
}

/* new-2 */
.home-search-section .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

/* .aeroplane-image-figure {
  right: 3%;
  bottom: -20%;
  width: 45%;
  transition: all 0.3s ease;
} */

.service-card p {
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-search-section .button p {
    display: none !important;
  }

  .home-search-section .button {
    padding: 0.75rem;
    justify-content: center;
  }

  /* .aeroplane-image-figure {
    right: -8%;
    bottom: -15%;
    width: 65%;
  } */

  .service-card p {
    font-size: 0.7rem !important;
  }

  .home-search-section .d-flex.align-items-end.mb-2.mb-md-0 {
    position: relative;
    width: auto;
    order: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .swap-button {
    position: static;
    transform: none;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .home-search-section .button p {
    display: block !important;
  }

  /* .aeroplane-image-figure {
    right: -7%;
    bottom: -18%;
    width: 55%;
  } */

  .service-card p {
    font-size: 0.75rem !important;
  }
}

@media (min-width: 1400px) and (max-width: 100000px) {
  .home-search-section .button p {
    display: block !important;
  }

  /* .aeroplane-image-figure {
    right: 3%;
    bottom: -20%;
    width: 45%;
  } */

  .service-card p {
    font-size: 0.875rem !important;
  }
}

@media (min-width: 300px) and (max-width: 496px) {
  .home-form-header {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .home-form-header .nav-item {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .swap-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 28.5%;
    z-index: 100;
  }
}

@media (max-width: 767px) {
  .explore-card.big-card {
    aspect-ratio: 5 / 6;
  }

  .explore-card.small-card {
    aspect-ratio: 16 / 9;
  }
}


/* insurance css */
.travel-insurance-page {
  margin-top: 4.625rem;
  padding: 2.5rem 0 0 0;
}

.insurance-content-container {
  display: flex;
  gap: 2.5rem;
  max-width: 75rem;
  margin: 0 auto;
}

.insurance-left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.insurance-image-placeholder {
  width: 100%;
  height: 19rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.insurance-grid-main {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.insurance-row {
  display: flex;
  gap: 0.9375rem;
}

.insurance-item {
  flex: 1;
  background: white;
  border-radius: 0.5rem;
  padding: 1.125rem 0.9375rem;
  box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all 0.3s ease;
  min-height: 5rem;
}

.insurance-item:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.insurance-row .insurance-item:nth-child(1) {
  border-left: 0.25rem solid #BE1316;
}

.insurance-row .insurance-item:nth-child(2) {
  border-left: 0.25rem solid #0A3D8B;
}

.insurance-icon-container {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.insurance-row .insurance-item:nth-child(1) .insurance-icon-container {
  background-color: rgba(190, 19, 22, 0.1);
}

.insurance-row .insurance-item:nth-child(2) .insurance-icon-container {
  background-color: rgba(10, 61, 139, 0.1);
}

.insurance-icon-container svg {
  width: 1.375rem;
  height: 1.375rem;
}

.insurance-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 2.75rem;
}
  
.insurance-main-text {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.insurance-row .insurance-item:nth-child(1) .insurance-main-text {
  color: #BE1316;
}

.insurance-row .insurance-item:nth-child(2) .insurance-main-text {
  color: #0A3D8B;
}

.insurance-sub-text {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  color: #666;
  margin: 0;
  line-height: 1.3;
}

.insurance-form-container {
  flex: 1;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
  padding: 0;
  height: fit-content;
  width: 100%;
  overflow: hidden;
}

.insurance-form-header {
  background: var(--primary-color);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.insurance-form-icon {
  display: flex;
  align-items: center;
  justify-content: start;
}

.insurance-form-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.insurance-form-text h2 {
  color: white;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
}

.insurance-form-text .form-subtitle {
  color: white;
  font-weight: 400;
  margin: 0;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  opacity: 0.9;
  border: 1px solid white;
  border-radius: 2rem;
  padding: 2px 8px;
  display: inline-block;
}

.insurance-form-container form {
  padding: 1.5rem;
}

.form-row {
  display: flex;
  margin-bottom: 0.9375rem;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  font-size: clamp(0.8rem, 1.05vw, 1rem);
  color: #333;
  margin-bottom: 0.25rem;
  display: block;
  font-weight: 500;
}

.radio-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: clamp(0.8rem, 1.05vw, 1rem);
  color: #666;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  margin: 0;
}

.input-field {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 0.0625rem solid #ddd;
  border-radius: 0.375rem;
  margin-top: 0.25rem;
  font-size: clamp(0.8rem, 1.05vw, 1rem);
  transition: border-color 0.3s ease;
  height: 2.5rem;
  background: white;
}

.input-field:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125rem rgba(10, 61, 139, 0.1);
}

.plans-text {
  text-align: center;
}

/* Responsive styles */
@media (min-width: 992px) and (max-width: 1201px) {
  .insurance-grid-main .insurance-row {
    flex-direction: column;
    gap: 1rem;
  }

  .insurance-grid-main .insurance-item {
    width: 100%;
  }

  .insurance-main-text {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
  }

  .insurance-sub-text {
    font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  }

  .insurance-icon-container {
    transform: scale(0.9);
  }
}
.flight-page-shadow{box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);}
.duration.flight-summary::before, .duration.flight-summary::after{
  width: calc(50% - 16px);
  height: 1.5px;
  background-size: 12px 2px;
}
.duration.flight-summary>div>#circle{
  height: 24px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid black;
  background-color: white;
  z-index: 999;
  margin-inline: 4px;
}
.flight-summary-button:not(.collapsed) {
  background-color: white;
  box-shadow: none;
}
.flight-summary-button:focus {
  box-shadow: none;
}
.flight-summary-figure{
  height: clamp(9.375rem, 6.25rem + 13.8889vw, 18.75rem);
}
@media screen and (max-width: 768px) {
  .flight-page-input{
    width: 200px;
  }
}

@media (max-width: 991px) {
  .insurance-content-container {
    flex-direction: column;
  }

  .insurance-form-container {
    /* order: 1; */
    margin-bottom: 2rem;
  }

  .insurance-left-content {
    /* order: 2; */
    display: flex;
    flex-direction: column;
  }

  .insurance-image-placeholder {
    /* order: 1; */
    margin: 0 0.5rem;
    width: calc(100% - 1rem);
  }

  .insurance-grid-main {
    /* order: 2; */
    margin: 2rem 0.5rem 0 0.5rem;
  }

  .insurance-row {
    flex-direction: column;
    gap: 1rem;
  }

  .insurance-item {
    width: 100%;
  }

  .form-row:last-child {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* DatePicker Styles */
.datepicker-wrapper {
  position: relative;
  width: 100%;
}

.input-fields[readonly] {
  cursor: pointer;
}

.calendar-popup {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  z-index: 1000;
  min-width: 320px;
  width: 100%;
  max-width: 350px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.nav-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2c3e50;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s;
}

.nav-button:hover {
  color: #1e3a8a;
}

.month-year {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}

.year-dot {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.year-dot:hover {
  color: #2c3e50;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.weekday {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  padding: 0.5rem 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-day {
  aspect-ratio: 1;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #2c3e50;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.calendar-day:hover {
  background-color: #f0f0f0;
}

.calendar-day.other-month {
  color: #ccc;
}

.calendar-day.selected {
  background-color: var(--primary-color, #0A3D8B);
  color: white;
  font-weight: 600;
}

.calendar-day.today {
  font-weight: 600;
}

.calendar-day.today:not(.selected) {
  color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.1);
}

.calendar-day.disabled,
.calendar-day:disabled {
  color: #bbb;
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: line-through;
}

.calendar-day.disabled:hover,
.calendar-day:disabled:hover {
  background: none;
}

/* Passenger Button Styles */
.passenger-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--primary-color);
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.passenger-btn:hover:not(.disabled) {
  background-color: #08306b;
  border-color: #08306b;
}

.passenger-btn.disabled,
.passenger-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #e4e6e8;
  border-color: #e4e6e8;
  color: #737373;
}

.passenger-btn svg {
  width: 12px;
  height: 12px;
}

.passenger-summary-btn {
  cursor: pointer;
  text-align: left !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.passenger-summary-btn:hover {
  border: none !important;
}

.passenger-count {
  min-width: 30px;
  text-align: center;
}

.offcanvas {
  transition: transform 0.3s ease-in-out;
}

.offcanvas.show {
  transform: translateX(0) !important;
  visibility: visible !important;
}

.passenger-offcanvas-hidden {
  visibility: hidden !important;
  transform: translateX(100%) !important;
}

/* Autocomplete Dropdown Styles */
.autocomplete-dropdown-styled {
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.autocomplete-option {
  border-bottom: 1px solid #e5e5e5;
}

.autocomplete-option:last-child {
  border-bottom: none;
}

.autocomplete-option .font-medium {
  font-size: 13px;
}

.autocomplete-option .text-xxs {
  font-size: 11px;
}

.autocomplete-option .text-xs.font-bold {
  font-size: 14px;
}

@media (max-width: 768px) {
  .insurance-image-placeholder {
    height: auto;
    min-height: 200px;
  }

  .insurance-image-placeholder img {
    object-fit: contain;
  }
}

@media (max-width: 576px) {
  .insurance-image-placeholder {
    height: auto;
    min-height: 150px;
    max-height: 200px;
  }
}
#contactDropdown{
  display: none;
}
#contactHeader:hover #contactDropdown{
  display: block;
}
.full-width-dropdown, .useful-info-dropdown {
    position: absolute;
    top: 72px;
    width: max-content;
    background-color: #fff;
    z-index: 99;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    display: none;
    border-top: 2px solid var(--secondary-color);
}
@media (max-width: 576px){
  .border-no-round-top-left{
    border-top-left-radius: 0 !important;
  }
  .border-no-round-top-right{
    border-top-right-radius: 0 !important;
  }
  .border-no-round-bottom-left{
    border-bottom-left-radius: 0 !important;
  }
  .border-no-round-bottom-right{
    border-bottom-right-radius: 0 !important;
  }
}

/* Search Flights Page Styles */
.search-flights-page {
  background-color: #f5f5f5;
  min-height: calc(100vh - 80px);
  width: 100%;
}

.search-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.search-summary-grid-multicity {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 768px) {
  .search-summary-grid-multicity {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.summary-field {
  min-width: 180px;
}

.summary-field-multicity {
  min-width: 280px;
  grid-column: span 1;
}

@media (min-width: 768px) {
  .summary-field-multicity {
    min-width: 320px;
  }
}

.summary-field input {
  width: 100%;
  min-width: 0;
}

.multicity-segment {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
}

.multicity-route {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.multicity-origin,
.multicity-destination {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.multicity-arrow {
  color: #64748b;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.multicity-date {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
}

.letter-spacing-sm {
  letter-spacing: 0.08em;
}

.flight-page-input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  color: #1e293b;
  width: 260px;
  max-width: 100%;
}

.flight-page-input:focus {
  outline: none;
  border-color: #0a3d8b;
  box-shadow: 0 0 0 2px rgba(10, 61, 139, 0.15);
}

/* Hero Section */
.hero-section {
  background: #f9fafb;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.hero-background {
  width: 100%;
}

/* Search Card */
.search-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-card-content {
  width: 100%;
}

.search-form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c3e50;
  text-transform: capitalize;
}

.field-value {
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #2c3e50;
  font-weight: 400;
}

.field-with-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-with-icon svg {
  color: #6b7280;
}

.search-flights-page > .container {
  margin-top: 2rem;
}

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.header-left h1 {
  font-size: 1.5rem;
  color: #111827;
  margin: 0;
  font-weight: 700;
}

.results-count {
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn-summary {
  background-color: #1e3a8a;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  height: fit-content;
}

.btn-summary:hover {
  background-color: #1e40af;
}

/* Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

/* Filter Sidebar */
.filter-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-panel {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.filter-panel h3 {
  margin: 0;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 700;
}

.clear-all-link {
  color: #3498db;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: normal;
}

.clear-all-link:hover {
  text-decoration: underline;
}

.filter-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 1rem;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #111827;
  font-size: 0.95rem;
}

.clear-link {
  color: #3498db;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: normal;
}

.clear-link:hover {
  text-decoration: underline;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #555;
}

.radio-option input[type="radio"] {
  cursor: pointer;
}

.radio-option:hover {
  color: #2c3e50;
}

.btn-filter {
  width: 100%;
  background-color: #1e3a8a;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.btn-filter:hover {
  background-color: #1e40af;
}

/* Flight Results */
.flight-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Date Tabs */
.date-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: white;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow-x: auto;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
}

.date-nav-btn {
  padding: 0.375rem;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.2s;
  min-width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.date-nav-btn:hover {
  color: #111827;
}

.date-tab {
  padding: 0.5rem 0.875rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.8125rem;
  white-space: nowrap;
  transition: all 0.2s;
  color: #6b7280;
  font-weight: 500;
  flex-shrink: 0;
  border-radius: 4px;
}

.date-tab:hover {
  color: #111827;
  background: #f9fafb;
}

.date-tab.active {
  background-color: #f3f4f6;
  color: #111827;
  font-weight: 600;
}

.date-tab-spacer {
  flex: 1;
  min-width: 12px;
}

.date-tab-item {
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  color: #6b7280;
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}

/* Flight Cards */
.flights-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flight-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
}

.flight-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.flight-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.badge-cheapest {
  background-color: #10b981;
  color: white;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.badge-rating {
  background-color: #fbbf24;
  color: #78350f;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.flight-content {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  gap: 2rem;
}

.airline-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 80px;
}

.airline-logo {
  flex-shrink: 0;
}

.logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-buddha {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.logo-yeti {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.logo-default {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.airline-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  line-height: 1.2;
}

.flight-route-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.departure-info,
.arrival-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 150px;
}

.time-large {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.airport-full {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.125rem;
}

.route-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
  min-width: 180px;
  padding: 0 0.75rem;
}

.connector-line {
  position: relative;
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #111827;
}

.duration-text {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

.stops-info {
  margin-top: 0.25rem;
}

.stops-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stops-badge.stops-nonstop {
  background-color: #d1fae5;
  color: #065f46;
}

.stops-badge.stops-one {
  background-color: #fef3c7;
  color: #92400e;
}

.stops-badge.stops-multiple {
  background-color: #fee2e2;
  color: #991b1b;
}

.baggage-info {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.baggage-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.bag-icon {
  font-size: 0.875rem;
}

.flight-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  min-width: 140px;
}

.price-amount-red {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc2626;
}

.btn-view-details {
  background-color: #1e3a8a;
  color: white;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-view-details:hover {
  background-color: #1e40af;
}

/* Flight Details Expandable Section */
.flight-details {
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
  padding: 1.5rem;
}

.flight-details-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Flight Timeline (Unified Segments View) */
.flight-timeline {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.timeline-segment {
  position: relative;
}

.timeline-segment:not(:last-child) {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

/* Segment Flight Info Header */
.segment-flight-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.segment-airline-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
}

.airline-code {
  color: #1e3a8a;
  font-size: 0.875rem;
}

.flight-num {
  color: #6b7280;
  font-size: 0.875rem;
}

.segment-airline-name {
  flex: 1;
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
  min-width: 120px;
}

.segment-duration-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

.clock-icon {
  color: #9ca3af;
}

/* Timeline Route Visualization */
.timeline-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  position: relative;
}

.route-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.route-point.departure {
  align-items: flex-start;
}

.route-point.arrival {
  align-items: flex-end;
  text-align: right;
}

.point-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.point-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1e3a8a;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #1e3a8a;
  flex-shrink: 0;
}

.point-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.point-code {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.5px;
}

.point-date {
  font-size: 0.75rem;
  color: #6b7280;
}

.route-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0.5rem 0;
}

.line-path {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #1e3a8a 0%, #1e3a8a 85%, transparent 85%);
  transform: translateY(-50%);
}

.line-path::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #1e3a8a;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.line-duration {
  position: relative;
  z-index: 1;
  background: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  white-space: nowrap;
}

/* Layover Section */
.layover-section {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.layover-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-left: 2rem;
}

.layover-icon {
  display: flex;
  align-items: center;
  color: #d97706;
  flex-shrink: 0;
}

.layover-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.layover-airport {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.layover-airport-code {
  font-weight: 600;
  color: #92400e;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.layover-label {
  font-size: 0.75rem;
  color: #78350f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.layover-time {
  font-size: 0.8125rem;
  color: #92400e;
  font-weight: 600;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .flight-timeline {
    padding: 1rem;
  }

  .timeline-route {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .route-point {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .route-line {
    position: relative;
    min-height: 40px;
    margin: 0.5rem 0;
  }

  .line-path {
    left: 20px;
    width: calc(100% - 40px);
  }

  .line-duration {
    margin-left: 20px;
  }

  .layover-content {
    margin-left: 0;
  }

  .segment-flight-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.details-airline {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.airline-logo-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.details-airline-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.details-airline-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}

.details-route {
  font-size: 0.9rem;
  color: #666;
}

.details-date-time {
  font-size: 0.85rem;
  color: #888;
}

.details-baggage {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.baggage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #2c3e50;
}

.bag-icon-small {
  font-size: 0.9rem;
}

.details-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #2c3e50;
}

.feature-badge.economy {
  font-weight: 600;
}

.feature-badge.economy-class {
  color: #666;
}

.feature-badge.no-return,
.feature-badge.no-meal {
  color: #999;
}

.feature-badge svg {
  width: 16px;
  height: 16px;
}

/* Error and Loading */
.error-message {
  background-color: #fee;
  color: #c33;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #e74c3c;
}

.loading {
  text-align: center;
  padding: 4rem 2rem;
  color: #7f8c8d;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.no-results h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.no-results p {
  color: #666;
  margin-bottom: 2rem;
}

.btn-back {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-back:hover {
  background-color: #2980b9;
}

/* Responsive */
@media (max-width: 1024px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flight-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .flight-route-info {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .route-connector {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .connector-line {
    order: 2;
    flex: 1;
  }

  .duration-text {
    order: 1;
  }

  .baggage-info {
    order: 3;
  }

  .flight-action {
    width: 100%;
    align-items: stretch;
  }

  .btn-view-details {
    width: 100%;
  }
}