*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;line-height:1.4;color:#0a1b2b;background:#fff;overflow-x:hidden}
:root{--blue:#0b3d91;--accent:#e8193d;--light:#f5f7fa;--grad1:#012d5e;--grad2:#0b5fa5;--text:#102a43;--muted:#627d98}
.top-bar{display:flex;justify-content:space-between;align-items:center;padding:14px 40px;background:#fff;border-bottom:1px solid #e2e8f0}
.logo{font-weight:700;font-size:20px;display:flex;align-items:center;gap:8px;color:#0b3d91;text-decoration:none;cursor:pointer}
.logo:hover{color:#083a87}
.badges{display:flex;align-items:center;gap:20px;font-size:11px;font-weight:600;color:#0b3d91;text-transform:uppercase;letter-spacing:.5px}
.badge{border:2px solid #0b3d91;border-radius:4px;padding:6px 10px;font-size:10px;line-height:1.1;text-align:center;font-weight:700}
.copy{font-size:11px;line-height:1.2;font-weight:600;color:#0b3d91}
.hero{min-height:430px;position:relative;background:linear-gradient(135deg,rgba(0,45,94,.9),rgba(11,95,165,.85));color:#fff;display:flex}
.hero .overlay{display:flex;flex:1;padding:60px;justify-content:center;align-items:center;gap:80px;max-width:1400px;margin:0 auto}
.hero-content{flex:1;max-width:500px}
.hero-content h1{font-size:52px;line-height:1.05;font-weight:800;margin-bottom:24px}
.features{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:10px;font-weight:600;font-size:13px;margin-bottom:30px}
.features li{background:rgba(255,255,255,.12);padding:10px 14px;border-radius:6px;backdrop-filter:blur(4px)}
.call-box{display:flex;align-items:center;background:var(--accent);color:#fff;padding:10px 22px;border-radius:6px;gap:14px;box-shadow:0 6px 18px -4px rgba(232,25,61,.5);font-weight:700;min-height:44px;position:relative;z-index:10;cursor:pointer}
.call-box.main{font-size:22px}
.call-box .number a{color:#fff;text-decoration:none;font-weight:700;display:block;min-height:44px;line-height:1.2}
.call-box .number span{display:block;font-size:11px;font-weight:500;opacity:.85;margin-top:-2px}
.ratings{display:flex;flex-direction:row;gap:20px;justify-content:center;flex-shrink:0;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}
.rating-card{background:rgba(255,255,255,.14);padding:18px 22px;border-radius:14px;backdrop-filter:blur(4px);width:210px;box-shadow:0 10px 25px -8px rgba(0,0,0,.35)}
.rating-card .icon{font-size:18px;margin-bottom:8px;line-height:1;white-space:nowrap}
.rating-card .text{font-size:14px;font-weight:600;line-height:1.2}
.sub-call{background:#0b3d91;color:#fff;padding:18px 50px;font-size:14px;display:flex;align-items:center}
.sub-call .wrapper{display:flex;justify-content:space-between;gap:40px;align-items:center;width:100%;max-width:1400px;margin:0 auto}
.sub-call p{flex:1;line-height:1.5}
.sub-call strong{font-weight:700}
.call-box.alt{background:#fff;color:var(--blue);box-shadow:0 4px 12px rgba(0,0,0,.25);font-size:20px}
.call-box.alt .number a{color:var(--blue)}
.call-box.alt .status{font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;position:absolute;top:-18px;left:0;color:#fff;background:var(--accent);padding:2px 8px;border-radius:4px}
.search-box{margin-top:0;display:flex;justify-content:center;padding:40px 30px;background:linear-gradient(135deg,rgba(0,45,94,.95),rgba(11,95,165,.9))}
.flight-form{background:#fff;padding:26px 28px;border-radius:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px;width:100%;max-width:1280px;box-shadow:0 24px 50px -18px rgba(0,0,0,.25);position:relative;border:1px solid rgba(255,255,255,.2)}
.flight-form .field{display:flex;flex-direction:column;gap:6px}
.flight-form label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.flight-form input,.flight-form select{padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;font:inherit;background:#f8fafc;min-height:44px;font-size:16px}
.flight-form input:focus,.flight-form select:focus{outline:2px solid var(--blue);background:#fff}
.flight-form input[type="date"]{position:relative;color:#0a1b2b;caret-color:#0b3d91;font-weight:500}
.flight-form input[type="date"]::-webkit-datetime-edit{color:inherit;letter-spacing:.5px}
.flight-form input[type="date"]:disabled{opacity:.6;cursor:not-allowed}
.flight-form input[type="date"]::-webkit-calendar-picker-indicator{cursor:pointer;padding:4px;border-radius:4px}
.flight-form input[type="date"]::-webkit-calendar-picker-indicator:hover{background-color:#e2e8f0}
.flight-form button{background:var(--accent);color:#fff;border:none;padding:14px 28px;font-weight:600;border-radius:8px;font-size:15px;cursor:pointer;box-shadow:0 6px 18px -4px rgba(232,25,61,.45);transition:.2s;min-height:48px;touch-action:manipulation}
.flight-form button:hover{background:#c50f31}
.actions{display:flex;align-items:flex-end}
.airport-dropdown{background:#fff;border:1px solid #cbd5e1;border-radius:0 0 6px 6px;box-shadow:0 4px 12px rgba(0,0,0,.15);position:absolute;top:100%;left:0;right:0;z-index:1000;max-height:200px;overflow-y:auto}
.airport-option{padding:12px 15px;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background-color .2s}
.airport-option:hover,.airport-option.selected{background-color:#f1f5f9}
.airport-option:last-child{border-bottom:none}
.passenger-selector{position:relative;--ps-width:280px}
.passenger-input{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;cursor:pointer;min-height:44px;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.passenger-input:hover{background:#fff;border-color:#0b3d91}
.dropdown-arrow{font-size:12px;color:#64748b;transition:transform .2s;flex-shrink:0}
.passenger-input.open .dropdown-arrow{transform:rotate(180deg)}
/* Dropdown deliberately wider than the narrow grid cell */
.passenger-dropdown{position:absolute;top:100%;left:0;right:auto;background:#fff;border:1px solid #cbd5e1;border-top:none;border-radius:0 0 10px 10px;box-shadow:0 8px 24px -4px rgba(0,0,0,.18);z-index:1200;display:none;padding:14px 16px;width:var(--ps-width);min-width:var(--ps-width)}
.passenger-dropdown.open{display:block;animation:fadeSlide .18s ease}
@keyframes fadeSlide{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.passenger-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9;gap:12px}
.passenger-row:last-of-type{border-bottom:none;margin-bottom:6px}
.passenger-info{display:flex;flex-direction:column}
.passenger-type{font-weight:600;color:#374151;font-size:13px}
.passenger-age{font-size:11px;color:#64748b}
.passenger-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}
.passenger-btn{width:28px;height:28px;border:1px solid #d1d5db;border-radius:50%;background:#fff;color:#374151;font-size:16px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .18s,border-color .18s,transform .18s}
.passenger-btn:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}
.passenger-btn:active:not(:disabled){transform:scale(.9)}
.passenger-btn:disabled{opacity:.45;cursor:not-allowed;background:#f9fafb}
.passenger-count{font-weight:600;color:#111827;font-size:15px;min-width:20px;text-align:center}
.passenger-done{text-align:right;padding-top:8px;margin-top:4px}
.done-btn{background:#0b3d91;color:#fff;border:none;padding:8px 18px;border-radius:6px;font-weight:600;cursor:pointer;font-size:13px;letter-spacing:.3px}
.done-btn:hover{background:#083a87}
/* Ensure dropdown not clipped if near right edge */
.flight-form{overflow:visible}
@media (max-width:640px){
  .passenger-selector{--ps-width:100%}
  .passenger-dropdown{width:100%;min-width:100%}
}
.benefits{display:flex;justify-content:center;gap:90px;padding:70px 40px 40px;background:#fff;flex-wrap:wrap}
.benefit{text-align:center;max-width:280px}
.benefit .icon{font-size:44px;margin-bottom:18px}
.benefit h3{font-size:18px;margin-bottom:8px;color:var(--blue)}
.benefit p{font-size:14px;color:var(--muted)}
.site-footer{background:#0a2035;color:#e2e8f0;padding:60px 50px;font-size:13px;line-height:1.55;text-align:center}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer .contact-info{margin-bottom:30px}
.site-footer h4{font-size:18px;margin-bottom:10px;color:#fff}
.site-footer h5{font-size:15px;margin:24px 0 8px;color:#fff}
.legal{margin-top:20px;font-size:12px;color:#94a3b8}
.disclaimer{margin:20px auto 0;max-width:1100px;text-align:center}
/* Tablet Styles */
@media (max-width:980px){
  .hero-content h1{font-size:42px}
  .hero .overlay{flex-direction:column;padding:50px 38px 40px;gap:30px;text-align:center}
  .hero-content{max-width:none}
  .ratings{flex-direction:row;gap:20px;justify-content:center}
  .sub-call .wrapper{flex-direction:column;align-items:flex-start;gap:20px}
  .benefits{gap:50px;padding:60px 30px}
  .flight-form{padding:24px;gap:16px}
  .rating-card{width:180px;padding:16px 18px}
}

/* Loading/Searching Animation */
.searching-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 61, 145, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
  pointer-events: none; /* Don't block interactions when hidden */
}

.searching-overlay.active {
  display: flex;
  pointer-events: all; /* Allow interactions when active */
}

.searching-content {
  text-align: center;
  color: white;
}

.searching-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.searching-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.searching-details {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 20px auto 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #e0f2fe);
  border-radius: 2px;
  animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* Mobile Search Results */
.search-box.transitioning {
  opacity: 0.7;
  transform: scale(0.98);
  transition: all 0.3s ease;
}

/* Mobile Loading Screen */
.mobile-loading {
  background: white;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(11, 61, 145, 0.2);
  border-top: 4px solid #0b3d91;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-size: 18px;
  font-weight: 600;
  color: #0b3d91;
  margin-bottom: 10px;
  animation: pulse 2s ease-in-out infinite;
}

.loading-details {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 25px;
  animation: fadeInOut 3s ease-in-out infinite;
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(11, 61, 145, 0.2);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loading-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0b3d91, #0b5fa5);
  border-radius: 2px;
  animation: progress 2.5s ease-in-out;
}

.search-box.showing-results {
  animation: slideInResult 0.4s ease;
}

@keyframes slideInResult {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-search-results {
  background: white;
  border-radius: 12px;
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.result-header h3 {
  color: #0b3d91;
  font-size: 18px;
  flex: 1;
  text-align: center;
}

.turbulence-icon {
  font-size: 24px;
}

.back-btn {
  background: none;
  border: none;
  color: #0b3d91;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.back-btn:hover {
  background: #f1f5f9;
}

.search-summary {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.route-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.route {
  font-weight: 700;
  color: #0b3d91;
  font-size: 16px;
}

.date, .passengers {
  font-size: 14px;
  color: #64748b;
}

.excuse-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.excuse-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.excuse-message p {
  color: #374151;
  line-height: 1.5;
  font-size: 14px;
}

.call-action {
  text-align: center;
}

.mobile-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #e8193d;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(232, 25, 61, 0.3);
  transition: all 0.3s ease;
}

.mobile-call-btn:hover {
  background: #c50f31;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232, 25, 61, 0.4);
}

.phone-icon {
  font-size: 20px;
}

.call-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.call-text strong {
  font-size: 16px;
}

.call-text small {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 400;
}

/* Mobile Styles */
@media (max-width:768px){
  .top-bar{flex-direction:column;gap:12px;padding:16px 20px}
  .badges{flex-direction:column;text-align:center;gap:8px}
  .badge{font-size:9px;padding:4px 8px}
  .hero{min-height:500px}
  .hero .overlay{padding:30px 20px;gap:20px}
  .hero-content h1{font-size:38px;line-height:1.1;margin-bottom:20px}
  .features{grid-template-columns:1fr 1fr;gap:8px;font-size:12px}
  .call-box.main{font-size:18px;padding:12px 18px}
  .call-box .number span{font-size:10px}
  .ratings{justify-content:center;gap:15px}
  .rating-card{width:160px;padding:14px 16px;font-size:13px}
  .sub-call{padding:20px 15px}
  .sub-call .wrapper{text-align:center}
  .call-box.alt{font-size:18px;padding:10px 18px}
  .search-box{margin-top:0;padding:30px 15px}
  .flight-form{padding:20px;grid-template-columns:1fr;gap:14px}
  .flight-form input, .flight-form select{padding:12px;font-size:16px}
  .flight-form input[type="date"]{padding:12px;height:48px}
  .flight-form button{padding:16px 24px;font-size:16px;width:100%}
  .benefits{flex-direction:column;padding:40px 20px;gap:30px;text-align:center}
  .benefit{max-width:100%}
  .site-footer{padding:40px 20px}
}

/* Tablet adjustments for better form layout */
@media (max-width:980px) and (min-width:769px){
  .flight-form{grid-template-columns:repeat(2,1fr);gap:16px}
  .actions{grid-column:span 2}
}

/* Small Mobile Styles */
@media (max-width:480px){
  .hero-content h1{font-size:32px}
  .hero .overlay{padding:25px 15px}
  .call-box.main{font-size:16px;padding:10px 16px}
  .features{grid-template-columns:1fr;gap:6px}
  .features li{padding:8px 12px;font-size:11px}
  /* Force ratings to remain horizontal; enable horizontal scroll if overflow */
  .ratings.inline, .ratings{flex-direction:row !important;flex-wrap:nowrap !important;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:14px;padding-bottom:4px}
  .ratings::-webkit-scrollbar{height:6px}
  .ratings::-webkit-scrollbar-track{background:rgba(255,255,255,.08)}
  .ratings::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border-radius:3px}
  .rating-card{flex:0 0 170px !important;width:170px !important;max-width:none}
  .search-box{margin-top:0;padding:25px 10px}
  .flight-form{padding:16px;gap:12px}
  .sub-call{padding:15px}
  .call-box.alt{font-size:16px}
  .benefits{padding:30px 15px}
  .site-footer{padding:30px 15px}
}

/* Extra Small Mobile */
@media (max-width:360px){
  .hero-content h1{font-size:28px}
  .call-box.main{font-size:14px;flex-direction:column;text-align:center;gap:8px}
  .call-box .phone-icon{font-size:20px}
}
