
/* ============================================
   CSS CUSTOM PROPERTIES — BRAND COLOR PALETTE
   Primary: Teal/Cyan #118AB2 (distinctive, not generic blue)
   Accent: Coral/Tangerine #EF476F (CTA energy)
   Dark: Indigo/Charcoal #2B2D42 (text/headings)
   Secondary: Sage Sky #8ECAE6 (backgrounds/highlights)
   Warm BG: Cream #FDF7F2
   Gold: #FFB703 (badges/highlights)
   Aqua Pearl (logo color): #8AC9C8 (accent only)
   ============================================ */
:root {
  --primary: #118AB2;
  --primary-dark: #0A7C8C;
  --primary-light: #8ECAE6;
  --accent: #EF476F;
  --accent-dark: #c9304f;
  --accent-light: #F77F00;
  --dark: #2B2D42;
  --dark-mid: #444660;
  --body-text: #4a5568;
  --muted: #64748b;
  --gold: #FFB703;
  --cream: #FDF7F2;
  --cream-light: #F8F9FA;
  --aqua: #8AC9C8;
  --sage: #A8DADC;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(43,45,66,0.08);
  --shadow-md: 0 6px 24px rgba(43,45,66,0.12);
  --shadow-lg: 0 12px 40px rgba(43,45,66,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

/* Copyright Symbol Styling */
.copyright-symbol {
  font-size: 0.6em;
  vertical-align: super;
  font-family: Georgia, serif;
  font-weight: normal;
  margin-left: 1px;
  line-height: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  /* Elegant serif/sans pairing: DM Serif Display + DM Sans */
  /*font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;*/
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  background-color: var(--cream-light);
}

body.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(17, 138, 178, 0.06);
  padding: 18px 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar {
  width: 100%;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled state for standard header */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(17, 138, 178, 0.12);
  box-shadow: 0 4px 20px rgba(43, 45, 66, 0.05);
  padding: 12px 0;
}

.nav-logo { flex: 0 0 auto; }

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sapient-s {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -0.01em;
}
.sapient-rest {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--dark);
  letter-spacing: 0.01em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-mid);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.02em;
}

.nav-link:hover { color: var(--primary); }

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--aqua));
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after { width: 100%; }

.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dropdowns styling */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--dark-mid);
}

.nav-link:hover .dropdown-icon {
  color: var(--primary);
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(17, 138, 178, 0.08);
  box-shadow: 0 15px 40px rgba(43, 45, 66, 0.08);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 190px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.dropdown-menu li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.dropdown-link {
  display: block;
  padding: 8px 18px;
  color: var(--dark-mid);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: left;
}

.dropdown-link:hover {
  background: rgba(17, 138, 178, 0.05);
  color: var(--primary);
  padding-left: 22px;
}

/* Hover trigger for desktop */
@media (min-width: 1181px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
  min-width: 120px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent-dark) 100%);
  background-size: 200% auto;
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(43,45,66,0.08);
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 6px 16px rgba(43,45,66,0.12);
  color: white;
}

.btn-primary:hover::before {
  left: 150%;
}

.btn-secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.32);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 16px rgba(43,45,66,0.08);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  border-radius: 8px;
  background: rgba(17, 138, 178, 0.05);
  border: 1px solid rgba(17, 138, 178, 0.1);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.bar {
  width: 20px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION — Split layout, image fades to side
   ============================================ */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
  background: linear-gradient(135deg, var(--cream) 0%, #e8f4f8 60%, #d4eef7 100%);
}

/* Subtle dot-grid pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(17,138,178,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

/* Teal-to-sage gradient wash center */
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse at center,
    rgba(138,201,200,0.18) 0%,
    rgba(17,138,178,0.08) 40%,
    transparent 70%
  );
  z-index: 0;
  border-radius: 50%;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Text centered */
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.hero-title .highlight-word {
  color: var(--primary);
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--body-text);
  line-height: 1.7;
}

.hero-description.quote {
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--primary-dark);
  border-left: 3px solid var(--aqua);
  padding-left: 1rem;
  margin: 1.5rem auto 2rem;
  background: rgba(138,201,200,0.1);
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1rem;
  text-align: left;
  max-width: 650px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

/* ============================================
   FLOATING ANNOUNCEMENT (WCS-234)
   ============================================ */
.floating-announcement {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  background: rgba(255, 255, 255, 0.95); /* White, high opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(17, 138, 178, 0.15); /* Primary color border subtle */
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex; /* overridden by script inline style if dismissed, defaults to flex in script */
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.floating-announcement.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.close-floating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s ease;
}

.close-floating:hover {
  color: var(--dark);
}

.floating-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(17, 138, 178, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
}

.floating-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-top: 0.25rem;
}

.floating-body {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.5;
}

.floating-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0 0.5rem;
}

.btn-floating {
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  width: 100%;
}

@media (max-width: 480px) {
  .floating-announcement {
    width: calc(100% - 32px);
    max-width: 320px; /* Narrower so it clearly anchors to the right */
    margin: 0; 
    bottom: 16px;
    right: 16px;
    left: auto; /* Remove centering */
    padding: 1rem;
    gap: 0.5rem;
  }
  .floating-headline {
    font-size: 1.15rem;
    margin-top: 0;
  }
  .floating-body {
    display: block; /* Restore body text */
    font-size: 0.85rem;
    line-height: 1.3;
  }
  .floating-meta {
    font-size: 0.8rem;
    margin: 0 0 0.25rem;
  }
  .btn-floating {
    padding: 0.6rem 1rem;
  }
}

/* ============================================
   SECTION HEADERS — Shared
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Underline accent */
.section-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--aqua));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 14px;
  background: rgba(17,138,178,0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ============================================
   SAPIENT DIFFERENCE SECTION
   ============================================ */
.sapient-difference {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.sapient-difference::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(17,138,178,0.04) 0%, transparent 70%),
              radial-gradient(circle at 70% 60%, rgba(17,138,178,0.04) 0%, transparent 70%);
  z-index: 0;
}

.sapient-difference .container { position: relative; z-index: 1; }

