/* ===== HERO SEARCH ===== */
.flight-search-top {
  background: url('../images/flights/flights.webp') center/cover no-repeat;
  padding: 100px 5% 50px;
  position: relative;
}

.flight-search-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .65));
}

.fst-inner {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.fst-hero-text {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.fst-hero-text h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
}

.fst-hero-text h1 span {
  color: #10b981;
}

.fst-hero-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: #10b981;
  padding: 18px 5%;
}

.trust-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.trust-item i {
  font-size: 18px;
  opacity: .85;
}

/* ===== SECTIONS ===== */
.fp-section {
  padding: 60px 5%;
  background: #0d0d1a;
}

.alt-bg {
  background: #111122;
}

.fp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.fp-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.fp-header h2 span {
  color: #10b981;
}

.fp-header p {
  color: #888;
  font-size: 14px;
}

/* ===== POPULAR ROUTES GRID ===== */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.route-card {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.route-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.route-card:hover img {
  transform: scale(1.08);
}

.route-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  gap: 12px;
}

.route-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.route-cities {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.route-cities span {
  color: #10b981;
  font-weight: 800;
  font-size: 14px;
}

.route-cities i {
  color: #fff;
  font-size: 12px;
}

.route-card h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.route-price {
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.route-price strong {
  color: #10b981;
  font-size: 18px;
  font-weight: 800;
}

/* ===== DESTINATION SLIDERS ===== */
.dest-flights-section {
  padding: 50px 5%;
  background: #0d0d1a;
}

.dest-flights-section.alt-bg {
  background: #111122;
}

.dest-flights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.dest-flights-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.dest-flights-header h2 span {
  color: #10b981;
}

.dest-flights-header p {
  color: #888;
  font-size: 14px;
  max-width: 550px;
  line-height: 1.6;
}

.dest-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.dest-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #10b981;
  cursor: pointer;
  font-size: 14px;
  transition: .3s;
}

.dest-nav button:hover {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.dest-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  white-space: nowrap;
}

.dest-slider::-webkit-scrollbar {
  display: none;
}

.dest-slide-card {
  position: relative;
  min-width: 250px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-block;
}

.dest-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.dest-slide-card:hover img {
  transform: scale(1.08);
}

.dest-slide-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .05) 55%);
}

.dsc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #10b981;
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dsc-info {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.dsc-info h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.dsc-info a {
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: .3s;
}

.dsc-info a:hover {
  color: #10b981;
}

/* =====================================
   LARGE DESKTOP (1600px+)
===================================== */
@media (min-width: 1600px) {

  .dest-flights-section {
    padding: 70px 8%;
  }

  .dest-slide-card {
    min-width: 320px;
    height: 380px;
  }

  .dsc-info h3 {
    font-size: 20px;
  }
}

/* =====================================
   DESKTOP (1200px - 1599px)
===================================== */
@media (max-width: 1599px) {

  .dest-slide-card {
    min-width: 280px;
    height: 320px;
  }
}

/* =====================================
   LAPTOP (992px - 1199px)
===================================== */
@media (max-width: 1199px) {

  .dest-flights-section {
    padding: 50px 4%;
  }

  .dest-slide-card {
    min-width: 260px;
    height: 300px;
  }

  .dest-flights-header h2 {
    font-size: 24px;
  }
}

/* =====================================
   TABLET LANDSCAPE (768px - 991px)
===================================== */
@media (max-width: 991px) {

  .dest-flights-section {
    padding: 45px 4%;
  }

  .dest-flights-header {
    gap: 15px;
  }

  .dest-flights-header h2 {
    font-size: 22px;
  }

  .dest-flights-header p {
    font-size: 13px;
    max-width: 100%;
  }

  .dest-slide-card {
    min-width: 240px;
    height: 280px;
  }

  .dsc-info h3 {
    font-size: 15px;
  }
}

/* =====================================
   TABLET PORTRAIT (576px - 767px)
===================================== */
@media (max-width: 767px) {

  .dest-flights-section {
    padding: 40px 20px;
  }

  .dest-flights-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dest-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .dest-slide-card {
    min-width: 220px;
    height: 260px;
  }

  .dsc-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .dsc-info {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }

  .dsc-info h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }
}

/* =====================================
   MOBILE (480px - 575px)
===================================== */
@media (max-width: 575px) {

  .dest-flights-section {
    padding: 35px 15px;
  }

  .dest-flights-header h2 {
    font-size: 20px;
  }

  .dest-flights-header p {
    font-size: 13px;
  }

  .dest-nav button {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .dest-slide-card {
    min-width: 200px;
    height: 240px;
  }

  .dsc-badge {
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 4px 10px;
  }

  .dsc-info h3 {
    font-size: 14px;
  }

  .dsc-info a {
    font-size: 10px;
  }
}

/* =====================================
   SMALL MOBILE (425px)
===================================== */
@media (max-width: 425px) {

  .dest-flights-section {
    padding: 30px 12px;
  }

  .dest-slide-card {
    min-width: 180px;
    height: 220px;
  }

  .dsc-info {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .dsc-info h3 {
    font-size: 13px;
  }

  .dsc-badge {
    font-size: 9px;
    padding: 4px 8px;
  }
}

/* =====================================
   iPHONE SE / 375px
===================================== */
@media (max-width: 375px) {

  .dest-flights-header h2 {
    font-size: 18px;
  }

  .dest-flights-header p {
    font-size: 12px;
  }

  .dest-slide-card {
    min-width: 170px;
    height: 210px;
    border-radius: 14px;
  }

  .dsc-info h3 {
    font-size: 12px;
  }

  .dsc-info a {
    font-size: 9px;
  }

  .dsc-badge {
    font-size: 8px;
  }
}

/* =====================================
   EXTRA SMALL MOBILE (320px)
===================================== */
@media (max-width: 320px) {

  .dest-flights-section {
    padding: 25px 10px;
  }

  .dest-slide-card {
    min-width: 150px;
    height: 190px;
    border-radius: 12px;
  }

  .dsc-badge {
    top: 8px;
    right: 8px;
    font-size: 8px;
    padding: 3px 7px;
  }

  .dsc-info {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .dsc-info h3 {
    font-size: 11px;
    line-height: 1.3;
  }

  .dsc-info a {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
}


/* ===== WHY BOOK ===== */
.why-flight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.why-flight-card {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  transition: .3s;
}

.why-flight-card:hover {
  border-color: #10b981;
  transform: translateY(-5px);
}

.wfc-icon {
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.wfc-icon i {
  font-size: 24px;
  color: #10b981;
}

.why-flight-card h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-flight-card p {
  color: #888;
  font-size: 14px;
  line-height: 1.7;
}

/* ===== CTA ===== */
.flight-cta {
  background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
  padding: 100px 5%;
  position: relative;
  text-align: center;
}

.flight-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.flight-cta-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.flight-cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.flight-cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 30px;
}

.flight-cta-content .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  padding: 15px 35px;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 991px) {
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-flight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fst-hero-text h1 {
    font-size: 36px;
  }

  .trust-inner {
    justify-content: center;
  }
}

@media(max-width: 600px) {
  .flight-search-top {
    padding: 90px 4% 35px;
  }

  .fst-hero-text h1 {
    font-size: 26px;
  }

  .fst-hero-text p {
    font-size: 14px;
  }

  .routes-grid {
    grid-template-columns: 1fr;
  }

  .why-flight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fp-section {
    padding: 40px 4%;
  }

  .flight-cta-content h2 {
    font-size: 28px;
  }

  .trust-item span {
    font-size: 12px;
  }
}