/* ═══════════════════════════════════════════════
   SarkariExams — Design System v3.0
   Theme: Saffron → Gold | Glassmorphism + Dark-First
   Based on mydashboard.co.in instructions.md
   ═══════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;600&display=swap');

/* ═══ SHARED DESIGN TOKENS (Light-First Default) ═══ */
:root {
  /* Background (Light Default) */
  --bg-body: #f4f6fb;
  --bg-surface: #ffffff;
  --bg-surface-hover: #eef1f8;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-hover: rgba(238, 241, 248, 0.92);

  /* Text (Light Default) */
  --text-primary: #1a1d26;
  --text-secondary: #555e70;
  --text-muted: #8892a4;

  /* SarkariExams Accent: Saffron → Gold (Shared Base) */
  --accent-rgb: 255, 107, 53;
  --accent-secondary-rgb: 255, 215, 0;
  --accent-primary: #e55d2b;
  --accent-primary-light: #ff6b35;
  --accent-secondary: #d4a800;
  --accent-gradient: linear-gradient(135deg, #e55d2b 0%, #887505 100%);
  --accent-gradient-hover: linear-gradient(135deg, #ff6b35 0%, #b09a06 100%);

  /* Borders & Shadows (Light Default) */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(255, 107, 53, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.08);

  /* Radius & Transitions (Shared) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --transition-fast: 0.18s cubic-bezier(.4, 0, .2, 1);
  --transition-default: 0.3s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: 0.5s cubic-bezier(.4, 0, .2, 1);

  /* Typography (Shared) */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Mesh Background (Light Default) */
  --mesh-color-1: rgba(255, 107, 53, 0.04);
  --mesh-color-2: rgba(255, 215, 0, 0.03);

  /* Urgency colors (Shared) */
  --urgency-safe: #10b981;
  --urgency-warning: #f59e0b;
  --urgency-critical: #ef4444;
  --urgency-expired: #4b5563;

  /* Section accent colors (Shared) */
  --col-jobs: #ff6b35;
  --col-results: #10b981;
  --col-admit: #ffd700;
  --col-answerkey: #8b5cf6;
  --col-admission: #06b6d4;
  --col-syllabus: #ec4899;

  /* Container */
  --container: 1280px;
}

/* ── Dark Theme Overrides ── */
[data-theme="dark"] {
  --bg-body: #0b0e14;
  --bg-surface: #121720;
  --bg-surface-hover: #1a2130;
  --bg-glass: rgba(18, 23, 32, 0.75);
  --bg-glass-hover: rgba(26, 33, 48, 0.85);

  --text-primary: #e6e9f0;
  --text-secondary: #8892a4;
  --text-muted: #5a6478;

  --accent-primary: #ff6b35;
  --accent-secondary: #ffd700;
  --accent-gradient: linear-gradient(135deg, #ff6b35 0%, #887505 100%);
  --accent-gradient-hover: linear-gradient(135deg, #ff8a5c 0%, #ffe44d 100%);

  --border-color: rgba(255, 107, 53, 0.12);
  --border-glow: rgba(255, 107, 53, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.15);

  --mesh-color-1: rgba(255, 107, 53, 0.07);
  --mesh-color-2: rgba(255, 215, 0, 0.05);
}

/* ── Light Theme Explicit (Same as default root) ── */
[data-theme="light"] {
  /* Use defaults from :root */
}


/* Light-theme: top-bar & footer stay dark for contrast */
[data-theme="light"] .top-bar {
  background: #1a1d26;
  color: #8892a4;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .top-bar a {
  color: #8892a4;
}

[data-theme="light"] .top-bar a:hover {
  color: #ff6b35;
}

[data-theme="light"] .footer {
  background: #1a1d26;
  color: #8892a4;
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .footer .footer__heading {
  color: #e6e9f0;
}

[data-theme="light"] .footer .footer__about,
[data-theme="light"] .footer .footer__links a {
  color: #8892a4;
}

[data-theme="light"] .footer .footer__links a:hover {
  color: #ff6b35;
}

[data-theme="light"] .footer .footer-bottom {
  color: #5a6478;
}

[data-theme="light"] .footer .footer-social a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #8892a4;
}

[data-theme="light"] .mobile-nav {
  background: rgba(255, 255, 255, 0.95);
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* ═══ RESET ═══ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Animated mesh background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, var(--mesh-color-1), transparent),
    radial-gradient(ellipse 50% 60% at 90% 80%, var(--mesh-color-2), transparent);
  animation: bgPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes bgPulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-primary-light);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

/* ═══ TOP BAR (dark strip) ═══ */
.top-bar {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--text-muted);
  font-size: 12px;
  transition: color var(--transition-fast);
}

.top-bar a:hover {
  color: var(--accent-primary);
}

.top-bar__left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar__right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-bar__right a {
  font-size: 16px;
}

/* ═══ GLASSMORPHISM NAVBAR ═══ */
.navbar {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.navbar__logo i {
  -webkit-text-fill-color: var(--accent-primary);
  font-size: 28px;
}

.navbar__menu {
  display: flex;
  gap: 2px;
  align-items: center;
}

.navbar__menu a {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-primary);
}

.navbar__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  color: var(--accent-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-default);
  white-space: nowrap;
  text-decoration: none;
}

.btn-gradient {
  background: var(--accent-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient-hover);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-gradient:hover::before {
  opacity: 1;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
  color: #fff;
}

.btn-gradient span {
  position: relative;
  z-index: 1;
}

.btn-glass {
  background: var(--bg-glass);
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: var(--accent-primary-light);
}

.btn-success {
  background: linear-gradient(135deg, #059669, #34d399);
  color: #fff;
  border-radius: var(--radius-pill);
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3);
  color: #fff;
}

.btn-sm {
  padding: 5px 14px;
  font-size: 12px;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--border-glow);
  color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

/* ═══ HERO BANNER ═══ */
.hero {
  background: var(--accent-gradient);
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.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='%23ffffff' fill-opacity='0.06'%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__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Search bar */
.search-box {
  max-width: 640px;
  margin: 0 auto 18px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 14px 52px 14px 20px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1d26;
  box-shadow: var(--shadow-lg);
  outline: none;
}

.search-box input::placeholder {
  color: #8892a4;
}

.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3), var(--shadow-lg);
}

.search-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent-gradient);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.search-box button:hover {
  transform: translateY(-50%) scale(1.05);
}

