 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --green: #1a5c3a;
    --green-mid: #2d7a52;
    --green-light: #e8f5ee;
    --green-accent: #3dba74;
    --gold: #c9982a;
    --gold-light: #fdf5e0;
    --cream: #faf7f2;
    --dark: #141a14;
    --text: #2a2a2a;
    --muted: #6b6b6b;
    --border: #e0ddd6;
    --white: #F9F9F7;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'Figtree', sans-serif; color: var(--text); background: var(--cream); line-height: 1.6; overflow-x: hidden; }

  /* NAV */
  nav {
    background: var(--dark);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}
  .nav-links { display: flex; gap: 0.75rem; }
  .nav-btn {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s;
  }
  .nav-btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
  .nav-btn-outline:hover { border-color: var(--green-accent); color: var(--green-accent); }
  .nav-btn-fill { background: var(--green-accent); color: var(--dark); border: none; }
  .nav-btn-fill:hover { background: #4fd688; }

  /* HERO */
  /* HERO */
  .hero {
    background: var(--dark);
    color: var(--white);
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
  }
  .hero-left {
  padding: 0.35rem 3rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
  .hero-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 60%, rgba(61,186,116,0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
  }
  .hero-right {
    position: relative;
    overflow: hidden;
  }
  .hero-mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
  }
  .mosaic-cell {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 0.72rem;
    text-align: center;
    position: relative;
  }
  .mosaic-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mosaic-cell.tall { grid-row: span 2; }
  .mosaic-cell.wide { grid-column: span 2; }
  /* Dark overlay fading left edge into hero bg */
  .hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--dark) 0%, transparent 30%);
    pointer-events: none;
    z-index: 1;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(61,186,116,0.15);
    border: 1px solid rgba(61,186,116,0.3);
    color: var(--green-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    width: fit-content;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 3.8vw, 3.6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
  }
  .hero h1 .accent { color: var(--green-accent); }
  .hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 440px;
  }
  .hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: nowrap;
  align-items: center;
}
  .btn-primary {
    background: var(--green-accent);
    color: var(--dark);
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
  padding: 0.78rem 1.55rem;
  border-radius: 8px;
    border: none;
    
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, background 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { background: #4fd688; transform: translateY(-1px); }
  .btn-secondary {
    background: transparent;
    color: var(--white);
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    
    border: 1.5px solid rgba(255,255,255,0.3);
    font-size: 0.95rem;
  padding: 0.78rem 1.55rem;
  border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
  }
  .btn-secondary:hover { border-color: var(--green-accent); color: var(--green-accent); }

  .hero-actions a {
  white-space: nowrap;
}

  /* SHARED SECTION */
  section { padding: 5.5rem 2rem; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-mid); margin-bottom: 0.75rem; }
  .section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--dark); margin-bottom: 1.1rem; }
  .section-body { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 640px; }
  .section-body p { margin-bottom: 1rem; }
  .section-body p:last-child { margin-bottom: 0; }

  /* WHY THIS EXISTS */
  .why-section { background: var(--white); }
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 0.05rem; }
  .why-image {
    background: var(--green-light);
    border-radius: 16px;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--green-mid);
    font-size: 0.85rem;
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .why-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
  .why-highlight {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--green-light);
    border-left: 4px solid var(--green-accent);
    border-radius: 0 10px 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--green);
    line-height: 1.55;
  }

  .form-section-block,
