/* ============================================
   ScholarBridge — Shared Styles
   Colors: Primary #EA580C, Dark #9A3412, Light bg #FFFDF9, Accent #FFF7ED
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #4A2515;
  background: #FFFDF9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #4A2515; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Layout helpers --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 12px;
}
.section-subtitle {
  font-size: 17px; color: #7A4E3E; text-align: center; max-width: 620px;
  margin: 0 auto 48px; line-height: 1.7;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block; background: #EA580C; color: #fff !important;
  padding: 12px 28px; border-radius: 24px; font-weight: 700; font-size: 16px;
  transition: background .2s, transform .15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #C2410C; transform: translateY(-1px); }
.btn-outline {
  display: inline-block; border: 2px solid #EA580C; color: #EA580C !important;
  padding: 10px 26px; border-radius: 24px; font-weight: 700; font-size: 16px;
  transition: background .2s, color .2s, transform .15s; background: transparent;
  cursor: pointer;
}
.btn-outline:hover { background: #FFF7ED; transform: translateY(-1px); }
.btn-sm { padding: 10px 22px; font-size: 15px; }
.btn-white {
  background: #fff; color: #EA580C !important; padding: 14px 32px;
  border-radius: 24px; font-weight: 700; font-size: 17px; display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-white:hover { background: #FFF7ED; transform: translateY(-1px); }

/* ===== NAV ===== */
.site-nav {
  position: sticky; top: 0; z-index: 100; background: #FFFDF9;
  border-bottom: 1px solid #F0E0D8;
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.nav-logo {
  font-size: 22px; font-weight: 800; color: #EA580C; text-decoration: none;
  transition: color .2s;
}
.nav-logo:hover { color: #9A3412; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn-primary):not(.btn-outline) {
  color: #4A2515; font-weight: 500; font-size: 15px; padding: 8px 12px;
  border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:not(.btn-primary):not(.btn-outline):hover { color: #EA580C; background: #FFF7ED; }
.nav-links .btn-primary, .nav-links .btn-outline { font-size: 14px; padding: 9px 20px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px; background: #4A2515; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #FFFDF9; border-bottom: 1px solid #F0E0D8; flex-direction: column;
    padding: 16px 24px; gap: 4px; box-shadow: 0 8px 24px rgba(74,37,21,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 10px 16px; }
}

/* ===== HERO ===== */
.hero {
  text-align: center; padding: 80px 24px 64px;
}
.hero--gradient {
  background: linear-gradient(135deg, #EA580C, #9A3412); color: #fff;
}
.hero--gradient p { opacity: 0.9; }
.hero h1 {
  font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px;
}
.hero--gradient h1 { color: #fff; }
.hero--gradient .hero-sub { color: rgba(255,255,255,0.92); }
.hero .hero-gradient-text {
  background: linear-gradient(135deg, #EA580C, #9A3412);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 20px; color: #7A4E3E; line-height: 1.65;
  max-width: 680px; margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { padding: 60px 20px 48px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 17px; }
}

/* ===== CARDS (shared) ===== */
.cards {
  display: grid; gap: 24px;
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #fff; border-radius: 16px; border: 1px solid #F0E0D8;
  padding: 32px 24px; transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 8px 28px rgba(74,37,21,0.08); transform: translateY(-2px); }
.card-icon { font-size: 40px; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 15px; color: #7A4E3E; line-height: 1.7; }

/* ===== STEPS ===== */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step {
  text-align: center; padding: 32px 20px; background: #fff;
  border-radius: 16px; border: 1px solid #F0E0D8;
  transition: box-shadow .25s, transform .25s;
}
.step:hover { box-shadow: 0 8px 28px rgba(74,37,21,0.08); transform: translateY(-2px); }
.step-icon { font-size: 48px; margin-bottom: 16px; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%; background: #EA580C; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: #7A4E3E; line-height: 1.7; }

/* ===== STATS ===== */
.stats { display: flex; justify-content: center; gap: 48px; padding: 56px 24px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 40px; font-weight: 800; color: #EA580C; }
.stat-label { font-size: 14px; color: #7A4E3E; margin-top: 4px; }

/* ===== STORY BOX ===== */
.story-box {
  background: #fff; border-radius: 16px; border: 1px solid #F0E0D8;
  padding: 40px 36px; margin-bottom: 32px;
}
.story-box p { font-size: 16px; color: #7A4E3E; line-height: 1.85; margin-bottom: 16px; }
.story-box p:last-child { margin-bottom: 0; }

/* ===== CHECKLIST ===== */
.checklist {
  max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #F0E0D8;
  border-radius: 16px; padding: 36px 32px;
}
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 14px;
  color: #7A4E3E; line-height: 1.75; font-size: 15px;
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  color: #EA580C; font-weight: 800;
}

/* ===== CTA / IMPACT BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #EA580C, #9A3412); color: #fff;
  padding: 72px 24px; text-align: center;
}
.cta-banner h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-banner p {
  font-size: 18px; opacity: 0.92; max-width: 600px; margin: 0 auto 32px; line-height: 1.65;
}

/* ===== ALT SECTION ===== */
.section-alt { background: #FFF7ED; }

/* ===== FORM ===== */
.form-wrap {
  max-width: 560px; margin: 0 auto; background: #fff; border-radius: 16px;
  border: 1px solid #F0E0D8; padding: 44px 36px;
  box-shadow: 0 4px 24px rgba(74,37,21,0.06);
}
.form-wrap h2 { font-size: 26px; font-weight: 800; margin-bottom: 28px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #F0E0D8; border-radius: 10px;
  font-size: 15px; color: #4A2515; background: #FFFDF9; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: #EA580C; box-shadow: 0 0 0 3px rgba(234,88,12,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: #EA580C; color: #fff; border: none;
  padding: 14px; border-radius: 24px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .2s, transform .15s;
}
.btn-submit:hover { background: #C2410C; transform: translateY(-1px); }
.form-success {
  display: none; text-align: center; padding: 20px; background: #FFF7ED;
  border: 1px solid #FED7AA; border-radius: 12px; color: #9A3412;
  font-weight: 600; margin-top: 16px; font-size: 15px;
}

/* ===== PROSE (privacy policy) ===== */
.prose { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.prose .last-updated { font-size: 13px; color: #A07969; margin-bottom: 40px; }
.prose h2 { font-size: 20px; font-weight: 700; color: #9A3412; margin: 40px 0 12px; }
.prose p { font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.prose ul { padding-left: 24px; margin-bottom: 14px; }
.prose li { font-size: 15px; line-height: 1.8; margin-bottom: 6px; }
.prose a { color: #EA580C; text-decoration: underline; }
.prose a:hover { color: #9A3412; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 24px; text-align: center; border-top: 1px solid #F0E0D8;
}
.footer-links { margin-bottom: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 14px; color: #7A4E3E; transition: color .2s; }
.footer-links a:hover { color: #EA580C; }
.site-footer p { font-size: 13px; color: #A07969; margin-bottom: 8px; }
.site-footer a { color: #EA580C; text-decoration: none; }
