/* ========================================
   LawGuru India - Premium Law Education Portal
   Design: Editorial / Trust-Authority Aesthetic
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --navy: #0a1628;
  --navy-mid: #152338;
  --navy-light: #1e3450;
  --gold: #c9973a;
  --gold-light: #e0b96a;
  --gold-pale: #fdf3e0;
  --cream: #fafaf7;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --red: #c0392b;
  --green: #1a7a4a;
  --blue-accent: #1a5276;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.08);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.10);
  --shadow-lg: 0 8px 32px rgba(10,22,40,0.14);
  --shadow-xl: 0 20px 60px rgba(10,22,40,0.18);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--gray-900);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ==============================
   UTILITY CLASSES
   ============================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-500); }
.font-heading { font-family: var(--font-heading); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-gold { background: var(--gold-pale); color: var(--gold); border: 1px solid #e8c97a; }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-green { background: #e8f5ee; color: var(--green); }
.badge-red { background: #fdecea; color: var(--red); }

/* Grid helpers */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.9rem; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,151,58,0.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gold-pale); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ==============================
   SECTION HEADINGS
   ============================== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-tag::before {
  content: ''; display: block; width: 20px; height: 2px; background: var(--gold);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: 14px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-500);
  max-width: 640px; line-height: 1.65;
}

/* ==============================
   HEADER & NAVIGATION
   ============================== */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(10,22,40,0.3);
}

/* Top bar */
.header-top {
  background: var(--navy-mid);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-top .container {
  display: flex; justify-content: space-between; align-items: center;
}
.header-top-links { display: flex; gap: 20px; }
.header-top-links a {
  color: rgba(255,255,255,0.6); font-size: 0.78rem;
  transition: color var(--transition);
}
.header-top-links a:hover { color: var(--gold-light); }
.header-top-right { display: flex; align-items: center; gap: 16px; }
.header-top-right .exam-alert {
  font-size: 0.75rem; color: var(--gold-light); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.header-top-right .exam-alert::before {
  content: '●'; color: var(--gold); animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Main nav */
.header-main {
  padding: 14px 0;
}
.header-main .container { display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 42px; height: 42px; background: var(--gold);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 24px; height: 24px; fill: var(--navy); }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-heading); font-size: 1.35rem;
  font-weight: 700; color: var(--white); line-height: 1.1;
}
.logo-tagline { font-size: 0.65rem; color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* Search */
.header-search {
  flex: 1; max-width: 460px;
  position: relative;
}
.header-search input {
  width: 100%; padding: 10px 16px 10px 42px;
  border: none; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: var(--white); font-family: var(--font-body); font-size: 0.88rem;
  transition: background var(--transition);
}
.header-search input::placeholder { color: rgba(255,255,255,0.45); }
.header-search input:focus { outline: none; background: rgba(255,255,255,0.18); }
.header-search .search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; opacity: 0.5;
}
.header-search button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: var(--gold); border: none; border-radius: 4px;
  padding: 5px 12px; font-size: 0.78rem; font-weight: 600;
  color: var(--navy); cursor: pointer; transition: background var(--transition);
}
.header-search button:hover { background: var(--gold-light); }

/* Nav links */
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.82); font-size: 0.88rem; font-weight: 500;
  transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link .arrow {
  width: 10px; height: 10px; transition: transform var(--transition);
}
.nav-item:hover .nav-link .arrow { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 680px; background: var(--white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
  padding: 28px; opacity: 0; visibility: hidden;
  transition: all 0.2s ease; pointer-events: none;
  border: 1px solid var(--gray-200);
}
.mega-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; background: var(--white);
  border-left: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200);
  rotate: 45deg;
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega-col-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--gray-200);
}
.mega-links { display: flex; flex-direction: column; gap: 4px; }
.mega-link {
  font-size: 0.85rem; color: var(--gray-700); padding: 4px 8px;
  border-radius: 4px; transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.mega-link:hover { color: var(--navy); background: var(--gray-50); padding-left: 12px; }
.mega-link::before { content: '→'; font-size: 0.7rem; color: var(--gold); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mobile menu toggle */
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--white); padding: 8px; cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
  display: none; background: var(--navy-mid);
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-link {
  display: block; padding: 12px 16px; color: rgba(255,255,255,0.8);
  border-radius: 6px; font-size: 0.92rem; font-weight: 500;
  transition: all var(--transition);
}
.mobile-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* ==============================
   BREADCRUMBS
   ============================== */
.breadcrumb-bar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}
.breadcrumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb-item { font-size: 0.8rem; color: var(--gray-500); }
.breadcrumb-item a { color: var(--navy); transition: color var(--transition); }
.breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gray-300); font-size: 0.7rem; }
.breadcrumb-item.active { color: var(--gray-700); font-weight: 500; }

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 72px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9973a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,151,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-tag span {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.hero-tag::before {
  content: ''; display: block; width: 28px; height: 2px; background: var(--gold);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lead {
  font-size: 1.08rem; color: rgba(255,255,255,0.7);
  margin-bottom: 32px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--font-heading); font-size: 1.8rem;
  font-weight: 700; color: var(--gold-light); line-height: 1;
}
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Hero right — quick search card */
.hero-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 32px;
}
.hero-card-title {
  font-family: var(--font-heading); font-size: 1.3rem;
  color: var(--white); font-weight: 700; margin-bottom: 20px;
}
.quick-search-form { display: flex; flex-direction: column; gap: 14px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-group select, .form-group input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  appearance: none;
}
.form-group select option { background: var(--navy); }
.form-group select:focus, .form-group input:focus { outline: none; border-color: var(--gold); }

