:root {
  --primary: #070663;
  --primary-light: #15149A;
  --primary-soft: #EDEEFF;
  --cta: #FFB21A;
  --cta-dark: #F28A00;
  --ink: #101533;
  --muted: #626A80;
  --soft: #F5F6FC;
  --white: #FFFFFF;
  --line: rgba(16, 32, 51, 0.1);
  --shadow: 0 20px 55px rgba(16, 32, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.topbar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  padding: 9px 0;
}

.topbar i {
  color: var(--cta);
  margin-right: 6px;
}

.social-links a {
  color: var(--white);
  margin-left: 14px;
  transition: color 0.25s ease;
}

.social-links a:hover {
  color: var(--cta);
}

.main-navbar {
  background: var(--white);
  min-height: 76px;
  transition: box-shadow 0.25s ease, min-height 0.25s ease;
  z-index: 1030;
}

.main-navbar.scrolled {
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.1);
  min-height: 68px;
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  line-height: 1;
}

.brand-logo {
  width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.footer-logo {
  width: 205px;
  max-height: 68px;
  object-fit: contain;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--white);
}

.navbar .nav-link {
  color: #25364d;
  font-weight: 600;
  padding-inline: 0.85rem !important;
}

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

.btn {
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-cta {
  color: #172033;
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  border: 0;
  box-shadow: 0 12px 26px rgba(245, 130, 32, 0.28);
}

.btn-cta:hover {
  color: #172033;
  box-shadow: 0 16px 34px rgba(245, 130, 32, 0.36);
}

.btn-glass {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
}

.hero-section {
  position: relative;
  min-height: 790px;
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=85");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 4, 70, 0.86) 0%, rgba(7, 6, 99, 0.58) 48%, rgba(0, 0, 0, 0.25) 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

.hero-section h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6vw, 5.45rem);
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 32px;
}

.search-wrapper {
  position: relative;
  z-index: 4;
  margin-top: -105px;
}

.travel-search {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr) auto;
  gap: 14px;
  align-items: end;
  background: var(--white);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.search-field label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.search-field div {
  display: flex;
  align-items: center;
  min-height: 54px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #FAFBFD;
}

.search-field i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.search-btn {
  min-height: 54px;
  padding-inline: 28px;
}

.section {
  padding: 96px 0;
}

.section-offset {
  padding-top: 146px;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.text-center {
  margin-inline: auto;
}

.section-heading span,
.section-kicker {
  display: inline-block;
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-heading h2,
.form-title {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-heading p,
.form-copy {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.destination-card,
.benefit-card,
.testimonial-card,
.booking-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.07);
}

.destination-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.image-box {
  height: 210px;
  overflow: hidden;
}

.image-box img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover .image-box img,
.gallery-item:hover img {
  transform: scale(1.08);
}

.offer-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #172033;
  background: var(--cta);
  font-size: 0.76rem;
  font-weight: 800;
}

.destination-card .card-body {
  padding: 20px;
}

.destination-card h3,
.benefit-card h3,
.testimonial-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.rating {
  color: var(--cta-dark);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.destination-card p {
  color: var(--muted);
  margin-bottom: 8px;
}

.destination-card strong {
  color: var(--primary);
  font-size: 1.15rem;
}

.package-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #D6DCE8;
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(16, 32, 51, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.package-media {
  position: relative;
  height: 238px;
  overflow: hidden;
}

.package-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.package-card:hover .package-media img {
  transform: scale(1.06);
}

.package-icons {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-icons span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 32, 51, 0.12);
  font-size: 1.55rem;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.18);
}

.package-icons strong {
  color: var(--white);
  font-size: 1.45rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.package-content {
  padding: 12px 10px 10px;
}

.package-content h3 {
  color: #171B2A;
  font-size: 1.42rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.package-route {
  color: #202638;
  font-size: 1rem;
  margin-bottom: 1px;
}

.package-origin {
  color: #7B7F8C;
  line-height: 1.35;
  margin-bottom: 22px;
}

.trip-type {
  display: inline-block;
  color: #303544;
  background: #E9EAEC;
  padding: 3px 6px;
  font-size: 0.9rem;
}

.package-price,
.package-date,
.package-points {
  border-top: 1px solid #D6DCE8;
  padding: 8px 10px;
}

.package-price span {
  display: block;
  color: #242A38;
  font-size: 0.78rem;
}

.package-price strong {
  display: block;
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 800;
}

.package-date strong,
.package-date span {
  display: block;
}

.package-date strong {
  color: #777C88;
  font-size: 0.98rem;
}

.package-date span {
  color: #777C88;
  font-size: 0.88rem;
}

.package-link {
  display: block;
  border-top: 1px solid #D6DCE8;
  padding: 10px;
  color: var(--primary);
  font-weight: 800;
  transition: color 0.25s ease, background 0.25s ease;
}

.package-link:hover {
  color: var(--primary-light);
  background: var(--primary-soft);
}

.package-points {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #202638;
  font-size: 0.96rem;
}

.package-points span {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7CC8FF 0%, #2F7BEA 50%, var(--primary) 100%);
  box-shadow: 0 2px 6px rgba(7, 6, 99, 0.26);
}

.detail-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 4, 70, 0.88), rgba(7, 6, 99, 0.56), rgba(0, 0, 0, 0.16));
}

