@media (min-width: 768px) {
    .cathay-section {
      display: none;
    }
  }
  
  @media (max-width: 767px) {
    body {
      margin: 0;
      padding: 0;
      font-family: system-ui, sans-serif;
      background: #fff;
    }
    
    .flash-banner {
  background-color: #e63946;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  position: relative;
  z-index: 1000;
  width: 100vw;
  margin-top: -20px;
  margin-bottom: 20px;
}


  
    .cathay-section {
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 2rem 1rem;
      background-color: #fff;
      box-sizing: border-box;
      margin-top: 50px;
    }
  
    .cathay-section h1 {
      color: #007bff;
      font-size: 1.7rem;
      font-weight: 700;
    }
  
    .logo {
      max-width: 120px;
      margin: 0 auto;
    }
  
    .subheading {
      font-weight: 600;
      margin: 0.5rem 0;
    }
  
    .cathay-buttons {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.5rem;
      margin: 1rem 0;
    }
  
    .cathay-buttons a button {
      width: 100%;
      padding: 0.6rem;
      background: #007bff;
      color: white;
      border: none;
      font-weight: 600;
      border-radius: 4px;
      font-size: 0.95rem;
      cursor: pointer;
    }
  
    .cathay-banner {
      background: #ff6600;
      color: white;
      padding: 0.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
      font-size: 0.95rem;
    }
  
    .cathay-tags {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 1rem;
      font-size: 0.9rem;
    }
  
    .cathay-tags span::before {
      content: "✔";
      margin-right: 0.3rem;
      color: green;
    }
  
    .cathay-agent img {
      border-radius: 50%;
      margin: 0.5rem auto;
      border: 4px solid orange;
      box-sizing: border-box;
    }
  
    .cathay-agent p {
      margin: 0.5rem 0;
      font-size: 0.95rem;
    }
  
    .cathay-call-btn {
      display: inline-block;
      background: #ffc107;
      color: #000;
      padding: 0.6rem 1rem;
      font-weight: bold;
      border-radius: 5px;
      text-decoration: none;
      margin: 0.5rem 0;
      font-size: 0.95rem;
      animation: fadeInOut 3s ease-in-out infinite;
    }

    .call-customer {
      background-color: #fefefe;
      border-top: 1px solid #ddd;
      padding: 24px 16px;
      text-align: center;
      margin-top: 0; /* Ensure no forced gap */
    }

    .call-customer h2 {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    
    .call-customer p {
      font-size: 1rem;
      color: #333;
    }

  
    .cathay-note {
      font-size: 0.9rem;
      color: #333;
      margin-top: 0.5rem;
    }
      /* Fade-in/out animation */
  @keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
  }
  /* Mobile Popup Styles */
@media (max-width: 767px) {

    .hero-content{
        display: none;
    }
        .mobile-popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 9999;
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      padding: 20px;
      width: 90%;
      max-width: 350px;
      text-align: center;
      display: none;
    }
    
    .popup-close {
      position: absolute;
      top: 8px;
      right: 12px;
      background: transparent;
      border: none;
      font-size: 24px;
      cursor: pointer;
    }
    
    .popup-image {
      width: 80px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 15px;
    }
    
    .popup-text {
      font-size: 1rem;
      margin-bottom: 20px;
    }
    
    .popup-call-btn {
      display: inline-block;
      padding: 10px 20px;
      background-color: #0078d7;
      color: white;
      text-decoration: none;
      border-radius: 6px;
      font-weight: bold;
      font-size: 1rem;
    }

  }
  
  /* Fade-in effect for popup */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  }
  
