@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --ink:          #0d1b2a;
  --deep:         #152336;
  --mid:          #1e3a5f;
  --slate:        #4a6280;
  --steel:        #8aa0ba;
  --mist:         #ccdaeb;
  --cream:        #f4efe6;
  --warm:         #f9f6f0;
  --white:        #ffffff;
  --amber:        #c97d2e;
  --amber-l:      #e09848;
  --signal:       #1a73c5;
  --signal-l:     #3d9ee8;
  --radius:       6px;
  --nav-h:        72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--warm);
  color: var(--ink);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.55rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 0.15rem;
}
.logo span { color: var(--amber); font-size: 1.8rem; line-height: 1; }

.nav-links {
  display: flex; gap: 0.2rem; list-style: none;
}
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--steel);
  text-decoration: none; padding: 0.5rem 0.9rem;
  border-radius: 3px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--amber-l); background: rgba(201,125,46,0.1); }

.nav-cta {
  background: var(--amber); color: var(--white);
  border: none; padding: 0.6rem 1.4rem;
  border-radius: 3px; font-family: 'Sora', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; cursor: pointer; transition: background 0.2s, transform 0.15s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--amber-l); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--steel); border-radius: 2px; transition: all 0.3s;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding-top: var(--nav-h);
  background: var(--ink);
  position: relative; overflow: hidden;
  padding-bottom: 4rem;
}
.page-hero-inner {
  max-width: 800px; padding: 4rem 5vw 0;
  position: relative; z-index: 2;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,163,190,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,163,190,0.04) 1px, transparent 1px);
  background-size: 55px 55px;
}
.page-hero-accent {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(135deg, transparent, rgba(26,115,197,0.08));
}

/* ─── TYPOGRAPHY ─── */
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 0.8rem;
}
h1.display {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1; color: var(--white);
  margin-bottom: 1.2rem;
}
h1.display em { font-style: italic; color: var(--signal-l); }
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.18; color: var(--ink);
  margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--signal); }
h2.light { color: var(--white); }
h2.light em { color: var(--signal-l); }
h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.6rem; }
.lead {
  font-size: 1rem; font-weight: 300; line-height: 1.82;
  color: var(--slate); max-width: 580px;
}
.lead.light { color: var(--steel); }

/* ─── SECTIONS ─── */
.section { padding: 5.5rem 5vw; }
.section.dark { background: var(--ink); }
.section.cream { background: var(--cream); }
.section.white { background: var(--white); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Sora', sans-serif; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.05em;
  border-radius: 3px; padding: 0.85rem 1.8rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--signal); color: var(--white); }
.btn-primary:hover { background: var(--signal-l); transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--amber-l); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1px solid rgba(13,27,42,0.25); }
.btn-outline-dark:hover { border-color: var(--ink); }

/* ─── CARDS ─── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(13,27,42,0.07);
  padding: 2rem; transition: all 0.28s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--signal), var(--amber));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,27,42,0.1); }
.card:hover::before { transform: scaleX(1); }
.card.cream-card { background: var(--cream); border-color: rgba(13,27,42,0.05); }

.icon-box {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(26,115,197,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; stroke: var(--signal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-box.amber { background: rgba(201,125,46,0.12); }
.icon-box.amber svg { stroke: var(--amber); }

/* ─── GRID HELPERS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 30px;} /*Added by Bomie*/
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ─── DIVIDER ─── */
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--signal), var(--amber));
  border-radius: 2px; margin: 1.2rem 0 1.8rem;
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2.5rem; margin-top: 2.5rem;
}
.stat-item { padding-right: 3rem; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.1rem; color: var(--white); line-height: 1;
}
.stat-num em { font-style: normal; color: var(--amber); }
.stat-label { font-size: 0.74rem; color: var(--slate); letter-spacing: 0.07em; text-transform: uppercase; margin-top: 0.25rem; }

/* ─── FORM ─── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.78rem 1rem;
  border: 1px solid var(--mist); border-radius: 4px;
  font-family: 'Sora', sans-serif; font-size: 0.9rem;
  color: var(--ink); background: var(--warm);
  outline: none; transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--signal); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem; padding: 4rem 5vw;
}
.footer-brand .logo { font-size: 1.4rem; display: inline-flex; }
.footer-tagline { font-size: 0.85rem; color: #ccdaeb; line-height: 1.7; margin-top: 0.8rem; max-width: 260px; font-weight: 300; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social-btn {
  width: 34px; height: 34px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; text-decoration: none;
}
.social-btn:hover { background: rgba(255,255,255,0.12); }
.social-btn svg { width: 15px; height: 15px; stroke: #ccdaeb; fill: none; stroke-width: 2; }

.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.84rem; color: #ccdaeb; text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col ul a:hover { color: var(--white); }
.footer-col p { font-size: 0.84rem; color: #ccdaeb; line-height: 1.7; font-weight: 300; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.4rem 5vw;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: #ccdaeb; }
.footer-bottom a { color: var(--slate); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--ink); padding: 1.5rem; gap: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-toggle { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar { gap: 2rem; }
  .stat-item { padding-right: 0; }
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;   /* Adjust based on navbar height */
    width: auto;
}