/* ═══════════════════════════════════════════
   EDUCENTRE — Main Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Variables ──────────────────────────── */
:root {
  --navy:        #1a0a00;
  --navy-mid:    #2c1200;
  --gold:        #D84315;
  --gold-light:  #FF7043;
  --cream:       #fdf8f5;
  --white:       #ffffff;
  --text:        #1a0f0a;
  --muted:       #7a6058;
  --border:      #ecddd8;
  --gold-border: rgba(216,67,21,0.25);
  --radius:      12px;
  --radius-lg:   20px;
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }


/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.ec-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(216,67,21,0.2);
}
.ec-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ec-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ec-logo__icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.ec-logo__text {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}
.ec-nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.ec-nav__links li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.ec-nav__links li a:hover { color: var(--gold-light); }

.ec-nav__btn {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}
.ec-nav__btn:hover { background: var(--gold-light) !important; }
.ec-nav__btn--outline {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.7) !important;
}
.ec-nav__btn--outline:hover { border-color: var(--gold-light) !important; color: var(--gold-light) !important; }

.ec-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ec-nav__burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.7); border-radius: 2px;
  transition: all 0.2s;
}


/* ══════════════════════════════════════════
   FLASH MESSAGES
══════════════════════════════════════════ */
.ec-messages { position: fixed; top: 72px; right: 1.5rem; z-index: 500; display: flex; flex-direction: column; gap: 0.5rem; }
.ec-message {
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 1rem;
  min-width: 280px;
}
.ec-message--success { border-color: #2d8a4e; }
.ec-message--error   { border-color: #BF360C; }
.ec-message__close   { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.1rem; margin-left: auto; }


/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.ec-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}
.ec-btn--gold         { background: var(--gold);  color: #fff; }
.ec-btn--gold:hover   { background: var(--gold-light); }
.ec-btn--outline      { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.ec-btn--outline:hover{ border-color: var(--gold-light); color: var(--gold-light); }
.ec-btn--outline-light{ background: transparent; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.65); }
.ec-btn--outline-light:hover{ border-color: var(--gold-light); color: var(--gold-light); }
.ec-btn--ghost        { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.ec-btn--ghost:hover  { border-color: var(--gold); color: var(--text); }
.ec-btn--full         { width: 100%; display: block; }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.ec-hero {
  background: var(--navy);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.ec-hero::before {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(216,67,21,0.07);
  pointer-events: none;
}
.ec-hero__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.ec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(216,67,21,0.12);
  border: 1px solid rgba(216,67,21,0.3);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.78rem; color: var(--gold-light);
  letter-spacing: 0.4px; margin-bottom: 1.5rem;
}
.ec-hero h1 {
  font-family: 'Playfair Display', serif;
  color: #fff; font-size: 2.9rem; font-weight: 900;
  line-height: 1.12; margin-bottom: 1.25rem;
}
.ec-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem; line-height: 1.75; margin-bottom: 2rem;
}
.ec-hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.ec-hero__stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ec-hero__stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: #fff; font-weight: 700;
}
.ec-hero__stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* Level cards in hero */
.ec-hero__levels { display: flex; flex-direction: column; gap: 0.85rem; }
.ec-level-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,67,21,0.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  transition: all 0.2s; cursor: pointer;
}
.ec-level-card:hover {
  background: rgba(216,67,21,0.07);
  border-color: rgba(216,67,21,0.35);
  transform: translateX(4px);
}
.ec-level-card__icon {
  width: 42px; height: 42px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.ec-level-card__info h4 { color: #fff; font-size: 0.9rem; font-weight: 500; }
.ec-level-card__info p  { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin-top: 2px; }
.ec-level-card__arrow   { margin-left: auto; color: var(--gold-light); opacity: 0.6; }


/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.ec-section         { padding: 5rem 2rem; }
.ec-section--white  { background: var(--white); }
.ec-section--cream  { background: var(--cream); }
.ec-section--dark   { background: var(--navy); }

.ec-section__inner         { max-width: 1200px; margin: 0 auto; }
.ec-section__inner--narrow { max-width: 720px; }

.ec-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.ec-section__inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem; font-weight: 700;
  color: var(--text); line-height: 1.2; margin-bottom: 0.75rem;
}
.ec-section__sub {
  color: var(--muted); font-size: 1rem;
  line-height: 1.75; max-width: 540px; margin-bottom: 3rem;
}
.ec-section__cta { text-align: center; margin-top: 2.5rem; }


/* ══════════════════════════════════════════
   ACADEMICS GRID
══════════════════════════════════════════ */
.ec-acad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ec-acad-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  position: relative; overflow: hidden;
}
.ec-acad-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.3s;
}
.ec-acad-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(216,67,21,0.1);
}
.ec-acad-card:hover::after { transform: scaleX(1); }
.ec-acad-card__emoji { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.ec-acad-card__label {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); background: rgba(216,67,21,0.08);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 0.5rem;
}
.ec-acad-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.5rem;
}
.ec-acad-card__desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.ec-acad-card__count { font-size: 0.78rem; color: var(--gold); font-weight: 500; margin-top: 1rem; }


