/* ═══════════════════════════════════════════════════════════
   NGAIRC — Shared Site Stylesheet
   Single source of truth for colour, type and components.
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Brand palette ── */
  --primary:    #2C98DB;
  --dark:       #031D3C;
  --dark-blue:  #004AAD;
  --navy:       #1f2873;
  --teal:       #37C2CC;
  --pink:       #CA3174;
  --purple:     #7C3AED;
  --orange:     #F97316;
  --green:      #22C55E;
  --red:        #EF4444;

  /* ── Surfaces ── */
  --bg-light:   #EFF4F8;
  --bg-blue:    #EEF3FF;
  --white:      #FFFFFF;

  /* ── Text ── */
  --text-dark:  #1A202C;
  --text-mid:   #54595F;
  --text-light: #7A7A7A;
  --border:     #E2E8F0;

  /* ── Type ── */
  --font-head:  'Red Hat Display', sans-serif;
  --font-body:  'Poppins', sans-serif;
  --font-accent:'Syne', sans-serif;

  /* ── Depth ── */
  --shadow-sm:  0 2px 8px rgba(3,29,60,0.08);
  --shadow-md:  0 8px 32px rgba(3,29,60,0.12);
  --shadow-lg:  0 16px 48px rgba(3,29,60,0.16);
  --radius:     12px;
  --radius-lg:  20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ═══ Section rhythm ═══ */
.section       { padding: 96px 0; background: var(--white); }
.section-alt   { padding: 96px 0; background: var(--bg-light); }
.section-tight { padding: 72px 0; }
.section-header { max-width: 680px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ═══ Utility type ═══ */
.tag {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.tag-pink   { color: var(--pink); }
.tag-purple { color: var(--purple); }
.tag-teal   { color: var(--teal); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.section-subtitle { font-size: 1rem; color: var(--text-mid); margin-top: 12px; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}
.btn-primary { background: var(--dark-blue); color: var(--white); }
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,74,173,0.35); }

.btn-outline { background: transparent; color: var(--dark-blue); border: 2px solid var(--dark-blue); }
.btn-outline:hover { background: var(--dark-blue); color: var(--white); transform: translateY(-2px); }

.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: #a8245f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(202,49,116,0.35); }

.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: #6528d9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,0.35); }

.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--bg-blue); transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,0.10); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* ═══════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════ */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; }
.logo-abbr { font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; color: var(--dark); line-height: 1; }
.logo-full { font-family: var(--font-body); font-size: 0.6rem; font-weight: 500; color: var(--text-mid); letter-spacing: 0.02em; line-height: 1.3; max-width: 200px; }

nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--dark); background: var(--bg-light); }

/* ── Dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a .caret { display: inline-block; font-size: 0.55rem; margin-left: 6px; transition: transform 0.2s; }
.nav-dropdown:hover > a .caret { transform: rotate(180deg); }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; font-size: 0.85rem; }

.nav-cta { flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md); z-index: 999;
  padding: 16px 32px 24px;
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; font-family: var(--font-head); font-weight: 600; color: var(--text-mid); border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .mobile-nav-group { display: block; padding: 14px 0 4px; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }
.mobile-nav a.mobile-sub { padding-left: 16px; font-size: 0.9rem; }

/* ═══════════════════════════════════════
   INTERIOR PAGE HERO (light, on-brand)
   ═══════════════════════════════════════ */
#page-hero {
  position: relative;
  background: linear-gradient(150deg, var(--bg-blue) 0%, var(--white) 55%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border);
  padding: 84px 0 76px;
  overflow: hidden;
}
#page-hero::before {
  content: ''; position: absolute; top: -180px; right: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(44,152,219,0.14) 0%, transparent 70%);
  pointer-events: none;
}
#page-hero::after {
  content: ''; position: absolute; bottom: -200px; left: -160px;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,74,173,0.09) 0%, transparent 70%);
  pointer-events: none;
}
#page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 780px; }
.page-hero-inner.center { margin: 0 auto; text-align: center; }

.breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; color: var(--text-light); margin-bottom: 22px; flex-wrap: wrap; }
.page-hero-inner.center .breadcrumb { justify-content: center; }
.breadcrumb a { color: var(--text-mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--dark-blue); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--primary); }

.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 18px; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.page-hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s ease-in-out infinite; }
.page-hero-eyebrow .txt { font-family: var(--font-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.page-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-title .accent { color: var(--primary); }
.page-lead { margin-top: 20px; font-size: 1.02rem; color: var(--text-mid); line-height: 1.8; max-width: 640px; }
.page-hero-inner.center .page-lead { margin-left: auto; margin-right: auto; }
.page-hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.page-hero-inner.center .page-hero-actions { justify-content: center; }

/* ═══ Card grids ═══ */
.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; }

/* ═══ Generic card ═══ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(44,152,219,0.35); }
.card h3 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }

/* ═══ Team cards (light) ═══ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(44,152,219,0.4); }
.team-card-img { width: 100%; height: 260px; object-fit: cover; object-position: top center; filter: grayscale(15%); transition: filter 0.3s; background: var(--bg-light); }
.team-card:hover .team-card-img { filter: grayscale(0%); }
.team-card-body { padding: 24px 20px; }
.team-card-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 6px; }
.team-card-role { font-size: 0.8rem; color: var(--text-mid); line-height: 1.4; min-height: 34px; }
.team-socials { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.team-socials a {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-light); color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  transition: all 0.2s;
}
.team-socials a:hover { background: var(--dark-blue); color: var(--white); }
.team-cta { text-align: center; margin-top: 48px; }

/* ═══ Forms ═══ */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); font-family: var(--font-head); }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,152,219,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 8px; font-size: 0.87rem; line-height: 1.6; display: none; }
.form-status.show { display: block; }
.form-status.ok  { background: rgba(34,197,94,0.10);  border: 1px solid rgba(34,197,94,0.35);  color: #15803D; }
.form-status.err { background: rgba(239,68,68,0.10);  border: 1px solid rgba(239,68,68,0.35);  color: #B91C1C; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#footer { background: var(--dark); padding: 72px 0 0; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-logo .logo-abbr { color: var(--white); }
.footer-logo .logo-full { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.8rem; font-weight: 700;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--white); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--primary); }

/* ═══ Scroll to top ═══ */
#scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--dark-blue); color: var(--white);
  border: none; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s; opacity: 0; pointer-events: none; z-index: 100;
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--dark); transform: translateY(-3px); }

/* ═══ Entrance animation ═══ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  nav.main-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section, .section-alt { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #page-hero { padding: 60px 0 56px; }
}
