/* ==========================================================================
   Zetta Tours and Travel - main stylesheet (assets/css/style.css)

   BRANDING: every colour on the site comes from the variables in :root.
   To re-colour the whole site, change ONLY the "BRAND PALETTE" block below.

   Palette is taken from the Zetta logo:
     navy  #052036   amber  #FAA830
   ========================================================================== */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #052036;
  --primary-rgb: 5, 32, 54;
  --primary-dark: #03141F;
  --secondary: #FAA830;
  --secondary-rgb: 250, 168, 48;
  --accent: #0C3A5E;
  --light: #F3F6F9;
  --dark: #04192B;
  --text: #12263A;

  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --border-radius: 0.5rem;
  --transition: all 0.3s ease;

  --bs-primary: var(--primary);
  --bs-primary-rgb: var(--primary-rgb);
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background-color: #f5f7fa;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

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

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

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-dark {
  background-color: var(--dark) !important;
}

/* ===== LAYOUTS =====
   Only horizontal padding on the container. Vertical spacing comes from
   the section wrappers, not from the container itself. */
.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.section {
  padding: 10px;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
  padding-bottom: 1rem;
  color: var(--primary);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ===== SPACING HELPERS ===== */
.py-6 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-6 { padding-top: 3rem !important; }
.pb-6 { padding-bottom: 3rem !important; }
.p-6  { padding: 3rem !important; }
.pe-7 { padding-right: 4rem !important; }
.mb-6 { margin-bottom: 3rem !important; }
.mb-8 { margin-bottom: 5rem !important; }

/* ===== NAVBAR ===== */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
  transition: var(--transition);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 55px;
  transition: var(--transition);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
}

/* Underline: applies to plain nav links only, not dropdown toggles,
   so Bootstrap's caret doesn't get clobbered by the pseudo-element. */
.navbar .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: 0;
  left: 1rem;
  right: 1rem;
  transition: width .3s ease;
}

.navbar .nav-link:not(.dropdown-toggle):hover::after,
.navbar .nav-link:not(.dropdown-toggle).active::after {
  width: calc(100% - 2rem);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* Restore the dropdown caret. Explicit values stop any inherited
   ::after rules from eating it. */
.navbar .nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.35em;
  vertical-align: 0.18em;
  border-top: 0.35em solid currentColor;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  border-bottom: 0;
  position: static;
  width: auto;
  height: auto;
  background: none;
  bottom: auto;
  left: auto;
}

/* Dropdown panel */
.dropdown-menu {
  border: 1px solid var(--light);
  box-shadow: 0 12px 32px rgba(5, 32, 54, .12);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 220px;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--dark);
  transition: background .2s ease, color .2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(var(--primary-rgb), .07);
  color: var(--primary);
}

.dropdown-item.active,
.dropdown-item:active {
  background: var(--primary);
  color: #fff;
}

.dropdown-divider {
  margin: 0.4rem 0;
  border-color: var(--light);
}

/* "New" badge next to Visas */
.navbar .nav-link .badge.bg-warning {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 0.25em 0.5em;
  vertical-align: middle;
}

/* ===== BUTTONS =====
   Only radius, weight and brand colours. Bootstrap controls padding and
   size variants so .btn-sm / .btn-lg keep working. */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  --bs-btn-disabled-bg: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
  --bs-btn-focus-shadow-rgb: var(--primary-rgb);
  background-color: var(--primary);
  border-color: var(--primary);
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
  color: white !important;
}

.btn-outline-light {
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--dark);
}

.btn-outline-primary {
  color: var(--primary) !important;
  background-color: transparent;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: white !important;
  background-color: var(--primary);
  border-color: var(--primary-dark);
  box-shadow: var(--box-shadow);
}

/* ===== FORMS ===== */
.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-control,
.form-select {
  margin-bottom: 0;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

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

.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

input[type="date"] {
  background-color: var(--light-gray);
  color: var(--text);
  border: 2px solid var(--light);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
  outline: none;
}

input[type="date"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.input-group-text {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

/* ===== HERO (classic) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 6rem;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1503220317375-aaad61436b1b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  padding: 120px 20px 80px;
  color: white;
}

/* ===== ANIMATED HERO =====
   Slow zoom on the background image. Set the image via inline style:
   --hero-image: url('...'). min-height guarantees there is enough
   vertical space for the zoom to be visible. */
.hero-zoom {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-zoom::before {
  content: '';
  position: absolute;
  /* Extend past the edges so the parent's corners stay covered
     when the layer scales up. */
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
  z-index: 0;
}

.hero-zoom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 32, 54, .82) 0%, rgba(12, 58, 94, .6) 100%);
  z-index: 1;
}

.hero-zoom > * {
  position: relative;
  z-index: 2;
  width: 100%;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-zoom::before {
    animation: none;
  }
}

/* ===== BOOKING CARD ===== */
.booking-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  padding: 1.5rem;
}