/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  @keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
  }
  
  
  @font-face {
    font-family: "Poppins-fallback";
    src: local("Arial");
    size-adjust: 105%;
    ascent-override: 90%;
    descent-override: 20%;
    line-gap-override: 0%;
    font-display: swap;
  }
  
  body {
    font-family: "Poppins", "Poppins-fallback", sans-serif;
    font-size-adjust: 0.52;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  
  /* Header styles */
  
  
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    background-color: #ffffff;
    padding: 0.5rem 1rem;        /* Reduced vertical padding */
    font-family: 'Poppins', sans-serif;
  
    min-height: 64px;            /* Slimmer header height */
    box-shadow: none;            /* Remove unwanted line/shadow */
    border-bottom: 1px solid #eee; /* Optional: light border for clarity */
  }
  @media (min-width: 768px) {
    .header {
      padding: 1rem 2rem;
      min-height: 80px;
    }
  }
  
  
  .logo img {
    max-height: 70px;
    width: auto;
    margin-bottom: -20px;
  }
  
  /* Navigation styles */
  .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  .nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav-menu a:hover {
    color: #007bff;
  }
  
  .nav-menu .fa-chevron-down {
    font-size: 0.8em;
  }
  
  /* Header right section styles */
  .header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  /* Social Links */
  .social-link {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .social-link span {
    display: none;
  }
  
  .social-link:hover {
    color: #007bff;
  }
  
  .support-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .support-text {
    font-size: 0.6rem;
    color: #6B7280;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin-bottom: -15px;
  }
  
  .phone-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
  }
  
  .phone-number i {
    color: #007bff;
    font-size: 1.8rem;
    line-height: 1;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 0.5rem;
    margin-right: -5px;
  }
  
  .phone-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    letter-spacing: -0.3px;
  }
  
  .sign-in-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
  }
  
  .sign-in-btn:hover {
    background-color: #0056b3;
  }
  
  /* Hero Section */
  .hero {
    
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ccc;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('/images/hero-image.webp');
    background-size: cover;
    background-position: center 90px;
    background-repeat: no-repeat;
    padding: 2rem 2rem;
    overflow: hidden;
    
  }
  
  /* Ensure the fix applies only in Safari */
  @supports (-webkit-touch-callout: none) {
    .hero {

    }
  }
  
  .hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
  
    min-height: 400px; /* 👈 Prevent collapse/layout shift on load */
  }
  
  
  
  
  .hero-form {
    flex: 1;
    max-width: 500px;
  }
  
  .hero-content {
    flex: 1;
    color: white;

  }
  
  .hero-content h1 {
      
    font-size: 4.0rem;
    font-weight: 700;
    min-height: 5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  } 
  .hero-content p {
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
  }
  
  /* Flight Search Form */
  .flight-search-form {
      
    background: rgba(255, 255, 255, 0.95);
    min-height: 480px;
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .flight-search-form {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  
  @media (max-width: 1024px) {
    .flight-search-form {
      position: relative;
      top: -50px;
    }
  }
  /* Trip type styles */
  .trip-class-wrapper {
    display: grid;
    grid-template-columns: 50% 50%; /* Two columns with each taking 40% width */
    gap: 1rem; /* Space between the columns */
    justify-content: center; /* Centers the grid in the container */
    margin-bottom: 1.5rem;
  }
  
  /* Ensures both dropdowns align properly */
  .trip-type,
  .class-type {
    display: flex;
    flex-direction: column;
  }
  
  /* Ensures dropdowns take the full width of their column */
  .trip-select,
  .class-select {
    width: 100%; /* Full width inside the 40% column */
    padding: 0.75rem 1rem 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: white;
    font-family: 'Poppins', sans-serif;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    -webkit-appearance: none; /* Ensures Safari renders dropdowns properly */
  }
  
  /* Focus effect */
  .trip-select:focus,
  .class-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
  }
  
  /* Responsive Behavior: Stack Dropdowns on Small Screens */
  @media (max-width: 1024px) {
    .trip-class-wrapper {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        max-width: 100%;
    }
    .trip-type,
    .class-type {
        flex: 1;
        min-width: 48%;
    }
  }
  
  .search-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .field-group {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    gap: 1rem;
    position: relative;
  }
  
  
  .field-group.passengers {
    display: grid;
    min-height: 80px;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  
  .form-field {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
  }
  
  
  .form-field.passenger-count {
    min-width: 0;
  }
  
  .form-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .age-limit {
    font-size: 0.65rem;
    color: #666;
    font-weight: normal;
  }
  
  .input-wrapper {
    position: relative;
    min-height: 48px;
  }
  
  .input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    font-size: 1rem;
    display: inline-block; /* prevents layout flicker */
  }
  
  
  .form-field input,
  .form-field select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: white;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    min-height: 48px;
  }
  
  /* Safari Fix: Ensure date input renders properly */
  /* General Styling for Date Input */
  .form-field input[type="date"] {
    font-family: 'Poppins', sans-serif;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    width: 100%;
    appearance: none;
    background: white;
    text-align: left;
    position: relative;
  }
  
  /* Specific Fix for Chrome */
  .form-field input[type="date"]::-webkit-inner-spin-button,
  .form-field input[type="date"]::-webkit-clear-button {
    display: none; /* Hides unwanted Chrome controls */
  }
  
  .form-field input[type="date"]::-webkit-datetime-edit {
    text-align: left;
    display: block;
    padding-left: 2rem; /* Adjust spacing for Chrome */
  }
  
  /* Specific Fix for Safari */
  @supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
    .form-field input[type="date"] {
      -webkit-appearance: none; /* Prevent Safari from overriding styles */
      text-align: left;
      padding-left: 2rem;
    }
  }
  
  /* Placeholder Fix for Chrome */
  .form-field input[type="date"]:not(:focus):invalid {
    color: #999; /* Make placeholder text visible */
  }
  
  /* Fix for Firefox */
  @-moz-document url-prefix() {
    .form-field input[type="date"] {
      text-align: left;
    }
  }
  
  
  
  .form-field input:focus,
  .form-field select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
  }
  
  /* Counter styles */
  .counter {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 40px;
  }
  
  .counter-btn {
    background: #f8f9fa;
    border: none;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    transition: background-color 0.2s ease;
    height: 100%;
  }
  
  .counter-btn:hover {
    background: #e9ecef;
  }
  
  .counter input {
    width: 100%;
    text-align: center;
    border: none;
    padding: 0.25rem;
    font-size: 0.9rem;
    -moz-appearance: textfield;
    min-width: 0;
  }
  
  .counter input::-webkit-outer-spin-button,
  .counter input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  /* Flexibility styles */
  .flexibility-input {
    background: white !important;
    cursor: default !important;
  }
  
  .flexibility-label {
    font-size: 0.65rem;
    color: #666;
    margin-top: 0.25rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Flexibility select styles */
  .flexibility-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem !important;
  }
  
  /* Autocomplete styles */
  .autocomplete-wrapper {
    position: relative;
    width: 100%;
  }
  
  .autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
  }
  
  .autocomplete-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.75rem;
    border-left: 4px solid transparent;
  }
  
  .autocomplete-item:hover {
    background-color: #e6f3ff;
    border-left-color: #007bff;
  }
  
  .autocomplete-item.active {
    background-color: #cce5ff;
    border-left-color: #0056b3;
  }
  
  .autocomplete-item:hover .airport-code,
  .autocomplete-item.active .airport-code {
    color: #0056b3;
    transform: scale(1.05);
  }
  
  .autocomplete-item:hover .airport-city,
  .autocomplete-item.active .airport-city {
    color: #000;
    font-weight: 600;
  }
  
  .airport-code {
    font-weight: 600;
    color: #007bff;
    font-size: 0.85rem;
    min-width: 45px;
    transition: all 0.2s ease;
  }
  
  .airport-info {
    flex: 1;
  }
  
  .airport-city {
    font-weight: 500;
    color: #333;
    font-size: 0.8rem;
    transition: all 0.2s ease;
  }
  
  .airport-name {
    font-size: 0.7rem;
    color: #666;
  }
  
  .search-button {
    width: 100%;
    min-height: 60px;
    padding: 1rem;
    background: #1d3a8a;;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
  }
  
  .search-button:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
  
  .search-button:hover {
    background: #0056b3;
  }
  
  .search-button i {
    font-size: 1.1rem;
  }
  
  /* Error message styles */
  .error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    grid-column: 1 / -1;
  }
  
  /* Dropdown styles */
  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    list-style: none;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu .dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
  }
  
  .dropdown-menu a:hover {
    background-color: #f8f9fa;
  }
  
  /* Mobile navigation toggle */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .hamburger,
  .hamburger::before,
  .hamburger::after {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
  }
  
  .hamburger {
    position: relative;
  }
  
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
  }
  
  .hamburger::before {
    top: -8px;
  }
  
  .hamburger::after {
    bottom: -8px;
  }
  
  /* Mobile only elements */
  .mobile-only {
    display: none;
  }
  
  /* Desktop only elements */
  .desktop-only {
    display: flex;
  }
  
  /* Mobile responsive styles */
  @media (max-width: 1200px) {
    .hero-container {
      flex-direction: column-reverse;
      align-items: center;
      gap: 2rem;
    }
      .hero {
        background: #2C3E50;
      }
    .hero-form {
      max-width: 800px;
      width: 100%;
    }
  
    .hero-content {
      text-align: center;
      padding-top: 0;
      margin-bottom: 2rem;
    }
  }
  
  @media (max-width: 1024px) {
    .support-text {
      display: none;
    }
    
    .header-right {
      gap: 1rem;
    }
  
    .hero-content h1 {
      font-size: 2.8rem;
    }
  
    .alternating-text {
      width: 100px;
    }
  
    .hero-content p {
      font-size: 1.3rem;
    }
  
    .flight-search-form {
      padding: 1.5rem;
    }
  
    .field-group.locations,
    .field-group.dates {
      flex-direction: column;
    }
  
    /* Keep passengers grid layout the same */
    .field-group.passengers {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
    }
  
    .form-field.passenger-count {
      min-width: 0;
    }
  
    /* Adjust counter sizes for smaller screens */
    .counter {
      height: 36px;
    }
  
    .counter-btn {
      padding: 0.25rem 0.5rem;
    }
  }
  
  @media (max-width: 768px) {
      
      
    .header {
      padding: 0.75rem;
    }
    
      .hero {
      padding: 60px 1rem 0; /* Increase top padding for mobile so content doesn't overflow */
    }
    
    
    .hero-container {
      flex-direction: column-reverse;
      gap: 2rem;
      align-items: center;
    }
  
    .hero-form {
      width: 100%;
      max-width: 500px;
    }
    .logo img {
      max-height: 60px;
      width: auto;
      margin-bottom: -20px;
    }
  
    .nav {
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      background-color: #ffffff;
      border-top: 1px solid #eee;
    }
  
    .nav-toggle {
      display: block;
      margin-left: 1rem;
    }
  
    .nav-menu {
      display: none;
      padding: 1rem;
      flex-direction: column;
      gap: 1rem;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
  
    .nav-menu.active {
      display: flex;
    }
  
    .dropdown-menu {
      position: static;
      box-shadow: none;
      padding-left: 1rem;
      display: none;
    }
  
    .dropdown.active .dropdown-menu {
      display: block;
    }
  
    .header-right {
      gap: 0.75rem;
    }
  
    .support-info {
      display: flex;
      align-items: center;
    }
  
    .phone-number {
      font-size: 0.9rem;
      display: flex;
      align-items: center;
    }
  
    .phone-number i {
      font-size: 0.9rem;
      padding: 0.3rem;
    }
  
    .hero-content h1 {
      font-size: 1.6rem;
    }
  
    .alternating-text {
      width: 60px;
    }
  
    .hero-content p {
      font-size: 1.1rem;
    }
  
    .flight-search-form {
      padding: 1rem;
    }
  
    /* Keep passengers grid layout the same */
    .field-group.passengers {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
    }
    
    .form-field label {
      font-size: 0.7rem;
    }
    
    .age-limit {
      font-size: 0.6rem;
    }
    
    .counter input {
      font-size: 0.9rem;
      padding: 0.15rem;
    }
    
    .counter-btn {
      padding: 0.25rem 0.5rem;
    }
  
    .flexibility-label {
      font-size: 0.65rem;
    }
  
    /* Mobile menu extras */
    .mobile-only {
      display: block;
    }
  
    .desktop-only {
      display: none;
    }
  
    .mobile-menu-extras {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid #eee;
    }
  
    .mobile-social-links {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 1rem;
    }
  
    .mobile-social-links .social-link {
      font-size: 1.1rem;
    }
  
    .mobile-social-links .social-link span {
      display: inline;
      margin-left: 0.5rem;
    }
  
    .mobile-menu-extras .sign-in-btn {
      width: 100%;
      text-align: center;
    }
  
    .autocomplete-item {
      padding: 0.75rem;
    }
  
    .airport-code {
      font-size: 0.85rem;
      min-width: 45px;
    }
  
    .airport-city {
      font-size: 0.8rem;
    }
  
    .airport-name {
      font-size: 0.7rem;
    }
  }
  
  @media (max-width: 480px) {
    .header {
      padding: 0.5rem;
    }
  
    .logo img {
      max-height: 50px;
      width: auto;
      margin-bottom: -15px;
    }
  
    .header-right {
      gap: 0.5rem;
    }
  
    .phone-number {
      font-size: 0.8rem;
    }
  
    .phone-number i {
      font-size: 0.8rem;
      padding: 0.25rem;
    }
  
    .mobile-social-links .social-link {
      font-size: 1rem;
    }
  
    .hero-content h1 {
      font-size: 1.4rem;
    }
  
    .alternating-text {
      width: 50px;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    .flight-search-form {
      padding: 0.75rem;
    }
  
    /* Keep passengers grid layout the same even on smallest screens */
    .field-group.passengers {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.25rem;
    }
  
    .form-field label {
      font-size: 0.65rem;
    }
  
    .age-limit {
      font-size: 0.55rem;
    }
  
    .counter {
      height: 32px;
    }
  
    .counter input {
      font-size: 0.8rem;
      padding: 0.1rem;
    }
  
    .counter-btn {
      padding: 0.15rem 0.35rem;
      font-size: 0.9rem;
    }
  
    .flexibility-label {
      font-size: 0.65rem;
    }
  
    .autocomplete-item {
      padding: 0.5rem;
      gap: 0.5rem;
    }
  
    .airport-code {
      font-size: 0.75rem;
      min-width: 40px;
    }
  
    .airport-city {
      font-size: 0.75rem;
    }
  
    .airport-name {
      font-size: 0.65rem;
    }
  }
  
  /* Feature Section */
  .features { 
    display: flex;
    justify-content: space-around;
    align-items: stretch; /* Ensure all feature boxes have equal height */
    background-color: #1d3a8a; /* Blue background */
    color: white;
    text-align: center;
    min-height: 50px;
    padding: 5rem 0;
  }
  
  .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 220px; /* Prevents items from becoming too wide */
    min-height: 120px; /* Ensures all boxes have equal height */
    flex: 1; /* Allows equal distribution of space */
    text-align: center;
  }
  
  .feature img {
    width: 48px;
    height: 48px;
    aspect-ratio: 1 / 1;
    margin-bottom: 5px;
    flex-shrink: 0;
  }
  
  
  .feature h3 {
    font-size: 0.85rem; /* Reduce font size for better fit */
    font-weight: bold;
    margin-top: 5px;
    min-height: 40px; /* Ensures all titles take same space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* Ensure 4 items per row on all screen sizes */
  @media (max-width: 1024px) {
    .features {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
  }
  
  @media (max-width: 600px) {
    .features {
        flex-wrap: wrap;
        padding: 10px 5%;
    }
  
    .feature {
        flex: 1;
        min-width: 25%; /* Ensures 4 items per row */
    }
  
    .feature h3 {
        font-size: 0.8rem; /* Reduce heading size for smaller screens */
        min-height: 36px; /* Maintain equal height for headings */
    }
  }
/* Features section */


.features h2 {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .features-grid {
    display: grid;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .feature-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
  }
  
  .feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }
  
  .feature-card i {
    width: 3rem;
    height: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    color: var(--color-gray-600);
  }
  
  .popular-deals {
    padding: 40px 5%;
    text-align: center;
  }
  
  .deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
  }
  
  .deal-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
  }
  
  .deal-info {
    text-align: left;
  }
  
  .deal-info h3 {
    font-size: 18px;
    font-weight: 600;
  }
  
  .deal-info p {
    font-size: 14px;
    color: #666;
  }
  
  .book-now {
    border: 2px solid #002f6c;
    background: transparent;
    color: #002f6c;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .book-now:hover {
    background: #002f6c;
    color: white;
  }
  
  .load-more {
    margin-top: 20px;
    padding: 10px 20px;
    background: #002f6c;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
  }
  
  .hidden {
    display: none;
  }
  
  /* Responsive Layout */
  @media (max-width: 1024px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(1, 1fr);
    }
  }