.sapient-difference .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sapient-difference .section-header h2 {
  font-size: 2.4rem;
  color: var(--primary);
}

.sapient-difference .section-header::after {
  background: linear-gradient(90deg, var(--primary), var(--aqua));
}

.difference-content { max-width: 820px; margin: 0 auto; }
.difference-text { text-align: left; }

.difference-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--body-text);
}

.difference-text p:first-of-type {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
}

.difference-text p:first-of-type strong { color: var(--primary); }

.highlight-block {
  background: linear-gradient(135deg, rgba(17,138,178,0.06) 0%, rgba(138,201,200,0.1) 100%);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 30px;
}

.highlight-block p {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 0;
}

.highlight-block strong { color: var(--primary); }

/* Hide old section */
.founders-synergy-full { display: none; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 5rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.about .container { position: relative; z-index: 1; }

.about-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.about-text {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about .section-header h2 {
  font-size: 2.4rem;
  color: var(--primary);
}

.about .section-header::after {
  background: linear-gradient(90deg, var(--primary), var(--aqua));
}

.about-description { margin-bottom: 2.5rem; width: 100%; text-align: center; }

.about-description p {
  font-size: 1.1rem;
  color: var(--body-text);
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ============================================
   VALUE PROPOSITIONS
   ============================================ */
.value-propositions {
  background: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.value-propositions::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(17,138,178,0.05) 0%, transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(138,201,200,0.05) 0%, transparent 70%);
  z-index: 0;
}

.value-propositions .container { position: relative; z-index: 1; }

.value-propositions .section-header h2 {
  color: var(--primary);
}

.value-propositions .section-header::after {
  background: linear-gradient(90deg, var(--primary), var(--aqua));
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.value-prop-card {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border);
  border-bottom: 4px solid transparent;
}

.value-prop-card:nth-child(1) { border-bottom-color: var(--primary); }
.value-prop-card:nth-child(2) { border-bottom-color: var(--accent); }
.value-prop-card:nth-child(3) { border-bottom-color: var(--gold); }

.value-prop-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.value-prop-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.value-prop-card:nth-child(1) .value-prop-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}
.value-prop-card:nth-child(2) .value-prop-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
}
.value-prop-card:nth-child(3) .value-prop-icon {
  background: linear-gradient(135deg, #d4a017, var(--gold));
  color: white;
}

.value-prop-card h3 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.value-prop-card p { color: var(--muted); font-size: 1rem; }

.value-prop-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(17,138,178,0.06) 0%, rgba(138,201,200,0.1) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17,138,178,0.12);
}

.value-prop-conclusion {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   EDUCATOR BENEFITS
   ============================================ */
.educator-benefits {
  padding: 5rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.educator-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(10,124,140,0.06) 0%, transparent 70%),
    radial-gradient(circle at 30% 80%, rgba(17,138,178,0.04) 0%, transparent 70%);
  z-index: 0;
}

.educator-benefits .container { position: relative; z-index: 1; }

.educator-benefits .section-header h2 {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.educator-benefits .section-header::after {
  background: linear-gradient(90deg, var(--primary),var(--aqua));
}

.benefits-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.benefit-column {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.benefit-column:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-column-header {
  color: white;
  padding: 2rem;
  text-align: center;
}

.benefit-column:nth-child(1) .benefit-column-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 12px rgba(17,138,178,0.3);
}

.benefit-column:nth-child(2) .benefit-column-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 4px 12px rgba(239,71,111,0.3);
}

.benefit-column-header i { font-size: 2.5rem; margin-bottom: 1rem; }

.benefit-column-header h3 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.benefit-items { padding: 2rem; }

.benefit-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  transition: var(--transition);
}

.benefit-item:hover { transform: translateX(5px); }
.benefit-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }

.benefit-column:nth-child(1) .benefit-item h4 { color: var(--primary); }
.benefit-column:nth-child(2) .benefit-item h4 { color: var(--accent-dark); }

.benefit-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.benefit-item h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.benefit-column:nth-child(1) .benefit-item h4::before {
  background-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,138,178,0.15);
}

.benefit-column:nth-child(2) .benefit-item h4::before {
  background-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239,71,111,0.15);
}

.benefit-item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.5rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 6rem 0;
  background: linear-gradient(180deg, #e8f4f8 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(17,138,178,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(138,201,200,0.07) 0%, transparent 40%);
  z-index: 0;
}

.how-it-works .container { position: relative; z-index: 1; }

.how-it-works .section-header h2 {
  color: var(--primary);
}

.how-it-works .section-header::after {
  background: linear-gradient(90deg, var(--primary), var(--aqua));
}

.workflow-container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add sequential animation to workflow steps */
.workflow-step-card:nth-child(1) {
  animation: fadeInStep 0.5s ease-out 0.1s both;
}
.workflow-step-card:nth-child(2) {
  animation: fadeInStep 0.5s ease-out 0.2s both;
}
.workflow-step-card:nth-child(3) {
  animation: fadeInStep 0.5s ease-out 0.3s both;
}
.workflow-step-card:nth-child(4) {
  animation: fadeInStep 0.5s ease-out 0.4s both;
}
.workflow-step-card:nth-child(5) {
  animation: fadeInStep 0.5s ease-out 0.5s both;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.workflow-step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(17,138,178,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 220px;
}

.workflow-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(17,138,178,0.3);
}

.workflow-step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--aqua));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.workflow-step-card:hover::before { opacity: 1; }

/* Custom teal/coral icons for workflow steps */
.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(17,138,178,0.3);
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--aqua));
}