.booking-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.booking-card .card-header {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 1rem;
  margin: -1.5rem -1.5rem 1.5rem;
  text-align: center;
}

/* ===== FILTERS SECTION ===== */
.filters-section {
  background-color: var(--light);
  padding: 25px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.filter-group {
  background: white;
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.filter-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 14px;
}

.filter-control {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  width: 100%;
}

.filter-btn-group {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.btn-filter {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-filter:hover {
  background: var(--primary-dark);
}

/* ===== FILTER SIDEBAR ===== */
.filter-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.filter-header {
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light);
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.filter-body .form-label {
  color: var(--dark);
  font-weight: 600;
  display: block;
}

.filter-body .form-check-label {
  color: var(--text);
  cursor: pointer;
}

.filter-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: 2px solid var(--primary);
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  appearance: none;
  transition: var(--transition);
}

.filter-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.filter-checkbox:checked::after {
  content: "\2713";
  position: absolute;
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.filter-select {
  border: 2px solid var(--light);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
  background-color: var(--light-gray);
  width: 100%;
  color: var(--text);
  font-family: inherit;
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
  outline: none;
}

.filter-date {
  border: 2px solid var(--light);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  transition: var(--transition);
  background-color: var(--light-gray);
  color: var(--text);
  font-family: inherit;
  width: 100%;
}

.filter-date:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
  outline: none;
}

.filter-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--light);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.filter-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.filter-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-dark);
}

.filter-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.filter-range::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-dark);
}

#minPrice, #maxPrice {
  font-weight: 600;
  color: var(--primary);
}

#resetFilters {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

#resetFilters:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--text), var(--secondary));
  color: white;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tour Card */
.tour-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tour-card .price-tag {
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tour-type-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.tour-card:hover .card-img-top {
  transform: scale(1.05);
}

.tour-duration {
  font-size: 14px;
  color: var(--gray);
}

.tour-location {
  font-weight: 600;
  color: var(--primary);
}

.tour-description {
  color: var(--gray);
  font-size: 14px;
  height: 70px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.no-results {
  padding: 40px;
  text-align: center;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.results-count {
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Scrollable tour results */
.tour-results-container {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 15px;
}

.tour-results-container::-webkit-scrollbar {
  width: 8px;
}

.tour-results-container::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 4px;
}

.tour-results-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.tour-results-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ===== PARTNERS SECTION ===== */
.partner-logo {
  height: 70px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
  object-fit: contain;
  padding: 5px;
  margin: 0 auto;
  display: block;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
}

.footer-logo {
  width: 190px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: var(--border-radius);
}

.footer h5 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  font-size: 1.25rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.footer ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer ul.footer-contact li {
  padding-left: 0;
}

.footer ul.footer-contact li::before {
  content: none;
}

.footer-icon {
  color: var(--secondary);
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(var(--secondary-rgb), 0.15);
  border-radius: 50%;
  color: var(--secondary);
  margin-right: 0.75rem;
  transition: var(--transition);
  font-size: 1.1rem;
  border: 1px solid rgba(var(--secondary-rgb), 0.3);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  color: var(--dark);
  border-color: var(--secondary);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== UTILITIES ===== */
.rounded {
  border-radius: var(--border-radius) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: var(--box-shadow) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

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

.text-center {
  text-align: center !important;
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
  z-index: 100;
  transition: var(--transition);
  border: 2px solid white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
  color: white;
}

/* ===== MISC COMPONENTS ===== */
.amenity-badge {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 5px;
  margin-bottom: 5px;
  display: inline-block;
}

.testimonial-card {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.floating-plane {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  animation: float 6s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes float {
  0%   { transform: translateX(0) rotate(0deg); }
  50%  { transform: translateX(-30px) rotate(5deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

.city-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(25, 135, 84, 0.85);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--text), var(--secondary));
  color: white;
  margin-bottom: 15px;
}

.bg-light-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
}

/* ===== MOBILE FILTER SIDEBAR (off-canvas) ===== */
@media (max-width: 991.98px) {
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    bottom: 0;
    z-index: 1050;
    width: 85%;
    overflow-y: auto;
    background: var(--white);
    padding: 1.5rem;
    transition: left 0.3s ease;
  }

  .filter-sidebar.show {
    left: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  }

  .filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }

  .filter-overlay.show {
    display: block;
  }
}

/* ==========================================================================
   FLIGHTS — search, results, checkout, confirmation
   ========================================================================== */

/* ---------- Flight hero + search panel ---------- */
.rh-flight-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.rh-flight-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.9) 0%,
    rgba(var(--primary-rgb), 0.6) 100%
  );
}

.rh-flight-hero > * {
  position: relative;
  z-index: 1;
}

.rh-search-tabs {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 1.25rem;
  border: 0;
}

.rh-search-tabs .nav-item {
  padding: 0;
}

.rh-search-tabs .nav-link {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.55rem 1.4rem;
  border: 0;
  background: transparent;
  transition: var(--transition);
}

.rh-search-tabs .nav-link:hover {
  color: var(--secondary);
}

.rh-search-tabs .nav-link.active {
  background: var(--white);
  color: var(--primary);
}

.rh-search-panel {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.18);
  padding: 1.75rem;
}