/* Footer */
footer {
    background: grey;
    color: white;
    padding: 4rem 0;
  }
  
  .footer-grid {
    display: grid;
    gap: 3rem;
  }
  
  @media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .footer-col h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .footer-col h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .footer-col p {
    color: var(--color-gray-400);
    margin-bottom: 1rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    color: var(--color-gray-400);
    transition: color 0.2s;
  }
  
  .social-links a:hover {
    color: white;
  }
  
  .social-links i {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .footer-col ul {
    list-style: none;
  }
  
  .footer-col ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-col ul a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .footer-col ul a:hover {
    color: white;
  }
  
  .contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-400);
  }
  
  .contact-info i {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
    color: var(--color-gray-400);
  }
  
  .sticky-phone {
    display: none; /* Hidden by default */
  
  }
  
  /* Show only on mobile screens */
  @media (max-width: 768px) {
    .sticky-phone {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw; /* Full viewport width */
        background-color: #ff6600;
        padding: 15px 0;
        text-align: center;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
  
    .sticky-phone a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        display: block;
        width: 100%; /* Ensure the text spans full width */
        text-align: center;
        padding: 15px 0;
    }
  }
  /* Domestic Deals Section */
  .domestic-deals {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
  }
  
  .domestic-deals h2 {
    font-size: 2rem;
    color: #03396c;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .domestic-deals p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }
  
  /* Deals Grid */
  .deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
  }
  
  /* Deal Card */
  .deal-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .deal-card:hover {
    transform: translateY(-5px);
  }
  
  /* Deal Info */
  .deal-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #03396c;
    margin-bottom: 5px;
  }
  
  .deal-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 5px;
  }
  
  /* Deal Price Button */
  .deal-price {
    font-size: 1.2rem;
    font-weight: bold;
    background: #0397cf;
    color: white;
    margin-top: 10px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s ease-in-out;
  }
  
  /* Remove Blue Highlight From Prices Inside <a> */
  .deal-price a {
    text-decoration: none;
    color: white;
    display: block;
  }
  
  /* Prevent Blue Highlight When Clicking the Price */
  .deal-price a:focus {
    outline: none;
  }
  
  /* Hidden Deals (Initially Hidden) */
  .hidden {
    display: none;
  }
  
  /* Load More Button (Fixed Size & Matching Color) */
  .domestic-load-more {
    background: #00bafd;  /* Same color as deal-price */
    color: white;
    font-size: 1rem;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    width: 200px; /* Fixed width */
    transition: background 0.3s ease-in-out;
  }
  
  .domestic-load-more:hover {
    background: #e85b2a;
  }
  
  /* Fare Disclaimer (Moved Below Deals Section) */
  .fare-disclaimer p {
    font-size: 10px;
  }
  
  .fare-disclaimer p {
    margin: 0;
    padding: 10px;
    line-height: 1.5;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media screen and (max-width: 480px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
  
    .domestic-deals h2 {
        font-size: 1.8rem;
    }
  
    .deal-card {
        padding: 15px;
    }
  
    .deal-info h3 {
        font-size: 1.2rem;
    }
  
    .domestic-load-more {
        width: 100%; /* Full width for smaller screens */
    }
  }
  
  @media (max-width: 1024px) {
    .hero {
      background-image: none !important;
      background-color: #2C3E50 !important;
    }
  }
  #tawkchat-container {
    min-height: 70px; /* or however tall it appears */
  }


  .faq-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
  }
  
  .faq-section h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #1d3a8a;
    margin-bottom: 1rem;
  }
  
  .faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  
  .faq-question {
    background: #f7f7f7;
    color: #333;
    padding: 1rem;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
  }
  
  .faq-answer {
    display: none;
    padding: 1rem;
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
  }
  
  .faq-answer a {
    color: #007bff;
    text-decoration: underline;
  }
  
  .faq-item.active .faq-answer {
    display: block;
  }
  
  .faq-item.active .faq-question {
    background-color: #e9f5ff;
  }

  .faq-item:not(:last-child) {
    border-bottom: 2px solid #f0f0f0;
  }
  #tawkchat-container {
  min-height: 70px; /* or however tall it appears */
}


.deal-call-btn {
  display: inline-block;
  background-color: #1e40af;
  color: #fff;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.deal-call-btn:hover {
  background-color: #1a3697;
}