/* Filter chips */
.filter-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: white;
}

/* ═══ TICKER ═══ */
.ticker {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  overflow: hidden;
  z-index: 1;
  position: relative;
}

.ticker__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticker__label {
  background: var(--accent-gradient);
  color: white;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.ticker__scroll {
  overflow: hidden;
  flex: 1;
  position: relative;
}

.ticker__track {
  display: flex;
  gap: 40px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker__track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker__item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.ticker__item a {
  color: var(--accent-primary);
}

.ticker__item a:hover {
  text-decoration: underline;
}

.ticker__badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ═══ STATS BAR ═══ */
.stats-bar {
  padding: 24px 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 20px 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-default);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-glow);
}

.stat-card__icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-card__number {
  font-size: 28px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-card__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* ═══ THREE-COLUMN LAYOUT (fixed overlap) ═══ */
.homepage-grid {
  padding: 28px 0;
  position: relative;
  z-index: 1;
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

/* GLASS SECTION COLUMN */
.section-column {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-default);
}

.section-column:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

/* FIXED: Column header — no more sticky overlap */
.section-column__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
  position: relative;
  /* was sticky — removed to fix overlap */
  z-index: 10;
}

.section-column__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-column__title .accent-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
}

.accent-dot.dot-jobs {
  background: var(--col-jobs);
  color: var(--col-jobs);
}

.accent-dot.dot-results {
  background: var(--col-results);
  color: var(--col-results);
}

.accent-dot.dot-admit {
  background: var(--col-admit);
  color: var(--col-admit);
}

.accent-dot.dot-answerkey {
  background: var(--col-answerkey);
  color: var(--col-answerkey);
}

.accent-dot.dot-admission {
  background: var(--col-admission);
  color: var(--col-admission);
}

.accent-dot.dot-syllabus {
  background: var(--col-syllabus);
  color: var(--col-syllabus);
}

.section-column__hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.section-column__viewall {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-primary);
}

