/* ═══════════════════════════════════════════════════════════════
   CentralUniversity.in — Shiksha-Clone Design System v1.0
   Premium Education Portal UI
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. CSS VARIABLES ─── */
:root {
  /* Brand — Shiksha Orange + Deep Blues */
  --cu-orange: #E8590C;
  --cu-orange-hover: #D14B08;
  --cu-orange-light: #FFF4ED;
  --cu-orange-50: #FEF3E8;
  --cu-blue: #1A3C6E;
  --cu-blue-dark: #0F2847;
  --cu-blue-light: #2E5DA1;
  --cu-green: #0B8457;
  --cu-green-light: #E6F7F0;
  --cu-yellow: #F5A623;
  --cu-red: #E02020;
  --cu-purple: #6B21A8;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #ADB5BD;
  --gray-500: #868E96;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;
  --gray-900: #121417;

  /* Typography */
  --ff-heading: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --ff-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;

  /* Sizes */
  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 30px;
  --fs-4xl: 36px;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;
  --sp-2xl: 32px;
  --sp-3xl: 48px;
  --sp-4xl: 64px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.05);
  --sh-sm: 0 1px 3px rgba(0,0,0,.08);
  --sh-md: 0 4px 12px rgba(0,0,0,.08);
  --sh-lg: 0 8px 24px rgba(0,0,0,.1);
  --sh-xl: 0 16px 48px rgba(0,0,0,.12);
  --sh-mega: 0 12px 40px rgba(0,0,0,.15);

  /* Layout */
  --container: 1240px;
  --header-h: 64px;
  --nav-h: 48px;
  --sidebar-w: 300px;

  /* Transitions */
  --ease: .2s ease;
  --ease-slow: .35s cubic-bezier(.4,0,.2,1);
}

/* ─── 2. RESET + BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--gray-50);
}

a { color: var(--cu-blue-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--cu-orange); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.3;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

.cu-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ─── 3. HEADER — Shiksha Style ─── */
.cu-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.cu-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--sp-lg);
}

/* Logo */
.cu-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}
.cu-logo img { height: 36px; width: auto; }
.cu-logo-text {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--cu-blue);
  line-height: 1.2;
}
.cu-logo-text span { color: var(--cu-orange); }
.cu-logo-sub {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  font-weight: 400;
}

/* Search Bar — Shiksha prominent style */
.cu-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.cu-search-input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--r-full);
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  background: var(--gray-50);
  color: var(--gray-700);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.cu-search-input::placeholder { color: var(--gray-400); }
.cu-search-input:focus {
  border-color: var(--cu-orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232,89,12,.12);
}
.cu-search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--cu-orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}
.cu-search-btn:hover { background: var(--cu-orange-hover); }
.cu-search-btn svg { width: 16px; height: 16px; fill: var(--white); }

/* Search Dropdown */
.cu-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-mega);
  border: 1px solid var(--gray-200);
  max-height: 440px;
  overflow-y: auto;
  display: none;
  z-index: 1010;
}
.cu-search-dropdown.active { display: block; }
.cu-search-group { padding: var(--sp-md) var(--sp-lg); }
.cu-search-group-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gray-500);
  margin-bottom: var(--sp-sm);
}
.cu-search-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--r-md);
  transition: background var(--ease);
  cursor: pointer;
}
.cu-search-item:hover { background: var(--cu-orange-light); }
.cu-search-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.cu-search-item-text { font-size: var(--fs-sm); font-weight: 600; color: var(--gray-700); }
.cu-search-item-meta { font-size: var(--fs-xs); color: var(--gray-500); }

