/* ================================================
   CollegeXplorer – Shiksha.com Replica Styles
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:wght@400;500;600;700&display=swap');

/* ─── CSS Variables ─── */
:root {
  --primary: #FE5D14;
  --primary-dark: #E54D0D;
  --primary-light: #F4F6FF;
  --orange: #FE5D14;
  --orange-dark: #E54D0D;
  --orange-light: #FFF3E8;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --text-dark: #1C1C1C;
  --text-mid: #3C3C3C;
  --text-muted: #61657E;
  --text-light: #9EA2B8;
  --border: #E1E4F2;
  --bg-light: #F4F6FF;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .section-title, .hero-headline {
  font-family: 'Poppins', sans-serif;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ─── Utility ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-orange { color: var(--orange); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.section-title { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  background: white;
}

/* Top bar */
.header-top {
  background: var(--primary);
  padding: 4px 0; /* Reduced from 8px to make it slimmer */
}
.header-top .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo .main-logo {
  height: 72px;
  width: auto;
  border-radius: 4px;
}
.header-search {
  flex: 1;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 9px 44px 9px 16px;
  border-radius: 4px;
  border: none;
  font-size: 13px;
  outline: none;
  color: var(--text-dark);
}
.header-search .search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--orange);
  border: none;
  color: white;
  padding: 0 14px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 15px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-actions a {
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.2s;
}
.header-actions a:hover { background: rgba(255,255,255,0.15); }
.header-actions .btn-register {
  background: var(--orange);
  border-radius: 4px;
  padding: 7px 18px;
  font-weight: 700;
}
.header-actions .btn-register:hover { background: var(--orange-dark); }

/* Bottom nav */
.header-nav {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.header-nav .container {
  display: flex;
  align-items: center;
  position: static; /* Important for full-width megamenu */
}
.header-nav .container::-webkit-scrollbar { display: none; }
.header-nav-item {
  position: relative;
}
.header-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 12px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-nav a:hover, .header-nav a.active {
  color: white;
  border-bottom-color: var(--orange);
  background: rgba(255,255,255,0.07);
}
.header-nav a svg, .header-nav a i { width: 10px; height: 10px; transition: transform 0.2s; }

/* Dropdown / Mega Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0; /* Align with header-nav boundaries */
  background: white;
  width: 900px;
  max-width: 95vw;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1001;
  border-radius: 0 0 10px 10px;
  border-top: 3px solid var(--orange);
  padding: 24px;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.header-nav-item:hover .nav-dropdown {
  display: grid;
}
.header-nav-item:hover a i {
  transform: rotate(180deg);
}

/* Mega menu columns */
.nav-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--bg-light);
  display: block;
}
.nav-col-list {
  list-style: none;
}
.nav-col-list li a {
  color: var(--text-muted) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  padding: 6px 0 !important;
  display: block !important;
  background: transparent !important;
  transition: all 0.2s !important;
}
.nav-col-list li a:hover {
  color: var(--orange) !important;
  padding-left: 5px !important;
}

/* Featured College Cards in Nav */
.nav-featured-card {
  background: var(--bg-light);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.2s;
  border: 1px solid var(--border);
}
.nav-featured-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.nav-featured-card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}
.nav-featured-info {
  padding: 8px;
}
.nav-featured-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  line-height: 1.2;
}
.nav-featured-rating {
  font-size: 10px;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}

