:root {
  /* Palette matched to the live Wix site's theme variables */
  --navy-darkest: #0a1221;
  --navy-dark: #0d1729;
  --navy: #111f38;
  --navy-light: #1c2d4d;
  --cyan: #00e0ff;
  --cyan-soft: #5be8ff;
  --text-light: #f1f4f9;
  --text-muted: #bcc6d9;

  --light-bg: #f1f4f9;
  --light-bg-alt: #dce3ee;
  --text-dark: #0a1221;
  --text-dark-muted: #4a5468;

  --max-width: 1180px;
  --radius: 14px;
  --font-heading: 'Aboreto', serif;
  --font-body: 'Wix Madefor Text', 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-darkest);
  color: var(--text-light);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.3px;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 12, 26, 0.55);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(6, 12, 26, 0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { width: 38px; height: 38px; }
.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-light);
  letter-spacing: 0.3px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--cyan-soft); }
.nav-cta {
  background: linear-gradient(135deg, var(--cyan), #1d8fd1);
  color: var(--navy-darkest) !important;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600 !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-light);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #1d8fd1);
  color: var(--navy-darkest);
  box-shadow: 0 8px 24px rgba(63, 210, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(63, 210, 255, 0.4);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,12,26,0.88), rgba(10,19,43,0.65));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 120px;
  padding-bottom: 80px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan-soft);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 22px;
  background: linear-gradient(135deg, #fff, var(--cyan-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  padding: 100px 0;
}
.section.with-bg, .research-led, .vision {
  background-size: cover;
  background-position: center;
}
.overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 24, 0.82);
}
.research-led, .vision { color: var(--text-light); }
.research-led .container, .vision .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.2rem;
  margin: 0 0 24px;
  color: var(--text-light);
  text-align: center;
}
.research-led .section-title { text-align: left; }
.about-title { text-align: center; margin-bottom: 40px; }
.subtitle {
  font-size: 1.3rem;
  color: var(--cyan-soft);
  margin: 40px 0 16px;
}
.subtitle.center { text-align: center; }
.two-col-headed .subtitle { margin-top: 0; font-size: 1.5rem; line-height: 1.3; }
.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 0 18px;
}
.lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* MISSION */
/* LIGHT SECTION VARIANT (matches the live site's alternating light theme blocks) */
.light-section {
  background: var(--light-bg);
  color: var(--text-dark);
}
.light-section .section-title { color: var(--text-dark); }
.light-section .lead { color: var(--text-dark-muted); }
.light-section .subtitle { color: #116dff; }
.light-section .two-col h4 { color: #116dff; }
.light-section .two-col p, .light-section .two-col div p { color: var(--text-dark-muted); }
.light-section .role { color: #116dff; }
.light-section .founder-card p:not(.role),
.light-section .advisor-text p:not(.role) { color: var(--text-dark-muted); }
.light-section .founder-card,
.light-section .advisor-card,
.light-section .card,
.light-section .contact-item {
  background: #fff;
  border: 1px solid var(--light-bg-alt);
  box-shadow: 0 10px 30px rgba(10,18,33,0.06);
}
.light-section .card h4 { color: #116dff; }
.light-section .card p { color: var(--text-dark-muted); }

/* ABOUT THE COMPANY */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p {
  color: var(--text-dark-muted);
  text-align: justify;
  margin-bottom: 20px;
}
.about-image {
  position: sticky;
  top: 110px;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(10,18,33,0.15);
  width: 100%;
}

/* DPIIT RECOGNITION */
.recognition { background: var(--navy-dark); }
.recognition-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.recognition-text .lead { color: var(--text-muted); }
.recognition-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  width: 100%;
  border: 1px solid rgba(0,224,255,0.15);
}

/* FOUNDERS */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  margin-top: 50px;
}
.founder-card {
  background: var(--navy);
  border: 1px solid rgba(0,224,255,0.15);
  border-radius: var(--radius);
  padding: 36px;
}
.founder-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 20px;
  overflow: hidden;
  border: 2px solid var(--cyan);
  flex-shrink: 0;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-card h3 { margin: 0 0 4px; font-size: 1.4rem; }
.role { color: var(--cyan-soft); font-weight: 600; margin-bottom: 14px; }
.founder-card p:not(.role) { color: var(--text-muted); }

/* ADVISORS */
.advisor-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 40px;
  border: 1px solid rgba(0,224,255,0.15);
}
.advisor-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--cyan);
  margin: 0 auto;
}
.advisor-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.advisor-text h3 { margin: 0 0 4px; font-size: 1.4rem; }
.advisor-text p:not(.role) { color: var(--text-muted); }

/* CHALLENGE */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.two-col p, .two-col div p { color: var(--text-muted); text-align: justify; }
.two-col h4 { color: var(--cyan-soft); }

/* VISION */
.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0 60px;
}
.pillar {
  background: rgba(14, 27, 61, 0.7);
  border: 1px solid rgba(63,210,255,0.2);
  border-radius: var(--radius);
  padding: 28px;
}
.pillar h4 { color: var(--cyan-soft); margin-top: 0; }
.pillar p { color: var(--text-muted); font-size: 0.95rem; }
.vision-statement {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}
.vision-statement h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  font-size: 1rem;
}
.vision-statement p {
  font-size: 1.6rem;
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--text-light);
}

/* WHAT WE DO */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0 60px;
}
.card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(0,224,255,0.15);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--cyan); }

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 60px 0;
}
.split-image img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(10,18,33,0.18); }
.split-text h3 { color: var(--text-dark); font-size: 1.7rem; }
.split-text p { color: var(--text-dark-muted); }

/* CONTACT */
.contact { background: var(--navy-darkest); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0 60px;
}
.contact-item {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(63,210,255,0.12);
}
.contact-item h5 { color: var(--cyan-soft); margin: 0 0 10px; }
.contact-item p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.contact-cta {
  text-align: center;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(63,210,255,0.12);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { width: 46px; margin-bottom: 12px; }
.footer-brand h3 { margin: 0 0 6px; }
.tagline { color: var(--cyan-soft); margin: 0; }
.footer-info { display: flex; flex-direction: column; justify-content: center; }
.footer-info p { color: var(--text-muted); margin: 4px 0; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- BACK TO TOP ---------- */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #1d8fd1);
  color: var(--navy-darkest);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid, .founder-grid, .two-col, .split-block, .advisor-card, .recognition-grid { grid-template-columns: 1fr; }
  .about-image { position: static; margin-top: 32px; }
  .vision-pillars, .cards-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(6,12,26,0.97);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav ul li a { display: block; padding: 16px 24px; }
  .nav-toggle { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
