:root{--navy:#102f53;--blue:#173f6d;--red:#e52b25;--ink:#172033;--muted:#64748b;--soft:#f5f7fa;--line:#e4e8ee;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}.container{width:min(1180px,calc(100% - 40px));margin:auto}a{text-decoration:none;color:inherit}.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #edf0f4}.nav{height:82px;display:flex;align-items:center;gap:34px}.brand img{width:185px;height:auto;display:block}.desktop-nav{display:flex;gap:25px;align-items:center;flex:1}.desktop-nav a{font-size:14px;font-weight:600;color:#34445b}.desktop-nav a:hover{color:var(--red)}.header-phone{display:flex;gap:11px;align-items:center}.phone-icon{width:43px;height:43px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-size:21px}.header-phone strong{display:block;font-size:19px;color:#121c2b}.header-phone small{display:block;font-size:11px;color:#637083}.menu-btn,.mobile-nav{display:none}.hero{min-height:680px;position:relative;color:#fff;background:linear-gradient(115deg,rgba(8,32,58,.95),rgba(10,48,86,.68)),url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=2200&q=85') center/cover}.hero-content{position:relative;z-index:2;display:grid;grid-template-columns:1fr 520px;gap:55px;align-items:center;padding:70px 0}.hero-copy{padding-bottom:20px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#ffddd9}.eyebrow.dark{color:var(--red)}h1{font-size:clamp(42px,5vw,68px);line-height:1.05;margin:15px 0 20px;letter-spacing:-2px}h1 span,.feature-band h2 span{color:#ff5b55}.hero-copy>p{font-size:18px;max-width:610px;color:#e6edf5}.hero-actions{display:flex;gap:12px;margin:30px 0 20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:10px;padding:14px 22px;font-weight:800;cursor:pointer;transition:.2s}.btn-red{background:var(--red);color:#fff}.btn-red:hover{transform:translateY(-2px);filter:brightness(1.05)}.btn-light{background:#fff;color:var(--navy)}.btn-dark{background:#172033;color:#fff}.btn-outline{border:1px solid rgba(255,255,255,.55);color:#fff}.hero-points{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#d8e3ef}.search-card{background:#fff;color:var(--ink);border-radius:18px;padding:25px;box-shadow:0 25px 70px rgba(0,0,0,.25)}.card-head{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:16px}.mini-label{font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--red)}.card-head h2{margin:3px 0 0;font-size:25px}.plane{font-size:28px;color:var(--red)}.trip-toggle{display:flex;gap:25px;margin:0 0 15px;font-weight:700;font-size:13px}.trip-toggle input{accent-color:var(--red)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid3{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px}label{font-size:11px;font-weight:800;color:#40516a;display:block;margin-bottom:11px}input,select,textarea{width:100%;border:1px solid #d8dee8;border-radius:8px;padding:12px;margin-top:6px;font:inherit;font-size:13px;outline:0;background:#fff;color:#182334}input:focus,select:focus,textarea:focus{border-color:#8fa7c3;box-shadow:0 0 0 3px rgba(23,63,109,.08)}textarea{resize:vertical}.full{width:100%;font-size:15px;margin-top:2px}.form-note{font-size:10px;color:#7a8797;text-align:center;margin:10px 0 0}.form-status{display:none;margin-top:10px;padding:10px;border-radius:8px;font-size:12px}.form-status.ok{display:block;background:#e9f8ef;color:#17653b}.form-status.err{display:block;background:#fff0ef;color:#a12520}.stats{background:#fff;border-bottom:1px solid var(--line)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:27px 0}.stats-grid>div{text-align:center;border-right:1px solid var(--line)}.stats-grid>div:last-child{border:0}.stats b{display:block;font-size:25px;color:var(--navy)}.stats span{font-size:12px;color:var(--muted)}.section{padding:78px 0}.section.soft{background:var(--soft)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}.section-heading h2{font-size:36px;line-height:1.1;margin:8px 0}.section-heading p{max-width:700px;color:var(--muted);margin:0}.slider-arrows{display:flex;gap:10px}.slider-arrows button{width:45px;height:45px;border:1px solid #d7dde6;background:#fff;border-radius:50%;font-size:18px}.destination-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.destination{height:330px;border-radius:18px;overflow:hidden;position:relative;background-size:cover;background-position:center;display:flex;align-items:end}.destination:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,rgba(7,21,37,.85))}.destination>div{position:relative;z-index:1;padding:22px;color:#fff}.destination h3{font-size:24px;margin:0}.destination p{font-size:12px;margin:4px 0 0;color:#dfe8f1}.sydney{background-image:url('assets/sydney.jpg')}.melbourne{background-image:url('https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&w=900&q=80')}.brisbane{background-image:url('assets/brisbane.jpg')}.perth{background-image:url('https://images.unsplash.com/photo-1523482580672-f109ba8cb9be?auto=format&fit=crop&w=900&q=80')}.route-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.route-list a{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px;display:grid;grid-template-columns:34px 1fr auto 1fr;align-items:center;gap:7px}.route-list a:hover{border-color:#b9c7d8;box-shadow:0 8px 25px rgba(20,40,65,.07)}.route-list span{font-size:22px}.route-list b,.route-list strong{font-size:13px}.route-list em{font-style:normal;color:var(--red)}.route-list small{grid-column:2/-1;color:var(--muted);font-size:10px}.feature-band{background:linear-gradient(115deg,#102f53,#1b4d7d);color:#fff;padding:75px 0}.feature-inner{display:grid;grid-template-columns:1.1fr 1fr auto;gap:45px;align-items:center}.feature-band h2{font-size:42px;line-height:1.05;margin:10px 0}.feature-band p{color:#d7e5f2;font-size:16px}.testimonials{background:#fff}.quote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.quote-grid article{border:1px solid var(--line);border-radius:16px;padding:25px}.stars{color:#f3a400;letter-spacing:2px}.quote-grid p{font-size:15px;min-height:80px}.quote-grid b{display:block}.quote-grid small{color:var(--muted)}.faq-section{padding:80px 0;background:#f7f8fa}.text-link{color:#1674d1;font-weight:800}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 55px}.faq-grid details{border-top:1px solid #dce1e8;padding:20px 0}.faq-grid summary{font-weight:800;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.faq-grid summary:after{content:'+';color:var(--red);font-size:20px}.faq-grid details[open] summary:after{content:'−'}.faq-grid p{color:var(--muted);margin:12px 0 0}.cta{padding:65px 0;background:#fff}.cta-inner{border-radius:22px;background:#f1f4f8;padding:40px 45px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta h2{font-size:35px;margin:8px 0}.cta p{margin:0;color:var(--muted)}.cta-actions{display:flex;gap:10px;flex-shrink:0}footer{background:#202733;color:#dce4ee;padding:65px 0 0}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .9fr 1fr;gap:45px;padding-bottom:50px}.footer-brand img{width:180px;background:#fff;border-radius:10px}.footer-grid h3{color:#fff;font-size:15px;margin:0 0 16px}.footer-grid a,.footer-grid span,.footer-grid p{display:block;font-size:12px;color:#b9c6d5;line-height:1.8;margin:4px 0}.footer-grid a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;display:flex;justify-content:space-between;font-size:11px;color:#91a0b1}.footer-bottom>*{margin-left:20px}@media(max-width:980px){.desktop-nav{display:none}.menu-btn{display:block;background:none;border:0;font-size:25px;margin-left:auto}.header-phone{margin-left:auto}.mobile-nav{padding:0 20px 15px;display:none;flex-direction:column;gap:10px}.mobile-nav.open{display:flex}.hero-content{grid-template-columns:1fr}.search-card{max-width:650px;width:100%;margin:auto}.destination-grid{grid-template-columns:repeat(2,1fr)}.route-list{grid-template-columns:1fr 1fr}.feature-inner{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.cta-inner{flex-direction:column;align-items:flex-start}}@media(max-width:650px){.container{width:min(100% - 28px,1180px)}.nav{height:68px}.brand img{width:145px}.header-phone{display:none}.hero{min-height:auto}.hero-content{padding:45px 0}.hero-copy h1{font-size:42px}.hero-actions,.cta-actions{flex-direction:column;align-items:stretch}.hero-actions .btn,.cta-actions .btn{width:100%}.grid2,.grid3,.faq-grid,.route-list,.destination-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr;gap:18px}.stats-grid>div:nth-child(2){border-right:0}.section{padding:55px 0}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:30px}.feature-band h2{font-size:35px}.quote-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:7px}.footer-bottom>*{margin:0}.cta-inner{padding:28px}.search-card{padding:18px}.card-head h2{font-size:21px}}

.legal{background:#fff;border:1px solid var(--line);border-radius:18px;padding:42px;box-shadow:0 10px 35px rgba(20,40,65,.05)}.legal h2{font-size:32px;color:var(--navy)}.legal h3{font-size:22px;color:var(--blue);margin-top:34px}.legal p,.legal li{color:#40516a;font-size:15px;line-height:1.8}.legal li{margin:7px 0}.legal ul{padding-left:22px}

/* ===== Flights Doctor motion layer ===== */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.site-header { transition: background .35s ease, box-shadow .35s ease, transform .35s ease; }
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(10,31,54,.10); backdrop-filter: blur(14px); }
.site-header.scrolled .desktop-nav a { color: #173f6d; }

.hero { position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 3; }
.hero-glow { position:absolute; border-radius:50%; filter:blur(10px); pointer-events:none; opacity:.55; z-index:1; animation: driftGlow 9s ease-in-out infinite alternate; }
.glow-one { width:420px;height:420px;right:32%;top:4%;background:radial-gradient(circle,rgba(229,43,37,.28),transparent 68%); }
.glow-two { width:520px;height:520px;left:-14%;bottom:-28%;background:radial-gradient(circle,rgba(38,132,219,.25),transparent 70%);animation-delay:-3s; }

.hero-particles i { position:absolute; width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.65);z-index:2; animation: floatParticle 7s ease-in-out infinite; }
.hero-particles i:nth-child(1){left:7%;top:28%;animation-delay:-1s}
.hero-particles i:nth-child(2){left:26%;top:15%;animation-delay:-4s}
.hero-particles i:nth-child(3){left:48%;top:31%;animation-delay:-2s}
.hero-particles i:nth-child(4){right:18%;top:22%;animation-delay:-5s}
.hero-particles i:nth-child(5){right:7%;top:55%;animation-delay:-3s}
.hero-particles i:nth-child(6){left:55%;bottom:15%;animation-delay:-6s}

.flight-trail { position:absolute; left:-8%; top:18%; width:116%; height:130px; z-index:2; pointer-events:none; }
.flight-trail:before { content:""; position:absolute; left:0; right:0; top:50%; border-top:1px dashed rgba(255,255,255,.18); transform:rotate(-3deg); }
.trail-plane { position:absolute; left:-50px; top:42%; color:#fff; font-size:24px; filter:drop-shadow(0 4px 8px rgba(0,0,0,.25)); animation: flyAcross 13s linear infinite; }

.hero-copy { animation: heroIn .8s cubic-bezier(.2,.75,.25,1) both; }
.search-card { animation: cardIn .9s .15s cubic-bezier(.2,.75,.25,1) both, cardFloat 5s 1.2s ease-in-out infinite; transform-style:preserve-3d; }
.search-card:hover { transform: translateY(-7px) rotateX(.5deg) rotateY(-.5deg); box-shadow:0 32px 90px rgba(0,0,0,.32); }

.btn { position:relative; overflow:hidden; }
.btn:after { content:""; position:absolute; top:0; left:-120%; width:70%; height:100%; transform:skewX(-20deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent); transition:left .65s ease; }
.btn:hover:after { left:140%; }

.stats-grid>div { animation: statRise .7s both; }
.stats-grid>div:nth-child(2){animation-delay:.08s}.stats-grid>div:nth-child(3){animation-delay:.16s}.stats-grid>div:nth-child(4){animation-delay:.24s}

.trust-strip { overflow:hidden; background:#0e2f51; color:#fff; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.trust-track { display:flex; width:max-content; gap:44px; padding:13px 0; font-size:12px; font-weight:800; letter-spacing:.2px; animation: marquee 28s linear infinite; }
.trust-track span { opacity:.86; white-space:nowrap; }

.destination { transition:transform .45s cubic-bezier(.2,.75,.25,1), box-shadow .45s ease; }
.destination:hover { transform:translateY(-9px) scale(1.018); box-shadow:0 22px 45px rgba(15,38,62,.22); }
.destination:before { content:""; position:absolute; inset:0; background:linear-gradient(125deg,rgba(255,255,255,.18),transparent 35%,transparent 70%,rgba(255,255,255,.08)); opacity:0; transition:opacity .4s; z-index:1; }
.destination:hover:before { opacity:1; }

.route-list a { transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.route-list a:hover { transform:translateY(-5px); }

.quote-grid article { transition:transform .35s ease, box-shadow .35s ease; }
.quote-grid article:hover { transform:translateY(-6px); box-shadow:0 18px 40px rgba(20,40,65,.10); }

.faq-grid details { transition:padding .25s ease, background .25s ease; }
.faq-grid details[open] { background:rgba(255,255,255,.55); padding-left:12px; padding-right:12px; border-radius:10px; }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity:1; transform:none; }
.reveal-scale { opacity:0; transform:scale(.96) translateY(18px); transition:opacity .8s ease, transform .8s cubic-bezier(.2,.75,.25,1); }
.reveal-scale.is-visible { opacity:1; transform:none; }

@keyframes heroIn { from{opacity:0;transform:translateY(25px)} to{opacity:1;transform:none} }
@keyframes cardIn { from{opacity:0;transform:translateY(35px) scale(.97)} to{opacity:1;transform:none} }
@keyframes cardFloat { 0%,100%{translate:0 0} 50%{translate:0 -5px} }
@keyframes driftGlow { from{transform:translate3d(-20px,-10px,0) scale(1)} to{transform:translate3d(25px,25px,0) scale(1.12)} }
@keyframes floatParticle { 0%,100%{transform:translateY(0) scale(1);opacity:.35} 50%{transform:translateY(-34px) scale(1.5);opacity:.9} }
@keyframes flyAcross { 0%{left:-5%;transform:translateY(18px) rotate(-3deg)} 48%{transform:translateY(-22px) rotate(-3deg)} 100%{left:105%;transform:translateY(15px) rotate(-3deg)} }
@keyframes marquee { to{transform:translateX(-50%)} }
@keyframes statRise { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:none} }

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
}
/* ===== FLIGHTS DOCTOR LOGO FIX ===== */

.site-header img,
.site-header .logo,
.site-header .brand-logo,
header img.logo {
    width: auto !important;
    height: 78px !important;
    max-width: 190px !important;
    max-height: 78px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
}

/* Keep logo properly inside the header */
.site-header,
header {
    min-height: 104px !important;
}

.site-header .container,
.site-header .header-inner,
header .container,
header .header-inner {
    min-height: 104px !important;
    align-items: center !important;
}

/* Desktop */
@media (min-width: 769px) {
    .site-header img,
    .site-header .logo,
    .site-header .brand-logo,
    header img.logo {
        height: 82px !important;
        max-height: 82px !important;
        max-width: 190px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-header,
    header {
        min-height: 88px !important;
    }

    .site-header img,
    .site-header .logo,
    .site-header .brand-logo,
    header img.logo {
        height: 68px !important;
        max-height: 68px !important;
        max-width: 160px !important;
    }
}/* ===== FLIGHTS DOCTOR LOGO - FINAL FIX ===== */

.site-header {
    height: 104px !important;
    min-height: 104px !important;
}

.site-header .container.nav {
    height: 104px !important;
    min-height: 104px !important;
    display: flex !important;
    align-items: center !important;
}

.brand {
    height: 104px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
}

.flights-doctor-logo {
    display: block !important;
    width: 125px !important;
    height: 88px !important;
    max-width: 125px !important;
    max-height: 88px !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Desktop */
@media (min-width: 769px) {
    .flights-doctor-logo {
        width: 125px !important;
        height: 88px !important;
        max-width: 125px !important;
        max-height: 88px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-header {
        height: 82px !important;
        min-height: 82px !important;
    }

    .site-header .container.nav {
        height: 82px !important;
        min-height: 82px !important;
    }

    .brand {
        height: 82px !important;
    }

    .flights-doctor-logo {
        width: 105px !important;
        height: 70px !important;
        max-width: 105px !important;
        max-height: 70px !important;
    }
}/* ==========================================
   Flights Doctor Destination Carousel
   ========================================== */

.destination-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.destination-viewport .destination-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.destination-viewport .destination {
  flex-shrink: 0 !important;
}

/* Desktop */
@media (min-width: 769px) {
  .destination-viewport {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .destination-viewport {
    width: 100%;
    overflow: hidden;
  }

  .destination-viewport .destination-grid {
    gap: 14px !important;
  }
/* AIRPORT AUTOCOMPLETE */

.airport-field {
  position: relative;
}

.airport-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0,0,0,.15);
  overflow: hidden;
  z-index: 99999;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

.airport-suggestions.open {
  display: block;
}

.airport-option {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eef1f5;
  background: #fff;
}

.airport-option:hover {
  background: #f3f7fb;
}

.airport-option strong {
  display: block;
  color: #17233d;
  font-size: 15px;
}

.airport-option span {
  display: block;
  margin-top: 3px;
  color: #718096;
  font-size: 12px;
}

.airport-code {
  float: right;
  color: #ef2929 !important;
  font-weight: 800;
  font-size: 13px !important;
}
}