.rh-search-panel .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 0.35rem;
}

.rh-search-panel .form-control,
.rh-search-panel .form-select {
  border: 1.5px solid var(--light);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  background: #fbfcfe;
  transition: var(--transition);
  margin-bottom: 0;
}

.rh-search-panel .form-control:focus,
.rh-search-panel .form-select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.rh-search-panel small.text-muted {
  font-size: 0.7rem;
  display: block;
  margin-top: 0.25rem;
}

/* ---------- Result cards ---------- */
.rh-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0 1.25rem;
}

.rh-results-head h4 {
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.rh-results-head .rh-count {
  font-size: 0.85rem;
  color: var(--gray);
}

.rh-flight-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-flight-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.rh-flight-card:hover {
  box-shadow: 0 14px 36px rgba(var(--primary-rgb), 0.12);
  transform: translateY(-2px);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.rh-fc-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--light);
  background: linear-gradient(180deg, #fbfcff, var(--white));
}

.rh-fc-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--light);
  flex-shrink: 0;
}

.rh-fc-airline {
  flex: 1;
  min-width: 0;
}

.rh-fc-airline strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.rh-fc-airline span {
  font-size: 0.8rem;
  color: var(--gray);
}

.rh-fc-price {
  text-align: right;
  flex-shrink: 0;
}

.rh-fc-price .rh-fc-amount {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.rh-fc-price .rh-fc-currency {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.rh-fc-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  margin-top: 0.3rem;
}

.rh-fc-badge.rh-fc-badge-best {
  background: rgba(var(--secondary-rgb), 0.18);
  color: #a06a00;
}

.rh-fc-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.rh-fc-point {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.rh-fc-point.rh-fc-point-end {
  text-align: right;
}

.rh-fc-time {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.rh-fc-code {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.rh-fc-city {
  font-size: 0.78rem;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-fc-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 130px;
}

.rh-fc-path .rh-fc-dur {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.rh-fc-line {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.rh-fc-line::before,
.rh-fc-line::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--light), var(--primary), var(--light));
}

.rh-fc-line i {
  color: var(--primary);
  font-size: 0.75rem;
  margin: 0 0.35rem;
  transform: rotate(90deg);
}

.rh-fc-path .rh-fc-stops {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f7b6c;
}

.rh-fc-path .rh-fc-stops.rh-fc-stops-has {
  color: #b26b00;
}

.rh-fc-layovers {
  padding: 0.65rem 1.25rem;
  background: rgba(var(--secondary-rgb), 0.08);
  border-top: 1px solid rgba(var(--secondary-rgb), 0.25);
  font-size: 0.78rem;
  color: #8a6300;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.rh-fc-layovers i {
  margin-right: 0.25rem;
}

.rh-fc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--light);
  border-top: 1px dashed var(--light);
  flex-wrap: wrap;
}

.rh-fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rh-fc-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 100px;
  padding: 0.3rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rh-fc-tag i {
  color: var(--primary);
  font-size: 0.7rem;
}

.rh-fc-book {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 100px;
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.rh-fc-book:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateX(2px);
}

.rh-fc-book i {
  font-size: 0.75rem;
}

.rh-empty {
  background: var(--white);
  border: 1px dashed var(--light);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
}

.rh-empty i {
  font-size: 2.5rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.rh-empty h5 {
  color: var(--primary);
  font-weight: 700;
}

.rh-empty p {
  color: var(--gray);
  margin: 0 0 1rem;
}

/* ---------- Checkout ---------- */
.rh-checkout-hero {
  padding-top: 8.5rem;
  padding-bottom: 3rem;
  background:
    linear-gradient(
      135deg,
      rgba(var(--primary-rgb), 0.92),
      rgba(var(--primary-rgb), 0.7)
    ),
    url('../img/hero/plane-window.jpg') center/cover no-repeat;
  color: var(--white);
}

.rh-checkout-hero h1 {
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.rh-checkout-hero p {
  opacity: 0.75;
  margin: 0;
}

.rh-checkout-wrap {
  padding: 3rem 0 4rem;
  background: var(--light);
  min-height: 60vh;
}

.rh-summary-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.06);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.rh-summary-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--primary);
  color: var(--white);
}

