:root {
  /* Primary */
  --primary: #003087; /* Deep Royal Blue */
  --primary-d: #001a5c; /* Darker navy */
  --primary-l: #1a4baa; /* Lighter blue */
  --primary-pale: #eef2fb;

  /* Accent */
  --accent: #c8102e; /* Academic Red */
  --accent-l: #e8112f;
  --accent-pale: #fef0f0;

  /* Gold */
  --gold: #b8960c;
  --gold-l: #d4ad0f;
  --gold-pale: #fefbec;

  /* Neutrals */
  --dark: #0a0e1a;
  --text: #1a1d2e;
  --muted: #6b7280;
  --border: #dee3f0;
  --border-l: #eaecf4;
  --gray: #f5f6fa;
  --gray-l: #fafbfd;
  --white: #ffffff;

  /* Sidebar */
  --sidebar-bg: #001a5c;
  --sidebar-w: 258px;

  /* Shadows */
  --shadow: 0 2px 12px rgba(0, 48, 135, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 48, 135, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 48, 135, 0.16);

  --radius: 6px;
  --radius-lg: 10px;

  /* Compat aliases */
  --green: var(--primary);
  --green-d: var(--primary-d);
  --green-l: var(--primary-l);
  --green-pale: var(--primary-pale);
  --red: var(--accent);
  --red-pale: var(--accent-pale);
  --blue: var(--primary);
  --blue-d: var(--primary-d);
  --blue-pale: var(--primary-pale);
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-l);
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ================================================================
   PUBLIC SITE — KU STYLE
   ================================================================ */

/* ── TOP UTILITY BAR ── */
.util-bar {
  background: var(--primary-d);
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.util-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.util-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.util-bar-left a,
.util-bar-left span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.util-bar-left a:hover {
  color: var(--gold-l);
}
.util-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.util-bar-right a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  text-decoration: none;
  transition: color 0.15s;
}
.util-bar-right a:hover {
  color: var(--gold-l);
}
.util-bar-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}

/* ── MAIN NAV ── */
.main-nav {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 200;
}
.main-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border: 2px solid var(--gold);
}
.nav-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.nav-brand-logo-text {
  font-family: "Cinzel", serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--gold);
}
.nav-brand-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-d);
  line-height: 1.25;
}
.nav-brand-text span {
  font-size: 10.5px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

/* Mega menu nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 72px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-item > a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
  background: var(--primary-pale);
}
.nav-item > a .arr {
  font-size: 9px;
  opacity: 0.5;
  margin-top: 1px;
}
.nav-item:hover > a {
  color: var(--primary);
  border-bottom-color: var(--accent);
  background: var(--primary-pale);
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 500;
  border-radius: 0 0 6px 6px;
}
.nav-item:hover .nav-dropdown {
  display: block;
}
.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-l);
  transition: all 0.15s;
}
.nav-dropdown a:last-child {
  border-bottom: none;
}
.nav-dropdown a:hover {
  background: var(--primary-pale);
  color: var(--primary);
  padding-left: 22px;
}

.nav-portal-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px !important;
  height: auto !important;
  border-radius: 4px;
  margin-left: 8px;
  border-bottom: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.nav-portal-btn:hover {
  background: var(--accent-l) !important;
  color: #fff !important;
}

/* Red accent strip */
.accent-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 60%);
}

/* ── HERO / SLIDER AREA ── */
.hero-slider {
  background: linear-gradient(
    120deg,
    var(--primary-d) 0%,
    var(--primary) 60%,
    #1a3ba0 100%
  );
  min-height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: rgba(200, 16, 46, 0.08);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-inner-ku {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(200, 16, 46, 0.25);
  border: 1px solid rgba(200, 16, 46, 0.5);
  color: #ffa0a0;
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-title span {
  color: var(--gold-l);
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  padding: 11px 26px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border: 2px solid var(--accent);
}
.btn-hero-primary:hover {
  background: #a00020;
  border-color: #a00020;
  transform: translateY(-1px);
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  padding: 11px 26px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hs-item h3 {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-l);
}
.hs-item p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Portal quick links */
.hero-portals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-portal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-portal-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-l);
  transform: translateX(4px);
}
.hpc-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hpc-green {
  background: rgba(0, 48, 135, 0.4);
}
.hpc-gold {
  background: rgba(184, 150, 12, 0.3);
}
.hpc-red {
  background: rgba(200, 16, 46, 0.3);
}
.hpc-white {
  background: rgba(255, 255, 255, 0.1);
}
.hpc-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.hpc-info p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
}
.hpc-arr {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  font-size: 18px;
}
.hero-portal-card:hover .hpc-arr {
  color: var(--gold-l);
}