.submit-btn,
input,
textarea,
select{
will-change: transform;
}

  /* CHOOSE PATH */
  .path-section { background: var(--dark); color: var(--white); }
  .path-section .section-tag { color: var(--green-accent); }
  .path-section .section-title { color: var(--white); }
 .path-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
  .path-card {
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
  }
  .path-card:hover { transform: translateY(-4px); }
  .path-card.grant {
    background: rgba(61,186,116,0.08);
    border: 1px solid rgba(61,186,116,0.25);
  }
  .path-card.relief {
    background: rgba(201,152,42,0.08);
    border: 1px solid rgba(201,152,42,0.25);
  }
  .path-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    width: fit-content;
  }
  .path-card.grant .path-pill { background: rgba(61,186,116,0.2); color: var(--green-accent); }
  .path-card.relief .path-pill { background: rgba(201,152,42,0.2); color: var(--gold); }
  .path-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
  .path-card .desc { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 1.5rem; }
  .support-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
  .support-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
  .support-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
  .path-card.grant .support-list li::before { background: var(--green-accent); }
  .path-card.relief .support-list li::before { background: var(--gold); }
  .path-cta {
    margin-top: auto;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    text-align: center;
    display: block;
  }
  .path-card.grant .path-cta { background: var(--green-accent); color: var(--dark); }
  .path-card.relief .path-cta { background: var(--gold); color: var(--dark); }
  .path-cta:hover { opacity: 0.9; transform: translateY(-1px); }

  /* WHO IT'S FOR */
  .who-section { background: var(--cream); }
  .who-grid-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
  .edu-tags { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.75rem; }
  .edu-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    transition: border-color 0.2s;
  }
  .edu-tag:hover { border-color: var(--green-accent); }
  .edu-tag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-accent); flex-shrink: 0; }
  .who-image-right {
    background: var(--green-light);
    border-radius: 16px;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--green-mid);
    font-size: 0.85rem;
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .who-image-right img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }

  /* LONG TERM */
  .longterm-section { background: var(--white); }
  .longterm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .lt-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .lt-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
  .lt-icon {
    width: 48px; height: 48px;
    background: var(--green-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .lt-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
  .lt-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

  /* FINAL CTA */
  .final-section {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
  overflow: hidden;
  background: var(--green);
}

.final-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/career.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  z-index: 0;
}

.final-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26,92,58,0.78);
  z-index: 1;
}

.final-section .section-inner {
  position: relative;
  z-index: 2;
}
  .final-section .section-title { color: var(--white); max-width: 600px; margin-left: auto; margin-right: auto; }
  .final-section .section-body { color: rgba(255,255,255,0.7); margin-left: auto; margin-right: auto; text-align: center; }
  .final-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
  .btn-white {
    background: var(--white);
    color: var(--green);
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2.25rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.2s;
    display: inline-block;
  }
  .btn-white:hover { opacity: 0.92; transform: translateY(-1px); }
  .btn-ghost-white {
    background: transparent;
    color: var(--white);
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.25rem;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s;
    display: inline-block;
  }
  .btn-ghost-white:hover { border-color: rgba(255,255,255,0.9); }

  /* FOOTER */
  footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.88rem;
    line-height: 1.7;
  }
  footer strong { color: var(--green-accent); font-weight: 600; }

  /* PHOTO ICON */
  .ph-icon { opacity: 0.35; }

 @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 1.5rem 1.3rem 1.6rem; }
    .hero-right { height: 280px; position: relative; }
    .why-grid, .who-grid-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .path-grid { grid-template-columns: 1fr; }
    .longterm-grid { grid-template-columns: 1fr; }
    .why-image, .who-image-right { aspect-ratio: 16/7; }
    .nav-links .nav-btn-outline { display: none; }
    .hero h1 {
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

  }
  @media (max-width: 600px) {
    section { padding: 3.5rem 1.25rem; }
   .hero { padding: 0; }
    nav { padding: 1rem 1.25rem; }
    .longterm-section > div:last-child {
  padding: 3rem 1.25rem !important;
}
  }

  .footer-logo {
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }
}

.mobile-text { display: none; }

@media (max-width: 768px) {
  .desktop-text { display: none; }
  .mobile-text { display: inline; }
}
@media (max-width: 900px) {
  .hero-right {
    height: 45vw;
    min-height: 260px;
    max-height: 380px;
  }
}