/* Header Actions */
.cu-header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-shrink: 0;
}
.cu-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 8px 18px;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.cu-btn-primary {
  background: var(--cu-orange);
  color: var(--white);
}
.cu-btn-primary:hover { background: var(--cu-orange-hover); color: var(--white); }
.cu-btn-outline {
  background: transparent;
  color: var(--cu-blue);
  border: 1.5px solid var(--gray-300);
}
.cu-btn-outline:hover { border-color: var(--cu-orange); color: var(--cu-orange); }
.cu-btn-ghost {
  background: transparent;
  color: var(--gray-600);
  padding: 8px 12px;
}
.cu-btn-ghost:hover { color: var(--cu-orange); }

/* ─── 4. MEGA NAVIGATION — Shiksha Tabs ─── */
.cu-nav {
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
}
.cu-nav-inner {
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cu-nav-inner::-webkit-scrollbar { display: none; }

.cu-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 var(--sp-lg);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gray-600);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--ease);
  margin-bottom: -2px;
}
.cu-nav-item:hover,
.cu-nav-item.active {
  color: var(--cu-orange);
  border-bottom-color: var(--cu-orange);
}
.cu-nav-item svg {
  width: 12px;
  height: 12px;
  margin-left: 4px;
  fill: currentColor;
  transition: transform var(--ease);
}
.cu-nav-item:hover svg { transform: rotate(180deg); }

/* Mega Dropdown */
.cu-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--sh-mega);
  z-index: 999;
  display: none;
  animation: cuSlideDown .2s ease;
}
.cu-nav-item:hover .cu-mega,
.cu-mega.show { display: block; }

@keyframes cuSlideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cu-mega-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2xl);
}

.cu-mega-col {}
.cu-mega-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--gray-100);
}
.cu-mega-list { list-style: none; }
.cu-mega-list li { margin-bottom: 2px; }
.cu-mega-list a {
  display: block;
  padding: 5px 8px;
  font-size: var(--fs-sm);
  color: var(--gray-600);
  border-radius: var(--r-sm);
  transition: all var(--ease);
}
.cu-mega-list a:hover {
  background: var(--cu-orange-light);
  color: var(--cu-orange);
  padding-left: 12px;
}

/* Featured College Card in Mega Menu */
.cu-mega-featured {
  background: linear-gradient(135deg, var(--cu-orange-50), var(--white));
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  margin-top: var(--sp-md);
}
.cu-mega-featured-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--cu-orange);
  background: var(--white);
  padding: 2px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-sm);
}
.cu-mega-featured h4 {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-xs);
}
.cu-mega-featured p {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

/* ─── 5. HERO SECTION — Search Focused ─── */
.cu-hero {
  background: linear-gradient(135deg, var(--cu-blue-dark) 0%, var(--cu-blue) 50%, var(--cu-blue-light) 100%);
  padding: var(--sp-4xl) 0;
  position: relative;
  overflow: hidden;
}
.cu-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,89,12,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cu-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--gray-50), transparent);
  pointer-events: none;
}

.cu-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cu-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: var(--sp-md);
  font-weight: 800;
}
.cu-hero h1 em {
  color: var(--cu-orange);
  font-style: normal;
}
.cu-hero-sub {
  color: rgba(255,255,255,.7);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto var(--sp-2xl);
}

/* Hero Search */
.cu-hero-search {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.cu-hero-search input {
  width: 100%;
  height: 56px;
  padding: 0 56px 0 24px;
  border: none;
  border-radius: var(--r-full);
  font-size: var(--fs-md);
  font-family: var(--ff-body);
  background: var(--white);
  box-shadow: var(--sh-xl);
  outline: none;
}
.cu-hero-search input::placeholder { color: var(--gray-400); }
.cu-hero-search-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--cu-orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cu-hero-search-btn svg { width: 18px; height: 18px; fill: var(--white); }

/* Quick Tags */
.cu-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
  margin-top: var(--sp-xl);
}
.cu-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
  transition: all var(--ease);
  cursor: pointer;
}
.cu-hero-tag:hover {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

/* Stats Bar */
.cu-stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--sp-3xl);
  margin-top: var(--sp-2xl);
}
.cu-stat {
  text-align: center;
  color: var(--white);
}
.cu-stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1;
}
.cu-stat-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ─── 6. TRENDING BAR — Like Shiksha Ticker ─── */
.cu-trending {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--sp-md) 0;
}
.cu-trending-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  overflow-x: auto;
  scrollbar-width: none;
}
.cu-trending-inner::-webkit-scrollbar { display: none; }
.cu-trending-label {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--cu-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cu-trending-label::after {
  content: '';
  width: 1px;
  height: 20px;
  background: var(--gray-300);
}
.cu-trending-item {
  white-space: nowrap;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-600);
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--gray-100);
  transition: all var(--ease);
}
.cu-trending-item:hover {
  background: var(--cu-orange-light);
  color: var(--cu-orange);
}

