/* ═══════════════════════════════════════════════════════════════
   Scholarship Guidance — MentorMinds
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-glow: rgba(255, 107, 0, 0.18);
  --gold: #F5A623;
  --navy: #0A1F44;
  --navy-dark: #061428;
  --navy-light: #132D5E;
  --white: #FFFFFF;
  --light: #F8F9FA;
  --text-dark: #1A1A2E;
  --text-muted: #6B7280;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, select { font-family: inherit; cursor: pointer; }
button { border: none; background: none; }

.sg-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title { font-family: var(--ff); font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 48px; font-size: 1.05rem; }

/* ── Header ─────────────────────────────────────────────────── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow); }
.top-bar { background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 0; }
.header.scrolled .top-bar { margin-top: -40px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-left i { color: var(--orange); margin-right: 5px; }
.lang-switch { display: flex; background: rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; }
.lang-switch button { padding: 3px 12px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); }
.lang-switch button.active { background: var(--orange); color: var(--white); }

.nav-bar { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), #ff8a33); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; }
.logo-text span:first-child { color: var(--navy); }
.logo-text span:last-child { color: var(--orange); }
.nav-menu { display: flex; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--navy); border-radius: 8px; transition: var(--transition); }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--orange); background: rgba(255,107,0,.06); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 220px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.12); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 100; }
.nav-menu > li:hover > .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: var(--navy); border-radius: 10px; }
.dropdown-menu li a:hover { background: rgba(255,107,0,.07); color: var(--orange); }
.dropdown-menu li a i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--orange-glow); color: var(--orange); border-radius: 8px; font-size: 12px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-whatsapp { width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.btn-cta { padding: 10px 24px; background: var(--orange); color: var(--white); font-family: var(--ff); font-size: 14px; font-weight: 600; border-radius: 50px; border: 2px solid var(--orange); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 10px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(10,31,68,.5); z-index: 1049; opacity: 0; transition: opacity var(--transition); }
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-menu { display: none; position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100vh; background: var(--white); z-index: 1050; padding: 80px 24px 30px; overflow-y: auto; transition: right .35s ease; }
.mobile-menu.open { right: 0; }
.mobile-menu .mobile-nav li { border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-menu .mobile-nav > li > a { display: block; padding: 14px 0; font-weight: 600; color: var(--navy); }

/* ══════════════════════════════════════════════
   SECTION 1 — Hero
   ══════════════════════════════════════════════ */
.sg-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 90px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 45%, var(--navy-dark) 100%);
  overflow: hidden;
  text-align: center;
}
.sg-hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sg-star {
  position: absolute;
  color: var(--gold);
  opacity: .35;
  animation: floatStar 6s ease-in-out infinite;
}
.sg-star.orange { color: var(--orange); opacity: .45; }
.sg-star i { font-size: inherit; }
.sg-star:nth-child(1) { top: 12%; left: 8%; font-size: 18px; animation-delay: 0s; }
.sg-star:nth-child(2) { top: 22%; right: 12%; font-size: 24px; animation-delay: 1s; }
.sg-star:nth-child(3) { top: 55%; left: 5%; font-size: 14px; animation-delay: 2s; }
.sg-star:nth-child(4) { top: 70%; right: 8%; font-size: 20px; animation-delay: .5s; }
.sg-star:nth-child(5) { top: 35%; left: 18%; font-size: 12px; animation-delay: 1.5s; }
.sg-star:nth-child(6) { top: 15%; right: 28%; font-size: 16px; animation-delay: 2.5s; }
.sg-star:nth-child(7) { bottom: 20%; left: 25%; font-size: 22px; animation-delay: 3s; }
.sg-star:nth-child(8) { bottom: 30%; right: 22%; font-size: 14px; animation-delay: 1.8s; }
.sg-star:nth-child(9) { top: 45%; right: 35%; font-size: 28px; animation-delay: .8s; }
.sg-star:nth-child(10) { bottom: 15%; left: 45%; font-size: 16px; animation-delay: 2.2s; }

@keyframes floatStar {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: .3; }
  50% { transform: translateY(-18px) rotate(15deg); opacity: .6; }
}

.sg-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.sg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,.2);
  border: 1px solid rgba(255,107,0,.45);
  color: #ffc299;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.sg-hero h1 {
  font-family: var(--ff);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.sg-hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.sg-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-sg-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  border: 2px solid var(--orange);
  transition: var(--transition);
}
.btn-sg-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-sg-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--ff);
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.6);
  transition: var(--transition);
}
.btn-sg-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ══════════════════════════════════════════════
   SECTION 2 — Scholarship Cards
   ══════════════════════════════════════════════ */
