:root {
  --navy: #0f2942;
  --navy-light: #1c4166;
  --gold: #d4af37;
  --bg: #f4f7fa;
  --text: #1e293b;
  --muted: #64748b;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; }

/* Ticker */
.ticker { background: var(--gold); color: var(--navy); padding: 8px 5%; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; }
.ticker span.badge { background: var(--navy); color: #fff; padding: 2px 10px; border-radius: 4px; margin-right: 12px; font-size: 0.78rem; }

/* Header */
header { background: var(--navy); color: #fff; padding: 14px 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.brand h1 { font-size: 1.35rem; letter-spacing: 0.4px; }
.brand small { color: var(--gold); font-size: 0.8rem; display: block; }
nav a { color: #e2e8f0; margin-left: 18px; font-weight: 500; font-size: 0.95rem; transition: 0.2s; }
nav a:hover { color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--navy) !important; padding: 8px 18px; border-radius: 6px; font-weight: 700 !important; display: inline-block; }
.btn-navy { background: var(--navy); color: #fff !important; padding: 10px 20px; border-radius: 6px; font-weight: 600; border: none; cursor: pointer; display: inline-block; }
.btn-navy:hover { background: var(--navy-light); }

/* Hero */
.hero { background: linear-gradient(135deg, #0f2942 0%, #1a3f63 100%); color: #fff; text-align: center; padding: 90px 5% 110px; }
.hero h2 { font-size: 2.6rem; margin-bottom: 14px; }
.hero p { max-width: 760px; margin: 0 auto 28px; color: #cbd5e1; font-size: 1.15rem; }
.hero .actions a { margin: 6px; padding: 13px 26px; border-radius: 6px; font-weight: 700; display: inline-block; }
.hero .actions .outline { border: 2px solid #fff; color: #fff; }

/* Stats */
.stats-wrap { max-width: 1100px; margin: -45px auto 30px; padding: 0 5%; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 24px; text-align: center; }
.stat h3 { font-size: 2rem; color: var(--navy); }
.stat p { color: var(--muted); font-weight: 600; font-size: 0.9rem; }

/* Sections & Cards */
.container { max-width: 1200px; margin: auto; padding: 50px 5%; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: 1.95rem; color: var(--navy); }
.sec-head .bar { width: 60px; height: 4px; background: var(--gold); margin: 10px auto 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card { background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-top: 4px solid var(--navy); }
.card h3 { color: var(--navy); margin-bottom: 8px; }

/* Admission Box */
.adm-box { background: var(--navy); color: #fff; border-radius: 12px; padding: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.adm-box input, .adm-box select, .form-control { width: 100%; padding: 11px 14px; border-radius: 6px; border: 1px solid #cbd5e1; margin-bottom: 14px; font-size: 0.95rem; }

/* Dashboard & Tables */
.dash-nav { background: #fff; padding: 14px 5%; border-bottom: 1px solid #e2e8f0; display: flex; gap: 15px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.dash-links a { color: var(--navy); font-weight: 600; margin-right: 16px; padding: 6px 10px; border-radius: 5px; }
.dash-links a:hover { background: #e2e8f0; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; }
th { background: var(--navy); color: #fff; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-weight: 500; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

footer { background: #091929; color: #94a3b8; text-align: center; padding: 28px 5%; margin-top: 40px; }
@media(max-width: 768px) { .adm-box { grid-template-columns: 1fr; } .hero h2 { font-size: 1.9rem; } }