@media (max-width: 420px) {
  .nav-logo img {
    height: 38px;
  }

  .nav-btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
  }

  nav {
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 700px) {
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-actions a {
    width: 100%;
    text-align: center;
  }
}


  /* FORM HEADER */
 .form-header {
background:
linear-gradient(135deg,#101710 0%,#1a5c3a 100%);
color: var(--white);
padding: 5rem 2rem 4rem;
position: relative;
overflow: hidden;
}
  .form-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(61,186,116,0.1) 0%, transparent 60%);
    pointer-events: none;
  }
  .form-header-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
  .form-header-pill {
    display: inline-block;
    background: rgba(61,186,116,0.15);
    border: 1px solid rgba(61,186,116,0.3);
    color: var(--green-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
  }
  .form-header h1 {
font-size: clamp(2.1rem,4vw,3.4rem);
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1.05;
margin-bottom: 1rem;
}
  .form-header p { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 580px; }

  /* PROGRESS */
 .progress-bar {
background: rgba(255,255,255,.92);
backdrop-filter: blur(14px);
border-bottom:1px solid rgba(0,0,0,.05);
padding:1rem 2rem;
position:sticky;
top:0;
z-index:99;
}
  .progress-inner { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 0.5rem; }
  .progress-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    flex-shrink: 0;
  }
  .progress-step.active { color: var(--green); }
  .progress-step.done { color: var(--green-accent); }
  .step-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    flex-shrink: 0;
  }
  .progress-step.active .step-dot { background: var(--green); color: var(--white); }
  .progress-step.done .step-dot { background: var(--green-accent); color: var(--dark); }
  .step-divider { flex: 1; height: 1px; background: var(--border); min-width: 12px; }

  /* MAIN FORM */
  .form-main {
padding:3rem 2rem 5rem;
background:
radial-gradient(circle at top right, rgba(61,186,116,.06), transparent 35%);
}
.form-body {
  max-width: 980px; /* Increased from 920px */
  margin: 0 auto;
}

 .form-section-block {
background: rgba(255,255,255,0.96);
border: 1px solid rgba(0,0,0,0.06);
border-radius: 24px;
padding: 2.4rem;
margin-bottom: 1.6rem;
box-shadow: 0 12px 40px rgba(0,0,0,0.05);
backdrop-filter: blur(8px);
transition: transform .2s ease, box-shadow .2s ease;
}

.form-section-block:hover{
transform: translateY(-2px);
box-shadow: 0 18px 50px rgba(0,0,0,0.07);
}

.form-step{
display:none;
animation:fadeSlide .35s ease;
}

.form-step.active{
display:block;
}

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

.wizard-nav{
display:flex;
justify-content:space-between;
gap:1rem;
margin-top:2rem;
flex-wrap:wrap;
}

.secondary-btn{
background:#fff;
color:var(--dark);
border:1px solid #ddd;
padding:1rem 2rem;
border-radius:14px;
font-weight:700;
cursor:pointer;
}

.secondary-btn:hover{
background:#f7f7f7;
}


  .form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .section-num {
    width: 32px; height: 32px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .form-section-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.2rem; letter-spacing: -0.01em; }
  .form-section-header p { font-size: 0.85rem; color: var(--muted); }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
  .form-group.full { grid-column: 1 / -1; }
  .form-group:last-child { margin-bottom: 0; }

  label { font-size: 0.82rem; font-weight: 600; color: var(--dark); }
  label .optional { font-weight: 400; color: var(--muted); font-size: 0.78rem; margin-left: 4px; }

  input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
select, textarea {

font-family:'Figtree',sans-serif;
font-size:1rem;
padding:0.95rem 1rem;
border:1.5px solid #e7e7e7;
border-radius:14px;
background:#fff;
color:var(--dark);
transition:all .2s ease;
outline:none;
width:100%;
}
 input:focus, select:focus, textarea:focus {
border-color: var(--green-accent);
box-shadow: 0 0 0 4px rgba(61,186,116,.12);
background:#fff;
}
  select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    padding-right: 2.75rem;
    background-color: var(--cream);
  }
  textarea { resize: vertical; min-height: 120px; line-height: 1.7; }

  /* RADIO / CHECKBOX */
  .radio-group, .check-group { display: flex; flex-direction: column; gap: 0.6rem; }
  .radio-row, .check-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 0.92rem;
    color: var(--text);
  }
  .radio-row:hover, .check-row:hover { border-color: var(--green-accent); background: var(--green-light); }
  .radio-row input, .check-row input { accent-color: var(--green-accent); width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }

  /* YES/NO */
  .yn-group { display: flex; gap: 0.75rem; }
  .yn-btn {
    flex: 1;
    padding: 0.65rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--cream);
    font-family: 'Figtree', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
  }
  .yn-btn:hover, .yn-btn.active { border-color: var(--green-accent); background: var(--green-light); color: var(--green); }

  /* CONDITIONAL */
  .conditional { display: none; margin-top: 0.85rem; padding: 1.1rem; background: var(--green-light); border-radius: 8px; border: 1px solid rgba(61,186,116,0.2); }
  .conditional.visible { display: block; }

  /* FILE UPLOAD */
  .file-upload {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--cream);
  }
  .file-upload:hover { border-color: var(--green-accent); background: var(--green-light); }
  .file-upload input { display: none; }
  .file-upload-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
  .file-upload p { font-size: 0.88rem; color: var(--muted); }
  .file-upload strong { color: var(--green); font-size: 0.9rem; display: block; margin-bottom: 0.25rem; }

  /* DECLARATION */
  .declaration-box {
    background: var(--green-light);
    border: 1px solid rgba(61,186,116,0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  .declaration-box input[type="checkbox"] { accent-color: var(--green-accent); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
  .declaration-box label { font-size: 0.92rem; color: var(--text); font-weight: 500; cursor: pointer; line-height: 1.6; }

  /* SUCCESS SCREEN */
  .success-screen {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
  }
  .success-screen.visible { display: block; }
/* MODERN SUCCESS ICON */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); /* Ultra-soft green gradient */
    color: #1a5c3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 10px 20px rgba(26, 92, 58, 0.08);
    border: 2px solid #ffffff;
}

/* Add a pulse effect to make it feel "alive" */
.success-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #3dba74;
    opacity: 0.2;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); opacity: 0.3; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Use a cleaner checkmark symbol in the HTML or this CSS refinement */
