:root {
  /* Light theme palette */
  --bg: #f8fafc;          /* page background (very light) */
  --bg-alt: #e2e8f0;      /* alt section background */
  --text: #1e293b;        /* main text (slate) */
  --muted: #64748b;       /* secondary text */
  --accent: #2563eb;      /* primary blue */
  --brand: #3b82f6;       /* secondary blue */
  --card: #ffffff;        /* card background */
  --ink: #1e293b;         /* text on cards */
  --shadow: rgba(30, 41, 59, 0.12);
  --radius: 18px;

  /* Fluid type & spacing */
  --fs-h1: clamp(1.8rem, 3vw + 1.2rem, 2.75rem);
  --fs-h2: clamp(1.4rem, 1.6vw + 1rem, 2rem);
  --fs-body: clamp(0.98rem, 0.5vw + 0.85rem, 1.05rem);
  --space: clamp(16px, 4vw, 28px);
  --space-lg: clamp(32px, 6vw, 72px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container { width: min(1120px, 92%); margin-inline: auto; }
.section { padding: var(--space-lg) 0; }
.section--alt { background: var(--bg-alt); }
.section-title {
  font-size: var(--fs-h2); font-weight: 700;
  text-align: center; margin: 0 0 calc(var(--space) * .75);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 56px; height: 56px; }
.brand-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a {
  opacity: .9; padding: 10px 12px; border-radius: 10px; color: var(--text);
}
.nav a:hover { opacity: 1; background: #eef2ff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; transition: .2s all;
}
.btn--primary { background: var(--accent); color: #ffffff; }
.btn--primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn--ghost { border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover { background: rgba(37,99,235,0.08); }
.btn--sm { padding: 10px 12px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--space-lg) + 12px) 0;
  background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(59,130,246,.06));
}
.hero-inner { text-align: center; }
.eyebrow {
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 8px; font-size: .8rem;
}
.hero h1 { font-size: var(--fs-h1); line-height: 1.15; margin: 0 0 10px; }
.hero .accent { color: var(--accent); }
.lead {
  max-width: 760px; margin: 0 auto 14px;
  color: var(--muted); font-size: var(--fs-body);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* Hero badges (centered) */
.hero-badges {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 22px;
}
.badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: #ffffff; color: var(--text); text-align: center;
  padding: 12px 16px; min-width: 140px; border-radius: 12px;
  border: 1px solid #e2e8f0; box-shadow: 0 6px 16px var(--shadow);
}
.badge i { font-size: 20px; color: var(--accent); }

/* ---------- Cards / Grids ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width:700px){ .card-grid{ grid-template-columns: repeat(2,1fr); } }
@media (min-width:980px){ .card-grid{ grid-template-columns: repeat(3,1fr); } }

.card {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 10px 20px var(--shadow);
  transition: .2s transform, .2s box-shadow;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px var(--shadow); }
.card h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: #334155; line-height: 1.5; }
.card-icon { font-size: 22px; color: var(--brand); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two per row */
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
  }
}

.team-card {
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 18px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.2s ease;
}
.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e5edff;
  margin-top: 10px;
  margin-bottom: 1.2rem;
}

.role {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.btn--sm {
  background: #0d1b2a;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: auto;
}
.btn--sm:hover {
  background: #1b263b;
}


/* ---------- CTA strip ---------- */
.cta {
  padding: 32px 0;
  background: linear-gradient(90deg, rgba(37,99,235,.06), rgba(59,130,246,.12));
}
.cta-inner { text-align: center; }
.cta h2 { margin: 0 0 6px; font-size: var(--fs-h2); }
.cta p { margin: 0 0 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 22px 0; background: #f1f5f9; color: var(--text); }
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; text-align: center;
}
@media (min-width:900px){
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; text-align: left; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; justify-content: center; }
.footer-logo { width: 40px; height: 40px; }
.footer-nav { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.footer-nav a:hover { text-decoration: underline; }
.legal { color: var(--muted); font-size: .9rem; margin: 0; text-align: center; }

/* ---------- Mobile Nav ---------- */
@media (max-width: 720px){
  .nav {
    display: none; position: absolute; right: 4%; top: 60px;
    background: #ffffff; color: var(--text);
    padding: 10px; border-radius: 12px; flex-direction: column; min-width: 200px;
    border: 1px solid #e2e8f0; box-shadow: 0 10px 24px var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; border-radius: 8px; }
  .nav a:active, .nav a:hover { background: #eef2ff; }
  .nav-toggle { display: block; }
  /* Scale logos down on small screens for better layout */
  .brand-logo { width: 40px; height: 40px; }
  .footer-logo { width: 28px; height: 28px; }
}
