
:root {
  --bg: #f5faf6;
  --surface: #ffffff;
  --surface-soft: #edf6ef;
  --text: #18291f;
  --muted: #65756a;
  --green: #23834d;
  --green-dark: #17663a;
  --green-light: #dff2e4;
  --border: #dce8de;
  --shadow: 0 12px 35px rgba(26, 70, 42, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.2s, color 0.2s;
}

body.dark-mode {
  --bg: #101812;
  --surface: #19241c;
  --surface-soft: #202f24;
  --text: #edf7ef;
  --muted: #a9b9ad;
  --green: #63c783;
  --green-dark: #80db9b;
  --green-light: #233e2b;
  --border: #304335;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.section-wrap {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 70px;
  width: 100%;
  padding: 12px max(20px, calc((100% - 1100px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.brand,
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-size: 14px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--green);
  border-radius: 11px;
}

.header-actions {
  gap: 20px;
}

.nav-link {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.nav-link:hover,
.back-top:hover {
  color: var(--green);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 50%;
  font-size: 19px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 46px;
  padding-top: 50px;
  padding-bottom: 46px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 16px 0;
  font-size: clamp(32px, 4.1vw, 49px);
  line-height: 1.12;
  letter-spacing: -1.8px;
}

h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.hero-actions,
.social-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 11px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: #23834d;
}

.button-primary:hover {
  background: #17663a;
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--green);
}

.trust-line {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
}

.trust-line span,
.support-points span {
  color: var(--green);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual > img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.image-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.note-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--green-light);
  border-radius: 12px;
  font-size: 20px;
}

.image-note strong,
.image-note small {
  display: block;
}

.image-note strong {
  font-size: 12px;
}

.image-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.story-section,
.support-section,
.form-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.section-heading {
  text-align: center;
  margin: 0 auto 22px;
}

.section-heading h2,
.support-copy h2,
.form-intro h2,
.social-content h2 {
  margin: 8px 0 9px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.section-heading p,
.support-copy > p,
.form-intro > p,
.social-content > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.story-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 13px;
  color: var(--green);
  background: var(--green-light);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
}

.story-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.honesty-note {
  max-width: 760px;
  margin: 17px auto 0;
  padding: 13px 16px;
  background: var(--surface-soft);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.support-section {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 50px;
  border-top: 1px solid var(--border);
}

.support-copy > p {
  max-width: 440px;
}

.support-points {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
}

.support-points div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.payment-card,
.support-form {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.payment-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.payment-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--green-light);
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
}

.payment-card-top h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.payment-card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.amount-button {
  min-height: 40px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.amount-button:hover,
.amount-button.active {
  color: var(--green-dark);
  border-color: var(--green);
  background: var(--green-light);
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 43px;
  padding: 11px 12px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  font-size: 12px;
}

.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
}

.form-control::placeholder {
  color: var(--muted);
  opacity: 0.8;
}


/* Demo QR placeholder: replace payment-qr.png with your real payment QR. */
.qr-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 18px 0;
  padding: 16px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  text-align: center;
}

.qr-payment h4 {
  margin: 0;
  font-size: 14px;
}

.qr-payment img {
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.qr-payment p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.qr-payment code {
  font-size: 10px;
}

.upi-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 8px;
  padding: 12px;
  background: var(--surface-soft);
  border-radius: 12px;
}

.upi-label {
  width: 100%;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.upi-box strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.copy-button {
  margin-left: auto;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
}

.payment-hint,
.small-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.button-full {
  width: 100%;
  margin-top: 10px;
}

.small-note {
  margin: 10px 0 0;
}

.form-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 44px;
  border-top: 1px solid var(--border);
}