.rh-summary-head .rh-direction-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rh-summary-head h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.rh-summary-head small {
  opacity: 0.7;
  font-size: 0.75rem;
}

.rh-segment {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--light);
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.rh-segment:last-child {
  border-bottom: 0;
}

.rh-segment .rh-seg-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 4px;
}

.rh-segment .rh-seg-body {
  min-width: 0;
}

.rh-segment .rh-seg-airline {
  font-weight: 700;
  color: var(--text);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.rh-segment .rh-seg-airline small {
  font-weight: 500;
  color: var(--gray);
  margin-left: 0.4rem;
}

.rh-segment .rh-seg-times {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text);
  flex-wrap: wrap;
}

.rh-segment .rh-seg-times i {
  color: var(--primary);
  font-size: 0.75rem;
}

.rh-segment .rh-seg-ports {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 0.15rem;
}

.rh-segment .rh-seg-dur {
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.rh-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

.rh-summary-total .rh-total-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.rh-summary-total .rh-total-amount {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.rh-passenger-panel {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.06);
  overflow: hidden;
  position: sticky;
  top: 6rem;
}

.rh-passenger-head {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rh-passenger-head h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rh-passenger-head .rh-pax-count {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.rh-passenger-body {
  max-height: calc(100vh - 22rem);
  overflow-y: auto;
  padding: 1rem 1.25rem;
  scrollbar-width: thin;
}

.rh-passenger-body::-webkit-scrollbar {
  width: 6px;
}

.rh-passenger-body::-webkit-scrollbar-thumb {
  background: var(--light);
  border-radius: 100px;
}

.rh-pax-block {
  border: 1px solid var(--light);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.85rem;
  background: #fbfcff;
  transition: var(--transition);
  animation: rhSlideIn 0.3s ease;
}

@keyframes rhSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rh-pax-block:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  background: var(--white);
}

.rh-pax-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--light);
}

.rh-pax-block-head .rh-pax-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rh-pax-block-head .rh-pax-num .rh-pax-dot {
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.rh-pax-remove {
  background: transparent;
  border: 0;
  color: #c0392b;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.rh-pax-remove:hover {
  background: #fdecea;
}

.rh-pax-block .form-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.rh-pax-block .form-control,
.rh-pax-block .form-select {
  border: 1.5px solid var(--light);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  background: var(--white);
  margin-bottom: 0;
}

.rh-pax-block .form-control:focus,
.rh-pax-block .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.rh-add-pax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 2px dashed var(--light);
  border-radius: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.rh-add-pax:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
}

.rh-passenger-foot {
  padding: 1rem 1.25rem;
  background: var(--light);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
}

.rh-passenger-foot .rh-mini-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.rh-passenger-foot .rh-mini-total strong {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.rh-confirm-btn {
  width: 100%;
  padding: 0.95rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rh-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.35);
  color: var(--white);
}

.rh-passenger-foot .rh-secure {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ---------- Confirmation ---------- */
.rh-confirm-tick {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f7b6c, #062d2a);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(15, 123, 108, 0.28);
}

.rh-step-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rh-confirm-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.06);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.rh-confirm-head {
  padding: 1rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section {
    padding: 4rem 0;
  }

  .filter-group {
    min-width: 160px;
  }
}

