/* ============================================================
   EDUNOMIC UMS — Global Stylesheet
   Version: 1.0  |  Last updated: March 2026
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --navy:      #0F172A;
  --navy2:     #1E293B;
  --teal:      #0ABFA3;
  --teal2:     #07A88E;
  --teal-faint:#F0FDFA;
  --orange:    #F97316;
  --orange-f:  #FFF7ED;
  --white:     #FFFFFF;
  --off:       #F8FAFC;
  --muted:     #64748B;
  --mid:       #94A3B8;
  --border:    #E2E8F0;
  --border-d:  rgba(255,255,255,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 40px 80px rgba(0,0,0,.16);
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Mono', monospace;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--navy); line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.display-xl { font-family: var(--font-display); font-size: clamp(40px,5.5vw,72px); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
.display-lg { font-family: var(--font-display); font-size: clamp(32px,4vw,52px);   font-weight: 400; line-height: 1.1;  letter-spacing: -.01em; }
.display-md { font-family: var(--font-display); font-size: clamp(24px,3vw,38px);   font-weight: 400; line-height: 1.15; }
.heading-lg  { font-family: var(--font-body); font-size: clamp(20px,2.5vw,28px); font-weight: 700; line-height: 1.2; }
.heading-md  { font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 1.3; }
.heading-sm  { font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.4; }
.body-lg     { font-size: 18px; line-height: 1.75; }
.body-md     { font-size: 16px; line-height: 1.7;  }
.body-sm     { font-size: 14px; line-height: 1.65; }
.caption     { font-size: 12px; line-height: 1.5; color: var(--muted); }
.mono        { font-family: var(--font-mono); }
.text-teal   { color: var(--teal); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-sm{ max-width: 820px;  margin: 0 auto; padding: 0 40px; }
.section     { padding: 100px 0; }
.section-sm  { padding: 64px 0;  }
.section-lg  { padding: 130px 0; }
.section-dark{ background: var(--navy); color: var(--white); }
.section-alt { background: var(--off); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.center { text-align: center; }
.flex-c { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-header.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--teal); text-transform: uppercase;
  padding: 5px 14px; border: 1px solid rgba(10,191,163,.3);
  border-radius: 100px; background: var(--teal-faint);
  margin-bottom: 20px;
}
.eyebrow::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.section-title { color: var(--navy); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; line-height: 1.75; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  border-radius: var(--r-md); border: none; cursor: pointer;
  transition: all .22s ease; font-family: var(--font-body);
  white-space: nowrap;
}
.btn-primary   { background: var(--teal);   color: #fff; }
.btn-primary:hover  { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,191,163,.3); }
.btn-secondary { background: var(--navy);   color: #fff; }
.btn-secondary:hover { background: var(--navy2); transform: translateY(-2px); }
.btn-outline   { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-orange    { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #EA6A0A; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.3); }
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: var(--r-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-icon { font-size: 16px; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-sm); transition: all .25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-alt { background: var(--off); }
.card-teal {
  background: var(--teal-faint); border: 1px solid rgba(10,191,163,.2);
}

/* ── TAGS / CHIPS ────────────────────────────────────────────── */
.chip {
  display: inline-block; padding: 4px 12px; font-size: 11px; font-weight: 600;
  border-radius: 100px; font-family: var(--font-mono); letter-spacing: .06em;
}
.chip-teal   { background: var(--teal-faint); color: var(--teal); border: 1px solid rgba(10,191,163,.25); }
.chip-orange { background: var(--orange-f);  color: var(--orange); border: 1px solid rgba(249,115,22,.25); }
.chip-navy   { background: rgba(15,23,42,.06); color: var(--navy); border: 1px solid var(--border); }

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-label span { color: var(--orange); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 14px; font-family: var(--font-body); color: var(--navy);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,191,163,.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--mid); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-error { font-size: 12px; color: #EF4444; margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── BADGE ───────────────────────────────────────────────────── */
.badge { 
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 600;
}
.badge-success { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.badge-info    { background: var(--teal-faint); color: var(--teal); border: 1px solid rgba(10,191,163,.25); }

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.divider-dark { background: rgba(255,255,255,.08); }

/* ── TOAST NOTIFICATION ──────────────────────────────────────── */
#toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--navy); color: #fff;
  padding: 16px 24px; border-radius: var(--r-lg);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px); opacity: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  max-width: 380px;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast .toast-icon { font-size: 20px; flex-shrink: 0; }
#toast .toast-text .toast-title { font-weight: 700; font-size: 14px; }
#toast .toast-text .toast-sub { font-size: 12px; color: var(--mid); margin-top: 2px; }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--r-xl);
  max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(.95) translateY(20px); transition: transform .3s cubic-bezier(.34,1.2,.64,1);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 28px 32px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-title { font-size: 20px; font-weight: 700; color: var(--navy); }
.modal-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; cursor: pointer; font-size: 16px; color: var(--muted);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .2s;
}
.modal-close:hover { background: var(--off); color: var(--navy); }
.modal-body { padding: 28px 32px; }
.modal-footer { padding: 20px 32px 28px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ── PAGE HERO BANNER (inner pages) ─────────────────────────── */
.page-hero {
  background: var(--navy); color: var(--white);
  padding: 130px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,191,163,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10,191,163,.06) 1px, transparent 1px);
  background-size: 52px 52px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title  { color: var(--white); margin-bottom: 16px; }
.page-hero-sub    { color: rgba(255,255,255,.6); font-size: 18px; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,.25); }
.breadcrumb .current { color: rgba(255,255,255,.7); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .btn-lg { padding: 13px 24px; font-size: 15px; }
  #toast { bottom: 16px; right: 16px; left: 16px; max-width: none; }
}
