/* ============================================================
   SARN TECHNOLOGIES — Design System & Global Styles
   ============================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand palette */
  --navy: #1a237e;
  --mid-blue: #3949ab;
  --light-blue: #5c6bc0;
  --soft-bg: #e8eaf6;
  --pale-bg: #f4f5fb;
  --body-text: #1c1c3a;
  --muted-text: #6b6b8d;
  --border: #e4e6f0;
  --footer-bg: #0d1b4b;
  --white: #ffffff;
  --accent-glow: rgba(57, 73, 171, 0.12);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 96px;
  --section-px: 24px;
  --nav-h: 68px;
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mid-blue);
  margin-bottom: 12px;
  display: inline-block;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: var(--section-py) 0;
}

.section--pale {
  background: var(--pale-bg);
}

.section--soft {
  background: var(--soft-bg);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  background: var(--mid-blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 35, 126, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--mid-blue);
  border: 1.5px solid var(--mid-blue);
}

.btn--outline:hover {
  background: var(--mid-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--pale-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn svg,
.btn i {
  font-size: 1.1em;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav__logo span {
  font-weight: 400;
  color: var(--light-blue);
  margin-left: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body-text);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--mid-blue);
  background: var(--accent-glow);
}

.nav__link--cta {
  background: var(--mid-blue);
  color: var(--white) !important;
  font-weight: 600;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--navy);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--mid-blue) 50%, var(--light-blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(92, 107, 192, 0.25), transparent),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(255, 255, 255, 0.06), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating decoration shapes */
.hero__decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  animation: float 8s ease-in-out infinite;
}

.hero__decor--1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -100px;
  animation-delay: 0s;
}

.hero__decor--2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: -50px;
  animation-delay: 2s;
}

.hero__decor--3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* ── Cards ── */
.card {
  background: var(--pale-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--light-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--light-blue);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--mid-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--white);
}

.card__tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-pill);
  background: var(--soft-bg);
  color: var(--mid-blue);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card p {
  font-size: 0.925rem;
  color: var(--muted-text);
  line-height: 1.7;
}

.card__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Grids ── */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Meta Bar ── */
.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.meta-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.meta-bar__item strong {
  color: var(--white);
  font-weight: 600;
}

/* ── Challenge / Contribution rows ── */
.challenge-list {
  counter-reset: challenge;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.challenge-list__item {
  counter-increment: challenge;
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: var(--pale-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}

.challenge-list__item:hover {
  border-color: var(--light-blue);
  background: var(--white);
}

.challenge-list__item::before {
  content: counter(challenge, decimal-leading-zero);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mid-blue);
  min-width: 32px;
  padding-top: 2px;
}

.challenge-list__item p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Contribution steps (dot style) ── */
.contribution-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  position: relative;
}

.contribution-steps::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.contribution-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.contribution-step__dot {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--mid-blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--mid-blue);
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

.contribution-step__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.contribution-step__content p {
  font-size: 0.925rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ── Metric Blocks ── */
.metrics {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.metric {
  background: var(--navy);
  color: var(--white);
  padding: 28px 40px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(92, 107, 192, 0.2));
  pointer-events: none;
}

.metric__number {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
  line-height: 1.2;
}

.metric__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ── Tech Stack Line ── */
.tech-stack {
  margin-top: 20px;
  white-space: nowrap;
  overflow-x: auto;
  font-size: 0.88rem;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.tech-stack__label {
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}

.tech-pill {
  color: var(--mid-blue);
}

.tech-stack__sep {
  color: var(--border);
  margin: 0 14px;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--soft-bg);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted-text);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Outcome List ── */
.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  max-width: 780px;
}

.outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.65;
}

.outcome-list li::before {
  content: '✓';
  color: var(--mid-blue);
  font-weight: 800;
  font-size: 1rem;
  min-width: 20px;
  padding-top: 1px;
}

/* ── 6-D Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: process;
}

.process-card {
  counter-increment: process;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.35s var(--ease);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--light-blue);
}

.process-card__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--soft-bg);
  line-height: 1;
  margin-bottom: 12px;
}

.process-card__number::before {
  content: counter(process, decimal-leading-zero);
}

.process-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ── Team Cards ── */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: all 0.35s var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--light-blue);
}

.team-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--light-blue));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-blue);
  margin-bottom: 12px;
}

.team-card p:last-child {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.65;
}

/* ── Portfolio Cards ── */
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--light-blue);
}

.portfolio-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.portfolio-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── Contact Form ── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--body-text);
  background: var(--white);
  transition: border-color 0.25s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--mid-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--muted-text);
}

.contact-info__item svg {
  width: 20px;
  height: 20px;
  color: var(--mid-blue);
}

/* ── Footer ── */
.footer {
  background: var(--footer-bg);
  color: rgba(225, 213, 213, 0.75);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  color: rgba(255, 255, 255, 0.7);
}