@media (max-width: 991.98px) {
  .rh-passenger-panel {
    position: static;
  }

  .rh-passenger-body {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .navbar-brand img {
    height: 45px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .hero-zoom {
    min-height: 380px;
  }
}

@media (max-width: 767.98px) {
  .rh-flight-hero {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
  }

  .rh-checkout-hero {
    padding-top: 7rem;
  }

  .rh-fc-route {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }

  .rh-fc-point,
  .rh-fc-point.rh-fc-point-end {
    text-align: left;
  }

  .rh-fc-path {
    min-width: 0;
  }

  .rh-fc-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-fc-book {
    justify-content: center;
    width: 100%;
  }

  .rh-segment {
    grid-template-columns: 44px 1fr;
    padding: 1rem;
  }

  .rh-segment .rh-seg-logo {
    width: 40px;
    height: 40px;
  }

  .rh-segment .rh-seg-dur {
    grid-column: 2;
    text-align: left;
  }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .whatsapp-float,
  header,
  footer,
  .rh-fc-book,
  .rh-add-pax,
  .rh-confirm-btn,
  .btn {
    display: none !important;
  }

  body {
    background: var(--white);
  }

  .rh-summary-card,
  .rh-confirm-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .hero-zoom::before,
  .hero-zoom::after {
    display: none;
  }
}
/* ==========================================================================
   TOUR FILTERS + RESULTS — HARMONISATION
   Appended fixes for destinations.php. Everything is scoped to the filter
   sidebar, the results bar and the tour cards so no other page changes.
   ========================================================================== */

/* ---------- Filter card ---------- */
.filter-card {
  padding: 1.25rem;
  border: 1px solid var(--light);
}

.filter-card:hover {
  transform: none;
  box-shadow: var(--box-shadow);
}

.filter-header {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.filter-body .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

/* ---------- Custom checkbox ----------
   Reset Bootstrap's float-first layout so our 20px box and the label
   line up cleanly on a single row. */
.filter-body .form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0;
  margin-bottom: 0.5rem;
  min-height: 24px;
}

.filter-body .form-check .form-check-input {
  float: none;
  margin: 0;
  flex-shrink: 0;
}

.filter-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: var(--white);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.filter-checkbox:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-checkbox:checked::after {
  content: "\2713";
  position: absolute;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

.filter-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.filter-body .form-check-label {
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0;
}

/* ---------- Selects ----------
   Restore the space Bootstrap reserves for the dropdown arrow so the
   selected text stops running under it. */
.filter-select {
  border: 1.5px solid var(--light);
  border-radius: 10px;
  padding: 0.6rem 2.25rem 0.6rem 0.9rem;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23052036' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 10px;
  font-size: 0.92rem;
  color: var(--text);
  width: 100%;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.2);
  outline: none;
}

/* ---------- Date input group ---------- */
.filter-body .input-group {
  margin-bottom: 0.5rem;
}

.filter-body .input-group .input-group-text {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-right: 0;
  padding: 0 0.85rem;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  display: flex;
  align-items: center;
}

.filter-body .input-group input[type="date"] {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  border: 2px solid var(--light);
  border-left: 0;
  padding: 0.6rem 0.85rem;
  background: var(--light-gray);
  font-size: 0.9rem;
}

.filter-body .input-group input[type="date"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.2);
  outline: none;
}

/* ---------- Range slider ---------- */
.filter-body .filter-range {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

#minPrice,
#maxPrice {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* ---------- Reset button ---------- */
#resetFilters {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  padding: 0.6rem 1rem;
  transition: var(--transition);
}

#resetFilters:hover,
#resetFilters:focus {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

#resetFilters i {
  transition: transform 0.3s ease;
  display: inline-block;
}

#resetFilters:hover i {
  transform: rotate(180deg);
}