.form-intro > p {
  margin-bottom: 18px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  background: var(--surface-soft);
  border-radius: 12px;
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.support-form {
  box-shadow: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-field {
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

textarea.form-control {
  resize: vertical;
  min-height: 88px;
}

.field-help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.captcha-wrap {
  margin-top: 18px;
  overflow: hidden;
}

.captcha-question {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border: 1px dashed var(--green);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.captcha-error {
  margin: 8px 0 0;
  color: #c0392b;
  font-size: 12px;
  font-weight: 600;
}

.form-restore-button {
  margin: 18px 0 0;
}

.social-button {
  gap: 9px;
}

.social-icon {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.instagram-icon {
  color: #b83280;
}

.youtube-icon {
  color: #d93025;
}

.form-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.social-section {
  padding-top: 22px;
  padding-bottom: 46px;
}

.social-content {
  padding: 27px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.social-content > p {
  max-width: 620px;
  margin-bottom: 17px;
}

.closing-section {
  padding: 40px 20px;
  background: var(--green-light);
}

.closing-inner {
  width: min(760px, 100%);
  margin: auto;
  text-align: center;
}



.closing-inner h2 {
  margin: 8px 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.7px;
}

.closing-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px max(20px, calc((100% - 1100px) / 2));
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 12px;
  font-weight: 800;
}

.site-footer p,
.back-top {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.back-top {
  font-weight: 700;
}

@media (min-width: 1400px) {
  .hero-visual > img {
    height: 365px;
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 25px;
    padding-top: 35px;
    padding-bottom: 32px;
  }

  .hero-visual > img {
    height: 300px;
  }

  .support-section,
  .form-section {
    gap: 25px;
  }

  .story-card {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  .hero,
  .support-section,
  .form-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual > img {
    height: clamp(220px, 58vw, 340px);
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-section,
  .form-section {
    gap: 22px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 16px;
  }

  .section-wrap {
    width: min(100% - 28px, 480px);
  }

  .site-header {
    min-height: 62px;
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .brand {
    gap: 8px;
    font-size: 12px;
    min-width: 0;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    gap: 12px;
    margin-left: auto;
  }

  .nav-link {
    font-size: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: clamp(33px, 9vw, 43px);
    letter-spacing: -1.2px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.75;
  }

  .hero-visual > img {
    height: 250px;
    border-radius: 18px;
  }

  .story-section,
  .support-section,
  .form-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2,
  .support-copy h2,
  .form-intro h2,
  .social-content h2 {
    font-size: 26px;
  }

  .story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .story-card {
    padding: 17px;
  }

  .card-number {
    margin-bottom: 8px;
  }

  .support-section,
  .form-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .payment-card,
  .support-form {
    padding: 17px;
    border-radius: 16px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .form-control {
    min-height: 46px;
    font-size: 16px;
  }

  textarea.form-control {
    min-height: 100px;
  }

  .button,
  .amount-button,
  .copy-button {
    min-height: 44px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .social-actions {
    align-items: stretch;
  }

  .social-actions .button {
    flex: 1 1 145px;
  }

  .form-field-full {
    grid-column: auto;
  }

  .social-section {
    padding-top: 8px;
    padding-bottom: 30px;
  }

  .social-content {
    padding: 20px;
  }

  .closing-section {
    padding: 30px 18px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 18px 14px;
    overflow-wrap: anywhere;
  }

  .site-footer p {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .site-header {
    align-items: flex-start;
    gap: 8px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  h1 {
    font-size: clamp(30px, 9vw, 36px);
  }

  .payment-card,
  .support-form,
  .social-content {
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}


/* ===== Careful project updates: sticky header, education profile, footer and policy ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 70px;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: #23834d;
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px rgba(15, 70, 38, 0.16);
}

.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .brand,
.site-header.is-scrolled .theme-toggle {
  color: #ffffff;
}

.site-header.is-scrolled .theme-toggle {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}

body.dark-mode .site-header.is-scrolled {
  background: #14532d;
  color: #f4fff6;
  border-bottom-color: rgba(255,255,255,0.12);
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--green);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link:focus-visible {
  color: #e1ffe9;
}

.brand-name {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.journey-copy {
  max-width: 820px;
  margin: 0 auto 26px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.journey-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 12px;
}

.journey-copy p:last-child {
  margin-bottom: 0;
}

.education-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.education-panel-heading h3 {
  margin: 7px 0 18px;
  font-size: 20px;
}

.education-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.education-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 13px;
  background: var(--surface-soft);
  border-radius: 12px;
}

.education-fact span,
.college-details span {
  color: var(--muted);
  font-size: 11px;
}

.education-fact strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.college-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.college-details strong {
  font-size: 13px;
}

.semester-table-wrap {
  margin-top: 15px;
  overflow-x: auto;
}

.semester-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.semester-table caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.semester-table th,
.semester-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.semester-table th {
  color: var(--muted);
  font-weight: 600;
}

.skills-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 15px auto 0;
}

.skills-strip > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px;
  background: var(--surface-soft);
  border-radius: 13px;
}

.skills-strip strong {
  font-size: 12px;
}

.skills-strip span {
  color: var(--muted);
  font-size: 11px;
}

.funds-short-note {
  max-width: 460px;
  margin-top: 20px;
  padding-left: 13px;
  border-left: 3px solid var(--green);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.small-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.opportunity-section {
  padding-top: 0;
  padding-bottom: 42px;
}

.opportunity-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.opportunity-card h2 {
  max-width: 650px;
  margin: 8px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

.opportunity-card p {
  max-width: 700px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.opportunity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  display: block;
  padding-top: 30px;
  padding-bottom: 16px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr;
  gap: 35px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.footer-brand {
  font-size: 15px;
}

.footer-about p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 3px;
  font-size: 12px;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  width: min(1100px, 100%);
  margin: 24px auto 0;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: var(--muted);
}

.policy-page {
  min-height: 65vh;
  padding-top: 46px;
  padding-bottom: 60px;
}

.policy-card {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 38px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.policy-card h1 {
  font-size: clamp(30px, 4vw, 42px);
}

.policy-card h2 {
  margin: 30px 0 10px;
  font-size: 21px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.policy-card ul {
  padding-left: 22px;
}

.policy-updated {
  font-size: 11px !important;
}

@media (max-width: 760px) {
  .education-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 14px;
  }
  .brand-name {
    font-size: 11px;
    white-space: normal;
    max-width: 135px;
  }
  .header-actions {
    gap: 10px;
    width: auto;
    flex: 0 0 auto;
  }
  .nav-link {
    font-size: 12px;
  }
  .education-panel {
    padding: 17px;
  }
  .education-fact {
    padding: 11px;
  }
  .education-fact strong {
    font-size: 15px;
  }
  .skills-strip {
    grid-template-columns: 1fr;
  }
  .journey-copy {
    padding: 18px;
  }
  .opportunity-card {
    padding: 20px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-legal {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-link::after {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }
  .brand-logo {
    width: 32px;
    
    flex: 0 0 32px;
  }
  .brand-name {
    max-width: 82px;
    font-size: 10px;
  }
  .header-actions {
    gap: 7px;
  }
  .nav-link {
    font-size: 11px;
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    display: contents;
  }

  .hero-content .eyebrow,
  .hero-content h1 {
    order: 1;
  }

  .hero-visual {
    order: 2;
    display: block;
    width: 100%;
    margin: 16px 0;
  }

  .hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    border-radius: 16px;
  }

  .hero-content > p {
    order: 3;
  }

  .hero-content .hero-actions {
    order: 4;
  }

  .hero-content .trust-line {
    order: 5;
  }
}


/* ===== Final responsive refinements ===== */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.hero-visual > img {
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 440px;
  object-fit: contain;
  background: var(--surface-soft);
}

.journey-cards {
  margin: 0 auto 26px;
}

.journey-cards .story-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.journey-cards .story-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.journey-cards .story-card p {
  font-size: 13px;
}

.learning-section,
.experience-section {
  max-width: 100%;
  margin: 34px auto 0;
}

.learning-heading h3,
.experience-section .section-heading h3 {
  margin: 8px 0 9px;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.learning-heading p,
.experience-section .section-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.learning-card,
.experience-card {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
  box-shadow: var(--shadow);
}

.learning-index,
.experience-kicker {
  display: inline-block;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.6;
}

.learning-card h4,
.experience-card h4 {
  margin: 9px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.learning-card p,
.experience-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.learning-card p {
  margin-bottom: 12px;
}

.learning-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.learning-card li + li {
  margin-top: 4px;
}

.experience-section {
  margin-top: 44px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.experience-card {
  padding: 24px;
  border-top: 3px solid var(--green);
}

.experience-card p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-card:last-child {
    grid-column: 1 / -1;
  }

  .journey-cards .story-card {
    padding: 18px;
  }
}

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

  .hero-copy {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
  }

  .hero h1 {
    order: 2;
    margin-top: 10px;
  }

  .hero-visual {
    order: 3;
    width: 100%;
    margin: 0 0 8px;
  }

  .hero-visual > img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .hero-description {
    order: 4;
    max-width: none;
  }

  .hero-actions {
    order: 5;
  }

  .trust-line {
    order: 6;
  }

  .image-note {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 640px) {
  .journey-cards,
  .learning-grid,
  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .learning-card:last-child {
    grid-column: auto;
  }

  .journey-cards .story-card,
  .learning-card,
  .experience-card {
    padding: 19px;
  }

  .learning-section {
    margin-top: 28px;
  }

  .experience-section {
    margin-top: 34px;
  }

  .learning-card h4,
  .experience-card h4 {
    font-size: 16px;
  }

  .hero-visual > img {
    border-radius: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-cards .story-card {
    transition: none;
  }

  .journey-cards .story-card:hover {
    transform: none;
  }
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 9px;
  color: #fff;
  background: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}