/* ─── HERO SECTION ─── */
.hero-section {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background-image 0.8s ease-in-out;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,50,50,0.6) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0 50px;
}
.hero-headline {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}
.hero-subtext {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-subtext span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-subtext b { color: white; font-size: 15px; }
.hero-subtext .dot { width: 5px; height: 5px; background: rgba(255,255,255,0.5); border-radius: 50%; }

/* Hero Search Box */
.hero-searchbox {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  max-width: 700px;
}
.hero-searchbox input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  font-size: 14px;
  outline: none;
  color: var(--text-dark);
}
.hero-searchbox input::placeholder { color: var(--text-light); }
.hero-searchbox .hero-search-btn {
  background: var(--orange);
  color: white;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-searchbox .hero-search-btn:hover { background: var(--orange-dark); }

/* Hero featured tabs */
.hero-tabs {
  display: flex;
  gap: 0;
  margin-top: 18px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 700px;
}
.hero-tabs a {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}
.hero-tabs a:last-child { border-right: none; }
.hero-tabs a:hover, .hero-tabs a.active {
  background: var(--orange);
  color: white;
}

/* ─── FEATURED COLLEGES STRIP ─── */
.featured-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.featured-strip .container {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.featured-strip .container::-webkit-scrollbar { display: none; }
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(254, 93, 20, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 15px rgba(254, 93, 20, 0); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(254, 93, 20, 0); transform: scale(1); }
}

@keyframes sweepShine {
  0% { left: -100%; }
  30% { left: 100%; }
  100% { left: 100%; }
}

.featured-card {
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  animation: pulseGlow 1.2s infinite ease-in-out;
  border: 2px solid rgba(254, 93, 20, 0.4);
  background: white;
  z-index: 1;
}

.featured-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: sweepShine 2.5s infinite ease-in-out;
  pointer-events: none;
}

.featured-card:hover { 
  background: white; 
  box-shadow: 0 15px 30px rgba(254, 93, 20, 0.2), 0 8px 12px rgba(254, 93, 20, 0.1);
  transform: translateY(-6px) scale(1.05);
  border-color: var(--orange);
  animation: none;
}
.featured-card img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.featured-card-info .college-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 3px;
}
.featured-card-info .college-loc {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}
.featured-card-info .learn-more {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
}
.featured-card-info .learn-more:hover { background: var(--primary); color: white; }
.featured-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--primary);
  color: white;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: inline-block;
  text-transform: uppercase;
}
.featured-tag-orange { background: var(--orange); }

/* ─── SECTION WRAPPER ─── */
.page-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.page-section.bg-light { background: var(--bg-light); }

/* ─── STREAM TILES ─── */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.stream-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text-dark);
}
.stream-tile:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stream-tile .stream-icon {
  font-size: 30px;
  margin-bottom: 8px;
  display: block;
}
.stream-tile .stream-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 3px;
}
.stream-tile .stream-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── EXAM PILLS ─── */
.exam-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.exam-pill {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  transition: all 0.2s;
  cursor: pointer;
  background: white;
}
.exam-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ─── CARDS CAROUSEL ─── */
.cards-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin-top: 16px;
}
.cards-row::-webkit-scrollbar { display: none; }

