/* =========================
GLOBAL
========================= */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f6f8f9;
}

/* =========================
HEADER
========================= */
/* =========================
HEADER (SLIM + CLEAN)
========================= */
.header {
  background: #000000;
  padding: 0;                 /* 🔥 REMOVE extra space */
  height: 60px;               /* 🔥 fixed clean height */
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* NAV CONTAINER */
.nav {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  height: 100%;
}


/* LOGO SIZE */
.logo img {
  height: 32px; /* smaller like Trustpilot */
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px; /* 🔥 spacing without breaking layout */
}

.menu a {
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: white !important;
  line-height: 1;
  transition: 0.2s ease;
}

.menu a:hover {
  opacity: 0.8;
}


/* =========================
HERO
========================= */
.hero {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background: #AAF0D1;
  overflow: hidden;
}

/* STRONGER MOVING BLOBS */
.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(0, 134, 81, 1);
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation: float1 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 120, 11, 0.9);
  border-radius: 50%;
  bottom: 10%;
  right: 10%;
  animation: float2 10s ease-in-out infinite;
}

/* ANIMATIONS */
@keyframes float1 {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(40px, -30px); }
  100% { transform: translate(0, 0); }
}

@keyframes float2 {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-40px, 30px); }
  100% { transform: translate(0, 0); }
}

/* KEEP CONTENT ABOVE */
.hero h1,
.hero p,
.search-box,
.top-airline {
  position: relative;
  z-index: 2;
}


.hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 30px;
  font-size: 16px;
}

/* =========================
SEARCH
========================= */
.search-box {
  display: flex;
  justify-content: center;
}

.search-box input {
  width: 100%;
  max-width: 500px;
  padding: 15px;
  border: none;
  border-radius: 6px 0 0 6px;
}

.search-box button {
  padding: 15px 25px;
  border: none;
  background: black;
  color: white;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

/* =========================
TOP AIRLINE BADGE
========================= */
.top-airline {
  margin-top: 20px;
  background: white;
  color: black;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
}

/* =========================
STATS SECTION
========================= */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: -40px;
  padding: 20px;
  flex-wrap: wrap;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  width: 180px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 26px;
  color: #008651;
}

