:root{
  --fd-blue:#0B57A6;
  --fd-blue-dark:#063A75;
  --fd-sky:#0E7CCB;
  --fd-orange:#F28C00;
  --fd-cream:#FFF2C6;

  --text:#0b1220;
  --muted:#5c677a;

  --border:rgba(8, 25, 55, .12);
  --shadow:0 18px 50px rgba(4, 18, 38, .18);

  --radius:18px;
  --radius-lg:22px;

  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:#f6f8fc;
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:0 18px;}

/* =========================
   Loading overlay (index only)
========================= */
.loading-overlay{
  position:fixed;
  inset:0;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  transition:opacity .25s ease, visibility .25s ease;
}
.loading-overlay.hide{
  opacity:0;
  visibility:hidden;
}
.loader{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.spinner{
  width:46px;
  height:46px;
  border-radius:999px;
  border:4px solid rgba(11,87,166,.18);
  border-top-color: var(--fd-blue);
  animation:spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader small{
  color:var(--muted);
  font-weight:700;
  letter-spacing:.2px;
}

/* =========================
   Announcement bar
========================= */
.announce{
  background:var(--fd-cream);
  border-bottom:1px solid rgba(0,0,0,.08);
  color:#3a2b00;
  font-weight:800;
  letter-spacing:.15px;
  font-size:14px;
}
.announce .wrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
}
.badge{
  width:22px; height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(242,140,0,.18);
  border:1px solid rgba(242,140,0,.35);
  color:#7a4300;
  font-weight:900;
  flex:0 0 auto;
}

/* =========================
   Header / Nav (flydubai vibe)
========================= */
header{
  background:var(--fd-blue);
  color:#fff;
  box-shadow: 0 10px 30px rgba(4, 18, 38, .18);
  position:sticky;
  top:0;
  z-index:50;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  white-space:nowrap;
}
.brand img{
  height:28px;
  width:auto;
  display:block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.18));
}

.nav-center{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.nav-center a{
  text-decoration:none;
  color:#fff;
  opacity:.92;
  font-weight:700;
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  transition:.15s ease;
}
.nav-center a:hover{
  opacity:1;
  background:rgba(255,255,255,.10);
}

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-right a{
  text-decoration:none;
  color:#fff;
  font-weight:800;
  font-size:14px;
  opacity:.95;
  padding:8px 10px;
  border-radius:10px;
  transition:.15s ease;
}
.nav-right a:hover{background:rgba(255,255,255,.10)}

.nav-pill{
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  padding:8px 12px !important;
}

/* =========================
   Hero (main message)
========================= */
.hero{
  background:
    radial-gradient(900px 380px at 65% 10%, rgba(255,255,255,.20), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--fd-sky), var(--fd-blue) 55%, var(--fd-blue-dark));
  color:#fff;
  padding:56px 0 66px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  align-items:center;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.25px;
  width:max-content;
}
.dot{
  width:10px;height:10px;border-radius:999px;background:var(--fd-orange);
  box-shadow:0 0 0 6px rgba(242,140,0,.18);
}

.hero h1{
  margin:8px 0 6px;
  font-size:clamp(32px, 4.3vw, 52px);
  line-height:1.08;
  letter-spacing:-.7px;
}
.hero p{
  margin:0;
  font-size:16px;
  line-height:1.55;
  opacity:.96;
  max-width:70ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:900;
  font-size:14px;
  transition:.15s ease;
  user-select:none;
}
.btn.primary{
  background:var(--fd-orange);
  color:#1a1200;
  box-shadow:0 16px 30px rgba(242,140,0,.25);
}
.btn.primary:hover{transform:translateY(-1px)}
.btn.ghost{
  background:rgba(255,255,255,.12);
  color:#fff;
  border-color:rgba(255,255,255,.22);
}
.btn.ghost:hover{background:rgba(255,255,255,.18)}

/* ===== Footer (simplified) ===== */
.site-footer{
  background: var(--fd-blue);
  color: #dbe8ff;
  padding-bottom: 26px; /* makes footer feel taller */
}

.footer-links{
  padding: 28px 0 18px;
}

.footer-links-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 22px;
}

.footer-brand img{
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p{
  margin: 0;
  line-height: 1.55;
  opacity: .95;
  font-weight: 600;
  max-width: 75ch;
}

.footer-brand a{
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.linkcol h4{
  margin: 0 0 10px;
  font-size: 14px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
}

.linkcol a{
  display: block;
  padding: 7px 0;
  text-decoration: none;
  color: #dbe8ff;
  opacity: .95;
  font-weight: 700;
}

.linkcol a:hover{
  color: #fff;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 14px 0 6px;
}

.footer-bottom-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.social{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.social a{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  opacity: .92;
  font-weight: 900;
  font-size: 13px;
}

.social a:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tiny{
  font-size: 12px;
  opacity: .92;
  font-weight: 700;
}

/* Responsive footer */
@media (max-width: 980px){
  .footer-links-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px){
  .footer-links-grid{ grid-template-columns: 1fr; }
}
/* =========================
   404 Card
========================= */
.page-404{
  background:
    radial-gradient(900px 380px at 65% 10%, rgba(255,255,255,.20), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--fd-sky), var(--fd-blue) 55%, var(--fd-blue-dark));
  color:#fff;
  padding:56px 0 66px;
}

.card404{
  max-width:760px;
  margin:0 auto;
  background:rgba(255,255,255,.98);
  color:var(--text);
  border-radius:22px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.55);
  overflow:hidden;
}
.card404-top{
  padding:16px 18px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.card404-body{padding:18px}
.big404{
  font-size:56px;
  font-weight:950;
  letter-spacing:-1px;
  margin:0;
}
.card404-body h1{
  margin:6px 0 6px;
  font-size:30px;
  letter-spacing:-.4px;
}
.card404-body p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}
.card404-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.btn.light{
  background:rgba(11,87,166,.06);
  border-color:rgba(11,87,166,.18);
  color:#0b2b57;
  border:1px solid rgba(11,87,166,.18);
}
.btn.light:hover{background:rgba(11,87,166,.10)}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .footer-top-grid{grid-template-columns:1fr}
  .footer-links-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 740px){
  .nav-center{display:none;}
  .footer-links-grid{grid-template-columns:1fr}
}