.success-icon {
    font-family: Arial, sans-serif; /* Cleaner for symbols */
    font-weight: bold;
}
  .success-screen h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
  .success-screen p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; max-width: 480px; margin: 0 auto 2rem; }

  /* STEP 2: ACCOUNT VERIFICATION */
  .step2-block {
    display: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.25rem;
    margin-bottom: 1.5rem;
  }
  .step2-block.visible { display: block; }

  /* SUBMIT BUTTON */
  .form-footer {
    display: flex;
    justify-content: flex-end; /* Pushes buttons to the right */
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* On mobile, keep them full width */
@media (max-width: 700px) {
    .form-footer {
        flex-direction: column-reverse; /* Puts "Back" below "Continue" on tiny screens */
    }
}
  .submit-btn {
background: linear-gradient(135deg,#1a5c3a,#2d7a52);
color:#fff;
font-family:'Figtree',sans-serif;
font-weight:700;
font-size:1rem;
padding:1rem 2.5rem;
border:none;
border-radius:14px;
cursor:pointer;
transition:all .2s ease;
box-shadow:0 10px 25px rgba(26,92,58,.18);
}
.submit-btn:hover{
transform:translateY(-2px);
box-shadow:0 16px 35px rgba(26,92,58,.25);
}
  .form-footer-note { font-size: 0.8rem; color: var(--muted); }

  @media (max-width: 700px) {
    .form-row { grid-template-columns: 1fr; }
    .progress-step span { display: none; }
    .form-section-block { padding: 1.5rem; }
    .form-header { padding: 2.5rem 1.25rem 2rem; }
    .form-main { padding: 2rem 1.25rem 4rem; }
    nav { padding: 1rem 1.25rem; }
    .progress-bar{
overflow-x:auto;
}

.progress-inner{
min-width:700px;
}

.yn-group{
flex-direction:column;
}

.submit-btn{
width:100%;
}

.form-section-block{
padding:1.3rem;
border-radius:18px;
}

/* Add these inside your existing @media (max-width: 700px) block */

/* Optimized Progress Bar - No Scrolling Needed */
.progress-bar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 0.8rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.progress-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-summary {
    display: flex;
    /* This ensures they stay on one line with space between on desktop, 
       but we can also center them for a cleaner look */
    justify-content: center; 
    align-items: center;
    gap: 10px; /* This creates the missing space between the number and the title */
    margin-bottom: 8px;
}

.step-indicator {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--green);
    letter-spacing: 0.05em;
    white-space: nowrap; /* Prevents "STEP 2 OF 5" from breaking into two lines */
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    /* Add a subtle separator if you like */
}
.progress-track {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a5c3a, #3dba74);
    width: 20%; /* Initial Step */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove the old @media progress-bar overflow rules you had before */
@media (max-width: 700px) {
    .progress-inner { min-width: auto !important; }
}
.wizard-nav {
  /* Force buttons to stay side-by-side even on small screens */
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.submit-btn, .secondary-btn {
  width: 100%;
  padding: 0.8rem 0.5rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Prevent iOS auto-zoom on inputs */
input, select, textarea {
  font-size: 16px !important;
}
  }