/* ══════════════════════════════════════════
   SKILLS GRID
══════════════════════════════════════════ */
.ec-skills-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.ec-skill-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,67,21,0.15);
  border-radius: 16px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: all 0.2s;
}
.ec-skill-card:hover {
  background: rgba(216,67,21,0.06);
  border-color: rgba(216,67,21,0.3);
}
.ec-skill-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 900;
  color: rgba(216,67,21,0.06);
  position: absolute; right: 1.5rem; top: 0.5rem; line-height: 1;
}
.ec-skill-card__icon  { font-size: 1.8rem; margin-bottom: 0.75rem; }
.ec-skill-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: #fff; font-weight: 700; margin-bottom: 0.5rem;
}
.ec-skill-card__desc  { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.65; }
.ec-skill-card__tags  { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.ec-tag-pill {
  font-size: 0.75rem; padding: 4px 12px; border-radius: 20px;
  background: rgba(216,67,21,0.1);
  color: var(--gold-light); border: 1px solid rgba(216,67,21,0.2);
}


/* ══════════════════════════════════════════
   SCHOOLS SECTION
══════════════════════════════════════════ */
.ec-schools-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.ec-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.ec-feature   { display: flex; align-items: flex-start; gap: 1rem; }
.ec-feature__check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(216,67,21,0.1);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  font-size: 0.65rem; color: var(--gold);
}
.ec-feature__text h5 { font-size: 0.9rem; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.ec-feature__text p  { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.ec-cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.ec-cta-box::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 1px solid rgba(216,67,21,0.08); pointer-events: none;
}
.ec-cta-box h3 {
  font-family: 'Playfair Display', serif;
  color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem;
}
.ec-cta-box p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.5rem; }
.ec-cta-box__price       { margin-bottom: 1.75rem; }
.ec-cta-box__price-label { font-size: 0.75rem; color: rgba(255,255,255,0.35); letter-spacing: 1px; text-transform: uppercase; }
.ec-cta-box__price-val   { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: #fff; font-weight: 700; }
.ec-cta-box__price-val span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.35); }
.ec-btn--full + .ec-btn--full,
.ec-btn--full + .ec-btn--outline-light { margin-top: 0.75rem; }


/* ══════════════════════════════════════════
   BLOG GRID
══════════════════════════════════════════ */
.ec-blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.ec-blog-grid--large { grid-template-columns: repeat(3, 1fr); }
.ec-blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: block; color: inherit;
}
.ec-blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(216,67,21,0.09); }
.ec-blog-card__thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; overflow: hidden;
}
.ec-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ec-blog-card__body   { padding: 1.25rem 1.5rem 1.5rem; }
.ec-blog-card__cat    { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; margin-bottom: 0.4rem; }
.ec-blog-card__title  { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 0.4rem; }
.ec-blog-card__excerpt{ font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-bottom: 0.6rem; }
.ec-blog-card__meta   { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }


/* ══════════════════════════════════════════
   FILTER BAR (blog)
══════════════════════════════════════════ */
.ec-filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.ec-filter-btn {
  padding: 7px 18px; border-radius: 20px; font-size: 0.85rem;
  border: 1px solid var(--border); color: var(--muted);
  transition: all 0.2s; cursor: pointer;
}
.ec-filter-btn:hover        { border-color: var(--gold); color: var(--gold); }
.ec-filter-btn--active      { border-color: var(--gold); color: var(--gold); background: rgba(216,67,21,0.07); }


/* ══════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════ */
.ec-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3rem; }
.ec-pagination__btn  { padding: 8px 20px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.88rem; color: var(--text); transition: all 0.2s; }
.ec-pagination__btn:hover { border-color: var(--gold); color: var(--gold); }
.ec-pagination__info { font-size: 0.85rem; color: var(--muted); }


