@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900');
body {
  font-family: 'Jost', sans-serif !important;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.scroll-margin-top {
  scroll-margin-top: 3rem;
}

.accordion {
  background: transparent !important;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-item {
  background: var(--background-light) !important;
  border: 0 !important;
  overflow: hidden;
  border-top: 1px solid var(--border-color) !important;
  border-radius: 0 !important;
  color: var(--text-color) !important;
}
.accordion-item:first-child {
  border-top: none !important;
}

.accordion-button {
  background: var(--background-medium);
  color: var(--text-color) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
}
.accordion-button:not(.collapsed) {
  background: var(--background-medium);
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" viewBox="0 0 16 16"><path d="M3.22 5.22a.75.75 0 0 1 1.06 0L8 8.94l3.72-3.72a.75.75 0 0 1 1.06 1.06L8 11.06 3.22 6.28a.75.75 0 0 1 0-1.06z"/></svg>') !important;
}
.accordion-item:first-of-type {
  border-radius: 10px;
}
.accordion-item:last-of-type {
  border-radius: 10px;
}

.filters-wrapper.accordion .accordion-item {
  background: transparent !important;
  border-top: none !important;
}
.filters-wrapper.accordion .accordion-button {
  background: transparent !important;
  color: var(--text-color) !important;
}

.filters.accordion .accordion-item {
  background: transparent !important;
  border-top: none !important;
  margin-bottom: 1rem;
}
.filters.accordion .accordion-button {
  border-radius: 0.375rem !important;
  background: transparent !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-color) !important;
  padding: 0.375rem 0.75rem !important;
  -moz-padding-start: calc(0.75rem - 3px) !important;
  margin-top: 3px;
}

input[type='range'] {
  -webkit-appearance: none; /* Remove default appearance */
  width: 100%;
  height: 8px; /* Track height */
  background: var(--secondary-color); /* Track color */
  border-radius: 5px;
  outline: none; /* Remove outline */
  opacity: 0.9; /* Slightly transparent track */
  transition: opacity 0.3s;
}

input[type='range']:hover {
  opacity: 1; /* Full opacity on hover */
}

/* WebKit and Blink browsers (like Chrome, Safari) */
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; /* Remove default appearance */
  appearance: none;
  width: 20px; /* Thumb width */
  height: 20px; /* Thumb height */
  background: var(--primary-color); /* Thumb color */
  border-radius: 50%; /* Make thumb circular */
  cursor: pointer; /* Change cursor to pointer */
  transition: background 0.3s, transform 0.3s;
  position: relative;
  z-index: 1; /* Make sure thumb is on top */
}

input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: var(--background-light);
  border-radius: 5px;
  border: 1px solid var(--border-color); /* Add border to track */
  position: relative;
  z-index: 0; /* Ensure track is below thumb */
}

input[type='range']::-moz-range-track {
  width: 100%;
  height: 8px;
  background: var(--background-light);
  border-radius: 5px;
  border: 1px solid var(--border-color); /* Add border to track */
  position: relative;
  z-index: 0;
}

input[type='range']::-ms-track {
  width: 100%;
  height: 8px;
  background: transparent; /* For IE, use transparent and add border to track wrapper */
  border-color: transparent;
  color: transparent;
}

/* Firefox (Gecko) */
input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  z-index: 0;
}

.card-footer {
  border: none !important;
}

.dropdown-menu.header {
  border: 1px solid var(--border-color);
  background: var(--background-light);
  outline: none !important;
}
.dropdown-content {
  z-index: 100000 !important;
}
.dropdown-menu.header li a {
  color: var(--text-color);
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}

.dropdown-menu.header li a:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.dropdown-menu.header li a.active {
  color: var(--text-color-light);
  background: var(--primary-color);
}

