/* ============================================================
   SAPIENCE EDU CONNECT — LANDING PAGE STYLES
   Colors: Blue (#1a56db, #3b82f6), Yellow (#f59e0b), White
   Font: Plus Jakarta Sans + Space Grotesk
   ============================================================ */

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

:root {
  --blue-dark:   #1a3af5;
  --blue:        #1a56db;
  --blue-light:  #3b82f6;
  --cyan:        #06b6d4;
  --yellow:      #f59e0b;
  --yellow-light:#fbbf24;
  --white:       #ffffff;
  --bg:          #f8faff;
  --bg-dark:     #0d1117;
  --text:        #0f172a;
  --text-muted:  #64748b;
  --glass-bg:    rgba(255,255,255,0.7);
  --glass-border:rgba(255,255,255,0.4);
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 4px 32px rgba(26,86,219,0.10);
  --shadow-lg:   0 8px 48px rgba(26,86,219,0.18);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f8faff;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── UTILITIES ──────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26,86,219,0.12), rgba(6,182,212,0.12));
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(26,86,219,0.2);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-dark), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-yellow {
  background: linear-gradient(135deg, var(--yellow), #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a56db;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(26,54,245,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,54,245,0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.45);
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

.pulse-btn { animation: pulse 2.8s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(26,54,245,0.35); }
  50%       { box-shadow: 0 4px 40px rgba(26,54,245,0.6), 0 0 0 8px rgba(26,54,245,0.1); }
}

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 72px; width: auto; object-fit: contain; }
.nav-cta { font-size: 0.9rem; padding: 0.65rem 1.5rem; }

