/* ===========================
   UFlight™ — Global Styles
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ──────────────────────────────────── */
:root {
  --c-dark:    #0E2A47;
  --c-blue:    #2F6FED;
  --c-blue-lt: #5B8FF5;
  --c-orange:  #FF7A1A;
  --c-bg:      #F5F7FB;
  --c-white:   #FFFFFF;
  --c-text:    #2B3A52;
  --c-muted:   #6B7C93;
  --c-border:  #E3E8F0;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(14,42,71,0.08);
  --shadow-md: 0 6px 24px rgba(14,42,71,0.12);
  --shadow-lg: 0 16px 48px rgba(14,42,71,0.16);

  --transition: 0.3s ease;
  --max-w: 1200px;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--c-muted); }

.text-white       { color: var(--c-white) !important; }
.text-dark        { color: var(--c-dark); }
.text-blue        { color: var(--c-blue); }
.text-orange      { color: var(--c-orange); }
.text-muted       { color: var(--c-muted); }
.text-center      { text-align: center; }

/* ── Section spacing ────────────────────────────────── */
section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 12px;
}
.section-header { margin-bottom: 48px; }
.section-header h2 { color: var(--c-dark); margin-bottom: 12px; }
.section-header p  { max-width: 600px; font-size: 1.05rem; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 4px 18px rgba(47,111,237,0.3);
}
.btn-primary:hover {
  background: var(--c-dark);
  box-shadow: 0 6px 24px rgba(14,42,71,0.3);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--c-white);
  color: var(--c-dark);
  border-color: var(--c-white);
}
.btn-orange {
  background: var(--c-orange);
  color: var(--c-white);
  box-shadow: 0 4px 18px rgba(255,122,26,0.3);
}
.btn-orange:hover {
  background: #e56a0f;
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--c-dark);
  border: 2px solid var(--c-border);
}
.btn-outline-dark:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  transform: translateY(-2px);
}

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-body { padding: 24px; }
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ── Grid ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

/* ── Tags / Badges ──────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(47,111,237,0.1);
  color: var(--c-blue);
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-orange {
  background: rgba(255,122,26,0.12);
  color: var(--c-orange);
}

/* ── Page Hero Banner ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-dark) 0%, #163A60 60%, #1A4A80 100%);
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--c-white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ── Scroll Animation ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Divider ────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 4px;
  background: var(--c-orange);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider.center { margin: 16px auto 24px; }

/* ── Feature list item ──────────────────────────────── */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(47,111,237,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.feature-icon.orange { background: rgba(255,122,26,0.12); }

/* ── Blockquote style ───────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, var(--c-dark), #163A60);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--c-white);
}
.highlight-box p { color: rgba(255,255,255,0.8); }

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-blue); }