/* ─── 7. SECTION SYSTEM ─── */
.cu-section {
  padding: var(--sp-3xl) 0;
}
.cu-section:nth-child(even) { background: var(--white); }

.cu-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-xl);
}
.cu-section-title {
  font-size: var(--fs-2xl);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.cu-section-title-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  background: var(--cu-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.cu-section-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--cu-orange);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cu-section-link:hover { text-decoration: underline; }

/* ─── 8. UNIVERSITY CARDS — Shiksha College Card Style ─── */
.cu-uni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-lg);
}

.cu-uni-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--ease-slow);
  position: relative;
}
.cu-uni-card:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--cu-orange);
  transform: translateY(-2px);
}

.cu-uni-card-top {
  display: flex;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  align-items: flex-start;
}
.cu-uni-card-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  object-fit: contain;
  flex-shrink: 0;
  background: var(--white);
  padding: 4px;
}
.cu-uni-card-info { flex: 1; min-width: 0; }
.cu-uni-card-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cu-uni-card-name a { color: inherit; }
.cu-uni-card-name a:hover { color: var(--cu-orange); }
.cu-uni-card-loc {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cu-uni-card-loc svg { width: 12px; height: 12px; fill: var(--gray-400); }

/* Rating Badge */
.cu-uni-card-rating {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--cu-green);
  color: var(--white);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.cu-uni-card-rating svg { width: 10px; height: 10px; fill: var(--white); }

/* Tags Row */
.cu-uni-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 var(--sp-lg);
  margin-top: -4px;
}
.cu-uni-tag {
  font-size: var(--fs-xs);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.cu-uni-tag-naac { background: #EFF6FF; color: #1E40AF; }
.cu-uni-tag-nirf { background: #FEF3C7; color: #92400E; }
.cu-uni-tag-estd { background: var(--gray-100); color: var(--gray-600); }

/* Meta Row */
.cu-uni-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  margin-top: var(--sp-lg);
  border-top: 1px solid var(--gray-200);
}
.cu-uni-card-meta-item {
  padding: var(--sp-md);
  background: var(--gray-50);
  text-align: center;
}
.cu-uni-card-meta-val {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gray-800);
}
.cu-uni-card-meta-label {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-top: 2px;
}

/* CTA Row */
.cu-uni-card-cta {
  display: flex;
  gap: 1px;
  background: var(--gray-200);
  border-top: 1px solid var(--gray-200);
}
.cu-uni-card-cta a {
  flex: 1;
  padding: var(--sp-md);
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  font-family: var(--ff-heading);
  background: var(--white);
  transition: all var(--ease);
}
.cu-uni-card-cta a:first-child {
  color: var(--cu-orange);
}
.cu-uni-card-cta a:first-child:hover { background: var(--cu-orange-light); }
.cu-uni-card-cta a:last-child {
  color: var(--cu-blue-light);
}
.cu-uni-card-cta a:last-child:hover { background: #EFF4FB; }

/* ─── 9. TABBED SECTIONS — Shiksha Stream Tabs ─── */
.cu-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: var(--sp-xl);
  overflow-x: auto;
  scrollbar-width: none;
}
.cu-tabs::-webkit-scrollbar { display: none; }

.cu-tab {
  padding: var(--sp-md) var(--sp-xl);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--ease);
  margin-bottom: -2px;
}
.cu-tab:hover { color: var(--gray-700); }
.cu-tab.active {
  color: var(--cu-orange);
  border-bottom-color: var(--cu-orange);
}

