/* ==========================================================================
   Hum Scholars — Global Styles
   Theme: Navy (#0F2C4C) + Gold (#C9A227) — trust & achievement
   ========================================================================== */

:root {
  --navy: #0f2c4c;
  --navy-dark: #0a1e35;
  --navy-light: #1d4a75;
  --gold: #c9a227;
  --gold-light: #e6c65c;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --text: #22303f;
  --text-muted: #5b6b7b;
  --border: #e3e8ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 44, 76, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 44, 76, 0.16);
  --max-width: 1160px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 16px; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { padding-left: 0; list-style: none; margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { box-shadow: 0 10px 20px rgba(201,162,39,0.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { box-shadow: 0 10px 20px rgba(15,44,76,0.3); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}
.logo img { height: 64px; width: auto; display: block; }
.logo .mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; color: var(--text); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--navy); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: none; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-cta .btn-primary-nav-only { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy) 60%, var(--navy-light));
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  right: -150px; top: -150px;
  background: radial-gradient(circle, rgba(201,162,39,0.25), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold-light); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card ul li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9); font-size: 0.95rem;
}
.hero-card ul li:last-child { border-bottom: none; }
.hero-card .tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(15,44,76,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-head);
}
.testimonial .who strong { display: block; font-size: 0.92rem; }
.testimonial .who span { font-size: 0.8rem; color: var(--text-muted); }
.placeholder-note {
  font-size: 0.82rem; color: var(--gold); background: rgba(201,162,39,0.08);
  border: 1px dashed var(--gold); border-radius: 10px; padding: 12px 16px; margin-top: 20px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: #fff; border-radius: var(--radius);
  padding: 48px; text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.8); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer .logo { color: #fff; }
.site-footer .logo .mark { background: var(--gold); color: var(--navy-dark); }
.site-footer a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--border); font-family: var(--font-body); font-size: 0.95rem;
  background: #fff; color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- FAQ (details/summary, no JS needed) ---------- */
.faq-item {
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Contact info blocks ---------- */
.contact-block {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-block:last-child { border-bottom: none; }
.contact-block .icon-round {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(15,44,76,0.06);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-block; background: rgba(15,44,76,0.06); color: var(--navy);
  font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Chatbot widget ---------- */
#hs-chat-bubble {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; border: none; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
#hs-chat-bubble:hover { transform: scale(1.06); }
#hs-chat-panel {
  position: fixed; bottom: 96px; right: 24px; z-index: 999;
  width: 340px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: none; flex-direction: column; max-height: 480px;
}
#hs-chat-panel.open { display: flex; }
.hs-chat-head {
  background: var(--navy); color: #fff; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.hs-chat-head strong { font-family: var(--font-head); font-size: 0.95rem; }
.hs-chat-head span { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.hs-chat-close { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
.hs-chat-body { padding: 16px; overflow-y: auto; flex: 1; background: var(--bg-soft); }
.hs-msg { margin-bottom: 12px; display: flex; }
.hs-msg.bot { justify-content: flex-start; }
.hs-msg.user { justify-content: flex-end; }
.hs-msg .bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5;
}
.hs-msg.bot .bubble { background: #fff; border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.hs-msg.user .bubble { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.hs-quick-replies { display: flex; flex-direction: column; gap: 8px; padding: 4px 16px 16px; background: var(--bg-soft); }
.hs-quick-replies button {
  text-align: left; background: #fff; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 14px; font-size: 0.85rem; cursor: pointer; color: var(--navy); font-weight: 500;
  transition: border-color 0.15s ease;
}
.hs-quick-replies button:hover { border-color: var(--gold); }