/* ── URGENCY BAR ────────────────────────────────────── */
.urgency-bar {
  background: linear-gradient(90deg, var(--yellow), #fb923c, var(--yellow));
  background-size: 200%;
  animation: shimmer 3s infinite;
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 999;
  margin-top: 80px;
}
@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1117 0%, #0f2a6e 50%, #0d1117 100%);
  padding: 8rem 0 4rem;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1a56db, transparent 70%);
  top: -100px; left: -100px;
  animation: float1 8s ease-in-out infinite;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: -80px; right: -80px;
  animation: float2 10s ease-in-out infinite;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b, transparent 70%);
  top: 40%; left: 60%;
  opacity: 0.2;
  animation: float1 12s ease-in-out infinite reverse;
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(30px, -30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(-20px, 20px); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.trust-badge i { color: var(--yellow-light); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
}
.bounce { animation: bounce 2s infinite; }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* ── ABOUT ──────────────────────────────────────────── */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.about-card {
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.about-card:hover::before { opacity: 1; }

.about-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.about-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.about-card p  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* ── BENEFITS ───────────────────────────────────────── */
.benefits {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f5ff 100%);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 2px 16px rgba(26,86,219,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(26,86,219,0.06);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit-icon-wrap {
  width: 54px; height: 54px;
  background: color-mix(in srgb, var(--color) 15%, white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color);
  font-size: 1.4rem;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; }
.benefit-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── WHO CAN APPLY ──────────────────────────────────── */
.who-apply { background: var(--bg); }
.who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}
.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.who-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 500;
}
.who-list i { color: #10b981; font-size: 1.1rem; flex-shrink: 0; }

.who-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.who-stat {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: #fff;
}
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  display: block;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  background: rgba(26,86,219,0.08);
  color: var(--blue);
  border: 1px solid rgba(26,86,219,0.18);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

/* ── HOW IT WORKS ───────────────────────────────────── */
.how-it-works { background: linear-gradient(135deg, #0d1117, #0f2a6e); }
.how-it-works .section-tag, .how-it-works .section-title { color: #fff; }
.how-it-works .section-sub { color: rgba(255,255,255,0.65); }
.how-it-works .section-title { color: #fff; }

.steps-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.steps-line {
  display: none;
}

.step { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  line-height: 1;
}
.step-content {
  padding: 1.75rem;
  text-align: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  width: 100%;
}
.step-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-dark), var(--cyan));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.step-content h3 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.step-content p  { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.65; }

/* ── TESTIMONIALS ───────────────────────────────────── */
.testimonials { background: linear-gradient(135deg, #f0f4ff, #e8f5ff); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-6px); }
.testi-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; }
.testi-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; font-style: italic; }
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.93rem; }
.testi-author span   { font-size: 0.8rem; color: var(--text-muted); }

/* ── APPLY SECTION ──────────────────────────────────── */
.apply-section {
  background: linear-gradient(135deg, #0f2a6e 0%, #0d1117 50%, #0f2a6e 100%);
  position: relative;
  overflow: hidden;
}
.apply-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.apply-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
  align-items: start;
}

.apply-left { padding-top: 1rem; }
.apply-left .section-tag { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.3); color: var(--yellow-light); }

.apply-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.apply-perk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}
.apply-perk i { color: #10b981; }

.form-security {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-security i { color: #10b981; }

/* FORM */
.apply-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 60px rgba(0,0,0,0.3);
}

.form-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  padding: 1.75rem 2rem;
  color: #fff;
}
.form-header h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.2rem; }
.form-header p  { font-size: 0.85rem; opacity: 0.8; }

.apply-form { padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-group label i { color: var(--blue); font-size: 0.8rem; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: #f8faff;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  background: #fff;
}
.form-group input.error,
.form-group select.error { border-color: #ef4444; }

/* ── File upload ── */
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8faff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.file-upload-label i { font-size: 1.6rem; color: var(--blue-light); }
.file-upload-label:hover { border-color: var(--blue-light); background: #eff6ff; }
.file-upload-label.has-file { border-color: #10b981; background: #f0fdf4; color: #065f46; }
.file-upload-label.has-file i { color: #10b981; }

.field-error {
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 1rem;
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.check-item:hover { background: rgba(59,130,246,0.07); }
.check-item input[type="checkbox"] { accent-color: var(--blue); width: 15px; height: 15px; }

/* Radio group */
.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  transition: all 0.2s;
}
.radio-item:has(input:checked) {
  border-color: var(--blue);
  background: rgba(59,130,246,0.08);
  color: var(--blue);
}
.radio-item input { accent-color: var(--blue); }

/* Submit */
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: #1a56db;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(26,54,245,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,54,245,0.45); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.form-note i { color: #10b981; }

/* Form success */
.form-success {
  padding: 4rem 2rem;
  text-align: center;
}
.success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
  animation: pop 0.5s ease-out;
}
@keyframes pop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.form-success p  { color: var(--text-muted); line-height: 1.7; }
.form-success a  { color: var(--blue); font-weight: 600; }

/* ── FINAL CTA ──────────────────────────────────────── */
.final-cta { background: linear-gradient(135deg, #0d1117, #0f2a6e); }
.final-cta-inner {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-orb1 {
  width: 300px; height: 300px;
  background: rgba(26,86,219,0.3);
  top: -100px; left: -100px;
}
.cta-orb2 {
  width: 250px; height: 250px;
  background: rgba(6,182,212,0.2);
  bottom: -80px; right: -80px;
}
.final-cta .section-title { color: #fff; }
.cta-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.cta-info span { display: flex; align-items: center; gap: 0.4rem; }
.cta-info i { color: var(--yellow); }

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  background: #070d1a;
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo { height: 90px; width: auto; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.88rem; margin: 0.3rem 0; }
.footer-brand a { color: var(--yellow-light); text-decoration: none; font-size: 0.88rem; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.social-btn:hover { transform: translateY(-3px); opacity: 0.85; }
.social-btn.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-btn.linkedin  { background: #0a66c2; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.footer-bottom-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-bottom-socials .social-btn {
  width: auto;
  height: auto;
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── FLOATING BUTTONS ───────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 5.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: rgba(37,211,102,0.15);
  border: 1.5px solid rgba(37,211,102,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: none;
  z-index: 700;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  animation: none;
}
.whatsapp-btn:hover { opacity: 1; transform: scale(1.05); }

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 0.85rem 1.5rem;
  z-index: 800;
  display: none;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
}
.sticky-cta .btn-primary { font-size: 0.95rem; padding: 0.8rem 1.5rem; }

.btn-whatsapp-sticky {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: #25D366;
  border-radius: 12px;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(37,211,102,0.35);
}

/* ── ANIMATIONS ─────────────────────────────────────── */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.7s ease forwards; }
.animate-slide-up { opacity: 0; transform: translateY(40px); animation: fadeUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .who-inner { grid-template-columns: 1fr; }
  .apply-inner { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── MOBILE FIRST — primary target ─────────────────── */
@media (max-width: 640px) {
  /* Base */
  html { font-size: 14px; }
  .container { padding: 0 0.85rem; }
  .section-pad { padding: 2.25rem 0; }

  /* Section headings */
  .section-title { font-size: 1.5rem; }
  .section-sub   { font-size: 0.9rem; margin-bottom: 1.5rem; }

  /* ── Navbar ── */
  .navbar { padding: 0.6rem 0; }
  .navbar.scrolled { padding: 0.5rem 0; }
  .logo-img { height: 50px; }
  .nav-cta  { font-size: 0.82rem; padding: 0.55rem 1.1rem; }

  /* ── Urgency bar ── */
  .urgency-bar {
    font-size: 0.72rem;
    padding: 0.55rem 0.75rem;
    line-height: 1.4;
    margin-top: 68px;
  }

  /* ── Hero ── */
  .hero { padding: 5.5rem 0 3.5rem; min-height: auto; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.9rem; }
  .hero-title { font-size: 1.9rem; line-height: 1.2; margin-bottom: 1rem; }
  .hero-sub   { font-size: 0.95rem; margin-bottom: 1.75rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 2rem; }
  .btn-lg { width: 100%; justify-content: center; padding: 0.95rem 1.5rem; font-size: 1rem; }
  .hero-trust { gap: 0.5rem; }
  .trust-badge { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
  .orb1 { width: 280px; height: 280px; }
  .orb2 { width: 220px; height: 220px; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .about-card { padding: 1.1rem; }
  .about-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 10px; }
  .about-card h3 { font-size: 0.9rem; }
  .about-card p  { font-size: 0.82rem; }

  /* ── Benefits ── */
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .benefit-card  { padding: 1rem; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .benefit-icon-wrap { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; }
  .benefit-card h3 { font-size: 0.88rem; margin-bottom: 0.2rem; }
  .benefit-card p  { font-size: 0.8rem; }

  /* ── Who can apply ── */
  .who-inner  { padding: 1.5rem; gap: 1.5rem; }
  .who-list li { font-size: 0.92rem; }
  .who-stat-grid { gap: 0.75rem; }
  .who-stat   { padding: 1rem; }
  .stat-num   { font-size: 1.6rem; }
  .who-tags   { gap: 0.4rem; }
  .tag        { font-size: 0.75rem; padding: 0.25rem 0.65rem; }

  /* ── Steps ── */
  .steps-container { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .step-num   { font-size: 1.6rem; }
  .step-content { padding: 1rem; }
  .step-icon  { width: 38px; height: 38px; font-size: 1rem; }
  .step-content h3 { font-size: 0.9rem; }
  .step-content p  { font-size: 0.8rem; }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .testi-card { padding: 1.1rem; }
  .testi-card p { font-size: 0.88rem; }

  /* ── Apply section ── */
  .apply-inner  { grid-template-columns: 1fr; gap: 1rem; }
  .apply-left   { display: none; }
  .apply-form-wrap { border-radius: 14px; }
  .form-header  { padding: 1rem 1rem 0.75rem; }
  .form-header h3 { font-size: 1rem; }
  .form-header p  { font-size: 0.8rem; }
  .apply-form   { padding: 1rem; gap: 0.85rem; }
  .form-row     { grid-template-columns: 1fr; gap: 0.85rem; }

  /* Touch-friendly inputs — 16px prevents iOS zoom */
  .form-group input,
  .form-group select {
    padding: 0.8rem 0.9rem;
    font-size: 16px;
    border-radius: 10px;
  }
  .form-group label { font-size: 0.85rem; margin-bottom: 0.25rem; }
  .file-upload-label { padding: 1rem; font-size: 0.84rem; }
  .file-upload-label i { font-size: 1.3rem; }

  /* Checkboxes — 2 columns on mobile */
  .checkbox-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .check-item {
    font-size: 0.88rem;
    padding: 0.5rem 0.6rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8faff;
  }
  .check-item:has(input:checked) {
    border-color: var(--blue);
    background: rgba(59,130,246,0.07);
    color: var(--blue);
  }

  /* Radio buttons — pill style, easier to tap */
  .radio-group  { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .radio-item   {
    flex: 1;
    min-width: 80px;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.65rem 0.75rem;
    text-align: center;
  }

  /* Submit button — big and thumb-friendly */
  .btn-submit {
    padding: 1.1rem;
    font-size: 1.05rem;
    border-radius: 14px;
    margin-top: 0.25rem;
  }

  /* ── Final CTA ── */
  .final-cta-inner { padding: 2.5rem 1.25rem; border-radius: 16px; }
  .cta-info { flex-direction: column; gap: 0.4rem; font-size: 0.8rem; }

  /* ── Footer ── */
  .footer { padding: 2rem 0 5.5rem; } /* extra bottom for sticky CTA */
  .footer-inner  { flex-direction: column; gap: 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; font-size: 0.78rem; }
  .footer-logo   { height: 52px; }
  .footer-links  { flex-direction: row; flex-wrap: wrap; gap: 0.6rem 1.25rem; }

  /* ── Sticky CTA — always show on mobile ── */
  .sticky-cta {
    display: flex !important;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    align-items: center;
  }
  .sticky-cta .btn-primary {
    font-size: 0.97rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  /* ── WhatsApp — bigger, lower above sticky bar ── */
  .whatsapp-btn {
    bottom: 4.5rem;
    right: 1rem;
    width: 52px; height: 52px;
    font-size: 1.5rem;
  }

  /* ── Scroll hint hidden on mobile ── */
  .hero-scroll-hint { display: none; }
}
}

@media (max-width: 480px) {
  .urgency-bar { font-size: 0.75rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

.form-error-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .orb1, .orb2, .cta-orb1, .cta-orb2 { display: none; }
}