/* ---------- Results bar ---------- */
.results-count {
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.results-count h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

/* The small sort dropdown was inheriting filter-select's large padding
   because filter-select was defined later in the file. Force the small
   variant here. */
.results-count .filter-select {
  padding: 0.35rem 2rem 0.35rem 0.75rem;
  font-size: 0.85rem;
  min-width: 190px;
  border-width: 1px;
  border-radius: 8px;
  background-color: var(--white);
}

/* ---------- Tour results container ----------
   The forced scroll made the results look cramped. Let them flow. */
.tour-results-container {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

/* ---------- Tour cards ----------
   Single transform on hover (Bootstrap's .card:hover + .tour-card:hover
   were both firing and doubling the lift). */
.tour-card {
  margin-bottom: 0;
}

.tour-card .card {
  border: 1px solid var(--light);
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.tour-card:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.tour-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.tour-card:hover .card-img-top {
  transform: scale(1.04);
}

/* Price tag — cleaner pill */
.tour-card .price-tag {
  top: 12px;
  right: 12px;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Tour type badge — amber pill for contrast against the image */
.tour-card .tour-type-badge {
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.tour-card .card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.tour-card .tour-duration {
  font-size: 0.78rem;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tour-card .tour-location {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.tour-card .tour-description {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--gray);
  margin-bottom: 1rem;
  height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Empty state ---------- */
.no-results {
  background: var(--white);
  border: 1px dashed var(--light);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}

.no-results h4 {
  font-weight: 700;
  color: var(--dark);
  margin-top: 0.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .filter-body .input-group input[type="date"] {
    font-size: 0.85rem;
  }

  .results-count .d-flex {
    width: 100%;
    justify-content: space-between;
  }

  .results-count .filter-select {
    min-width: 0;
    width: auto;
  }
}
/* Carousel sizing on cards */
.tour-carousel .carousel-inner,
.tour-carousel .carousel-item,
.tour-carousel .carousel-item img {
    height: 220px;
    object-fit: cover;
}
.tour-carousel .carousel-control-prev,
.tour-carousel .carousel-control-next {
    width: 32px;
    background: rgba(0,0,0,.35);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 3px rgba(0,0,0,.6));
}

.carousel-item img { width: 100%; display: block; }
.thumb-thumb.active { border-color: #0d6efd !important; }

/* ============================================================
   TOURS MODULE — Modern Styles
   ============================================================ */

:root {
    --tour-primary: #0d6efd;
    --tour-primary-dark: #0a58ca;
    --tour-warning: #ffc107;
    --tour-radius: 1rem;
    --tour-radius-lg: 1.5rem;
    --tour-shadow-sm: 0 4px 15px rgba(0,0,0,.06);
    --tour-shadow-md: 0 10px 30px rgba(0,0,0,.08);
    --tour-shadow-lg: 0 20px 50px rgba(0,0,0,.12);
    --tour-transition: all .3s cubic-bezier(.4,0,.2,1);
}

.ls-1 { letter-spacing: .05em; }
.ls-2 { letter-spacing: .1em; }

/* ---------- Hero Sections ---------- */
.tours-hero,
.tour-detail-hero,
.checkout-hero,
.confirmation-hero,
.results-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.tours-hero { padding-top: 8rem; padding-bottom: 4rem; min-height: 90vh; display: flex; align-items: center; }
.tour-detail-hero,
.checkout-hero,
.results-hero { min-height: 70vh; display: flex; align-items: center; }
.confirmation-hero { min-height: 80vh; display: flex; align-items: center; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.6) 100%);
    z-index: 1;
}

.min-vh-60 { min-height: 60vh; }
.min-vh-70 { min-height: 70vh; }

/* ---------- Stats ---------- */
.stat-item { border-left: 2px solid var(--tour-warning); padding-left: 1rem; }

/* ---------- Breadcrumb Light ---------- */
.breadcrumb-light .breadcrumb-item,
.breadcrumb-light .breadcrumb-item a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .9rem;
}
.breadcrumb-light .breadcrumb-item a:hover { color: #fff; }
.breadcrumb-light .breadcrumb-item.active { color: var(--tour-warning); }
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- Tour Card Modern ---------- */
.tour-card-modern {
    border-radius: var(--tour-radius-lg);
    overflow: hidden;
    transition: var(--tour-transition);
    background: #fff;
}

.tour-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--tour-shadow-lg) !important;
}

.tour-img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 11;
}

.tour-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.tour-card-modern:hover .tour-img { transform: scale(1.06); }

.tour-carousel .carousel-item { transition: transform .6s ease-in-out; }
.tour-carousel .carousel-control-prev,
.tour-carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    opacity: 0;
    transition: var(--tour-transition);
    margin: 0 .75rem;
}
.tour-card-modern:hover .tour-carousel .carousel-control-prev,
.tour-card-modern:hover .tour-carousel .carousel-control-next { opacity: 1; }
.tour-carousel .carousel-control-prev-icon,
.tour-carousel .carousel-control-next-icon {
    filter: invert(1);
    width: 14px;
    height: 14px;
}

/* Badges */
.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(13, 110, 253, .95);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: .5rem .9rem;
    border-radius: .75rem;
    text-align: right;
    line-height: 1.1;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(13,110,253,.3);
}
.price-badge .fw-bold { font-size: .95rem; }

.tour-type-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    color: #212529;
    padding: .35rem .85rem;
    border-radius: 2rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    z-index: 3;
}

.photo-count-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: .25rem .65rem;
    border-radius: 2rem;
    font-size: .75rem;
    z-index: 3;
}

/* Soft badges */
.badge-soft {
    display: inline-flex;
    align-items: center;
    background: rgba(13,110,253,.08);
    color: var(--tour-primary);
    padding: .35rem .75rem;
    border-radius: 2rem;
    font-size: .78rem;
    font-weight: 500;
}

.tour-title {
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View button */
.btn-tour-view {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    transition: var(--tour-transition);
}
.btn-tour-view::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--tour-primary-dark);
    transform: translateX(-100%);
    transition: transform .4s ease;
    z-index: -1;
}
.btn-tour-view:hover::before { transform: translateX(0); }
.btn-tour-view i { transition: transform .3s ease; }
.btn-tour-view:hover i { transform: translateX(4px); }