.btn-primary {
  background: var(--primary-color) !important;
  color: var(--text-color-light) !important;
  border: none !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible {
  background: var(--secondary-color) !important;
  color: var(--text-color-light) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.btn-secondary {
  background: var(--secondary-color) !important;
  color: var(--text-color-light) !important;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:focus-visible {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

input {
  margin-left: 2px !important;
}

.hero-content .display-4,
.hero-content p.lead {
  text-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.4);
}

.cities-section .display-4 {
  color: var(--text-color) !important;
}
input:focus,
input:active,
input:focus-visible,
select:focus,
select:active,
select:focus-visible {
  box-shadow: 0 0 0 3px var(--shadow-color) !important;
  border-color: var(--primary-color) !important;
}

a:hover {
  color: var(--text-color);
}

.fill-light {
  --bs-bg-opacity: 1;
  fill: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: var(--primary-color) !important;
}
/* Header Styles */
.page-header {
  background-color: var(--primary-color);
  padding: 15px 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
}

.brand-travel {
  color: var(--text-color-light);
}

.brand-king {
  color: var(--secondary-color);
}

.navbar-nav .nav-link {
  color: var(--text-color-light) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.dropdown-menu {
  background-color: var(--primary-color);
  border: none;
  border: 1px solid var(--border-color);
  padding: 0;
  overflow: hidden;
}

.dropdown-item {
  color: var(--text-color-light);
  padding-right: 35px;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-item:hover {
  background-color: var(--primary-color-dark);
  color: var(--secondary-color);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-color-light);
  padding: 120px 0 160px;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content .lead {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-features {
  list-style-type: none;
  padding-left: 0;
}

.hero-features li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.hero-features i {
  margin-right: 10px;
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  margin-bottom: -1px;
}

.hero-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
  transform: rotateY(180deg);
}

.hero-divider .shape-fill {
  fill: var(--background-medium);
}

.hero-divider .shape-fill.hotels {
  fill: rgb(var(--bs-white-rgb));
}

/* Search Form Styles */
.search-card {
  background-color: var(--background-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 20px var(--shadow-color);
}

.search-card h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 10px 15px;
  height: auto;
}

.btn-group {
  margin-bottom: 20px;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-check:checked + .btn-outline-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-color-light);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Form input styles */
.form-control {
  padding-left: 30px;
}

.form-group {
  position: relative;
}

.form-group i {
  position: absolute;
  left: 10px;
  top: 38px;
  color: var(--primary-color);
}

/* Introduction Section Styles */
.intro-section {
  background-color: var(--background-medium);
  padding: 80px 0;
}

.intro-section h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 40px;
}

.intro-card {
  background-color: var(--text-color-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 12px var(--shadow-color);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 51, 0.15);
}

.intro-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.intro-card h3 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.intro-card p {
  color: var(--text-color-muted);
}

/* Popular Destinations Styles */
.popular-destinations,
.popular-activities {
  background-color: var(--background-light);
  padding: 80px 0;
}

.popular-destinations h2,
.popular-activities h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.destination-card,
.activity-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--shadow-color);
  margin-bottom: 30px;
}

.destination-card img,
.activity-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.destination-card:hover img,
.activity-card:hover img {
  transform: scale(1.1);
}

.destination-info,
.activity-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: var(--text-color-light);
  padding: 20px;
  text-shadow: 1px 1px 5px black;
  transition: background 0.3s ease;
}

.destination-card:hover .destination-info,
.activity-card:hover .activity-info {
  background: linear-gradient(to top, rgba(0, 51, 102, 0.9), transparent);
}

.destination-info h3,
.activity-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.destination-info p,
.activity-info p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.destination-info .btn-outline-light,
.activity-info .btn-outline-light {
  border-color: var(--text-color-light);
  color: var(--text-color-light);
  transition: all 0.3s ease;
}

.destination-info .btn-outline-light:hover,
.activity-info .btn-outline-light:hover {
  background-color: var(--text-color-light);
  color: var(--primary-color);
}

/* Latest Articles Styles */
.latest-articles {
  background-color: var(--background-medium);
  padding: 80px 0;
}

.latest-articles h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 40px;
}