.footer__social-link:hover {
  background: var(--mid-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer__column a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.footer__column a:hover {
  color: var(--white);
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {

  .grid--3,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --nav-h: 60px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 40px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.35s var(--ease);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .meta-bar {
    flex-direction: column;
    align-items: center;
  }

  .metrics {
    flex-direction: column;
    align-items: center;
  }

  .metric {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 24px;
  }

  .container {
    padding: 0 16px;
  }
}

/* ── Mobile overlay ── */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav__overlay.open {
  display: block;
}

.nav__logo-img {
  height: 64px;
  /* increased from 44px */
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__inner {
  align-items: center;
  /* ensures vertical centering with larger logo */
}

.nav {
  padding: 12px 0;
}

.footer {
  background: #0a1530;
  /* darker navy, distinct from logo's mid-navy so it doesn't visually fuse */
  color: #cfd8eb;
  padding-top: 0;
  position: relative;
}

.footer__top-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #1e7fe8, #7ed957);
  /* blue-to-green, pulled from logo */
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 32px;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}

.footer__brand p {
  color: #9fb0d3;
  font-size: 0.9rem;
}

.footer__column h4 {
  color: #7ed957;
  /* green accent from logo, pops against navy */
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer__column a {
  display: block;
  color: #cfd8eb;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: #1e7fe8;
  /* blue accent from logo */
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfd8eb;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__social-link:hover {
  background: #1e7fe8;
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 18px 0;
  font-size: 0.8rem;
  color: #7c8bb0;
}

.footer__logo-img {
  height: 72px;
  /* slightly bigger than nav since footer has more vertical space */
  width: auto;
  object-fit: contain;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  gap: 32px;
}

#main-content .team-grid,
#main-content .grid--2 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.team-grid>*,
.grid--2>* {
  flex: 0 1 320px;
}

/* ============================================================
   SARN TECHNOLOGIES — Design System & Global Styles
   ============================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand palette */
  --navy: #1a237e;
  --mid-blue: #3949ab;
  --light-blue: #5c6bc0;
  --soft-bg: #e8eaf6;
  --pale-bg: #f4f5fb;
  --body-text: #1c1c3a;
  --muted-text: #6b6b8d;
  --border: #e4e6f0;
  --footer-bg: #0d1b4b;
  --white: #ffffff;
  --accent-glow: rgba(57, 73, 171, 0.12);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 96px;
  --section-px: 24px;
  --nav-h: 68px;
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mid-blue);
  margin-bottom: 12px;
  display: inline-block;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: var(--section-py) 0;
}

.section--pale {
  background: var(--pale-bg);
}

.section--soft {
  background: var(--soft-bg);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  background: var(--mid-blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 35, 126, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--mid-blue);
  border: 1.5px solid var(--mid-blue);
}

.btn--outline:hover {
  background: var(--mid-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--pale-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn svg,
.btn i {
  font-size: 1.1em;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav__logo span {
  font-weight: 400;
  color: var(--light-blue);
  margin-left: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body-text);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--mid-blue);
  background: var(--accent-glow);
}

.nav__link--cta {
  background: var(--mid-blue);
  color: var(--white) !important;
  font-weight: 600;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--navy);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--mid-blue) 50%, var(--light-blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(92, 107, 192, 0.25), transparent),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(255, 255, 255, 0.06), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating decoration shapes */
.hero__decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  animation: float 8s ease-in-out infinite;
}

.hero__decor--1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -100px;
  animation-delay: 0s;
}

.hero__decor--2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: -50px;
  animation-delay: 2s;
}

.hero__decor--3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* ── Cards ── */
.card {
  background: var(--pale-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--light-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--light-blue);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--mid-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--white);
}

.card__tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-pill);
  background: var(--soft-bg);
  color: var(--mid-blue);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card p {
  font-size: 0.925rem;
  color: var(--muted-text);
  line-height: 1.7;
}

.card__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Grids ── */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Stats Band ── */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-band__item {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.stats-band__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--border);
}

.stats-band__number {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stats-band__label {
  font-size: 0.85rem;
  color: var(--muted-text);
  font-weight: 500;
}

/* ── Meta Bar ── */
.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.meta-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.meta-bar__item strong {
  color: var(--white);
  font-weight: 600;
}

/* ── Challenge / Contribution rows ── */
.challenge-list {
  counter-reset: challenge;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.challenge-list__item {
  counter-increment: challenge;
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: var(--pale-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}

.challenge-list__item:hover {
  border-color: var(--light-blue);
  background: var(--white);
}

.challenge-list__item::before {
  content: counter(challenge, decimal-leading-zero);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mid-blue);
  min-width: 32px;
  padding-top: 2px;
}

.challenge-list__item p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Contribution steps (dot style) ── */
.contribution-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  position: relative;
}

.contribution-steps::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.contribution-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.contribution-step__dot {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--mid-blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--mid-blue);
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

.contribution-step__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.contribution-step__content p {
  font-size: 0.925rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ── Metric Blocks ── */
.metrics {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.metric {
  background: var(--navy);
  color: var(--white);
  padding: 28px 40px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(92, 107, 192, 0.2));
  pointer-events: none;
}

.metric__number {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
  line-height: 1.2;
}

.metric__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ── Tech Stack Line ── */
.tech-stack {
  margin-top: 20px;
  white-space: nowrap;
  overflow-x: auto;
  font-size: 0.88rem;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.tech-stack__label {
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}

.tech-pill {
  color: var(--mid-blue);
}

.tech-stack__sep {
  color: var(--border);
  margin: 0 14px;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--soft-bg);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted-text);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Outcome List ── */
.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  max-width: 780px;
}

.outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.65;
}