/* ---------- Filter Sidebar ---------- */
.filter-sidebar { transition: var(--tour-transition); }

.sticky-filter {
    position: sticky;
    top: 100px;
}

.filter-card {
    background: #fff;
    border-radius: var(--tour-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--tour-shadow-sm);
    border: 1px solid rgba(0,0,0,.04);
}

.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--tour-transition);
}
.filter-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 991.98px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        z-index: 1050;
        padding: 1rem;
        overflow-y: auto;
        background: #f8f9fa;
    }
    .filter-sidebar.active { left: 0; }
}

/* Modern checkboxes */
.form-check-modern .form-check-input {
    width: 1.15em;
    height: 1.15em;
    margin-top: .15em;
    border-radius: .35em;
    border: 2px solid #dee2e6;
    transition: var(--tour-transition);
}
.form-check-modern .form-check-input:checked {
    background-color: var(--tour-primary);
    border-color: var(--tour-primary);
}

/* Range slider */
.range-slider {
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
}
.range-slider::-webkit-slider-thumb {
    background: var(--tour-primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(13,110,253,.4);
    cursor: pointer;
}

/* ---------- Content Cards ---------- */
.content-card {
    background: #fff;
    border-radius: var(--tour-radius-lg);
    padding: 2rem;
    box-shadow: var(--tour-shadow-sm);
    border: 1px solid rgba(0,0,0,.04);
}

.sticky-sidebar-card {
    position: sticky;
    top: 100px;
}

.price-highlight {
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .65rem 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: .9rem;
}
.summary-row:last-child { border-bottom: none; }

/* Info tiles */
.info-tile {
    background: #f8f9fa;
    border-radius: var(--tour-radius);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: var(--tour-transition);
    border: 1px solid rgba(0,0,0,.03);
}
.info-tile:hover {
    background: #fff;
    box-shadow: var(--tour-shadow-sm);
    transform: translateY(-2px);
}
.info-tile-icon {
    font-size: 1.5rem;
    color: var(--tour-primary);
    margin-bottom: .5rem;
}
.info-tile-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6c757d;
    margin-bottom: .25rem;
}
.info-tile-value {
    font-weight: 700;
    color: #212529;
}

/* Mini stats */
.mini-stat {
    text-align: center;
    padding: .75rem .5rem;
    background: #f8f9fa;
    border-radius: .75rem;
}
.mini-stat i { font-size: 1.1rem; margin-bottom: .25rem; display: block; }
.mini-stat-label { font-size: .7rem; text-transform: uppercase; color: #6c757d; }
.mini-stat-value { font-weight: 700; font-size: .95rem; }

/* ---------- Gallery ---------- */
.tour-gallery-img,
.checkout-gallery-img {
    height: 480px;
    object-fit: cover;
}
.checkout-gallery-img { height: 360px; }

.thumb-strip {
    padding: .25rem 0;
}
.thumb-thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: .5rem;
    cursor: pointer;
    border: 2px solid #eee;
    transition: var(--tour-transition);
    opacity: .7;
}
.thumb-thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb-thumb.active {
    border-color: var(--tour-primary);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}

.carousel-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: .35rem .85rem;
    border-radius: 2rem;
    font-size: .8rem;
    z-index: 3;
}

/* ---------- Tabs ---------- */
.tour-nav-pills {
    gap: .5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: .75rem;
}
.tour-nav-pills .nav-link {
    border-radius: 2rem;
    padding: .6rem 1.25rem;
    color: #6c757d;
    font-weight: 500;
    transition: var(--tour-transition);
    border: none;
}
.tour-nav-pills .nav-link:hover {
    background: rgba(13,110,253,.08);
    color: var(--tour-primary);
}
.tour-nav-pills .nav-link.active {
    background: var(--tour-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13,110,253,.3);
}

/* Detail rows */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: .75rem 0;
    border-bottom: 1px dashed #f0f0f0;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: #6c757d; font-size: .9rem; }
.detail-value { font-weight: 600; }

.include-item {
    padding: .6rem .75rem;
    background: #f8f9fa;
    border-radius: .5rem;
    font-size: .9rem;
}

/* Description content */
.tour-description-content {
    line-height: 1.8;
    color: #495057;
}
.tour-description-content h1,
.tour-description-content h2,
.tour-description-content h3,
.tour-description-content h4 {
    margin-top: 1.5rem;
    margin-bottom: .75rem;
    font-weight: 700;
}
.tour-description-content p { margin-bottom: 1rem; }
.tour-description-content ul,
.tour-description-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.tour-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tour-radius);
    margin: 1rem 0;
}