/* College card (home featured) */
.college-card-home {
  min-width: 200px;
  max-width: 200px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.college-card-home:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.college-card-home img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.college-card-home .card-body {
  padding: 10px 12px;
}
.college-card-home .card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}
.college-card-home .card-loc {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}
.college-card-home .card-actions {
  display: flex;
  gap: 6px;
}
.btn-apply {
  flex: 1;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 4px;
  text-align: center;
  transition: background 0.2s;
}
.btn-apply:hover { background: var(--orange-dark); }
.btn-brochure {
  flex: 1;
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-brochure:hover { background: var(--primary); color: white; }

/* ─── NEWS SECTION ─── */
.news-list { margin-top: 16px; }
.news-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }
.live-badge {
  background: #e53e3e;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  height: fit-content;
  margin-top: 2px;
}
.news-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.news-title:hover { color: var(--primary); }
.news-snippet {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.news-meta {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── PREDICT SECTION ─── */
.predict-cards { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; margin-top: 16px; }
.predict-cards::-webkit-scrollbar { display: none; }
.predict-card {
  min-width: 160px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  background: white;
}
.predict-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.predict-card img { width: 100%; height: 100px; object-fit: cover; }
.predict-card .predict-info {
  padding: 10px 12px;
  text-align: center;
}
.predict-card .pred-name { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.predict-card .pred-count { font-size: 11px; color: var(--text-muted); }

/* ─── COLLEGES LISTING PAGE ─── */
.page-colleges {
  background: var(--bg-light);
  min-height: 100vh;
  padding: 24px 0 48px;
}
.colleges-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
/* Sidebar */
.filter-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.filter-sidebar-head {
  background: var(--primary);
  color: white;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-group {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.filter-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.filter-group-title span { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}
.filter-checkbox input[type="checkbox"] {
  accent-color: var(--primary);
  width: 14px;
  height: 14px;
}
.filter-checkbox label {
  font-size: 12px;
  color: var(--text-mid);
  cursor: pointer;
}
.filter-checkbox label span { color: var(--text-light); margin-left: 4px; }
.filter-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 12px;
  outline: none;
  margin-bottom: 12px;
}
.filter-search input:focus { border-color: var(--primary); }
.btn-filter-apply {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 10px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-filter-apply:hover { background: var(--primary-dark); }

/* College list items */
.colleges-main { flex: 1; }
.colleges-top-bar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.colleges-top-bar .count { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.colleges-top-bar .count span { color: var(--primary); }
.sort-bar { display: flex; align-items: center; gap: 10px; }
.sort-btn {
  border: 1px solid var(--border);
  background: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.sort-btn.active, .sort-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.college-list-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.college-list-item:hover { box-shadow: var(--shadow-md); }
.college-list-inner {
  display: flex;
  gap: 0;
}
.college-list-img {
  width: 200px;
  min-height: 160px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.college-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.college-list-item:hover .college-list-img img { transform: scale(1.05); }
.college-list-img .sponsored-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.college-list-body {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.college-list-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.college-list-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.2s;
}
.college-list-name:hover { color: var(--primary); }
.college-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}
.college-list-loc {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.college-stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.college-stat {
  font-size: 12px;
  color: var(--text-muted);
}
.college-stat b {
  display: block;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 700;
}
.college-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.stars { color: #f59e0b; font-size: 13px; }

.college-list-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary-action {
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-action:hover { background: var(--primary-dark); }
.btn-secondary-action {
  background: white;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary-action:hover { background: var(--orange); color: white; }
.btn-ghost-action {
  background: white;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn-ghost-action:hover { border-color: var(--text-muted); color: var(--text-dark); }

/* Course tags */
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.course-tag {
  font-size: 11px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
.footer-main {
  padding: 40px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-logo .footer-logo-img {
  height: 72px; /* Standardized with header */
  width: auto;
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}
.footer-desc { font-size: 12px; line-height: 1.7; margin-bottom: 18px; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.social-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  transition: background 0.2s;
}
.social-icon:hover { background: var(--primary); }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: white; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* Phone actions */
.phone-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.phone-cta span { font-size: 12px; color: rgba(255,255,255,0.7); }
.phone-cta a { color: white; font-weight: 700; font-size: 14px; }

/* ─── AD BANNER STRIP ─── */
.ad-strip {
  background: linear-gradient(135deg, #1e3a5f, #006b6b);
  color: white;
  padding: 16px 0;
}
.ad-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ad-strip-text { font-size: 14px; font-weight: 600; }
.ad-strip-text span { color: var(--orange); font-weight: 700; }
.btn-ad-cta {
  background: var(--orange);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-ad-cta:hover { background: var(--orange-dark); }

/* ─── SECTION HEADER ─── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-head a {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-head a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .colleges-layout { flex-direction: column; }
  .filter-sidebar { width: 100%; position: static; }
  .college-list-img { width: 140px; }
}
@media (max-width: 640px) {
  .header-actions .btn-register { display: none; }
  .hero-headline { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .college-list-inner { flex-direction: column; }
  .college-list-img { width: 100%; height: 180px; }
  .stream-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── LOGIN / REGISTER PAGES ─── */
.auth-page {
  min-height: 100vh;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}
.auth-card-header {
  background: var(--primary);
  padding: 28px 32px 24px;
  text-align: center;
}
.auth-card-header h2 { color: white; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-card-header p { color: rgba(255,255,255,0.75); font-size: 13px; }
.auth-card-body { padding: 28px 32px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  color: var(--text-dark);
}
.form-input:focus { border-color: var(--primary); }
.btn-auth {
  width: 100%;
  background: var(--blue);
  color: white;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}
.btn-auth:hover { background: var(--blue-dark); }
.auth-divider { text-align: center; margin: 16px 0; font-size: 12px; color: var(--text-light); }
.auth-footer { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 16px; }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* ─── Breadcrumb ─── */
.breadcrumb {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ─── Tooltips / Tags ─── */
.tag-green {
  background: #d1fae5;
  color: #065f46;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.tag-blue {
  background: #dbeafe;
  color: #1e40af;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}

/* Logo Styles */
.college-logo-container {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icon {
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #666;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.15);
  color: #ff6b00;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.college-logo-container:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.college-logo {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.default-logo {
  opacity: 0.85;
}

/* Student Registration Section */
.register-section {
  min-height: 80vh;
  background: linear-gradient(135deg, #ff6b00, #ff8c42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.register-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.register-card h2 {
  text-align: center;
  margin-bottom: 8px;
  color: #ff6b00;
  font-size: 24px;
}

.register-card .subtext {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.form-group input, 
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #ff6b00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.submit-btn {
  width: 100%;
  background: #ff6b00;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #e55a00;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Navbar Apply Now Button */
.nav-apply-btn {
  background: #ff6b00;
  color: white !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.nav-apply-btn:hover {
  background: #e55a00;
  transform: scale(1.05);
}



/* Featured Partner Section */
.featured-partner {
  padding: 60px 0;
  background: #fcfcfc;
}

.featured-partner .section-head {
  text-align: center;
  margin-bottom: 40px;
}

.featured-partner h2 {
  font-size: 28px;
  color: #ff6b00;
  margin-bottom: 5px;
}

.featured-partner p {
  color: #666;
  font-size: 16px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partner-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border: 1px solid #eee;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.partner-logo-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.partner-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.partner-card .location {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.card-arrow {
  width: 32px;
  height: 32px;
  background: #ff6b00;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.2s;
}

.partner-card:hover .card-arrow {
  transform: translateX(5px);
}

.partner-grid .featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff6b00;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.view-all-partners {
  text-align: center;
  margin-top: 40px;
}

.btn-view-all {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #ff6b00;
  border: 2px solid #ff6b00;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.btn-view-all:hover {
  background: #ff6b00;
  color: #fff;
}

@media (max-width: 992px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

.college-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
}

/* ─── NIRF Badge ─── */
.nirf-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff6b00;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.4);
}

/* ─── FEATURED COLLEGES STRIP (Dynamic) ─── */
.featured-strip {
  padding: 28px 0 20px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  flex-direction: column;
}

.featured-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.featured-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--orange);
}

.college-logo-container {
  background: white;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.college-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.featured-card-info {
  flex: 1;
  min-width: 0;
}

.featured-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-tag-orange {
  background: var(--orange);
  color: white;
}

.featured-card .college-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card .college-loc {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}

.learn-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
}

@media (max-width: 900px) {
  .featured-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-cards-row {
    grid-template-columns: 1fr;
  }
}

/* ─── WHATSAPP FLOATING BUTTON ─── */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  color: white;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

/* --- College Logo System --- */
.logo-container {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.logo-container:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}

.college-logo {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* --- College Campus Image (fallback thumbnail) --- */
.image-container {
  width: 110px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.image-container:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.college-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* --- College Detail Banner Image --- */
.college-detail-image {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* --- Comparison Tray Styles --- */
#comparison-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  z-index: 10000;
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#comparison-tray.visible {
  transform: translateY(0);
}

.tray-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.selected-colleges-list {
  display: flex;
  gap: 12px;
  flex: 1;
}

.tray-item {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  gap: 8px;
  width: 180px;
  position: relative;
}

.tray-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tray-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.remove-tray-item {
  color: var(--text-light);
  cursor: pointer;
  font-size: 12px;
}

.remove-tray-item:hover {
  color: #ef4444;
}

.tray-actions {
  display: flex;
  gap: 12px;
}

.btn-compare-now {
  background: var(--orange);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(254, 93, 20, 0.25);
  transition: background 0.2s;
}

.btn-compare-now:hover {
  background: var(--orange-dark);
}

.compare-checkbox-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  cursor: pointer;
  user-select: none;
}

.compare-checkbox-container input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
}

.compare-checkbox-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─── Premium College Listing Components ─── */
.college-card-premium {
    cursor: pointer;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 24px;
    align-items: center;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.college-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    border-color: var(--orange);
}

.logo-container {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background: #ffffff;
    transition: transform 0.2s;
}

.college-card-premium:hover .logo-container {
    transform: scale(1.05);
}

.logo-fallback {
    user-select: none;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.apply-btn-hover:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(254, 93, 20, 0.4);
}

/* ─── MOBILE RESPONSIVENESS (OVERHAUL) ─── */
.mobile-menu-toggle { display: none; background: none; border: none; color: white; font-size: 22px; cursor: pointer; padding: 5px; }
.desktop-only { display: block; }
.mobile-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 11000;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav-content {
    position: absolute; top: 0; left: -280px; width: 280px; height: 100%;
    background: white; transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; box-shadow: 4px 0 20px rgba(0,0,0,0.2);
}
.mobile-nav-overlay.active .mobile-nav-content { left: 0; }
.mobile-nav-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-links { list-style: none; padding: 10px 0; margin: 0; overflow-y: auto; }
.mobile-nav-links li a { display: block; padding: 14px 24px; color: var(--text-dark); text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 1px solid #f1f5f9; }

@media (max-width: 992px) {
    .header-top .container { gap: 15px; }
    .header-search { flex: 1; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .desktop-only { display: none !important; }
    .header-top .container { justify-content: space-between; padding: 0 15px; }
    .header-search { display: none; } /* Hide search in main row, or move to dedicated row */
    .header-logo { flex: 1; text-align: center; }
    .main-logo { height: 45px; }
    
    /* Responsive Grids */
    .stream-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .cards-row { grid-template-columns: 1fr !important; }
    .featured-partner .partner-grid { grid-template-columns: 1fr !important; }
    
    /* Discovery Page Responsiveness */
    .mobile-only-btn { display: flex !important; }
    .responsive-flex { flex-direction: column !important; gap: 20px !important; }
    .sidebar-filters { 
        width: 100% !important; 
        display: none !important; /* Hidden by default on mobile */
    }
    .sidebar-filters.active { display: block !important; }
    .college-card-premium { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
    .college-card-premium .logo-container { width: 50px !important; height: 50px !important; }
    .college-card-premium .apply-btn-container { width: 100% !important; }
    .btn-apply-now { width: 100% !important; display: block !important; text-align: center; }

    /* Notice & News Stacking */
    .notice-board-container { flex-direction: column !important; }
    .news-section, .notice-board { width: 100% !important; }
    
    /* Auth Cards */
    .auth-card { width: 95%; margin: 10px auto; padding: 20px 15px !important; }
    .auth-card-body { padding: 20px 15px !important; }
    
    /* Hero Adjustments */
    .hero-section { padding: 60px 0 40px !important; }
    .hero-section h1 { font-size: 24px !important; }
    .hero-search-box { width: 95% !important; }
    
    /* Scrollable Row for Categories */
    .category-scroll {
        display: flex !important;
        overflow-x: auto;
        padding-bottom: 15px;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-scroll::-webkit-scrollbar { display: none; }
    .category-scroll .stream-tile { flex: 0 0 140px; }
}

@media (max-width: 480px) {
    .stream-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-section h1 { font-size: 20px !important; }
}

/* ─── ULTRA-SMALL SCREENS (320px - 360px) ─── */
@media (max-width: 360px) {
    body { font-size: 13px; }
    .hero-section h1 { font-size: 18px !important; }
    .auth-card-body { padding: 15px !important; }
    .main-logo { height: 40px !important; }
    .mobile-menu-toggle { font-size: 18px; }
}

/* ─── ULTRA-WIDE SCREENS (> 1440px) ─── */
@media (min-width: 1440px) {
    .container { max-width: 1320px !important; }
}

/* ─── STUDENT REVIEWS CSS ─── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-light);
}

.student-info .student-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.student-info .student-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