/* ══════════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════════ */
.ec-page-header { padding: 4rem 2rem 3rem; }
.ec-page-header--dark { background: var(--navy); }
.ec-page-header__inner { max-width: 1200px; margin: 0 auto; }
.ec-page-header--dark h1 { font-family: 'Playfair Display', serif; color: #fff; font-size: 2.4rem; font-weight: 900; margin: 0.5rem 0; }
.ec-page-header--dark p  { color: rgba(255,255,255,0.55); font-size: 1rem; margin-top: 0.5rem; }
.ec-back-link { display: inline-block; color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-bottom: 1rem; transition: color 0.2s; }
.ec-back-link:hover { color: var(--gold-light); }


/* ══════════════════════════════════════════
   ARTICLE (blog detail)
══════════════════════════════════════════ */
.ec-article__header { padding: 4rem 2rem 3rem; background: var(--navy); }
.ec-article__header-inner { max-width: 780px; margin: 0 auto; }
.ec-article__header h1 { font-family: 'Playfair Display', serif; color: #fff; font-size: 2.2rem; font-weight: 900; line-height: 1.2; margin: 0.75rem 0; }
.ec-article__meta { color: rgba(255,255,255,0.4); font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.ec-article__image { max-width: 780px; margin: 0 auto; }
.ec-article__image img { width: 100%; max-height: 420px; object-fit: cover; }
.ec-article__body { max-width: 780px; margin: 3rem auto; padding: 0 2rem 3rem; }
.ec-article__content { font-size: 1rem; line-height: 1.85; color: var(--text); }
.ec-article__content h2,
.ec-article__content h3 { font-family: 'Playfair Display', serif; margin: 2rem 0 0.75rem; }
.ec-article__content p  { margin-bottom: 1.25rem; }
.ec-article__content ul,
.ec-article__content ol { margin: 1rem 0 1.25rem 1.5rem; }
.ec-article__content img { border-radius: var(--radius); margin: 1.5rem 0; }


/* ══════════════════════════════════════════
   AUTH (login / register)
══════════════════════════════════════════ */
.ec-auth-wrap {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); padding: 2rem;
}
.ec-auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem; width: 100%; max-width: 420px;
}
.ec-auth-card__header { text-align: center; margin-bottom: 2rem; }
.ec-auth-card__header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--navy);
}
.ec-auth-card__header p  { color: var(--muted); font-size: 0.88rem; margin-top: 0.4rem; }
.ec-auth-card__footer    { text-align: center; margin-top: 1.5rem; font-size: 0.82rem; color: var(--muted); }
.ec-auth-card__footer a  { color: var(--gold); }