.sg-categories { padding: 80px 0; background: var(--light); }
.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.scholarship-card {
  background: var(--white);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10,31,68,.06);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.scholarship-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(10,31,68,.12); }
.sch-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.sch-flag { font-size: 2rem; line-height: 1; }
.sch-card-top .coverage-badge { flex-shrink: 0; }
.coverage-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: 50px;
}
.coverage-badge.full { background: var(--orange); color: var(--white); }
.coverage-badge.partial { background: var(--navy); color: var(--white); }
.scholarship-card h3 {
  font-family: var(--ff);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.35;
}
.sch-subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.sch-deadline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 14px;
}
.sch-deadline i { font-size: 12px; }
.sch-eligibility {
  flex: 1;
  margin-bottom: 18px;
}
.sch-eligibility li {
  font-size: 12px;
  color: var(--text-dark);
  padding: 5px 0 5px 16px;
  position: relative;
  line-height: 1.45;
}
.sch-eligibility li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 9px;
}
.btn-apply-guide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition);
}
.btn-apply-guide:hover { gap: 12px; color: var(--orange-dark); }

/* ══════════════════════════════════════════════
   SECTION 3 — Eligibility Checker
   ══════════════════════════════════════════════ */
.sg-checker { padding: 80px 0; }
.checker-card {
  max-width: 720px;
  margin: 0 auto 40px;
  background: var(--light);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(10,31,68,.08);
}
.checker-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.form-field label {
  display: block;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e8eaed;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230A1F44' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-field select:focus { outline: none; border-color: var(--orange); }
.btn-find-scholarships {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.btn-find-scholarships:hover { background: var(--orange-dark); }

.checker-results { max-width: 720px; margin: 0 auto; }
.checker-results.hidden { display: none; }
.checker-results h3 {
  font-family: var(--ff);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}
.match-list { display: flex; flex-direction: column; gap: 14px; }
.match-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(10,31,68,.08);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: border-color var(--transition);
}
.match-item:hover { border-color: var(--orange); }
.match-flag { font-size: 1.75rem; flex-shrink: 0; }
.match-info { flex: 1; }
.match-info h4 { font-family: var(--ff); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.match-info p { font-size: 13px; color: var(--text-muted); }
.match-item .coverage-badge { font-size: 9px; }
.no-matches {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  background: var(--light);
  border-radius: 16px;
}

/* ══════════════════════════════════════════════
   SECTION 4 — Process
   ══════════════════════════════════════════════ */
.sg-process { padding: 80px 0; background: var(--light); }
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  padding-top: 20px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 0;
  border-top: 3px dotted var(--orange);
  opacity: .4;
  z-index: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.process-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.process-step h4 {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* ══════════════════════════════════════════════
   SECTION 5 — Success Stories
   ══════════════════════════════════════════════ */
.sg-stories { padding: 80px 0; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-card {
  background: var(--light);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(10,31,68,.06);
  position: relative;
  transition: var(--transition);
}
.story-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.story-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--orange);
  opacity: .2;
  line-height: 1;
}
.story-amount {
  display: inline-block;
  background: var(--orange-glow);
  color: var(--orange);
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.story-card h4 {
  font-family: var(--ff);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.story-scholarship { font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 4px; }
.story-university { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.story-quote { font-size: 14px; color: var(--text-dark); font-style: italic; line-height: 1.6; }

/* ══════════════════════════════════════════════
   SECTION 6 — CTA
   ══════════════════════════════════════════════ */
.sg-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 24px;
  text-align: center;
}
.sg-cta h2 {
  font-family: var(--ff);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.3;
}
.btn-cta-scholarship {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-cta-scholarship:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 40px 24px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 16px; }
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 13px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .scholarship-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .checker-form { grid-template-columns: 1fr; }
  .process-steps { flex-wrap: wrap; justify-content: center; }
  .process-steps::before { display: none; }
  .process-step { flex: 0 0 calc(33% - 16px); margin-bottom: 24px; }
  .stories-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .btn-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .scholarship-grid { grid-template-columns: 1fr; }
  .checker-card { padding: 28px 22px; }
  .process-step { flex: 0 0 48%; }
}

@media (max-width: 480px) {
  .process-step { flex: 0 0 100%; }
}
