
/* ═══════════════════════════════════════════════════════
   STEMNEST ACADEMY — TEACH WITH US PAGE
═══════════════════════════════════════════════════════ */

/* ── HERO ── */
.tw-hero {
  min-height: calc(100vh - 70px);
  background: linear-gradient(160deg, #0a1628 0%, #1a3a6b 55%, #0d2a1a 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 80px 5% 60px; gap: 48px; position: relative; overflow: hidden;
}
.tw-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(26,86,219,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, rgba(14,159,110,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 85%, rgba(255,107,53,.12) 0%, transparent 45%);
}
.tw-hero-content { max-width: 580px; position: relative; z-index: 1; }
.tw-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 8px 18px;
  font-size: 13px; font-weight: 800; color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.tw-hero-content h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12; color: #fff; margin-bottom: 18px;
}
.tw-highlight {
  background: linear-gradient(90deg, #ff6b35, #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tw-hero-content p {
  font-size: 18px; color: rgba(255,255,255,.72);
  line-height: 1.7; margin-bottom: 32px; max-width: 500px;
}
.tw-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.tw-btn-ghost {
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.3);
  color: #fff; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px;
  text-decoration: none; transition: background .2s;
}
.tw-btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.tw-hero-trust {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.tw-trust-item {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  padding: 6px 14px; border-radius: 50px;
}

/* Hero stat cards */
.tw-hero-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; flex-shrink: 0; position: relative; z-index: 1;
}
.tw-stat-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px; padding: 24px 20px; text-align: center;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.tw-stat-card:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.tw-sc-green  { border-color: rgba(14,159,110,.3); }
.tw-sc-orange { border-color: rgba(255,107,53,.3); }
.tw-sc-purple { border-color: rgba(124,58,237,.3); }
.tw-stat-num  { font-family: 'Fredoka One', cursive; font-size: 32px; color: #fff; line-height: 1; }
.tw-stat-label{ font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .5px; margin-top: 6px; }

/* ── PROOF STRIP ── */
.tw-proof-strip {
  background: var(--dark); padding: 18px 5%;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.tw-proof-item { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.65); }
.tw-proof-item strong { color: #fff; }

/* ── SHARED SECTION HEADER ── */
.tw-section-header { text-align: center; margin-bottom: 56px; }

/* ── WHY SECTION ── */
.tw-why-section { background: var(--bg); padding: 80px 5%; }
.tw-perks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.tw-perk-card {
  background: var(--white); border-radius: 20px; padding: 32px 26px;
  border: 1.5px solid #e8eaf0; box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tw-perk-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.1); border-color: var(--blue); }
.tw-perk-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.tw-perk-title { font-family: 'Fredoka One', cursive; font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.tw-perk-desc  { font-size: 14px; color: var(--light); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.tw-how-section { background: var(--white); padding: 80px 5%; }
.tw-steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap; max-width: 1100px; margin: 0 auto;
}
.tw-step {
  text-align: center; flex: 1; min-width: 140px; max-width: 180px; padding: 0 8px;
}
.tw-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: 'Fredoka One', cursive; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.tw-step-icon  { font-size: 36px; margin-bottom: 10px; }
.tw-step-title { font-family: 'Fredoka One', cursive; font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.tw-step-desc  { font-size: 13px; color: var(--light); line-height: 1.6; }
.tw-step-arrow {
  font-size: 24px; color: var(--light); padding-top: 22px;
  flex-shrink: 0; align-self: flex-start;
}

/* ── OPEN ROLES ── */
.tw-roles-section { background: var(--bg); padding: 80px 5%; }
.tw-role-filters {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.tw-role-filter {
  padding: 9px 22px; border-radius: 50px; border: 2px solid #e8eaf0;
  background: var(--white); font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 14px; color: var(--mid); cursor: pointer;
  transition: .2s;
}
.tw-role-filter:hover  { border-color: var(--blue); color: var(--blue); }
.tw-role-filter.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tw-roles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.tw-role-card {
  background: var(--white); border-radius: 20px; padding: 28px 24px;
  border: 1.5px solid #e8eaf0; box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 12px;
}
.tw-role-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 8px 28px rgba(26,86,219,.12); }
.tw-role-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tw-role-emoji { font-size: 36px; flex-shrink: 0; }
.tw-role-badge {
  font-size: 11px; font-weight: 900; padding: 4px 12px; border-radius: 50px;
  flex-shrink: 0;
}
.tw-rb-urgent { background: var(--orange-light); color: var(--orange-dark); }
.tw-rb-open   { background: var(--green-light);  color: var(--green-dark); }
.tw-rb-new    { background: var(--blue-light);    color: var(--blue); }
.tw-role-title { font-family: 'Fredoka One', cursive; font-size: 20px; color: var(--dark); }
.tw-role-meta  { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-role-tag   {
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 50px;
  background: var(--bg); color: var(--mid);
}
.tw-role-desc  { font-size: 14px; color: var(--light); line-height: 1.6; flex: 1; }
.tw-role-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #f0f2f8; }
.tw-role-pay   { font-family: 'Fredoka One', cursive; font-size: 20px; color: var(--blue); }
.tw-role-pay-note { font-size: 11px; color: var(--light); font-weight: 700; }
.tw-role-apply-btn {
  padding: 9px 20px; border-radius: 50px; background: var(--orange);
  color: #fff; border: none; font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 13px; cursor: pointer;
  transition: .2s; text-decoration: none; display: inline-flex; align-items: center;
  box-shadow: 0 4px 14px rgba(255,107,53,.3);
}
.tw-role-apply-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,107,53,.4); }

/* ── TESTIMONIALS ── */
.tw-testimonials-section { background: var(--white); padding: 80px 5%; }
.tw-testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.tw-testimonial {
  background: var(--bg); border-radius: 20px; padding: 32px 28px;
  border: 1.5px solid #e8eaf0; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.tw-testimonial:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.tw-t-quote {
  font-family: 'Fredoka One', cursive; font-size: 64px; color: var(--blue-light);
  line-height: .8; margin-bottom: 12px;
}
.tw-t-text  { font-size: 15px; color: var(--mid); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.tw-t-author { display: flex; align-items: center; gap: 12px; }
.tw-t-av    { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fredoka One', cursive; font-size: 16px; color: #fff; flex-shrink: 0; }
.tw-t-name  { font-weight: 800; font-size: 14px; color: var(--dark); }
.tw-t-role  { font-size: 12px; color: var(--light); font-weight: 700; margin-top: 2px; }

/* ── APPLICATION FORM ── */
.tw-apply-section {
  background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
  padding: 80px 5%; position: relative; overflow: hidden;
}
.tw-apply-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; background: rgba(255,255,255,.05); border-radius: 50%;
}
.tw-apply-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; max-width: 1100px; margin: 0 auto;
  align-items: start; position: relative; z-index: 1;
}
.tw-apply-title {
  font-family: 'Fredoka One', cursive; font-size: clamp(30px, 3.5vw, 44px);
  color: #fff; line-height: 1.2; margin: 16px 0;
}
.tw-apply-sub { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 28px; }
.tw-apply-checklist { display: flex; flex-direction: column; gap: 12px; }
.tw-check-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85);
}

/* Form card */
.tw-apply-form {
  background: var(--white); border-radius: 24px; padding: 36px;
  box-shadow: 0 16px 60px rgba(0,0,0,.25);
}
.tw-form-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 28px;
}
.tw-form-step {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e8eaf0; color: var(--light);
  font-family: 'Fredoka One', cursive; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: .3s; flex-shrink: 0;
}
.tw-form-step.active   { background: var(--blue); color: #fff; }
.tw-form-step.done     { background: var(--green); color: #fff; }
.tw-form-step-line     { flex: 1; height: 2px; background: #e8eaf0; max-width: 80px; }
.tw-form-page-title    { font-family: 'Fredoka One', cursive; font-size: 20px; color: var(--dark); margin-bottom: 20px; }
.tw-form-grid          { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.tw-full               { grid-column: 1 / -1; }
.tw-field              { display: flex; flex-direction: column; gap: 5px; }
.tw-field label        { font-size: 12px; font-weight: 900; color: var(--mid); text-transform: uppercase; letter-spacing: .4px; }
.tw-field input, .tw-field select, .tw-field textarea {
  padding: 11px 14px; border: 2px solid #e8eaf0; border-radius: 12px;
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--dark); background: var(--white); outline: none;
  transition: border-color .2s; width: 100%;
}
.tw-field input:focus, .tw-field select:focus, .tw-field textarea:focus { border-color: var(--blue); }
.tw-field textarea { resize: vertical; min-height: 100px; }
.req { color: var(--orange); }
.tw-subject-checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tw-check-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--mid);
  padding: 8px 14px; border-radius: 10px; border: 2px solid #e8eaf0;
  background: var(--bg); cursor: pointer; transition: .2s;
}
.tw-check-label:hover { border-color: var(--blue); }
.tw-check-label input { width: auto; }
.tw-terms-check { border: none; background: none; padding: 0; font-size: 13px; }
.tw-form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.tw-submit-btn { min-width: 200px; justify-content: center; }

/* ── FAQ ── */
.tw-faq-section { background: var(--bg); padding: 80px 5%; }
.tw-faq-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 16px; max-width: 1000px; margin: 0 auto;
}
.tw-faq-item {
  background: var(--white); border-radius: 16px; border: 1.5px solid #e8eaf0;
  overflow: hidden; transition: border-color .2s;
}
.tw-faq-item:hover { border-color: var(--blue); }
.tw-faq-q {
  padding: 18px 22px; font-weight: 800; font-size: 15px; color: var(--dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.tw-faq-q::after { content: '›'; font-size: 20px; color: var(--light); transition: transform .3s; }
.tw-faq-item.open .tw-faq-q::after { transform: rotate(90deg); }
.tw-faq-a {
  padding: 0 22px; max-height: 0; overflow: hidden;
  font-size: 14px; color: var(--light); line-height: 1.7;
  transition: max-height .35s ease, padding .35s ease;
}
.tw-faq-item.open .tw-faq-a { max-height: 200px; padding: 0 22px 18px; }

/* ── FOOTER CTA ── */
.tw-footer-cta {
  background: var(--dark); text-align: center; padding: 72px 5%;
}
.tw-footer-cta h2 { font-family: 'Fredoka One', cursive; font-size: clamp(28px, 4vw, 42px); color: #fff; margin-bottom: 14px; }
.tw-footer-cta p  { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 32px; }

/* ── SUCCESS OVERLAY ── */
.tw-success-overlay {
  position: fixed; inset: 0; background: rgba(10,20,50,.75);
  backdrop-filter: blur(8px); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.tw-success-overlay.show { display: flex; }
.tw-success-box {
  background: var(--white); border-radius: 28px; padding: 48px 40px;
  max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.3); animation: fadeIn .4s ease;
}
.tw-success-title { font-family: 'Fredoka One', cursive; font-size: 30px; color: var(--dark); margin-bottom: 12px; }
.tw-success-msg   { font-size: 16px; color: var(--mid); line-height: 1.7; margin-bottom: 16px; }
.tw-success-note  { font-size: 13px; color: var(--mid); background: var(--blue-light); border-radius: 12px; padding: 12px 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tw-perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .tw-hero { flex-direction: column; min-height: auto; text-align: center; }
  .tw-hero-cards { grid-template-columns: repeat(2, 1fr); max-width: 360px; margin: 0 auto; }
  .tw-hero-ctas, .tw-hero-trust { justify-content: center; }
  .tw-apply-wrap { grid-template-columns: 1fr; }
  .tw-apply-left { text-align: center; }
  .tw-apply-checklist { align-items: center; }
  .tw-steps { gap: 8px; }
  .tw-step-arrow { display: none; }
  .tw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .tw-perks-grid { grid-template-columns: 1fr; }
  .tw-apply-form { padding: 24px 18px; }
  .tw-form-grid  { grid-template-columns: 1fr; }
  .tw-full       { grid-column: 1; }
  .tw-faq-grid   { grid-template-columns: 1fr; }
  .tw-hero-cards { grid-template-columns: 1fr 1fr; }
  .tw-proof-strip { gap: 16px; }
}
