/* ============================================================
   TUTORIFFIC — STYLES.CSS
   Premium Test Prep Tutoring | Modern Medical Ed Aesthetic
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2e45;
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --green: #10b981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  font-size: 1.05rem;
  color: var(--gray-600);
}

/* ---------- Utility ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--light {
  background: var(--off-white);
}

.section--dark {
  background: var(--navy);
}

.badge {
  display: inline-block;
  background: rgba(26, 86, 219, 0.1);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge--gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag {
  background: rgba(26, 86, 219, 0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.35);
}

.btn--primary:hover {
  background: #1748c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 86, 219, 0.45);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn--gold:hover {
  background: #e08e08;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

.btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__contact {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  text-align: right;
  line-height: 1.4;
}

.header__contact a {
  color: var(--gold-light);
  font-weight: 600;
}

.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.ham span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3558 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero__eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero__eyebrow-text {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.hero__trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.hero__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.hero__card-title {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__card-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.exam-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exam-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: var(--transition);
}

.exam-list li:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(26, 86, 219, 0.4);
}

.exam-list__name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.exam-list__pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.hero__card-cta {
  margin-top: 20px;
  display: block;
  text-align: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.hero__card-cta:hover {
  background: #e08e08;
  transform: translateY(-2px);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--blue);
  padding: 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.stat-item__number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-item__number em {
  color: var(--gold-light);
  font-style: normal;
}

.stat-item__label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   ABOUT / WHY
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.about__img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.about__badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.about__badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.about__badge-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.about__badge-text span {
  font-size: 0.78rem;
  color: var(--gray-600);
}

.about__content h2 {
  margin-bottom: 16px;
  color: var(--navy);
}

.about__content p {
  margin-bottom: 24px;
}

/* Feature list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-list__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(26, 86, 219, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.feature-list__text strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.feature-list__text span {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.services__header h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.12), rgba(59, 130, 246, 0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-card__link:hover {
  gap: 10px;
}

.service-card__link svg {
  transition: var(--transition);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.how__header h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.how__header p {
  color: rgba(255, 255, 255, 0.65);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.how__steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue));
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step__num {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 4px 24px rgba(26, 86, 219, 0.4);
  position: relative;
  z-index: 2;
}

.step__icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.step h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.step p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.testimonials__header h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.7;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.testi-author__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.testi-author__label {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.testi-google {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 600;
}

.google-g {
  background: linear-gradient(135deg, #4285F4, #34A853, #FBBC04, #EA4335);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  font-size: 0.9rem;
}

/* ============================================================
   TRUST SECTION (Why Choose Us)
   ============================================================ */
.trust__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.trust__header h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.trust-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}

.trust-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.trust-card__icon--blue {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(59, 130, 246, 0.08));
}

.trust-card__icon--gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(252, 211, 77, 0.08));
}

.trust-card__icon--green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(52, 211, 153, 0.06));
}

.trust-card__icon--navy {
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.08), rgba(27, 46, 69, 0.06));
}

.trust-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
}

.trust-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.faq__header h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.faq__header p {
  color: rgba(255, 255, 255, 0.6);
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid rgba(245, 158, 11, 0.25);
  /* subtle gold left stripe */
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: rgba(245, 158, 11, 0.6);
}

.faq-item.open {
  background: rgba(245, 158, 11, 0.07);
  /* warm gold tint when open */
  border-color: rgba(245, 158, 11, 0.35);
  border-left-color: var(--gold);
  /* solid gold left stripe */
  box-shadow: 0 4px 28px rgba(245, 158, 11, 0.12),
    /* gold glow */
    inset 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 20px 22px;
  /* slightly reduced left pad to account for border-left */
  cursor: pointer;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 1rem;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s;
}

.faq-item__q:hover {
  color: var(--gold-light);
}

.faq-item.open .faq-item__q {
  color: var(--white);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s;
  color: rgba(255, 255, 255, 0.35);
  stroke: currentColor;
}

.faq-item:hover .faq-chevron {
  color: var(--gold-light);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s;
  padding: 0 24px 0 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.open .faq-item__a {
  max-height: 320px;
  padding: 0 24px 22px 22px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1748c4 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='2' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-800);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand .logo {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__contact-item {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer__contact-item a:hover {
  color: var(--gold);
}

.footer__col-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__glow {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .how__steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how__steps::before {
    display: none;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .nav {
    display: none;
  }

  .ham {
    display: flex;
  }

  .header__contact {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner__actions .btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  .stats__inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* Mobile nav open state (toggled by _shared.js) */
.nav--mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(13, 27, 42, 0.98);
  padding: 16px 24px;
  gap: 4px;
  z-index: 999;
}

/* ============================================================
   INNER PAGE — Hero (shorter than homepage)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 70%, #1a3558 100%);
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='30' cy='30' r='2' fill='%23ffffff' fill-opacity='0.025'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================================================
   INNER PAGE — Content sections
   ============================================================ */
.content-section {
  padding: 80px 0;
}

.content-section--alt {
  background: var(--off-white);
}

.content-section--dark {
  background: var(--navy);
}

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.section-title {
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title--light {
  color: var(--white);
}

.section-intro {
  color: var(--gray-600);
  margin-bottom: 32px;
}

.section-intro--light {
  color: rgba(255, 255, 255, 0.65);
}

/* Topic grid (subjects covered) */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.topic-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

.topic-card__icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.topic-card h4 {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.topic-card p {
  font-size: 0.83rem;
  color: var(--gray-600);
  margin: 0;
}

/* Score breakdown */
.score-bar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.score-bar__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.score-bar__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.score-bar__pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

.score-bar__track {
  height: 8px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar__fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog card */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.blog-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 22px;
}

.blog-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.blog-card__meta {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* Form styles (signup page) */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* Legal / policy pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--navy);
  margin: 36px 0 12px;
  font-size: 1.3rem;
}

.legal-content p {
  color: var(--gray-600);
  margin-bottom: 14px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-content ul {
  color: var(--gray-600);
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content ul li {
  margin-bottom: 6px;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}

.animate-up:nth-child(1) {
  animation-delay: 0.05s;
}

.animate-up:nth-child(2) {
  animation-delay: 0.15s;
}

.animate-up:nth-child(3) {
  animation-delay: 0.25s;
}

.animate-up:nth-child(4) {
  animation-delay: 0.35s;
}

/* Intersection observer driven reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}