/* ── STATS BAR ── */
.ku-stats-bar {
  background: var(--primary-d);
  padding: 22px 0;
  border-bottom: 2px solid var(--gold);
}
.ku-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ku-stat {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ku-stat:last-child {
  border-right: none;
}
.ku-stat-num {
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-l);
}
.ku-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── NOTICE + NEWS SECTION ── */
.ku-notice-news {
  padding: 48px 0;
  background: var(--white);
}
.ku-nn-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.ku-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ku-panel-head {
  background: var(--primary);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ku-panel-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ku-panel-head a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}
.ku-panel-head a:hover {
  color: var(--gold-l);
}
.ku-panel-accent .ku-panel-head {
  background: var(--accent);
}
.ku-panel-gold .ku-panel-head {
  background: var(--primary-d);
}
.ku-notice-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-l);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: background 0.15s;
  text-decoration: none;
}
.ku-notice-item:last-child {
  border-bottom: none;
}
.ku-notice-item:hover {
  background: var(--primary-pale);
}
.ku-ni-date {
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  flex-shrink: 0;
  min-width: 42px;
}
.ku-ni-date .nd {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.ku-ni-date .nm {
  font-size: 9px;
  text-transform: uppercase;
  opacity: 0.8;
}
.ku-ni-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}
.ku-ni-text:hover {
  color: var(--primary);
}
.ku-panel-accent .ku-ni-date {
  background: var(--accent);
}
.ku-ni-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 4px;
}
.ku-ni-tag-new {
  background: #dcfce7;
  color: #166534;
}
.ku-ni-tag-imp {
  background: #fef3c7;
  color: #92400e;
}

/* ── QUICK ACCESS TILES ── */
.ku-quick {
  padding: 40px 0;
  background: var(--gray);
}
.ku-quick-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.ku-section-head {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ku-section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--primary-d);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ku-section-head h2::before {
  content: "";
  display: block;
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
}
.ku-section-head a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.ku-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ku-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  border-top: 3px solid transparent;
}
.ku-tile:hover {
  border-top-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.ku-tile-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}
.ku-tile h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.ku-tile p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.ku-tile:hover h3 {
  color: var(--primary);
}