.article-card {
  background-color: var(--text-color-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:last-child {
  margin-bottom: 1.5rem;
}

.article-title,
.article-date,
.article-excerpt,
.read-more {
  padding: 0 1rem;
}

.article-title {
  padding-top: 1rem;
}

.read-more {
  padding-bottom: 1rem;
}

.read-more {
  text-decoration: none;
  color: var(--primary-color);
  transition: opacity 0.4s ease-in-out;
}

.read-more:hover {
  opacity: 0.7;
}

#articles-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

article .article-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.article-card .article-content {
  padding: 1rem;
}

.article-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
  flex-grow: 0;
}

.article-date {
  color: var(--text-color-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  flex-grow: 0;
}

.article-excerpt {
  color: var(--text-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.article-card .btn-primary {
  align-self: flex-start;
}

/* Footer Styles */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 60px 0 30px;
}

.site-footer .destination-pill {
  transition: background-color 0.3s ease-in-out;
}

.site-footer h3,
.site-footer h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.site-footer p {
  font-size: 0.9rem;
}

.site-footer ul {
  padding-left: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.newsletter-form .input-group {
  margin-top: 15px;
}

.newsletter-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.newsletter-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.site-footer hr {
  margin: 30px 0;
  border-color: var(--border-color);
}

.site-footer .list-inline {
  margin-bottom: 0;
}

.site-footer .list-inline-item:not(:last-child) {
  margin-right: 15px;
}

/* Search Results Styles */
.search-results-page {
  padding: 40px 0;
  background-color: var(--background-medium);
}

.search-results-page h1,
.search-results-page h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.card {
  border: none;
  box-shadow: 0 2px 5px var(--shadow-color);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  color: var(--primary-color);
}

.text-primary {
  color: var(--secondary-color) !important;
}

.best-offer {
  font-weight: bold;
  color: var(--success-color);
}

/* Image styles */
.card img {
  height: 250px;
  object-fit: cover;
}

.destination-card img {
  min-height: 100px;
}

/* Offer list styles */
.collapse .d-flex {
  padding: 5px 0;
  border-bottom: 1px solid var(--background-medium);
}

.collapse .d-flex:last-child {
  border-bottom: none;
}
.amenity {
  height: 40px;
  width: 40px;
  font-size: 1rem;
  border-radius: 5px;
}
.amenity-label {
  font-size: 0.6rem;
}
/* Filter Styles */
.card-body .form-label {
  font-weight: 600;
  color: var(--primary-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Hotel and Flight Cards */
.hotel-card,
.flight-card {
  border: none;
  box-shadow: 4px 10px var(--shadow-color);
  transition: transform 0.3s ease;
  background-color: var(--text-color-light);
  border-radius: 10px;
}

.hotel-card:hover,
.flight-card:hover {
  transform: translateY(-5px);
}

.hotel-image,
.flight-image {
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.hotel-title,
.flight-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.hotel-rating {
  color: var(--warning-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.rating-star {
  color: var(--warning-color);
  font-size: 1.2rem;
}

.hotel-price-box,
.flight-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.hotel-price,
.flight-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--success-color);
}

.flight-details {
  margin-bottom: 15px;
}

.flight-details p {
  margin: 0;
  color: var(--text-color);
}

.return-flight {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--background-medium);
}

.btn-block {
  display: inline-block;
  width: auto;
}

/* Sections */
section.intro {
  background: var(--background-medium);
}

/* Spacing */
.mb-4 {
  margin-bottom: 1.5rem !important;
}

/* Responsive styles */
@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0 120px;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-features {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hotel-card,
  .flight-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .intro-card {
    margin-bottom: 30px;
  }

  .site-footer .text-md-end {
    text-align: left !important;
    margin-top: 15px;
  }
}
.mega-menu {
  width: 100%;
  background-color: white;
  border-radius: 5px;
}
.mega-menu .container {
  max-width: 1200px;
}
.mega-menu .row {
  margin: 0;
}
.mega-menu h6 {
  font-weight: bold;
  margin-bottom: 15px;
}
.mega-menu ul {
  padding-left: 0;
  list-style: none;
}
.mega-menu ul li {
  margin-bottom: 10px;
}
.navbar-dark .navbar-nav .nav-link {
  color: var(--text-color-light);
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--text-color-muted);
}

.nav-link {
  transition: color 0.3s ease-in-out;
}
.nav-link:hover {
  color: var(--secondary-color) !important;
}
/* Mega Menu Styles */
.dropdown-menu.mega-menu {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  left: 0;
  right: 0;
  position: absolute;
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  .dropdown-menu.mega-menu {
    max-width: 70vw;
  }
}

.mega-menu .container-fluid {
  margin: 0 auto;
}

.mega-menu .row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.mega-menu .col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  padding: 10px;
}

.mega-menu h6 {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.mega-menu ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.mega-menu ul li {
  margin-bottom: 5px;
}

.mega-menu ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mega-menu ul li a:hover {
  color: var(--primary-color);
}

/* Responsive styles */
@media (max-width: 991px) {
  .dropdown-menu.mega-menu {
    position: static;
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .mega-menu .row {
    flex-direction: column;
  }

  .mega-menu .col-auto {
    width: 100%;
  }
}

/* Ensure the mega menu is displayed when the dropdown is hovered */
.dropdown:hover .dropdown-menu.mega-menu {
  display: block;
}
.dropdown-menu.mega-menu {
  display: none;
}
.mega-dropdown:hover .dropdown-menu.mega-menu {
  display: block;
}
@media (max-width: 768px) {
  .mega-menu {
    position: relative;
    width: 100%;
    padding: 10px;
  }
  .mega-menu-destinations,
  .mega-menu-activities {
    position: relative;
    width: 100%;
    transform: none;
  }
  .dropdown-menu.mega-menu {
    display: none;
    position: relative;
  }
  .navbar-nav {
    flex-direction: column;
  }
  .mega-dropdown .dropdown-menu {
    position: static;
    width: 100%;
    padding: 0;
  }
  .mega-menu h6 {
    font-size: 1.2rem;
    margin-top: 10px;
  }
  .mega-menu ul li {
    margin-bottom: 5px;
  }
}
.mega-dropdown:hover .dropdown-menu.mega-menu.mega-menu {
  display: none;
}
.mega-dropdown:hover .dropdown-menu.mega-menu.mega-menu.show {
  display: block;
}

.masonry-menu {
  column-width: 100%;
  column-gap: 0;
}
.mega-menu .accordion-button {
  pointer-events: auto;
}
@media (min-width: 992px) {
  .masonry-menu {
    column-width: 230px;
    column-gap: 20px;
  }
  .masonry-menu-item {
    display: inline-block;
    width: 100%;
    border-top: none !important;
  }
  .mega-menu .accordion-button::after {
    display: none;
  }
}

.mega-menu .accordion-button,
.mega-menu .accordion-button {
  cursor: pointer;
  font-size: 1rem;
}
.masonry-menu .accordion-item {
  border: none !important;
}
.masonry-menu .accordion-button {
  background: transparent !important;
}
.mega-menu-destinations.show {
  display: block !important;
}
.mega-menu .accordion-button.collapsed::after {
  transform: rotate(0deg);
}

.mega-menu .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

@media (min-width: 992px) {
  .mega-menu .accordion-button {
    cursor: default;
  }
  .mega-menu .accordion-button {
    pointer-events: none;
  }
  .mega-menu .accordion-collapse {
    display: block !important;
  }

  .mega-menu .accordion-button::after {
    display: none;
  }
  .mega-menu .accordion-button {
    color: var(--primary-color);
    font-weight: 500;
    padding-bottom: 0.25rem !important;
    background: none;
    border: none;
  }
}
@media screen and (min-width: 992px) {
  .offcanvas.offcanvas-start {
    display: none;
  }
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