.cu-tab-content { display: none; }
.cu-tab-content.active { display: block; }

/* ─── 10. RANKINGS TABLE ─── */
.cu-ranking-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.cu-ranking-table thead th {
  background: var(--cu-blue-dark);
  color: var(--white);
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: var(--sp-md) var(--sp-lg);
  text-align: left;
}
.cu-ranking-table tbody tr {
  transition: background var(--ease);
}
.cu-ranking-table tbody tr:hover { background: var(--cu-orange-50); }
.cu-ranking-table tbody td {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--fs-sm);
  vertical-align: middle;
}
.cu-ranking-table tbody tr:last-child td { border-bottom: none; }

.cu-rank-badge {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--cu-orange-light);
  color: var(--cu-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-xs);
}
.cu-rank-badge.top3 {
  background: var(--cu-orange);
  color: var(--white);
}

.cu-rank-uni {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.cu-rank-uni img {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  object-fit: contain;
}
.cu-rank-uni-name {
  font-weight: 700;
  color: var(--gray-800);
}
.cu-rank-uni-loc {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

/* ─── 11. COMPARISON TOOL ─── */
.cu-compare {
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl);
  text-align: center;
}
.cu-compare-slots {
  display: flex;
  gap: var(--sp-lg);
  justify-content: center;
  align-items: center;
  margin: var(--sp-xl) 0;
}
.cu-compare-slot {
  width: 200px;
  height: 120px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  cursor: pointer;
  transition: all var(--ease);
  background: var(--gray-50);
}
.cu-compare-slot:hover {
  border-color: var(--cu-orange);
  background: var(--cu-orange-light);
}
.cu-compare-slot-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gray-500);
}
.cu-compare-slot-text {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-500);
}
.cu-compare-vs {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--cu-orange);
}

/* Filled Slot */
.cu-compare-slot.filled {
  border-style: solid;
  border-color: var(--cu-blue-light);
  background: var(--white);
}
.cu-compare-slot.filled .cu-compare-slot-icon {
  background: var(--cu-blue-light);
  color: var(--white);
}

/* ─── 12. Q&A SECTION — Shiksha Style ─── */
.cu-qa-list { display: flex; flex-direction: column; gap: var(--sp-md); }

.cu-qa-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  transition: all var(--ease);
}
.cu-qa-item:hover {
  box-shadow: var(--sh-sm);
  border-color: var(--gray-300);
}

.cu-qa-q {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}
.cu-qa-q-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--cu-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.cu-qa-q-text {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
}

.cu-qa-a {
  padding-left: 36px;
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.7;
}
.cu-qa-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding-left: 36px;
  margin-top: var(--sp-md);
  font-size: var(--fs-xs);
  color: var(--gray-400);
}
.cu-qa-meta span { display: flex; align-items: center; gap: 4px; }

/* ─── 13. ARTICLES / NEWS GRID ─── */
.cu-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-lg);
}

.cu-article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--ease-slow);
}
.cu-article-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.cu-article-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--gray-200);
}
.cu-article-body { padding: var(--sp-lg); }
.cu-article-cat {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--cu-orange);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: var(--sp-sm);
}
.cu-article-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
  margin-bottom: var(--sp-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cu-article-title a { color: inherit; }
.cu-article-title a:hover { color: var(--cu-orange); }
.cu-article-excerpt {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cu-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-lg);
  border-top: 1px solid var(--gray-100);
  font-size: var(--fs-xs);
  color: var(--gray-400);
}

/* ─── 14. SIDEBAR ─── */
.cu-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--sp-2xl);
  align-items: flex-start;
}
.cu-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--nav-h) + 20px);
}