/* ---------- Trust Badges ---------- */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}
.trust-item {
    text-align: center;
    font-size: .75rem;
    color: #6c757d;
}
.trust-item i {
    display: block;
    font-size: 1.1rem;
    color: var(--tour-primary);
    margin-bottom: .25rem;
}

/* ---------- Checkout Form ---------- */
.input-icon-wrap {
    position: relative;
}
.input-icon-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    z-index: 2;
    pointer-events: none;
}
.input-icon-wrap .form-control {
    padding-left: 2.75rem;
    border-radius: .75rem;
    border: 2px solid #e9ecef;
    transition: var(--tour-transition);
}
.input-icon-wrap .form-control:focus {
    border-color: var(--tour-primary);
    box-shadow: 0 0 0 4px rgba(13,110,253,.1);
}

.checkout-form .form-control {
    border-radius: .75rem;
    border: 2px solid #e9ecef;
    transition: var(--tour-transition);
}
.checkout-form .form-control:focus {
    border-color: var(--tour-primary);
    box-shadow: 0 0 0 4px rgba(13,110,253,.1);
}

/* ---------- Success Checkmark ---------- */
.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}
.check-icon {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--tour-warning);
}
.check-icon::before {
    top: 3px; left: -2px;
    width: 30px; transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}
.check-icon::after {
    top: 0; left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
}
.check-icon::before,
.check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: transparent;
    transform: rotate(-45deg);
}
.icon-line {
    height: 5px;
    background-color: var(--tour-warning);
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}
.line-tip {
    top: 46px; left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip .75s;
}
.line-long {
    top: 38px; right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long .75s;
}
.icon-circle {
    top: -4px; left: -4px;
    z-index: 10;
    width: 100px; height: 100px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(255,193,7,.5);
}
.icon-fix {
    top: 8px; left: 28px;
    width: 5px; height: 85px;
    position: absolute;
    z-index: 1;
    transform: rotate(-45deg);
    background-color: transparent;
}

@keyframes icon-line-tip {
    0% { width: 0; top: 19px; left: 1px; }
    54% { width: 0; top: 19px; left: 1px; }
    70% { width: 50px; top: 37px; left: 8px; }
    84% { width: 17px; top: 48px; left: 21px; }
    100% { width: 25px; top: 46px; left: 14px; }
}
@keyframes icon-line-long {
    0% { width: 0; top: 54px; right: 46px; }
    65% { width: 0; top: 54px; right: 46px; }
    84% { width: 55px; top: 35px; right: 0px; }
    100% { width: 47px; top: 38px; right: 8px; }
}

/* ---------- Empty State ---------- */
.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,110,253,.08);
    border-radius: 50%;
    color: var(--tour-primary);
    font-size: 2.5rem;
}

/* ---------- Search Card (results hero) ---------- */
.search-card {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .tour-gallery-img { height: 280px; }
    .checkout-gallery-img { height: 220px; }
    .content-card { padding: 1.5rem; }
    .sticky-sidebar-card { position: static; }
    .sticky-filter { position: static; }
    .tours-hero { min-height: 70vh; }
}

/* ---------- AOS fallback (if not loaded) ---------- */
[data-aos] { opacity: 1; transform: none; 
		   /* ============================================================
   AUTH PAGES — Modern Sign In / Sign Up / Password
   ============================================================ */

.auth-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.auth-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(.9);
}

.auth-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, .85) 0%, rgba(13, 27, 42, .65) 50%, rgba(13, 27, 42, .9) 100%);
    z-index: -1;
}

.auth-card {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .3);
    animation: authFadeIn .6s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-logo i {
    transition: transform .3s ease;
}
.auth-logo:hover i {
    transform: rotate(20deg) scale(1.1);
}

.auth-form .form-control,
.auth-form .form-select {
    border-radius: .85rem;
    border: 2px solid #e9ecef;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    font-size: .95rem;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .12);
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap > i:first-child {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    z-index: 2;
    pointer-events: none;
    transition: color .3s ease;
}

.input-icon-wrap .form-control {
    padding-left: 2.85rem;
}

.input-icon-wrap .form-control:focus ~ i:first-child,
.input-icon-wrap .form-control:focus + i:first-child {
    color: #0d6efd;
}

.password-toggle {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: .35rem .5rem;
    border-radius: .5rem;
    transition: all .2s ease;
    z-index: 3;
}
.password-toggle:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, .08);
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    box-shadow: 0 8px 20px rgba(13, 110, 253, .3);
    transition: all .3s ease;
}
.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(13, 110, 253, .4);
}

.alert {
    border: none;
    font-size: .9rem;
}

@media (max-width: 767.98px) {
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
    }
}