.workflow-step-card:nth-child(1) .step-icon { background: linear-gradient(135deg, var(--primary), #38bdf8); }
.workflow-step-card:nth-child(2) .step-icon { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.workflow-step-card:nth-child(3) .step-icon { background: linear-gradient(135deg, var(--aqua), var(--sage)); }
.workflow-step-card:nth-child(4) .step-icon { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.workflow-step-card:nth-child(5) .step-icon { background: linear-gradient(135deg, var(--gold), #f59e0b); }

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--aqua) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
  box-shadow: 0 4px 14px rgba(17,138,178,0.35);
}

/* Color the step icons by position */
.workflow-step-card:nth-child(1) .step-number { background: linear-gradient(135deg, var(--primary), #38bdf8); }
.workflow-step-card:nth-child(2) .step-number { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.workflow-step-card:nth-child(3) .step-number { background: linear-gradient(135deg, var(--aqua), var(--sage)); color: var(--dark); }
.workflow-step-card:nth-child(4) .step-number { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.workflow-step-card:nth-child(5) .step-number { background: linear-gradient(135deg, #d4a017, var(--gold)); }

.workflow-step-card h3 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  color: var(--primary);
  transition: var(--transition);
}

.workflow-step-card:hover h3 { color: var(--primary); }

.workflow-step-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================
   FEATURES SECTION — recolor kept in features_styles.css
   (overrides applied via variables)
   ============================================ */
.features {
  padding: 6rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(17,138,178,0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(10,124,140,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(239,71,111,0.04) 0%, transparent 40%);
  z-index: 0;
}

.features .container { position: relative; z-index: 1; }

.features .section-header h2 {
  color: var(--primary);
}

.features .section-header::after {
  background: linear-gradient(90deg, var(--primary), var(--aqua));
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(17,138,178,0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(138,201,200,0.04) 0%, transparent 60%);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  gap: 2rem;
}

.contact-info h2 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--body-text);
  padding: 0.75rem 1rem;
  background: rgba(17,138,178,0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(17,138,178,0.1);
}

.contact-item:hover {
  transform: translateX(5px);
  background: white;
  box-shadow: var(--shadow-md);
}

.contact-item i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,138,178,0.12);
  border-radius: 50%;
  padding: 1rem;
  transition: var(--transition);
}

.contact-item:hover i {
  background: rgba(17,138,178,0.2);
  transform: scale(1.1);
}

.contact-email {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-email:hover { color: var(--primary-dark); text-decoration: underline; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 80px 0;
  background-color: var(--cream-light);
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 50px;
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
}

.accordion { max-width: 800px; margin: 0 auto; }

.accordion-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.accordion-item:hover { box-shadow: var(--shadow-md); }

.accordion-header {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  background: var(--white);
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 64px;
}

.accordion-header:hover {
  background-color: rgba(17,138,178,0.04);
  color: var(--primary);
}


.icon {
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(17,138,178,0.08);
  border-radius: 50%;
  flex-shrink: 0;
  
  /* NEW: Replaced Flexbox with classic icon centering */
  display: inline-block;
  text-align: center;
  line-height: 28px; /* Matches the exact height of the circle */
}

.icon::before {
  position: relative;
  top: 6px; 
}

.accordion-item.active .icon {
  transform: rotate(180deg);
  color: var(--primary);
  background: rgba(17,138,178,0.15);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  background-color: var(--white);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 22px;
}

.accordion-content p {
  padding: 0 24px;
  color: var(--body-text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 2.5rem;
}

.footer-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  gap: 1rem;
}

.footer-logo .sapient-s { color: var(--aqua); }
.footer-logo .sapient-rest { color: var(--white); }

.footer-logo-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-tagline {
  color: var(--sage);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

.footer-contact-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--cream-light);
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  width: 100%;
  max-width: 1000px;
}

.footer-contact a,
.footer-contact span {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-contact i { color: var(--aqua); font-size: 1.3rem; }

.footer-contact a:hover {
  color: var(--aqua);
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
  width: 100%;
  max-width: 900px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
}

.social-links { display: none; }

/* ============================================
   STATS / MISC COMPONENTS
   ============================================ */
.about-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex: 1;
  min-width: 200px;
}

.about-stat i { font-size: 2rem; color: var(--primary); }

.about-stat .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.about-stat .stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-item {
  background: var(--cream-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label { color: var(--muted); font-weight: 500; }

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.highlight-item i { color: var(--primary); font-size: 1.2rem; }
.highlight-item span { font-weight: 500; color: var(--dark); }

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group { margin-bottom: 1.5rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  background: var(--cream-light);
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,138,178,0.12);
  background: white;
}

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

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--aqua));
}

.or-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.or-divider span {
  padding: 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Loading spinner */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  background: rgba(17,138,178,0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(17,138,178,0.3);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
}

.form-error {
  background: rgba(239,71,111,0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(239,71,111,0.3);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1180px)
   ============================================ */
@media (max-width: 1180px) {
  .header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(17, 138, 178, 0.1);
    box-shadow: 0 2px 16px rgba(43, 45, 66, 0.06);
    padding: 10px 0;
  }

  .nav-container {
    padding: 0 16px;
  }

  /* Mobile dropdown formatting */
  .dropdown-menu {
    position: static !important;
    transform: translateY(-8px) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    padding: 0 !important;
    min-width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    z-index: 1 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-left: none !important;
    margin-left: 20px !important;
  }

  .nav-dropdown.active .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    max-height: 250px !important;
    padding: 6px 0 !important;
  }

  .dropdown-link {
    display: flex;
    align-items: center;
    padding: 8px 16px !important;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark-mid);
    border-radius: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 36px;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    text-decoration: none;
    border: none !important;
    background: transparent !important;
  }

  .dropdown-link:hover, .dropdown-link:active {
    background: transparent !important;
    color: var(--primary) !important;
    transform: translateX(4px);
    padding-left: 16px !important;
  }

  .dropdown-toggle .dropdown-icon {
    display: inline-block !important;
    margin-left: 8px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: rotate(0deg) !important;
  }

  .nav-dropdown:hover .dropdown-icon {
    transform: rotate(0deg) !important;
  }

  .nav-dropdown.active .dropdown-icon {
    transform: rotate(180deg) !important;
  }

  .nav-menu {
    position: fixed;
    right: -340px;
    left: auto;
    top: 58px;
    width: 320px;
    max-width: 85%;
    height: calc(100vh - 58px);
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(43, 45, 66, 0.12);
    clip-path: inset(0px 0px 0px -50px);
    -webkit-clip-path: inset(0px 0px 0px -50px);
    padding: 32px 24px;
    gap: 0.25rem;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    align-items: stretch;
    text-align: left;
  }

  .nav-menu.active {
    right: 0;
    left: auto;
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger menu item entry */
  .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
  .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
  .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
  .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }
  .nav-menu.active li:nth-child(8) { transition-delay: 0.4s; }
  .nav-menu.active li:nth-child(9) { transition-delay: 0.45s; }
  .nav-menu.active li:nth-child(10) { transition-delay: 0.5s; }

  .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu .nav-cta {
    display: block !important;
    margin-top: auto;
    padding: 1.5rem 0 0 0;
  }

  .nav-menu .nav-cta .btn {
    width: 100%;
    justify-content: center;
    display: flex;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    min-height: 52px;
  }

  /* Make nav links look like a sleek list */
  .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-mid);
    border-radius: 8px;
    transition: all 0.25s ease;
    min-height: 48px;
    width: 100%;
    justify-content: flex-start;
    border-bottom: none;
    position: relative;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--teal);
    border-radius: 2px;
    transition: height 0.2s ease;
  }

  .nav-link:hover, .nav-link:active {
    background: rgba(17, 138, 178, 0.05);
    color: var(--teal);
    padding-left: 24px;
  }

  .nav-link:hover::before, .nav-link:active::before {
    height: 60%;
  }
}

@media (min-width: 769px) {
  .nav-menu .nav-cta { display: none; }
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-container {
    text-align: center;
  }

  .hero-content { text-align: center; }

  .hero-cta-group { justify-content: center; }

  .hero-title { font-size: 2.8rem; }

  .value-props-grid,
  .workflow-container-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .benefits-columns { gap: 2rem; }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .nav-container { padding: 0 16px; }
  .logo-image { width: 38px; height: 38px; }
  .brand-name { font-size: 1.2rem; }
  .sapient-s { font-size: 1.45rem; }
  .sapient-rest { font-size: 1.2rem; }

  /* Hero mobile */
  .hero {
    padding: 90px 0 50px;
    min-height: auto;
  }

  .hero-container {
    text-align: center;
  }

  .hero-content { text-align: center; }
  .hero-cta-group { justify-content: center; flex-direction: column; align-items: center; }
  .hero-cta-group .btn { width: 100%; max-width: 320px; min-height: 52px; font-size: 1.05rem; }

  .hero-title { font-size: 2.1rem; }
  .hero-description { font-size: 1rem; }

  /* Sections */
  .section-header h2 { font-size: 2rem; }

  .value-props-grid { grid-template-columns: 1fr; }
  .benefits-columns { grid-template-columns: 1fr; gap: 2rem; }
  .workflow-container-grid { grid-template-columns: 1fr !important; gap: 2.5rem; }

  .about-stats { flex-direction: column; }

  .contact-form { padding: 1.5rem; }

  .footer-contact { flex-direction: column; gap: 1rem; }

  .accordion-header {
    padding: 18px 16px;
    font-size: 1rem;
    gap: 12px;
    min-height: 60px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .icon { 
    width: 28px;       
    height: 28px;      
    min-width: 28px; 
    line-height: 28px;
  }

  .sapient-difference,
  .about,
  .value-propositions,
  .educator-benefits {
    padding: 3.5rem 0;
  }

  .benefit-column-header { padding: 1.5rem; }
  .benefit-column-header h3 { font-size: 1.5rem; }
  .benefit-items { padding: 1.5rem; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.85rem; }
  .hero-description { font-size: 0.95rem; }
  .section-header h2 { font-size: 1.85rem; }

  .feature-card,
  .benefit-card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
  }

  .value-prop-conclusion { font-size: 1rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* Thank You Page */
.thank-you {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--cream) 0%, #e8f4f8 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.thank-you-content h1 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.thank-you-content p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Research section (legacy) */
.research { padding: 5rem 0; background: white; }
.research-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.research-text h2 { font-size: 2.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.research-text h3 { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; }

@media (max-width: 912px) {
  .benefits-columns,
  .research-content { grid-template-columns: 1fr; }
  .research-text { text-align: center; }
}

/* ============================================================
   TESTIMONIALS — CUSTOM STYLED COMPONENTS
   ============================================================ */

/* ── 1. HERO SPOTLIGHT (Dr. Subbarao — below hero) ─────────── */
.testimonial-hero-spotlight {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1c2e 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.testimonial-hero-spotlight::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,138,178,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.testimonial-hero-spotlight::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,71,111,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.spotlight-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.spotlight-accent-bar {
  width: 52px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 28px;
}
.spotlight-quote-mark {
  font-size: 7rem;
  line-height: 0.6;
  color: var(--primary);
  font-family: Georgia, serif;
  opacity: 0.35;
  margin-bottom: 16px;
  display: block;
}
.spotlight-quote {
  font-size: 1.35rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}
.spotlight-quote strong {
  color: #fff;
  font-weight: 600;
  font-style: normal;
}
.spotlight-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.spotlight-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dark-mid);
  display: flex; align-items: center; justify-content: center;
}
.spotlight-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.spotlight-avatar-fallback {
  font-size: 1.2rem; font-weight: 700;
  color: var(--primary-light);
  display: none;
}
.spotlight-author-info {
  display: flex; flex-direction: column;
  text-align: left; gap: 2px;
}
.spotlight-name {
  font-weight: 700; font-size: 1rem;
  color: #fff; letter-spacing: 0.01em;
}
.spotlight-title {
  font-size: 0.82rem; color: var(--primary-light);
}
.spotlight-org {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}

/* ── 2. DUO CARDS (Dr. Gaudet + Dr. Roberts — below Key Value Props) ── */
.testimonials-duo {
  padding: 72px 0 64px;
  background: var(--cream);
  position: relative;
}
.duo-header {
  text-align: center;
  margin-bottom: 48px;
}
.duo-eyebrow {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.duo-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.duo-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: 0 4px 28px rgba(43,45,66,0.08);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border-top: 4px solid var(--primary);
}
.duo-card--accent {
  border-top-color: var(--accent);
}
.duo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(43,45,66,0.14);
}
.duo-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.duo-quote-icon {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: Georgia, serif;
  opacity: 0.6;
  line-height: 0.8;
}
.duo-card--accent .duo-quote-icon {
  color: #fbbfd0;
}
.duo-avatar-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  flex-shrink: 0;
  background: var(--cream-light);
  display: flex; align-items: center; justify-content: center;
}
.duo-avatar-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.duo-avatar-fallback {
  font-size: 1rem; font-weight: 700; color: var(--primary); display: none;
}
.duo-quote {
  font-size: 1.0rem;
  line-height: 1.75;
  color: var(--body-text);
  font-style: italic;
  flex: 1;
  margin-bottom: 28px;
}
.duo-quote strong {
  color: var(--dark); font-style: normal; font-weight: 600;
}
.duo-author {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.duo-name {
  font-weight: 700; font-size: 0.92rem; color: var(--dark);
}
.duo-role {
  font-size: 0.78rem; color: var(--primary);
}
.duo-org {
  font-size: 0.74rem; color: var(--muted);
}

/* ── 3. FEATURE CALLOUT (Dr. Roberts Checklist — below How It Works) ── */
.testimonial-feature-callout {
  padding: 64px 0;
  background: linear-gradient(160deg, #f0f9ff 0%, var(--cream) 100%);
}
.callout-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(17,138,178,0.12);
  overflow: hidden;
  border: 1px solid rgba(17,138,178,0.1);
}
.callout-left {
  padding: 48px 40px;
  position: relative;
}
.callout-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.callout-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, var(--gold), #ffc940);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.callout-badge i { font-size: 0.65rem; }
.callout-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--body-text);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  padding-left: 20px;
}
.callout-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}
.callout-quote strong {
  color: var(--dark); font-style: normal; font-weight: 700;
}
.callout-author {
  display: flex; align-items: center; gap: 14px;
}
.callout-avatar-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-light);
  flex-shrink: 0;
  background: var(--cream-light);
  display: flex; align-items: center; justify-content: center;
}
.callout-avatar-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.callout-avatar-fallback {
  font-size: 1rem; font-weight: 700; color: var(--primary); display: none;
}
.callout-author > div {
  display: flex; flex-direction: column; gap: 1px;
}
.callout-name {
  font-weight: 700; font-size: 0.9rem; color: var(--dark); display: block;
}
.callout-role {
  font-size: 0.77rem; color: var(--primary); display: block;
}
.callout-org {
  font-size: 0.73rem; color: var(--muted); display: block;
}
.callout-right {
  padding: 48px 36px;
  background: linear-gradient(160deg, var(--dark) 0%, #1e2035 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 24px;
}
.callout-stat-number {
  display: block;
  font-size: 4rem; font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  letter-spacing: -0.03em;
}
.callout-stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.callout-divider {
  width: 36px; height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 1px;
}
.callout-feature-tag {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold);
  font-weight: 700; font-size: 0.88rem;
}
.callout-feature-tag i { font-size: 0.85rem; }
.callout-feature-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .duo-grid { grid-template-columns: 1fr; }
  .callout-card { grid-template-columns: 1fr; }
  .callout-left::after { display: none; }
  .callout-right { padding: 32px 28px; }
  .spotlight-author { flex-direction: column; align-items: center; }
  .spotlight-author-info { text-align: center; }
  .duo-card { padding: 28px 22px 22px; }
}