.detail-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
}

.detail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  margin-bottom: 18px;
}

.detail-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
}

.detail-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.detail-summary {
  margin-top: -56px;
  position: relative;
  z-index: 5;
}

.summary-card {
  height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.summary-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 6px;
}

.detail-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.07);
}

.detail-card h2,
.detail-card h3 {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: #263248;
}

.check-list i {
  color: var(--primary-light);
  margin-top: 2px;
}

.hotel-table {
  margin-bottom: 0;
}

.hotel-table th {
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.86rem;
}

.hotel-table td {
  color: #30384c;
  vertical-align: middle;
}

.flight-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--primary-soft);
}

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

.conditions-list {
  color: var(--muted);
  margin-bottom: 0;
}

.detail-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.promo-banner {
  padding: 76px 0;
  background: var(--white);
}

.hotel-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hotel-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

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

.hotel-card > div {
  padding: 22px;
}

.hotel-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hotel-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.hotel-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.hotel-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.hotel-meta span {
  color: var(--cta-dark);
  font-weight: 800;
}

.hotel-meta strong {
  color: var(--primary);
  font-size: 0.95rem;
}

.promo-box {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  color: var(--white);
  padding: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow);
}

.promo-box span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-transform: uppercase;
}

.promo-box h2 {
  font-weight: 800;
  margin: 6px 0 0;
}

.countdown {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.countdown strong {
  font-size: 1.55rem;
}

.benefit-card {
  height: 100%;
  padding: 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.benefit-card i {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  font-size: 1.5rem;
}

.benefit-card p {
  color: var(--muted);
  margin: 0;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  cursor: zoom-in;
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.12);
}

.gallery-item::after {
  content: "\F52A";
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--white);
  font-family: "bootstrap-icons";
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.testimonials {
  background: linear-gradient(180deg, var(--white), #EEF5FF);
}

.carousel {
  max-width: 860px;
  margin: 0 auto;
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px;
  text-align: center;
}

.testimonial-card img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(16, 32, 51, 0.16);
}

.testimonial-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  padding: 18px;
  border-radius: 50%;
  background-color: var(--primary);
}

.contact-mini {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-mini span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
}

.booking-form {
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-label {
  color: #344054;
  font-weight: 700;
}

.form-control {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 500;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.22rem rgba(0, 119, 255, 0.12);
}

textarea.form-control {
  min-height: 128px;
}

.form-status {
  color: var(--primary);
  font-weight: 700;
  margin: 16px 0 0;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #071A34;
  padding: 70px 0 28px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 16px;
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 9px;
  transition: color 0.25s ease;
}

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

.payment-methods,
.footer-social {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  font-size: 1.35rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  outline: 0;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-social a {
  display: inline-flex;
  margin: 0;
  font-size: 1.25rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  background: rgba(3, 12, 25, 0.9);
  z-index: 2000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(100%, 1040px);
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1199px) {
  .travel-search {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-btn {
    grid-column: span 2;
  }

  .masonry-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .main-navbar .btn-cta {
    width: 100%;
  }

  .hero-section {
    min-height: 860px;
  }

  .search-wrapper {
    margin-top: -150px;
  }

  .section-offset {
    padding-top: 190px;
  }

  .promo-box {
    grid-template-columns: 1fr;
  }

  .package-media {
    height: 230px;
  }
}

@media (max-width: 767px) {
  .brand-logo {
    width: 158px;
  }

  .footer-logo {
    width: 180px;
  }

  .hero-section {
    min-height: 930px;
  }

  .hero-section h1 {
    font-size: 2.65rem;
  }

  .travel-search {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .search-btn {
    grid-column: auto;
  }

  .section {
    padding: 72px 0;
  }

  .section-offset {
    padding-top: 230px;
  }

  .masonry-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .testimonial-card,
  .booking-form,
  .promo-box {
    padding: 26px;
  }

  .footer-bottom,
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }

  .package-media {
    height: 215px;
  }
}
