/* ============================================================
   Exappo Systems — Main Stylesheet
   Palette: #116b98 (mid blue), #003d7a (deep blue), #0b1c48 (navy), #c9a84c (gold)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Playfair+Display:wght@600;700&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0b1c48;
  --deep-blue: #003d7a;
  --mid-blue:  #116b98;
  --gold:      #c9a84c;
  --gold-light:#e8c96a;
  --white:     #ffffff;
  --off-white: #f4f7fb;
  --text-dark: #1a1a2e;
  --text-mid:  #4a5568;
  --border:    #dde3ed;

  --font-display: Verdana, Geneva, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  --radius:  6px;
  --shadow:  0 4px 24px rgba(11,28,72,0.10);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { font-size: 1rem; color: var(--text-mid); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
}

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 52px 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(11,28,72,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--mid-blue);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--deep-blue);
  background: var(--off-white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page offset for fixed nav */
.page-body { padding-top: 70px; }

/* ════════════════════════════════════════════════════════════
   HERO — HOME PAGE
   ════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 60%, var(--mid-blue) 100%);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,107,152,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual panel */
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  padding: 36px;
  backdrop-filter: blur(4px);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-stat {
  text-align: center;
  padding: 20px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stat .number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════════
   SERVICES — HOME PAGE
   ════════════════════════════════════════════════════════════ */
.services-section {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p  { max-width: 560px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--deep-blue), var(--mid-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 1.8; }

.service-card h3 { color: var(--navy); margin-bottom: 10px; }
.service-card p  { font-size: 0.92rem; line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   SECTORS STRIP — HOME PAGE
   ════════════════════════════════════════════════════════════ */
.sectors-strip {
  background: var(--navy);
  padding: 52px 0;
}

.sectors-strip .section-header h2 { color: var(--white); }
.sectors-strip .section-header p  { color: rgba(255,255,255,0.65); }

.sectors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.sector-pill {
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.35);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.sector-pill:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ════════════════════════════════════════════════════════════
   CTA BANNER — HOME PAGE
   ════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--deep-blue), var(--mid-blue));
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.75); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  padding: 72px 0 60px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto; }

/* About intro */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text h2 { color: var(--navy); margin-bottom: 16px; }
.about-intro-text p  { margin-bottom: 14px; }

.about-image-block {
  background: linear-gradient(135deg, var(--deep-blue), var(--mid-blue));
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  color: var(--white);
}

.founding-year {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.founding-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Mission & Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  border-radius: 8px;
  padding: 36px 32px;
}

.mv-card.mission {
  background: var(--navy);
  color: var(--white);
}

.mv-card.vision {
  background: var(--off-white);
  border: 1px solid var(--border);
}

.mv-card .mv-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.mv-card h3 {
  margin-bottom: 10px;
}

.mv-card.mission h3 { color: var(--gold); }
.mv-card.vision  h3 { color: var(--navy); }
.mv-card.mission p  { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.mv-card.vision  p  { color: var(--text-mid); font-size: 0.95rem; }

.mission-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 12px;
}

/* Entity info */
.entity-section { background: var(--off-white); }

.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.entity-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.entity-card .e-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 6px;
}

.entity-card .e-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* Team */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-blue), var(--mid-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.team-info h3 { color: var(--navy); margin-bottom: 4px; }
.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 12px;
  display: block;
}
.team-info p { font-size: 0.93rem; }

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-card h2 { color: var(--navy); margin-bottom: 8px; }
.contact-card > p { margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--deep-blue), var(--mid-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2; }

.contact-detail .c-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 4px;
}

.contact-detail .c-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-detail a.c-value {
  transition: var(--transition);
}

.contact-detail a.c-value:hover { color: var(--mid-blue); }

/* Info panel beside contact */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-block {
  background: var(--navy);
  border-radius: 10px;
  padding: 32px;
  color: var(--white);
}

.info-block h3 { color: var(--gold); margin-bottom: 12px; }
.info-block p  { color: rgba(255,255,255,0.75); font-size: 0.93rem; }

.hours-list { margin-top: 12px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: rgba(255,255,255,0.9); }

/* Map placeholder */
.map-placeholder {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 0.88rem;
  margin-top: 20px;
  gap: 8px;
}
.map-placeholder svg { width: 28px; height: 28px; stroke: var(--mid-blue); fill: none; stroke-width: 1.8; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .brand-name { font-size: 1.2rem; color: var(--white); }
.footer-brand .brand-tag  { color: var(--gold); }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.bee-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* ════════════════════════════════════════════════════════════
  Mission & Vision Hover Swap
   ════════════════════════════════════════════════════════════ */
.mv-card {
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.mv-card.mission::before { background: var(--gold-light); }
.mv-card.vision::before  { background: var(--gold); }

.mv-card:hover::before { transform: scaleX(1); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-panel        { display: none; }
  .about-intro       { grid-template-columns: 1fr; }
  .mv-grid           { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-pad       { padding: 52px 0; }
  .nav-links         { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 16px; gap: 4px; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open    { display: flex; }
  .nav-toggle        { display: flex; }
  .hero              { padding: 72px 0 60px; }
  .footer-grid       { grid-template-columns: 1fr; gap: 28px; }
  .team-card         { flex-direction: column; }
  .footer-bottom     { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}