.cu-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-lg);
}
.cu-widget-header {
  padding: var(--sp-lg);
  border-bottom: 1px solid var(--gray-200);
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--gray-800);
}
.cu-widget-body { padding: var(--sp-lg); }

/* Popular Universities Widget */
.cu-widget-uni-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--gray-100);
}
.cu-widget-uni-item:last-child { border-bottom: none; }
.cu-widget-uni-rank {
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--cu-orange-light);
  color: var(--cu-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 800;
  flex-shrink: 0;
}
.cu-widget-uni-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-700);
}

/* Ad Widget */
.cu-widget-ad {
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--r-lg);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: var(--gray-400);
  margin-bottom: var(--sp-lg);
}

/* ─── 15. SINGLE UNIVERSITY PAGE ─── */
.cu-uni-hero {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--sp-2xl) 0;
}
.cu-uni-hero-inner {
  display: flex;
  gap: var(--sp-2xl);
  align-items: flex-start;
}
.cu-uni-hero-logo {
  width: 100px;
  height: 100px;
  border-radius: var(--r-lg);
  border: 2px solid var(--gray-200);
  object-fit: contain;
  padding: 8px;
  background: var(--white);
  flex-shrink: 0;
}
.cu-uni-hero-info { flex: 1; }
.cu-uni-hero-name {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-sm);
}
.cu-uni-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}
.cu-uni-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.cu-uni-badge-naac { background: #DBEAFE; color: #1E40AF; }
.cu-uni-badge-nirf { background: #FEF3C7; color: #92400E; }
.cu-uni-badge-estd { background: var(--gray-100); color: var(--gray-600); }
.cu-uni-badge-govt { background: var(--cu-green-light); color: var(--cu-green); }

/* University Tab Navigation */
.cu-uni-tabs {
  display: flex;
  gap: 0;
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: calc(var(--header-h) + var(--nav-h));
  z-index: 100;
}
.cu-uni-tabs::-webkit-scrollbar { display: none; }
.cu-uni-tab {
  padding: var(--sp-lg) var(--sp-xl);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gray-500);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--ease);
}
.cu-uni-tab:hover { color: var(--gray-700); }
.cu-uni-tab.active {
  color: var(--cu-orange);
  border-bottom-color: var(--cu-orange);
}

/* Info Table — Shiksha Style */
.cu-info-table {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cu-info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--gray-100);
}
.cu-info-row:last-child { border-bottom: none; }
.cu-info-label {
  padding: var(--sp-md) var(--sp-lg);
  background: var(--gray-50);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gray-600);
}
.cu-info-value {
  padding: var(--sp-md) var(--sp-lg);
  font-size: var(--fs-sm);
  color: var(--gray-700);
}

/* ─── 16. FOOTER — Shiksha Style ─── */
.cu-footer {
  background: var(--cu-blue-dark);
  color: rgba(255,255,255,.65);
  padding-top: var(--sp-4xl);
}
.cu-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--sp-2xl);
}
.cu-footer-brand { }
.cu-footer-brand-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-md);
}
.cu-footer-brand-name span { color: var(--cu-orange); }
.cu-footer-brand p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 320px;
}

.cu-footer-heading {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: var(--sp-lg);
}
.cu-footer-links { list-style: none; }
.cu-footer-links li { margin-bottom: var(--sp-sm); }
.cu-footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.cu-footer-links a:hover { color: var(--cu-orange); }

.cu-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: var(--sp-3xl);
  padding: var(--sp-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
}
.cu-footer-social {
  display: flex;
  gap: var(--sp-md);
}
.cu-footer-social a {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--ease);
}
.cu-footer-social a:hover {
  background: var(--cu-orange);
  color: var(--white);
}
.cu-footer-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── 17. BREADCRUMBS ─── */
.cu-breadcrumbs {
  padding: var(--sp-md) 0;
  font-size: var(--fs-xs);
  color: var(--gray-400);
}
.cu-breadcrumbs a { color: var(--gray-500); }
.cu-breadcrumbs a:hover { color: var(--cu-orange); }
.cu-breadcrumbs .sep { margin: 0 6px; }