.outcome-list li::before {
  content: '✓';
  color: var(--mid-blue);
  font-weight: 800;
  font-size: 1rem;
  min-width: 20px;
  padding-top: 1px;
}

/* ── 6-D Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: process;
}

.process-card {
  counter-increment: process;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.35s var(--ease);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--light-blue);
}

.process-card__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--soft-bg);
  line-height: 1;
  margin-bottom: 12px;
}

.process-card__number::before {
  content: counter(process, decimal-leading-zero);
}

.process-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.7;
}

/* ── Team Cards ── */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: all 0.35s var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--light-blue);
}

.team-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--light-blue));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-blue);
  margin-bottom: 12px;
}

.team-card p:last-child {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.65;
}

/* ── Portfolio Cards ── */
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--light-blue);
}

.portfolio-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.portfolio-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── Contact Form ── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--body-text);
  background: var(--white);
  transition: border-color 0.25s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--mid-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--muted-text);
}

.contact-info__item svg {
  width: 20px;
  height: 20px;
  color: var(--mid-blue);
}

/* ── Footer ── */
.footer {
  background: var(--footer-bg);
  color: rgba(225, 213, 213, 0.75);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  color: rgba(255, 255, 255, 0.7);
}

.footer__social-link:hover {
  background: var(--mid-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer__column a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.footer__column a:hover {
  color: var(--white);
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {

  .grid--3,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --nav-h: 60px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 40px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.35s var(--ease);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .meta-bar {
    flex-direction: column;
    align-items: center;
  }

  .stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .stats-band__item:nth-child(2)::after {
    display: none;
  }

  .metrics {
    flex-direction: column;
    align-items: center;
  }

  .metric {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 24px;
  }

  .container {
    padding: 0 16px;
  }
}

/* ── Mobile overlay ── */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav__overlay.open {
  display: block;
}

.nav__logo-img {
  height: 64px;
  /* increased from 44px */
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__inner {
  align-items: center;
  /* ensures vertical centering with larger logo */
}

.nav {
  padding: 12px 0;
}

.footer {
  background: #0a1530;
  /* darker navy, distinct from logo's mid-navy so it doesn't visually fuse */
  color: #cfd8eb;
  padding-top: 0;
  position: relative;
}

.footer__top-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #1e7fe8, #7ed957);
  /* blue-to-green, pulled from logo */
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 32px;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}

.footer__brand p {
  color: #9fb0d3;
  font-size: 0.9rem;
}

.footer__column h4 {
  color: #7ed957;
  /* green accent from logo, pops against navy */
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer__column a {
  display: block;
  color: #cfd8eb;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: #1e7fe8;
  /* blue accent from logo */
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfd8eb;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__social-link:hover {
  background: #1e7fe8;
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 18px 0;
  font-size: 0.8rem;
  color: #7c8bb0;
}

.footer__logo-img {
  height: 72px;
  /* slightly bigger than nav since footer has more vertical space */
  width: auto;
  object-fit: contain;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  gap: 32px;
}

#main-content .team-grid,
#main-content .grid--2 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.team-grid>*,
.grid--2>* {
  flex: 0 1 320px;
}
/* ── Careers: Job Listings ── */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.job-list__empty {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.7;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: border-color 0.25s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.job-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.job-card[open],
.job-card:hover {
  border-color: var(--light-blue);
}

.job-card__summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
}

.job-card__summary::-webkit-details-marker {
  display: none;
}

.job-card__summary-main h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 10px;
  line-height: 1.35;
}

.job-card__summary-main p {
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.6;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
  font-size: 0.825rem;
  color: var(--mid-blue);
  font-weight: 600;
}

.job-card__status {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  margin-left: 8px;
}

.job-card__status--open {
  background: #e3f5e9;
  color: #1e7d3c;
}

.job-card__status--closed {
  background: #fbe4e4;
  color: #b3261e;
}

.job-card__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft-bg);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}

.job-card[open] .job-card__toggle {
  transform: rotate(45deg);
}

.job-card__body {
  padding: 0 28px 28px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 20px;
}

.job-card__body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 10px;
}

.job-card__body h4:not(:first-child) {
  margin-top: 20px;
}

.job-card__body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-card__body li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.65;
}

.job-card__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--light-blue);
}

.job-card__apply {
  margin-top: 24px;
}

/* Select / file inputs to match .form-group text inputs */
.form-group select,
.form-group input[type="file"] {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--body-text);
  background: var(--white);
  outline: none;
}

.form-group select:focus {
  border-color: var(--mid-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
}