.section-column__viewall:hover {
  text-decoration: underline;
}

.section-column__list {
  max-height: 540px;
  overflow-y: auto;
}

.section-column__list::-webkit-scrollbar {
  width: 4px;
}

.section-column__list::-webkit-scrollbar-track {
  background: transparent;
}

.section-column__list::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 53, 0.2);
  border-radius: 4px;
}

/* ═══ JOB ITEM CARD (glass list item) ═══ */
.job-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  border-left: 4px solid var(--urgency-safe);
  transition: all var(--transition-fast);
  position: relative;
}

.job-item:hover {
  background: var(--bg-glass-hover);
}

.job-item:last-child {
  border-bottom: none;
}

/* Urgency border colors */
.job-item.urgency-safe {
  border-left-color: var(--urgency-safe);
}

.job-item.urgency-warning {
  border-left-color: var(--urgency-warning);
}

.job-item.urgency-critical {
  border-left-color: var(--urgency-critical);
}

.job-item.urgency-expired {
  border-left-color: var(--urgency-expired);
  opacity: 0.6;
}

.job-item__title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
  line-height: 1.4;
}

.job-item__title a {
  color: inherit;
}

.job-item__title a:hover {
  color: var(--accent-primary);
}

.job-item__meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.job-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.job-item__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.job-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 10px;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-new {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.badge-closing {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.badge-updated {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.badge-expired {
  background: rgba(75, 85, 99, 0.15);
  color: var(--text-muted);
}

/* Load more link */
.load-more {
  text-align: center;
  padding: 12px;
  border-top: 1px solid var(--border-color);
}

.load-more a {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
}

.load-more a:hover {
  text-decoration: underline;
}

/* ═══ SECTION HEADER (for standalone sections) ═══ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-header__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header__title .hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ═══ PORTAL LINKS GRID ═══ */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.portal-card {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  transition: all var(--transition-default);
}

.portal-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.portal-card__icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.portal-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ═══ SUBSCRIBE ═══ */
.subscribe-section {
  background: var(--accent-gradient);
  color: white;
  padding: 44px 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 0 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.subscribe-section::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='%23ffffff' fill-opacity='0.06'%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");
}

.subscribe-section h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
}

.subscribe-section p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 20px;
  position: relative;
}

.subscribe-form {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  position: relative;
}

.subscribe-form input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  outline: none;
}

.subscribe-form button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.subscribe-form button:hover {
  background: rgba(0, 0, 0, 0.5);
}

.subscribe-links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

.subscribe-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
}

.subscribe-links a:hover {
  color: white;
}

/* ═══ SEO FOOTER TEXT ═══ */
.seo-text {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.seo-text h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ═══ FOOTER (glass dark) ═══ */
.footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  padding: 48px 0 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer__about {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.footer__links a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent-primary);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: all var(--transition-default);
}

.footer-social a:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-secondary);
  margin: 0 8px;
}

.footer-bottom a:hover {
  color: var(--accent-primary);
}

/* ═══ MOBILE BOTTOM NAV ═══ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  z-index: 1001;
}

.mobile-nav__inner {
  display: flex;
  justify-content: space-around;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}

.mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.mobile-nav__item.active {
  color: var(--accent-primary);
}

.mobile-nav__item:hover {
  color: var(--accent-primary);
}

.mobile-nav__icon {
  font-size: 20px;
}

/* ═══ EXTRA SECTIONS ═══ */
.extra-sections {
  padding: 0 0 32px;
  position: relative;
  z-index: 1;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .three-columns {
    grid-template-columns: 1fr 1fr;
  }

  .three-columns .section-column:first-child {
    grid-column: 1 / -1;
  }

  .navbar__menu {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .three-columns {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero__title {
    font-size: 18px;
  }

  .filter-chips {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .mobile-nav {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .portals-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .navbar .container {
    height: 56px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card__number {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .portals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.4s ease-out forwards;
}

.counter {
  display: inline-block;
}

/* ═══ UTILITY ═══ */
.text-center {
  text-align: center;
}

.text-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.hidden {
  display: none !important;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--bg-surface);
  z-index: 1000;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu__header {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
  background: var(--bg-glass-hover);
}