/* ══════════════════════════════════════════
   FORMS
══════════════════════════════════════════ */
.ec-form { display: flex; flex-direction: column; gap: 1rem; }
.ec-form__group { display: flex; flex-direction: column; gap: 6px; }
.ec-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ec-form__group label { font-size: 0.82rem; font-weight: 500; color: var(--text); }
.ec-form__group input,
.ec-form__group textarea,
.ec-form__group select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.92rem;
  font-family: inherit; color: var(--text);
  background: #fff; transition: border 0.2s; width: 100%;
}
.ec-form__group input:focus,
.ec-form__group textarea:focus { outline: none; border-color: var(--gold); }
.ec-form__error { font-size: 0.78rem; color: #BF360C; }

.ec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.ec-alert {
  padding: 0.9rem 1.25rem; border-radius: 8px;
  font-size: 0.88rem; margin-bottom: 1rem;
}
.ec-alert--error   { background: #fce8e8; color: #BF360C; border: 1px solid #f5c6c6; }
.ec-alert--warning { background: #fff8e1; color: #a06000; border: 1px solid #ffe082; }
.ec-alert--success { background: #e6f4ea; color: #2d8a4e; border: 1px solid #b7dfc3; }
.ec-alert a        { color: inherit; text-decoration: underline; }


/* ══════════════════════════════════════════
   SCHOOL DASHBOARD
══════════════════════════════════════════ */
.ec-dashboard { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 64px); }
.ec-sidebar {
  background: var(--navy);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(216,67,21,0.12);
}
.ec-sidebar__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 2.5rem; }
.ec-sidebar__logo img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.ec-sidebar__school-name { color: #fff; font-weight: 500; font-size: 0.9rem; }
.ec-sidebar__region      { color: rgba(255,255,255,0.4); font-size: 0.78rem; margin-top: 2px; }
.ec-sidebar__nav         { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.ec-sidebar__link {
  padding: 10px 14px; border-radius: 8px;
  color: rgba(255,255,255,0.55); font-size: 0.88rem;
  transition: all 0.2s; display: block;
}
.ec-sidebar__link:hover        { background: rgba(255,255,255,0.05); color: #fff; }
.ec-sidebar__link--active      { background: rgba(216,67,21,0.15); color: var(--gold-light); }
.ec-sidebar__footer            { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); }

.ec-dashboard__main    { padding: 2.5rem; background: var(--cream); }
.ec-dashboard__header  {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 2rem;
}
.ec-dashboard__header h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--text); }
.ec-dashboard__header p  { color: var(--muted); font-size: 0.88rem; margin-top: 3px; }

.ec-sub-badge { padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
.ec-sub-badge--active  { background: #e6f4ea; color: #2d8a4e; }
.ec-sub-badge--warning { background: #fff8e1; color: #a06000; }
.ec-sub-badge--expired { background: #fce8e8; color: #BF360C; }

.ec-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.ec-dash-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.ec-dash-stat__icon   { font-size: 1.5rem; }
.ec-dash-stat__label  { font-size: 0.78rem; color: var(--muted); }
.ec-dash-stat__val    { font-size: 0.95rem; font-weight: 500; color: var(--text); margin-top: 3px; }

.ec-empty { text-align: center; padding: 4rem 2rem; color: var(--muted); }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.ec-footer { background: var(--navy); padding: 4rem 2rem 1.5rem; border-top: 1px solid rgba(216,67,21,0.15); }
.ec-footer__inner { max-width: 1200px; margin: 0 auto; }
.ec-footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ec-footer__brand p      { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.7; margin-top: 0.75rem; max-width: 260px; }
.ec-footer__apps         { display: flex; gap: 0.75rem; margin-top: 1rem; }
.ec-app-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 6px 14px;
  color: rgba(255,255,255,0.5); font-size: 0.78rem; transition: all 0.2s;
}
.ec-app-badge:hover { border-color: var(--gold-light); color: var(--gold-light); }
.ec-footer__social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.ec-footer__social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 0.75rem; transition: all 0.2s;
}
.ec-footer__social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.ec-footer__col h5 { color: rgba(255,255,255,0.4); font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; }
.ec-footer__col ul { list-style: none; }
.ec-footer__col ul li { margin-bottom: 0.6rem; }
.ec-footer__col ul li a { color: rgba(255,255,255,0.4); font-size: 0.85rem; transition: color 0.2s; }
.ec-footer__col ul li a:hover { color: var(--gold-light); }
.ec-footer__bottom {
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.ec-footer__bottom p, .ec-footer__bottom a { color: rgba(255,255,255,0.25); font-size: 0.78rem; }
.ec-footer__bottom a:hover { color: var(--gold-light); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ec-acad-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ec-nav__links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1.5rem 2rem; gap: 1rem; border-bottom: 1px solid rgba(216,67,21,0.15); }
  .ec-nav__links.open { display: flex; }
  .ec-nav__burger { display: flex; }

  .ec-hero__inner    { grid-template-columns: 1fr; gap: 2rem; }
  .ec-hero h1        { font-size: 2.2rem; }
  .ec-hero__levels   { display: grid; grid-template-columns: 1fr 1fr; }

  .ec-acad-grid      { grid-template-columns: repeat(2, 1fr); }
  .ec-skills-grid    { grid-template-columns: 1fr; }
  .ec-schools-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .ec-blog-grid      { grid-template-columns: 1fr 1fr; }
  .ec-footer__top    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ec-dashboard      { grid-template-columns: 1fr; }
  .ec-sidebar        { display: none; }
  .ec-form__row      { grid-template-columns: 1fr; }
  .ec-dash-stats     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ec-hero h1        { font-size: 1.8rem; }
  .ec-hero__levels   { grid-template-columns: 1fr; }
  .ec-acad-grid      { grid-template-columns: 1fr; }
  .ec-blog-grid      { grid-template-columns: 1fr; }
  .ec-footer__top    { grid-template-columns: 1fr; }
  .ec-section        { padding: 3rem 1.25rem; }
}