/* ============================================================
   NS TESTIMONIAL CARDS — Faithful Recreation of Success Story Cards
   ============================================================ */

.ns-testimonial-strip {
  padding: 60px 0;
  background: var(--cream-light);
}
.ns-testimonial-strip--tinted {
  background: #EAF4FB; /* matches the light blue from the original cards */
}

.ns-strip-label {
  text-align: center;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

/* Row layout */
.ns-cards-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.ns-cards-row--center {
  justify-content: center;
}

/* The Card itself */
.ns-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 28px 28px;
  width: 340px;
  max-width: 100%;
  box-shadow: 0 4px 28px rgba(17, 138, 178, 0.10), 0 1px 4px rgba(43,45,66,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
  border: 1px solid rgba(17, 138, 178, 0.08);
}
.ns-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(17, 138, 178, 0.16), 0 2px 8px rgba(43,45,66,0.08);
}

/* Circular photo at top — pops above the card */
.ns-card-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #EAF4FB;
  outline: 3px solid var(--primary-light);
  margin-bottom: 18px;
  flex-shrink: 0;
  background: #d6eaf5;
  box-shadow: 0 4px 16px rgba(17,138,178,0.18);
}
.ns-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Open & close quote marks — matching the card design */
.ns-card-open-quote {
  font-size: 3rem;
  line-height: 0.6;
  color: #118AB2;
  font-family: Georgia, 'Times New Roman', serif;
  opacity: 0.55;
  margin-bottom: 14px;
  letter-spacing: -0.05em;
  align-self: flex-start;
}
.ns-card-close-quote {
  font-size: 3rem;
  line-height: 0.6;
  color: #118AB2;
  font-family: Georgia, 'Times New Roman', serif;
  opacity: 0.55;
  margin-top: 18px;
  letter-spacing: -0.05em;
  align-self: flex-end;
}