/* ── COURSES SECTION ── */
.ku-courses {
  padding: 48px 0;
  background: var(--white);
}
.ku-courses-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.ku-course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ku-course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.22s;
}
.ku-course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.ku-cc-header {
  background: var(--primary);
  padding: 18px 16px;
  text-align: center;
}
.ku-cc-header .cc-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}
.ku-cc-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.ku-cc-body {
  padding: 14px 16px;
}
.ku-cc-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border-l);
}
.ku-cc-row:last-child {
  border-bottom: none;
}
.ku-cc-row span:first-child {
  color: var(--muted);
}
.ku-cc-row span:last-child {
  font-weight: 600;
  color: var(--text);
}
.ku-cc-footer {
  padding: 12px 16px;
  background: var(--primary-pale);
  text-align: center;
}
.ku-cc-footer a {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

/* ── ABOUT / MISSION ── */
.ku-about {
  padding: 56px 0;
  background: var(--primary-d);
  position: relative;
  overflow: hidden;
}
.ku-about::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.07);
}
.ku-about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ku-about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}
.ku-about-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.ku-about-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ku-ac {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ku-ac-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.ku-ac-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.ku-ac-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ── VERIFY CTA ── */
.ku-verify {
  padding: 40px 0;
  background: var(--accent);
}
.ku-verify-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.ku-verify-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.ku-verify-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.ku-verify-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
  margin-left: auto;
}
.ku-verify-form input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  font-family: inherit;
}
.ku-verify-form button {
  background: var(--primary-d);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.ku-verify-form button:hover {
  background: #001040;
}

/* ── FOOTER ── */
.ku-footer {
  background: var(--dark);
  padding: 0;
}
.ku-footer-top {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ku-footer-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.ku-footer-brand {
}
.ku-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ku-footer-logo-box {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--primary);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ku-footer-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.ku-footer-logo-text {
  font-family: "Cinzel", serif;
  font-weight: 900;
  font-size: 15px;
  color: var(--gold);
}
.ku-footer-logo-name {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}
.ku-footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  margin-bottom: 14px;
}
.ku-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ku-footer-contact a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ku-footer-contact a:hover {
  color: var(--gold-l);
}
.ku-footer-col h4 {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ku-footer-col ul {
  list-style: none;
}
.ku-footer-col ul li {
  margin-bottom: 9px;
}
.ku-footer-col ul a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ku-footer-col ul a::before {
  content: "›";
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.ku-footer-col ul a:hover {
  color: var(--gold-l);
}
.ku-footer-bottom {
  padding: 16px 0;
}
.ku-footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ku-footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}
.ku-footer-bottom-links {
  display: flex;
  gap: 16px;
}
.ku-footer-bottom-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
}
.ku-footer-bottom-links a:hover {
  color: var(--gold-l);
}

/* ================================================================
   PANEL LAYOUT (Student / Institute / Admin)
   ================================================================ */
.app-wrap {
  display: flex;
  min-height: 100vh;
}
.main-area {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar-brand {
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--primary-d), #000c35);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
}
.btn-lg {
  padding: 12px 26px;
  font-size: 14.5px;
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.btn-green,
.btn-blue {
  background: var(--primary);
  color: #fff;
}
.btn-green:hover,
.btn-blue:hover {
  background: var(--primary-l);
}
.btn-red {
  background: var(--accent);
  color: #fff;
}
.btn-red:hover {
  background: var(--accent-l);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-l);
}
.btn-white {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-white:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-success {
  background: #059669;
  color: #fff;
}
.btn-success:hover {
  background: #047857;
}

/* ── FORMS ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.form-full {
  grid-column: 1/-1;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-req {
  color: var(--accent);
}
.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.08);
}
textarea.form-control {
  resize: vertical;
  min-height: 76px;
}
.form-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.photo-upload-area {
  display: flex;
  align-items: center;
  gap: 16px;
}
.photo-thumb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--primary-pale);
  border: 2px dashed var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── ALERTS ── */
.alert {
  padding: 11px 15px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 4px solid transparent;
}
.alert-success {
  background: #f0fdf4;
  border-left-color: #22c55e;
  color: #166534;
}
.alert-error {
  background: var(--accent-pale);
  border-left-color: var(--accent);
  color: #991b1b;
}
.alert-info {
  background: var(--primary-pale);
  border-left-color: var(--primary);
  color: var(--primary-d);
}
.alert-warn {
  background: var(--gold-pale);
  border-left-color: var(--gold);
  color: #78350f;
}

/* ── LOGIN PAGE ── */
.login-wrap {
  min-height: 100vh;
  background: linear-gradient(
    145deg,
    var(--primary-d) 0%,
    var(--primary) 55%,
    #0a2868 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.login-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
}
.login-box {
  background: var(--white);
  border-radius: 10px;
  padding: 38px 34px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
  border-top: 4px solid var(--gold);
}
.login-brand {
  text-align: center;
  margin-bottom: 26px;
}
.login-logo-ring {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  border: 3px solid var(--gold);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.login-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.login-logo-ring-text {
  font-family: "Cinzel", serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--gold);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-brand h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--dark);
}
.login-brand p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.login-back {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.login-back a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