/* ─── 18. CUTOFF TABLE ─── */
.cu-cutoff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cu-cutoff-table thead th {
  background: var(--cu-blue);
  color: var(--white);
  padding: var(--sp-md);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
}
.cu-cutoff-table td {
  padding: var(--sp-md);
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--fs-sm);
}
.cu-cutoff-table tr:nth-child(even) { background: var(--gray-50); }

/* ─── 19. REVIEW CARDS ─── */
.cu-review {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-md);
}
.cu-review-header {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}
.cu-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--cu-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--cu-orange);
  font-size: var(--fs-sm);
}
.cu-review-author { font-weight: 700; font-size: var(--fs-sm); color: var(--gray-800); }
.cu-review-date { font-size: var(--fs-xs); color: var(--gray-400); }
.cu-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-sm);
}
.cu-review-stars svg { width: 14px; height: 14px; }
.cu-review-stars svg.filled { fill: var(--cu-yellow); }
.cu-review-stars svg.empty { fill: var(--gray-300); }
.cu-review-text {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─── 20. MOBILE RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cu-layout { grid-template-columns: 1fr; }
  .cu-sidebar { position: static; }
  .cu-mega-inner { grid-template-columns: repeat(2, 1fr); }
  .cu-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
    --nav-h: 44px;
    --container: 100%;
  }

  .cu-header-top { padding: 0 12px; }
  .cu-search { display: none; }
  .cu-search-mobile { display: block; }

  .cu-hero { padding: var(--sp-2xl) 0; }
  .cu-hero h1 { font-size: 24px; }
  .cu-hero-sub { font-size: var(--fs-sm); }
  .cu-hero-search input { height: 48px; font-size: var(--fs-sm); }

  .cu-stats-bar { gap: var(--sp-lg); }
  .cu-stat-number { font-size: var(--fs-xl); }

  .cu-mega-inner { grid-template-columns: 1fr; padding: var(--sp-lg); gap: var(--sp-lg); }

  .cu-uni-grid { grid-template-columns: 1fr; }
  .cu-article-grid { grid-template-columns: 1fr; }

  .cu-uni-hero-inner { flex-direction: column; gap: var(--sp-lg); }
  .cu-uni-hero-logo { width: 72px; height: 72px; }

  .cu-info-row { grid-template-columns: 1fr; }
  .cu-info-label { padding: var(--sp-sm) var(--sp-lg) 0; background: transparent; }
  .cu-info-value { padding: 2px var(--sp-lg) var(--sp-md); }

  .cu-compare-slots { flex-direction: column; }

  .cu-footer-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .cu-footer-bottom { flex-direction: column; gap: var(--sp-md); text-align: center; }

  /* Mobile nav hamburger */
  .cu-mobile-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
  }
  .cu-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gray-700);
    position: relative;
  }
  .cu-mobile-toggle span::before,
  .cu-mobile-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gray-700);
  }
  .cu-mobile-toggle span::before { top: -6px; }
  .cu-mobile-toggle span::after { bottom: -6px; }
}

@media (min-width: 769px) {
  .cu-mobile-toggle { display: none; }
  .cu-search-mobile { display: none; }
}

/* ─── 21. UTILITY CLASSES ─── */
.text-orange { color: var(--cu-orange); }
.text-blue { color: var(--cu-blue); }
.text-green { color: var(--cu-green); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.hide { display: none; }
.show { display: block; }

/* ─── 22. PRINT ─── */
@media print {
  .cu-header, .cu-nav, .cu-footer, .cu-sidebar, .cu-widget-ad { display: none; }
  body { background: white; color: black; }
}