/* ==============================
   CATEGORY CARDS
   ============================== */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 20px 12px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all var(--transition); text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  border-color: var(--gold); background: var(--gold-pale);
}
.cat-icon {
  width: 48px; height: 48px; background: var(--navy);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background var(--transition);
}
.cat-card:hover .cat-icon { background: var(--gold); }
.cat-icon svg { width: 24px; height: 24px; fill: var(--white); }
.cat-card:hover .cat-icon svg { fill: var(--navy); }
.cat-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.cat-count { font-size: 0.72rem; color: var(--gray-500); }

/* ==============================
   EXAM CARDS
   ============================== */
.exam-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 24px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.exam-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--transition);
}
.exam-card:hover { box-shadow: var(--shadow-md); border-color: rgba(201,151,58,0.3); }
.exam-card:hover::before { transform: scaleY(1); }
.exam-name {
  font-family: var(--font-heading); font-size: 1.15rem;
  font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.exam-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.exam-pill {
  font-size: 0.75rem; padding: 3px 10px; border-radius: 100px;
  background: var(--gray-100); color: var(--gray-700); font-weight: 500;
}
.exam-date { font-size: 0.82rem; color: var(--red); font-weight: 600; margin-bottom: 14px; }
.exam-links { display: flex; gap: 10px; }
.exam-link {
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  border: 1px solid var(--gray-200); border-radius: 4px;
  padding: 6px 12px; transition: all var(--transition);
}
.exam-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.exam-link.primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.exam-link.primary:hover { background: var(--gold-light); }

/* ==============================
   COLLEGE CARDS
   ============================== */
.college-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 24px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column; gap: 14px;
}
.college-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(201,151,58,0.25); transform: translateY(-2px); }
.college-card-top { display: flex; align-items: flex-start; gap: 14px; }
.college-logo {
  width: 56px; height: 56px; border-radius: 10px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--font-heading); font-size: 1.1rem;
  font-weight: 700; color: var(--gold);
}
.college-info { flex: 1; min-width: 0; }
.college-name {
  font-family: var(--font-heading); font-size: 1rem;
  font-weight: 700; color: var(--navy); line-height: 1.3;
  margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.college-location { font-size: 0.8rem; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }
.college-rating {
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 6px;
}
.stars { color: var(--gold); font-size: 0.85rem; }
.rating-num { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); }
.college-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.college-tag { font-size: 0.7rem; padding: 2px 8px; border-radius: 100px; background: var(--gray-100); color: var(--gray-700); font-weight: 500; }
.college-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border-radius: 8px; overflow: hidden; }
.college-stat { background: var(--gray-50); padding: 10px; text-align: center; }
.college-stat-val { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.college-stat-key { font-size: 0.68rem; color: var(--gray-500); }
.college-actions { display: flex; gap: 8px; }
.college-actions a { flex: 1; text-align: center; font-size: 0.82rem; font-weight: 600; padding: 9px; border-radius: 6px; transition: all var(--transition); }
.college-actions .ca-primary { background: var(--navy); color: var(--white); }
.college-actions .ca-primary:hover { background: var(--navy-light); }
.college-actions .ca-outline { border: 1.5px solid var(--gray-300); color: var(--gray-700); }
.college-actions .ca-outline:hover { border-color: var(--navy); color: var(--navy); }

/* ==============================
   BLOG CARDS
   ============================== */
.blog-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-img { width: 100%; height: 180px; object-fit: cover; background: var(--gray-100); }
.blog-img-placeholder {
  width: 100%; height: 180px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 2rem;
}
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.blog-title {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--navy); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-excerpt { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; flex: 1; }
.blog-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.blog-meta { font-size: 0.75rem; color: var(--gray-500); }
.blog-read-more { font-size: 0.8rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 4px; }

/* ==============================
   INFO BOXES & HIGHLIGHTS
   ============================== */
.info-box {
  padding: 20px 24px; border-radius: var(--radius-md);
  border-left: 4px solid; margin: 20px 0;
}
.info-box.tip { border-color: var(--green); background: #f0faf4; }
.info-box.note { border-color: #3498db; background: #eaf4fb; }
.info-box.warning { border-color: var(--gold); background: var(--gold-pale); }
.info-box.alert { border-color: var(--red); background: #fdf2f0; }
.info-box-title { font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
.info-box p { font-size: 0.88rem; line-height: 1.65; color: var(--gray-700); }

/* ==============================
   COMPARISON TABLE
   ============================== */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.compare-table th {
  background: var(--navy); color: var(--white);
  padding: 14px 18px; text-align: left;
  font-size: 0.85rem; font-weight: 600;
}
.compare-table th:first-child { width: 180px; }
.compare-table td {
  padding: 13px 18px; border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem; color: var(--gray-700); vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.compare-table .feature-name { font-weight: 600; color: var(--navy); }
.compare-table .yes { color: var(--green); font-weight: 600; }
.compare-table .no { color: var(--red); font-weight: 600; }

/* Table responsive wrapper */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }

/* ==============================
   FAQ SECTION
   ============================== */
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; user-select: none; gap: 16px;
}
.faq-q-text { font-weight: 600; color: var(--navy); font-size: 0.95rem; line-height: 1.4; }
.faq-icon {
  width: 24px; height: 24px; background: var(--gray-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--transition);
  font-size: 1.1rem; color: var(--navy);
}
.faq-item.open .faq-icon { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: all var(--transition);
}
.faq-answer p { font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; padding-bottom: 18px; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ==============================
   STATS STRIP
   ============================== */
.stats-strip {
  background: var(--navy); padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stat-item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-heading); font-size: 2.4rem;
  font-weight: 900; color: var(--gold-light); line-height: 1;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ==============================
   TRUST STRIP
   ============================== */
.trust-strip {
  background: var(--white); padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-items { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray-700); font-weight: 500; }
.trust-icon { width: 20px; height: 20px; color: var(--green); }

/* ==============================
   SIDEBAR
   ============================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px; align-items: start;
}
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); overflow: hidden; margin-bottom: 20px;
}
.sidebar-widget-header {
  background: var(--navy); padding: 14px 18px;
  font-weight: 700; font-size: 0.85rem;
  color: var(--white); display: flex; align-items: center; gap: 8px;
}
.sidebar-widget-body { padding: 16px 18px; }
.sidebar-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-list-item a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 6px; border-radius: 6px; font-size: 0.85rem;
  color: var(--gray-700); transition: all var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-list-item:last-child a { border-bottom: none; }
.sidebar-list-item a:hover { color: var(--navy); padding-left: 10px; }
.sidebar-list-item .arrow { color: var(--gold); font-size: 0.7rem; }

/* Exam countdown widget */
.countdown-box {
  text-align: center; padding: 8px 0;
}
.countdown-exam-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.countdown-timer { display: flex; justify-content: center; gap: 12px; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; }
.countdown-num {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 900; color: var(--gold); background: var(--navy);
  width: 52px; height: 52px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.countdown-label { font-size: 0.65rem; color: var(--gray-500); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ==============================
   ARTICLE / CONTENT PAGE
   ============================== */
.article-header { padding: 40px 0 32px; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.article-header h1 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 16px; }
.article-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--gray-500); }
.article-lead { font-size: 1.05rem; color: var(--gray-700); line-height: 1.75; max-width: 800px; }
.article-body h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 36px 0 14px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.article-body h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; font-size: 0.95rem; line-height: 1.8; color: var(--gray-800); }
.article-body ul, .article-body ol { margin: 12px 0 16px 20px; }
.article-body li { font-size: 0.95rem; line-height: 1.7; color: var(--gray-800); margin-bottom: 6px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

/* TOC */
.toc {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold); border-radius: var(--radius-md);
  padding: 20px 24px; margin: 24px 0;
}
.toc-title { font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 12px; }
.toc-list { display: flex; flex-direction: column; gap: 6px; }
.toc-link { font-size: 0.85rem; color: var(--blue-accent); display: flex; align-items: center; gap: 6px; transition: color var(--transition); }
.toc-link:hover { color: var(--gold); }
.toc-link::before { content: '▸'; font-size: 0.65rem; color: var(--gold); flex-shrink: 0; }
.toc-link.level2 { padding-left: 16px; }

/* Author box */
.author-box {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  margin: 32px 0;
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; color: var(--gold); font-size: 1.2rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.author-role { font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.author-bio { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }

/* Key highlights box */
.highlights-box {
  background: var(--gold-pale); border: 1px solid rgba(201,151,58,0.3);
  border-radius: var(--radius-md); padding: 22px 26px; margin: 20px 0;
}
.highlights-title { font-weight: 700; color: var(--navy); margin-bottom: 12px; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.highlights-title::before { content: '⭐'; }
.highlights-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.highlight-item { font-size: 0.88rem; color: var(--gray-800); display: flex; align-items: flex-start; gap: 6px; }
.highlight-item::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ==============================
   RANKING TABLE
   ============================== */
.ranking-table { width: 100%; border-collapse: collapse; }
.ranking-table th { background: var(--navy); color: var(--white); padding: 12px 16px; font-size: 0.82rem; font-weight: 600; text-align: left; }
.ranking-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.88rem; color: var(--gray-700); }
.ranking-table tr:hover td { background: var(--gray-50); }
.rank-num { font-weight: 900; color: var(--gold); font-size: 1.1rem; font-family: var(--font-heading); }
.college-name-link { font-weight: 600; color: var(--navy); transition: color var(--transition); }
.college-name-link:hover { color: var(--gold); }

/* ==============================
   NEWSLETTER / CTA SECTION
   ============================== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.cta-section::after {
  content: ''; position: absolute; right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,151,58,0.15) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.cta-subtitle { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 28px; font-size: 1rem; }
.cta-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.cta-form input {
  flex: 1; padding: 13px 18px; border: none; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12); color: var(--white);
  font-size: 0.9rem; font-family: var(--font-body);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.4); }
.cta-form input:focus { outline: none; background: rgba(255,255,255,0.2); }

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: #060e1d; color: rgba(255,255,255,0.7);
  padding-top: 64px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-about { }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-desc { font-size: 0.85rem; line-height: 1.75; color: rgba(255,255,255,0.5); margin-bottom: 20px; max-width: 300px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: all var(--transition); font-size: 0.85rem;
}
.footer-social:hover { background: var(--gold); color: var(--navy); }
.footer-col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-link { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color var(--transition); padding: 2px 0; }
.footer-link:hover { color: var(--gold-light); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--gold-light); }

/* Massive footer links section */
.footer-links-mega {
  padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-links-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tag-link {
  font-size: 0.75rem; padding: 4px 12px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.footer-tag-link:hover { border-color: var(--gold); color: var(--gold-light); }

/* ==============================
   PEOPLE ALSO SEARCH
   ============================== */
.pas-section { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 24px; }
.pas-title { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pas-title::before { content: '🔍'; }
.pas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pas-item {
  font-size: 0.82rem; padding: 10px 12px; border-radius: 8px;
  background: var(--white); border: 1px solid var(--gray-200);
  color: var(--blue-accent); transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.pas-item:hover { border-color: var(--gold); background: var(--gold-pale); color: var(--navy); }
.pas-item::before { content: '↗'; color: var(--gold); font-size: 0.75rem; }

/* ==============================
   NOTIFICATION BANNER
   ============================== */
.notif-banner {
  background: linear-gradient(90deg, var(--gold) 0%, #e8b84b 100%);
  padding: 10px 0; overflow: hidden;
}
.notif-track { display: flex; gap: 48px; animation: scroll-left 30s linear infinite; white-space: nowrap; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.notif-item { font-size: 0.8rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.notif-item::before { content: '●'; font-size: 0.5rem; }

/* ==============================
   SEARCH RESULTS PAGE
   ============================== */
.search-result-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 20px 24px;
  transition: all var(--transition);
}
.search-result-item:hover { box-shadow: var(--shadow-md); border-color: rgba(201,151,58,0.3); }
.sr-category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 6px; }
.sr-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sr-excerpt { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }
.sr-url { font-size: 0.75rem; color: var(--green); margin-top: 6px; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --max-width: 100%; }
  .header-top { display: none; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .header-search { max-width: none; flex: 1; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { display: none; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .highlights-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pas-grid { grid-template-columns: 1fr; }
  .mega-menu { min-width: auto; width: calc(100vw - 40px); }
  .footer-links-grid { }
  .cta-form { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .college-stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.75rem; }
  .exam-links { flex-wrap: wrap; }
}

/* ==============================
   UTILITY ANIMATIONS
   ============================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Print */
@media print {
  .site-header, .site-footer, .sidebar, .notif-banner { display: none; }
  .page-layout { grid-template-columns: 1fr; }
}

/* ==============================
   LOADING SKELETON
   ============================== */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ==============================
   SCROLL TO TOP
   ============================== */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--navy);
  color: var(--white); border: none; border-radius: 50%;
  cursor: pointer; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--transition);
  z-index: 500;
}
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { background: var(--gold); color: var(--navy); }