:root{
  --brand-red:#c1121f;
  --brand-dark:#0b1220;
  --brand-soft:#f8fafc;
  --brand-line:#e5e7eb;
}

body{ background: var(--brand-soft); color:#0f172a; }

/* TOP HEADER */
.topbar{
  background: linear-gradient(90deg, #0b1220, #1f2937);
  color:#fff;
  border-bottom: 3px solid var(--brand-red);
}
.brand-wrap{ display:flex; gap:14px; align-items:center; }

/* Logo prominence */
.logo-box{
  background: rgba(255,255,255,.10);
  border: 2px solid rgba(255,255,255,.20);
  border-radius: 16px;
  padding: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width: 130px;
  min-height: 110px;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.brand-logo{
  height: 90px;
  width:auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.35));
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 576px){
  .logo-box{ min-width: 110px; min-height: 96px; padding: 8px; border-radius: 14px; }
  .brand-logo{ height: 74px; }
}

.brand-title{
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  line-height: 1.12;
  margin:0;
  font-size: 1.35rem;
}
@media (max-width: 768px){ .brand-title{ font-size: 1.05rem; } }

.brand-tagline{
  margin: .2rem 0 0;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  line-height: 1.35;
}
.badge-composite{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin-top: .35rem;
  background: rgba(193,18,31,.18);
  border: 1px solid rgba(193,18,31,.40);
  color:#fff;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}

/* NAVBAR */
.navbar{
  background:#fff;
  border-bottom: 1px solid var(--brand-line);
}
.navbar .nav-link{
  font-weight: 700;
  color:#0f172a;
  padding: .75rem .9rem;
}
.navbar .nav-link:hover{ color: var(--brand-red); }
.navbar .nav-link.active{ color: var(--brand-red); }

.dropdown-menu{
  border: 1px solid var(--brand-line);
  box-shadow: 0 12px 30px rgba(15,23,42,.10);
  border-radius: 14px;
  padding: .5rem;
}
.dropdown-item{
  border-radius: 10px;
  padding: .55rem .75rem;
  font-weight: 700;
  color:#111827;
}
.dropdown-item:hover{ background: rgba(193,18,31,.08); color: var(--brand-red); }

/* Multi-level dropdown */
.dropdown-submenu{ position: relative; }
.dropdown-submenu > .dropdown-menu{
  top: 0;
  left: 100%;
  margin-left: .25rem;
  display: none;
}
.dropdown-submenu:hover > .dropdown-menu{ display:block; }
@media (max-width: 991.98px){
  .dropdown-submenu > .dropdown-menu{
    left: 0;
    margin-left: 0;
    margin-top: .25rem;
  }
}

/* Course strip */
.course-strip{
  background: #fff;
  border-bottom: 1px solid var(--brand-line);
}
.course-pill{
  display:flex;
  align-items:center;
  gap:.55rem;
  padding: .55rem .85rem;
  border-radius: 14px;
  border: 1px solid rgba(193,18,31,.25);
  background: rgba(193,18,31,.06);
  color:#0f172a;
  font-weight: 800;
  text-decoration:none;
  transition: .15s ease;
  white-space: nowrap;
}
.course-pill:hover{
  transform: translateY(-1px);
  border-color: rgba(193,18,31,.45);
  box-shadow: 0 10px 20px rgba(193,18,31,.10);
  color:#0f172a;
}
.course-pill i{ color: var(--brand-red); font-size: 1.1rem; }

/* Utilities */
.fw-black{ font-weight: 900; }

/* Cards (shared) */
.quick-card{
  background:#fff;
  border:1px solid var(--brand-line);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
}
.quick-btn{
  border-radius: 14px;
  padding: 14px;
  border:1px solid var(--brand-line);
  background:#fff;
  text-align:left;
  display:flex;
  align-items:center;
  gap:12px;
  transition:.15s ease;
  text-decoration:none;
  color:#0f172a;
  height:100%;
}
.quick-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(193,18,31,.35);
  box-shadow: 0 12px 24px rgba(193,18,31,.10);
  color:#0f172a;
}
.quick-ic{
  width: 42px; height: 42px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(193,18,31,.10);
  color: var(--brand-red);
  font-size: 1.25rem;
  flex: 0 0 auto;
}
.quick-title{ font-weight: 900; margin:0; }
.quick-sub{ margin:0; color:#475569; font-size:.92rem; }

/* Section cards (shared) */
.section-card{
  background:#fff;
  border:1px solid var(--brand-line);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  overflow: hidden;
}
.section-head{
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(193,18,31,.10), rgba(193,18,31,0));
  border-bottom: 1px solid var(--brand-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.section-head h5{ margin:0; font-weight: 900; }
.list-clean{ margin:0; padding:0; list-style:none; }
.list-clean li{
  padding: 12px 16px;
  border-bottom: 1px dashed rgba(148,163,184,.45);
}
.list-clean li:last-child{ border-bottom: 0; }
.list-clean a{ text-decoration:none; color:#0f172a; font-weight:800; }
.list-clean a:hover{ color: var(--brand-red); }

/* FOOTER */
footer{
  background:#0b1220;
  color: rgba(255,255,255,.86);
  border-top: 3px solid var(--brand-red);
}
footer a{ color: rgba(255,255,255,.86); text-decoration:none; }
footer a:hover{ color:#fff; text-decoration:underline; }
.social a{
  width: 40px; height: 40px;
  display:inline-grid;
  place-items:center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  margin-right: 8px;
}
.social a:hover{
  background: rgba(193,18,31,.20);
  border-color: rgba(193,18,31,.40);
  text-decoration:none;
}