/* =========================
WHY AIRTRACK
========================= */
.trust-section {
  text-align: center;
  margin-top: 60px;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.trust-box {
  background: linear-gradient(135deg, #ffffff, #e6f7ee);
  padding: 25px;
  border-radius: 16px;
  width: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.trust-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* =========================
CONTAINER
========================= */
.container {
  padding: 40px;
  max-width: 1100px;
  margin: auto;
}

/* =========================
CONTROLS
========================= */
.controls {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* FILTER BUTTONS */
#filters button {
  margin-right: 10px;
  margin-bottom: 10px;
  background: #eee;
  color: black;
}

#filters button.active {
  background: black;
  color: white;
}

/* =========================
COMPLAINT CARDS (COMPACT)
========================= */
.card {
  background: white;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  line-height: 1.4;
  border-left: 4px solid #008651;
}

.card strong {
  font-size: 13px;
}

.card p {
  font-size: 13px;
  margin: 4px 0;
}

.card small {
  font-size: 11px;
  color: #666;
}

.card img {
  width: 28px;
  height: 28px;
}

/* =========================
PAGINATION
========================= */
#pagination {
  text-align: center;
  margin-top: 20px;
}

/* =========================
FORM
========================= */
input, textarea, select {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* =========================
BUTTON
========================= */
button {
  background: #008651;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #008651;
}

/* =========================
AIRLINE CAROUSEL (FIXED)
========================= */
.airline-hero {
  margin-top: 50px;
  padding: 50px 20px;
  background: linear-gradient(135deg, #008651);
  border-radius: 20px;
  color: white;
  text-align: center;
}

.popular-airlines-title {
  font-size: 24px;
  margin-bottom: 20px;
}

/* SCROLL */
.airline-scroll {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  padding: 20px;
}

/* CARD */
.airline-card {
  min-width: 140px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.airline-card:hover {
  transform: scale(1.05);
}

/* LOGO */
.airline-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* TEXT */
.airline-card p {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

/* =========================
BADGES
========================= */
.verified-badge {
  background: #e6f9f0;
  color: #008651;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.unverified-badge {
  background: #fff4e5;
  color: #ff9800;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}

/* =========================
FOOTER
========================= */
.footer {
  text-align: center;
  padding: 25px;
  background: black;
  color: white;
  margin-top: 40px;
}

  .airline-card {
    min-width: 120px;
  }

  .hero h1 {
    font-size: 24px;
  }

/* SMOOTH FADE-IN */
.card {
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HOVER MICRO-INTERACTION */
button:hover {
  transform: scale(1.03);
}
/* TRUST COLORS */
.gradient1 { background: linear-gradient(135deg, #AAF0D1); }
.gradient2 { background: linear-gradient(135deg, #ff9800, #ff5722); }
.gradient3 { background: linear-gradient(135deg, #AAF0D1); }

/* TESTIMONIALS */
.testimonial-section {
  text-align: center;
  margin-top: 60px;
}

.testimonial-grid {
  display: flex;
  gap: 10px;

  overflow: hidden;        /* hides extra cards */
  flex-wrap: nowrap;       /* 🔥 THIS is the key fix */
  justify-content: center; /* center the row */
}

.testimonial {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* FOOTER */
.footer {
  background: black;
  color: white;
  padding: 5px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer a {
  color: #00b67a;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* HOW AIRTRACK WORKS (PREMIUM VERSION) */
.how-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7fbf9, #e6f7ee);
}

.how-section h2 {
  font-size: 26px;   /* match Why AirTrack */
  font-weight: 700;
  margin-bottom: 50px;
  color: #111;
  letter-spacing: -0.5px;
}

/* GRID */
.how-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* CARD */
.how-step {
  background: white;
  padding: 25px 20px;
  border-radius: 16px;
  width: 180px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

/* ICON */
.how-step span {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

/* TEXT */
.how-step p {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* HOVER EFFECT */
.how-step:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0,182,122,0.15);
}

/* =========================
MOBILE RESPONSIVE (FINAL CLEAN)
========================= */
/* =========================
MOBILE APP UPGRADE (SAFE)
ONLY AFFECTS MOBILE
========================= */
@media (max-width: 768px) {

  body {
    background: #f2f4f7;
  }

  /* HEADER (APP STYLE) */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 15px;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
  }

    /* HERO */
  .hero {
    padding: 40px 15px;
    border-radius: 0 0 20px 20px;
  }

  .hero h1 {
    font-size: 20px;
  }

  /* SEARCH */
  .search-box {
    flex-direction: row;
    background: white;
    border-radius: 30px;
    overflow: hidden;
  }

  .search-box input {
    border-radius: 0;
  }

  .search-box button {
    border-radius: 0;
    background: #00b67a;
  }

  /* STATS → horizontal scroll (app feel) */
  .stats-section {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
  }

  .stat-card {
    min-width: 140px;
    border-radius: 14px;
  }

  /* FILTERS → pills */
  #filters {
    display: flex;
    overflow-x: auto;
    gap: 8px;
  }

  #filters button {
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
  }

  /* COMPLAINTS → swipe cards */
  #complaintsList {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
  }

  .card {
    min-width: 85%;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  }

  /* TESTIMONIALS */
  .testimonial-grid {
    overflow-x: auto;
    gap: 12px;
  }

  .testimonial {
    min-width: 85%;
    border-radius: 16px;
  }

  /* CONTROLS STACK */
  .controls {
    flex-direction: column;
    gap: 10px;
  }

  /* FOOTER CLEAN */
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

}

/* CAROUSEL WRAPPER */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* SCROLL AREA */
.airline-scroll {
  display: flex;
  gap: 20px;
  overflow: hidden; /* IMPORTANT */
  scroll-behavior: smooth;
  width: 100%;
}

/* SHOW ONLY 4 ITEMS */
.airline-card {
  min-width: 23%; /* 4 items */
  flex-shrink: 0;
}

/* BUTTONS */
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: black;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn.left {
  left: -10px;
}

.carousel-btn.right {
  right: -10px;
}

.carousel-btn:hover {
  background: #00b67a;
}
.complaints-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.complaints-scroll {
  display: flex;
  gap: 10px;
  overflow: hidden;
  width: 100%;
}

.complaints-scroll .card {
  min-width: 19%; /* 5 cards */
  flex-shrink: 0;
}
.airline-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.airline-list a {
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.airline-list a:hover {
  background: #00b67a;
  color: white;
}
#complaintsList {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  scroll-behavior: smooth;
}

.card {
  min-width: 250px;
  flex-shrink: 0;
}
.testimonial-section {
  background: #ffffff;
  color: black;
  padding: 40px;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.toggle-btn {
  color: #007bff;
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
  margin-top: 5px;
  display: inline-block;
}

.toggle-btn:hover {
  color: #0056b3;
}
.page-card {
  max-width: 800px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.page-card h2 {
  color: #007bff;
  margin-bottom: 15px;
}

.page-card p {
  line-height: 1.6;
  color: #444;
}

.gradient-header {
  background: linear-gradient(135deg, #007bff, #00b67a);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 0 0 20px 20px;
}
.testimonial-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-grid {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out; /* 🔥 SMOOTH SLIDE */
  will-change: transform;
}

.testimonial {
  min-width: 240px;
  max-width: 260px;
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  font-style: normal;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial::before {
  content: "“";
  font-size: 40px;
  color: #00b67a;
  position: absolute;
  top: 10px;
  left: 15px;
}

.testimonial p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-top: 20px;
}

.testimonial strong {
  display: block;
  margin-top: 15px;
  color: black;
  font-weight: 600;
}

.testimonial:hover {
  transform: translateY(-5px);
}

button {
  background: white;
  color: #00b67a;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}
.testimonial-wrapper button {
  background: #00b67a;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-wrapper button:hover {
  background: black; /* 🔥 CHANGE HERE */
  transform: scale(1.1);
}
#testimonialForm button {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  background: #00b67a;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}

#testimonialForm button:hover {
  background: black;
}
#testimonialForm button {
  box-shadow: 0 5px 15px rgba(0, 182, 121, 0.911);
}
.testimonial-section h2 {
  color: black;
}
.testimonial {
  background: #f9f9f9;
}

/* HIDE BOTTOM NAV ON DESKTOP */
.bottom-nav {
  display: none;
}

/* HIDE FAB ON DESKTOP */
.fab {
  display: none;
}

/* HIDE TOP NAV ON DESKTOP */
.mobile-top-nav {
  display: none;
}

.app-download {
  margin-top: 20px;
}

.app-download img {
  height: 45px;
  margin: 5px;
  cursor: pointer;
}

button {
  background: linear-gradient(135deg, #00b67a, #00d084);
  color: white;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 182, 122, 0.25);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 182, 122, 0.35);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

body {
  font-family: 'Inter', sans-serif;
}

/* AUTOCOMPLETE DROPDOWN */
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  z-index: 99999;
  overflow: hidden;
  margin-top: 8px;
}

/* ITEM */
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* HOVER */
.autocomplete-item:hover {
  background: #f5f7f6;
}

/* LOGO */
.autocomplete-item img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

/* TEXT */
.autocomplete-text {
  font-size: 14px;
  color: #222;
}

/* HIGHLIGHT MATCH */
.highlight {
  color: #00b67a;
  font-weight: 600;
}

/* NO RESULTS */
.no-result {
  padding: 12px;
  font-size: 14px;
  color: #888;
  text-align: center;
}


.hero .top-airline {
  margin-top: 50px;
}

.app-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 50px auto;
  width: 100%;
  text-align: center;
}

.app-buttons img {
  display: block;      /* 🔥 VERY IMPORTANT */
  height: 50px;        /* slightly bigger */
  cursor: pointer;
}

.app-buttons img {
  transition: transform 0.2s ease;
}

.app-buttons img:hover {
  transform: scale(1.08);
}







