/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0b1728;
  --navy2:  #111f35;
  --navy3:  #162840;
  --blue:   #2d7dd2;
  --blue2:  #4a9ae0;
  --sky:    #7ec8e3;
  --white:  #f5f8fc;
  --muted:  #8ea6c2;
  --border: rgba(255,255,255,0.08);
  --card:   rgba(255,255,255,0.04);
  --radius: 6px;
  --trans:  0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--muted); max-width: 65ch; }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 0.75rem;
}

/* ===== LAYOUT ===== */
.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

section { padding: 90px 0; }

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5vw;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 23, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color var(--trans);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  transition: background var(--trans) !important;
}
.nav-cta:hover { background: var(--blue2) !important; }

.nav-linkedin {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color var(--trans);
}
.nav-linkedin:hover { color: var(--blue2); }
.nav-linkedin svg { width: 18px; height: 18px; }

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

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy2);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--trans);
    border-top: 1px solid var(--border);
    text-align: center;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,23,40,0.92) 0%,
    rgba(11,23,40,0.65) 50%,
    rgba(11,23,40,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 5vw 80px;
  max-width: 640px;
}

.hero-content h1 { margin-bottom: 1.2rem; }
.hero-content p   { font-size: 1.1rem; margin-bottom: 2rem; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--trans);
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--blue2);
  color: var(--blue2);
  transform: translateY(-1px);
}

/* ===== STAT BAR ===== */
.stat-bar {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 5vw;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue2);
  letter-spacing: -0.02em;
}
.stat-item span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== FEATURE CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background: var(--card);
  padding: 2.5rem;
  backdrop-filter: blur(4px);
  transition: background var(--trans);
}
.card:hover { background: rgba(255,255,255,0.07); }

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.2rem;
  color: var(--blue2);
}

.card h3 { margin-bottom: 0.6rem; }

/* ===== SECTION HEADER ===== */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { font-size: 1rem; }

/* ===== SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse > *:first-child { order: 2; }
}

.split-img {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== SPEC TABLE ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.spec-table tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}
.spec-table tr:hover { background: var(--card); }
.spec-table td {
  padding: 0.85rem 1rem;
}
.spec-table td:first-child {
  color: var(--muted);
  width: 50%;
  font-weight: 500;
}
.spec-table td:last-child {
  color: var(--white);
  font-weight: 600;
}

/* ===== USE CASE TAGS ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.tag {
  background: rgba(45,125,210,0.15);
  border: 1px solid rgba(45,125,210,0.3);
  color: var(--blue2);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== SUPPORTERS ===== */
.supporters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.supporter-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background var(--trans);
}
.supporter-card:hover { background: rgba(255,255,255,0.07); }

.supporter-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.supporter-card span {
  font-size: 0.875rem;
  font-weight: 500;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.biz-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background var(--trans);
}
.biz-card:hover { background: rgba(255,255,255,0.07); }
.biz-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.biz-card p  { font-size: 0.82rem; max-width: none; }

/* ===== TEAM ===== */
.expertise-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.expertise-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue2);
  flex-shrink: 0;
}

/* ===== PROGRAMS HISTORY ===== */
.programs-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.program-badge {
  background: rgba(126,200,227,0.1);
  border: 1px solid rgba(126,200,227,0.2);
  color: var(--sky);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center 40%;
}
.slide.active { opacity: 1; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 140px 5vw 70px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,23,40,0.7) 0%, rgba(11,23,40,0.95) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p  { font-size: 1.05rem; }

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 40px 5vw;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue2);
  flex-shrink: 0;
}
.contact-item a { color: var(--muted); font-size: 0.9rem; transition: color var(--trans); }
.contact-item a:hover { color: var(--white); }

/* ===== FOOTER ===== */
footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 50px 5vw 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(0.6); }
.footer-brand p  { font-size: 0.85rem; max-width: 32ch; }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  transition: color var(--trans);
}
.footer-social a:hover { color: var(--blue2); }
.footer-social svg { width: 16px; height: 16px; }

/* ===== BG SECTIONS ===== */
.bg-navy2 { background: var(--navy2); }
.bg-navy3 { background: var(--navy3); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mx-auto     { margin-inline: auto; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy3); border-radius: 3px; }