/* Quote text */
.ns-card-quote {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #3a4a5c;
  font-style: normal;
  text-align: left;
  flex: 1;
  margin: 0;
}
.ns-card-quote strong {
  color: var(--dark);
  font-weight: 700;
}

/* Divider */
.ns-card-divider {
  width: 100%;
  height: 1px;
  background: #ddeef7;
  margin: 20px 0 14px;
}

/* Name & Role */
.ns-card-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.ns-card-role {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .ns-cards-row {
    flex-direction: column;
    align-items: center;
  }
  .ns-card {
    width: 100%;
    max-width: 380px;
  }
}

/* ============================================================
   TNS — TESTIMONIALS MARQUEE SECTION
   ============================================================ */

.tns-section {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #f0f7fc 0%, #e8f4fb 60%, #f0f7fc 100%);
  position: relative;
}

.tns-section .section-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 40px;
}

.tns-section .section-header h2 {
  color: var(--primary);
}

/* ── Marquee outer ───────────────────────────────────────────── */
.tns-marquee-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
}
.tns-marquee-outer:active { cursor: grabbing; }

/* Soft fade edges */
.tns-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.tns-fade--left  { left:  0; background: linear-gradient(to right, #e8f4fb, transparent); }
.tns-fade--right { right: 0; background: linear-gradient(to left,  #e8f4fb, transparent); }

/* Track wrapper */
.tns-track-wrap {
  overflow: visible;
  padding: 20px 0 28px;
}


/* Scrolling track — JS driven */
.tns-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
}
.tns-track.tns-snapping {
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual card */
.tns-item {
  flex-shrink: 0;
  width: 320px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(17,138,178,0.13), 0 1px 4px rgba(43,45,66,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .tns-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(17,138,178,0.2), 0 4px 12px rgba(43,45,66,0.10);
  }
}
.tns-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Shared Nav (prev | dots | next) ─────────────────────────── */
.tns-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  padding: 0 24px;
  /* Desktop: always visible */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Nav buttons */
.tns-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(17,138,178,0.15);
  transition: background 0.2s ease, color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.tns-nav-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.tns-nav-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(17,138,178,0.3);
  transform: scale(1.06);
}
.tns-nav-btn:active {
  background: var(--primary-dark);
  color: #fff;
  transform: scale(0.92);
  box-shadow: 0 2px 8px rgba(17,138,178,0.28);
}

/* Dot indicators */
.tns-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tns-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(17,138,178,0.2);
  border: 1.5px solid rgba(17,138,178,0.28);
  transition: width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease,
              border-color 0.25s ease;
  flex-shrink: 0;
  cursor: pointer;
}
.tns-dot--active {
  width: 28px;
  border-radius: 5px;
  background: var(--primary);
  border-color: var(--primary);
}

/* ── Mobile nav — hidden on desktop ─────────────────────────── */
.tns-mobile-nav {
  display: none;
}

/* ── Mobile — centered card + touch nav ──────────────────────── */
@media (max-width: 768px) {
  .tns-section { padding: 52px 0 44px; }

  /* Narrow fades so card edges show */
  .tns-fade { width: 20px; }

  /* Card fills most of viewport */
  .tns-item {
    width: calc(100vw - 64px);
    max-width: 340px;
  }

  /* Nav bar sits below the marquee track, centered */
  .tns-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding: 0 24px 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .tns-mobile-nav.tns-nav--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Buttons */
  .tns-nav-btn {
    width: 44px;
    height: 44px;
  }
  .tns-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Dots */
  .tns-dot        { width: 8px; height: 8px; }
  .tns-dot--active { width: 22px; }
}
/* Features Section */
.features {
  padding: 6rem 0;
  background: linear-gradient(180deg, #fefdf9 0%, #fdf6e3 100%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 15% 25%,
      rgba(249, 115, 22, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 65%,
      rgba(3, 105, 161, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(185, 28, 28, 0.05) 0%,
      transparent 40%
    );
  z-index: 0;
}

.features .container {
  position: relative;
  z-index: 1;
}

.features-categories {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features-category {
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #118ab2; 
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  display: inline-block;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

/* Category specific styling */
.features-category:nth-child(1) .category-title {
  color: #c2410c; /* Dark Orange */
}

.features-category:nth-child(1) .category-title::after {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.features-category:nth-child(2) .category-title {
  color: #0369a1; /* Dark Teal */
}

.features-category:nth-child(2) .category-title::after {
  background: linear-gradient(90deg, #0369a1, #38bdf8);
}

.features-category:nth-child(3) .category-title {
  color: #b91c1c; /* Dark Red */
}

.features-category:nth-child(3) .category-title::after {
  background: linear-gradient(90deg, #b91c1c, #f87171);
}

.category-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  transition: height 0.3s ease;
  border-radius: 2px 0 0 2px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  height: 100%;
}

/* Category specific card styling */
.features-category:nth-child(1) .feature-card::before {
  background: linear-gradient(180deg, #f97316, #fb923c);
}

.features-category:nth-child(1) .feature-card:hover {
  border-color: #fdba74;
}

.features-category:nth-child(2) .feature-card::before {
  background: linear-gradient(180deg, #0369a1, #38bdf8);
}

.features-category:nth-child(2) .feature-card:hover {
  border-color: #7dd3fc;
}

.features-category:nth-child(3) .feature-card::before {
  background: linear-gradient(180deg, #b91c1c, #f87171);
}

.features-category:nth-child(3) .feature-card:hover {
  border-color: #fca5a5;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: linear-gradient(
    135deg,
    #2563eb,
    #3b82f6
  ); /* Default blue as fallback */
}

/* Category specific icon styling - with increased specificity */
.features-categories
  .features-category:nth-child(1)
  .feature-card
  .feature-icon {
  background: linear-gradient(135deg, #f97316, #fb923c) !important;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.features-categories
  .features-category:nth-child(2)
  .feature-card
  .feature-icon {
  background: linear-gradient(135deg, #0369a1, #38bdf8) !important;
  box-shadow: 0 4px 10px rgba(3, 105, 161, 0.3);
}

.features-categories
  .features-category:nth-child(3)
  .feature-card
  .feature-icon {
  background: linear-gradient(135deg, #b91c1c, #f87171) !important;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.feature-card h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
  opacity: 0;
}

.feature-card:hover h4::after {
  width: 100%;
  opacity: 1;
}

/* Category specific heading styling */
.features-category:nth-child(1) .feature-card:hover h4 {
  color: #c2410c;
}

.features-category:nth-child(1) .feature-card h4::after {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.features-category:nth-child(2) .feature-card:hover h4 {
  color: #0369a1;
}

.features-category:nth-child(2) .feature-card h4::after {
  background: linear-gradient(90deg, #0369a1, #38bdf8);
}

.features-category:nth-child(3) .feature-card:hover h4 {
  color: #b91c1c;
}

.features-category:nth-child(3) .feature-card h4::after {
  background: linear-gradient(90deg, #b91c1c, #f87171);
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
  transition: all 0.3s ease;
}

/* Pricing Section */
.pricing-section {
  margin-top: 5rem;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.2);
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    #f97316,
    #fb923c,
    #0369a1,
    #38bdf8,
    #b91c1c,
    #f87171
  );
  opacity: 0.8;
}

.pricing-section .section-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color:  #118AB2;
  margin-bottom: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: #fefdf9;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #f8f5e6;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(251, 146, 60, 0.1), transparent);
  transition: height 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
  border-color: #fdba74;
}

.pricing-card:hover::after {
  height: 100%;
}

.pricing-icon {
  width: 70px;
  height: 70px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #118AB2;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.pricing-card:hover .pricing-icon {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.pricing-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #118AB2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.pricing-card p {
  color: #64748b;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}


/* Add animation to feature cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animations for feature cards in each category */
.features-category:nth-child(1) .feature-card:nth-child(1) {
  animation: fadeInUp 0.5s ease-out 0.1s both;
}
.features-category:nth-child(1) .feature-card:nth-child(2) {
  animation: fadeInUp 0.5s ease-out 0.2s both;
}
.features-category:nth-child(1) .feature-card:nth-child(3) {
  animation: fadeInUp 0.5s ease-out 0.3s both;
}

.features-category:nth-child(2) .feature-card:nth-child(1) {
  animation: fadeInUp 0.5s ease-out 0.4s both;
}
.features-category:nth-child(2) .feature-card:nth-child(2) {
  animation: fadeInUp 0.5s ease-out 0.5s both;
}
.features-category:nth-child(2) .feature-card:nth-child(3) {
  animation: fadeInUp 0.5s ease-out 0.6s both;
}

.features-category:nth-child(3) .feature-card:nth-child(1) {
  animation: fadeInUp 0.5s ease-out 0.7s both;
}
.features-category:nth-child(3) .feature-card:nth-child(2) {
  animation: fadeInUp 0.5s ease-out 0.8s both;
}
.features-category:nth-child(3) .feature-card:nth-child(3) {
  animation: fadeInUp 0.5s ease-out 0.9s both;
}

/* Responsive styles for features */
@media (max-width: 1024px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-section {
    padding: 2rem;
  }
}

.founders-synergy-full {
    width: 100%; /* Spans the entire screen width */
    padding: 100px 0; /* Vertical breathing room */
    background-color: #f0f4f8; /* Soft clinical blue-grey background */
    text-align: center; /* Centers all text */
}

.synergy-content-wrapper {
    max-width: 1200px; /* Limits text width so it's not too wide to read */
    margin: 0 auto; /* Centers the content block on the page */
    padding: 0 40px; /* Prevents text from touching edges on mobile */
}

.founders-synergy-full h2 {
    font-size: 3rem; /* Larger, more "heroic" font size */
    color: #1a2a3a;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.synergy-body {
    max-width: 900px; /* Slightly narrower than the header for visual balance */
    margin: 0 auto;
    text-align: left; /* Keeps long text readable */
}

.synergy-body p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
}

.synergy-highlight {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border-top: 5px solid #0056b3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-top: 40px;
    font-size: 1.4rem !important;
    color: #1a2a3a !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .founders-synergy-full h2 {
        font-size: 2.2rem;
    }
}/* ==============================================
   CONTACT SECTION — Unified Card Styles
   A premium, cohesive dashboard contact module.
   All values from the site's own design tokens.
   ============================================== */

/* Unified Layout Container */
.contact .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-unified-card {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 1100px;
  background: #ffffff;
  border: 1px solid rgba(17, 138, 178, 0.12);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(43, 45, 66, 0.06), 0 1px 3px rgba(43, 45, 66, 0.02);
  overflow: hidden;
  position: relative;
}

/* Beautiful Accent border on top using image-provided multi-stop gradient */
.contact-unified-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #ff7e40 0%, #cca070 20%, #608c98 40%, #0091db 60%, #8a5a8a 80%, #e85060 100%);
  z-index: 10;
}

/* LHS: Info Panel */
.contact-card-left {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(142, 202, 230, 0.15) 0%, rgba(17, 138, 178, 0.08) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Decorative backdrop glow for LHS */
.contact-card-left::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(142, 202, 230, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-card-left .section-header {
  text-align: left;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.contact-card-left .section-header::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin: 1.5rem 0 0 0; /* align line to left */
}

.contact-card-left .section-header p {
  margin: 0;
  max-width: 95%;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--body-text);
}

/* RHS: Form Panel */
.contact-card-right {
  padding: 3rem 2rem;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .contact-unified-card {
    grid-template-columns: 4.5fr 5.5fr;
  }

  .contact-card-left {
    padding: 4.5rem 4rem;
  }

  .contact-card-right {
    padding: 4.5rem 4rem;
    border-left: 1px solid rgba(17, 138, 178, 0.08);
  }
}

/* Heading styled with official brand primary color, like before */
.contact-heading {
  color: var(--primary) !important;
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .contact-heading {
    font-size: 2.2rem;
  }
}

.contact-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.8rem;
  background: rgba(17, 138, 178, 0.08);
  border: 1px solid rgba(17, 138, 178, 0.15);
  border-radius: var(--radius-lg);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-email-chip i {
  color: var(--primary);
  font-size: 1.1rem;
  background: rgba(17, 138, 178, 0.12);
  padding: 0.6rem;
  border-radius: 50%;
}

.contact-email-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(17, 138, 178, 0.15);
  border-color: var(--primary);
  background: rgba(17, 138, 178, 0.12);
}

/* Two inputs side by side */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Form groups */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

/* Input Wrappers */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon.align-top {
  align-items: flex-start;
}

.input-with-icon i {
  position: absolute;
  left: 1.2rem;
  color: #94a3b8;
  transition: var(--transition);
  font-size: 1.1rem;
}

.input-with-icon.align-top i {
  top: 1.2rem;
}

/* Inputs & Textareas using slate off-white backgrounds */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3.2rem;
  border: 2px solid rgba(17, 138, 178, 0.05);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  background: #f8fafc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02) inset;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Focus States in Brand Blue */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(17, 138, 178, 0.15), 0 2px 5px rgba(17, 138, 178, 0.02);
}

.input-with-icon:focus-within i {
  color: var(--primary);
}

/* Submit button with sunset brand accent gradient, matching the Request Demo button */
.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 1.6rem;
  margin-top: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent-dark) 100%);
  background-size: 200% auto;
  color: white;
  box-shadow: 0 2px 8px rgba(43,45,66,0.08);
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.contact-submit-btn:hover {
  background-position: right center;
  box-shadow: 0 6px 16px rgba(43,45,66,0.12);
  color: white;
}

.contact-submit-btn:hover::before {
  left: 150%;
}

.contact-submit-btn i {
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
  animation: paperPlaneFly 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes paperPlaneFly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  35% {
    transform: translate(20px, -20px) scale(0.7);
    opacity: 0;
  }
  38% {
    transform: translate(-20px, 20px) scale(0.7);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

/* Success state in Brand Blue */
.form-success-state {
  text-align: center;
  padding: 3rem 1rem;
}

.form-success-state .success-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: block;
}

.form-success-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-success-state p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Override and clean main stylesheet's .contact-form leaks */
.contact-form {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.contact-form::before {
  display: none !important;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .contact-card-left,
  .contact-card-right {
    padding: 2.5rem 1.25rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-email-chip {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    gap: 0.5rem;
  }

  .contact-email-chip i {
    padding: 0.45rem;
    font-size: 0.95rem;
  }
}

/* ── Form validation UI improvements ── */
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--accent) !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 4px rgba(239, 71, 111, 0.1), 0 2px 5px rgba(239, 71, 111, 0.02) !important;
}

.form-group.has-error .input-with-icon i {
  color: var(--accent) !important;
}

.form-group.has-error label {
  color: var(--accent) !important;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  animation: fadeInError 0.2s ease-out;
}

.error-message i {
  font-size: 0.85rem;
  position: static !important;
  color: inherit !important;
  padding: 0 !important;
  background: none !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.form-group.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================
   PRICING SECTION EXTRA STYLES
   ============================================ */
.pricing-section .section-header h3 i {
  margin-right: 10px;
  color: var(--primary);
  font-size: 1.1em;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}
/* ============================================
   TEAM SECTION
   ============================================ */
.about-team {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.about-team h3 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Dedicated Team Section */
.team {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white) 0%, #e8f4f8 50%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(17,138,178,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.team::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(138,201,200,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.team .container { position: relative; z-index: 1; }

.team .section-header h2 { color: var(--primary); }

.team .section-header::after {
  background: linear-gradient(90deg, var(--primary), var(--aqua));
}

.team-grid,
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
  align-items: stretch;
}

.team-member {
  flex: 1 1 350px;
  max-width: 450px;
  /* min-height: 100%; */
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(17,138,178,0.08);
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(17,138,178,0.2);
}

.team-member-photo {
  background: linear-gradient(135deg, rgba(17,138,178,0.06) 0%, rgba(138,201,200,0.1) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 230px;
  width: 100%;
  flex-shrink: 0;
 
}

.team-member-photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(17,138,178,0.2);
  display: block;
  margin: 0 auto;
  transition: transform 0.5s ease;
  border: 4px solid var(--white);
}

.team-member:hover .team-member-photo img { transform: scale(1.05); }

.team-member-info {
  padding: 2rem;
  text-align: center;
  background-color: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-member h4 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.team-member-title {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.team-member-bio {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.6;
  margin-top: 1rem;
  text-align: left;
  list-style: disc;
  list-style-position: outside;
  padding-left: 1.25rem;
  flex-grow: 1;
}

.team-member-bio li {
  margin-bottom: 0.5rem;
}

.team-member-bio li:last-child {
  margin-bottom: 0;
}

.team-member-bio li.social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  list-style: none;
}

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(17,138,178,0.08);
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.social-link i { font-size: 18px; line-height: 1; }

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(17,138,178,0.3);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,1px,1px);
  white-space: nowrap;
  border: 0;
}

.team-member-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}


@media (max-width: 768px) {
  .team-grid,
  .team-members {
    flex-direction: column;
    align-items: center;
  }

  .team-member { 
    width: 100%; 
    max-width: 100%; 
    flex: 1 1 auto;
    height: auto;
    min-height: auto; 
    overflow: hidden;
  }
  
  .team-member-photo { 
    height: 200px; 
  }
  
  .team-member-photo img { 
    width: 140px; 
    height: 140px; 
  }
  
  .team { padding: 4rem 0; }
}/* ==========================================================================
   SECURITY & TRUST SECTION STYLES
   ========================================================================== */

.security {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f2f9fb 100%);
  position: relative;
  overflow: hidden;
}

.security::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(17, 138, 178, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(138, 201, 200, 0.04) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}

.security .container {
  position: relative;
  z-index: 1;
}

/* Section Header Custom Accent */
.security .section-header h2 {
  color: var(--primary);
}

/* Security Grid Layout */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* Premium Card Design */
.security-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(17, 138, 178, 0.1);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease,
              background-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.security-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px rgba(17, 138, 178, 0.08);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.security-card:hover {
  transform: translateY(-10px);
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.security-card:hover::after {
  opacity: 1;
}

/* Security Card Icon styling */
.security-icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  background: linear-gradient(135deg, rgba(17, 138, 178, 0.1) 0%, rgba(138, 201, 200, 0.15) 100%);
  color: var(--primary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.4s ease,
              color 0.4s ease;
}

.security-icon-container i {
  font-size: 2.25rem;
  transition: transform 0.3s ease;
}

/* Micro-interaction: scale/rotate icon on card hover */
.security-card:hover .security-icon-container {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.security-card:hover .security-icon-container i {
  transform: rotate(5deg);
}

/* Card Typography */
.security-card h3 {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.security-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body-text);
  margin-bottom: 0;
}

/* Footnote styling */
.security-footnote-container {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px dashed rgba(17, 138, 178, 0.2);
  text-align: center;
}

.security-footnote {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

.security-footnote strong {
  font-style: normal;
  color: var(--dark-mid);
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .security {
    padding: 5rem 0;
  }
  .security-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
  .security-card {
    padding: 2.5rem 1.75rem;
  }
  .security-footnote-container {
    padding-top: 1.5rem;
  }
}
