﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Noto+Sans+Devanagari:wght@400;500;700&display=swap');

:root {
  --accent: #1a73e8;
  --accent-hover: #1557b0;
  --accent-light: #e8f0fe;
  --accent-dark: #174ea6;
  --bg: #ffffff;
  --surface-alt: #f8f9fa;
  --surface: #ffffff;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-muted: #80868b;
  --border: #dadce0;
  --border-light: #e8eaed;
  --success: #188038;
  --error: #c5221f;
  --warn: #f9ab00;
  --warn-light: #fef7e0;

  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.08);
  --shadow-md: 0 2px 8px rgba(60, 64, 67, 0.12);
  --shadow-lg: 0 4px 16px rgba(60, 64, 67, 0.15);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.6s ease;

  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-hi: 'Noto Sans Devanagari', 'Mangal', 'Nirmala UI', serif;
  --font-size-base: 15px;
  --line-height-base: 1.8;

  --container-max: 1120px;
  --navbar-height: 64px;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  width: 100%;
  flex: 1;
}

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

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

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-sm {
  padding: 32px 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

h1,
.h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text-primary);
}

h2,
.h2 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

h3,
.h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
}

h4,
.h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

p {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.lead {
  font-size: 17px;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.btn-secondary {
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
}

/* Logo */
.logo {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.logo:hover {
  text-decoration: none;
}

.logo-shala {
  color: #202124;
}

.logo-darpan {
  color: #1a73e8;
}

.logo-guide {
  color: #80868b;
  font-size: 13px;
  font-weight: 500;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* Hero */
.hero {
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 260px at 90% -10%, rgba(26, 115, 232, 0.12), transparent 60%),
    radial-gradient(500px 240px at 5% 110%, rgba(26, 115, 232, 0.10), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 72px 24px 64px;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Section header for subpages */
.page-header {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-light);
}

.page-header-inner {
  padding: 40px 0 36px;
}

.page-header-title {
  margin-bottom: 12px;
}

.page-header-subtitle {
  color: var(--text-secondary);
  max-width: 720px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 16px 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li a {
  color: var(--accent);
  font-weight: 500;
}

.breadcrumbs li[aria-current='page'] {
  color: var(--text-muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--border);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-highlight {
  border-left: 3px solid var(--accent);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card-title a {
  color: var(--text-primary);
}

.card-title a:hover {
  color: var(--accent);
}

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.badge-guide {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.badge-portal {
  background: var(--accent-light);
  color: var(--accent);
}

.urgent-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Detail grid */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.detail-item {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.detail-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #e6f4ea;
  border: 1px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  flex-shrink: 0;
}

/* Step list */
.step-list {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.step-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}

.step-body {
  flex: 1;
}

.step-title {
  margin-bottom: 4px;
}

.step-text {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-toggle {
  font-size: 20px;
  color: var(--accent);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 20px;
  color: var(--text-secondary);
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* Notices */
.notice {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notice p {
  margin-bottom: 0;
  font-size: 14px;
}

.notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-info {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  color: var(--accent-dark);
}

.notice-warning {
  background: var(--warn-light);
  border-left: 3px solid var(--warn);
  color: #5f3b00;
}

.notice-success {
  background: #e6f4ea;
  border-left: 3px solid var(--success);
  color: #0d652d;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  min-width: 560px;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.table thead th {
  background: var(--surface-alt);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-bottom: none;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
}

.form-status {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.form-status-ok {
  display: block;
  color: #188038;
}

.form-status-error {
  display: block;
  color: #d93025;
}

.form-panel {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.benefit-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 16px;
}

.benefit-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Timeline */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 20px 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border-light);
  border: 2px solid var(--border);
}

.timeline-step.completed .timeline-dot {
  background: var(--success);
  border-color: var(--success);
}

.timeline-step.current .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.timeline-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  margin-top: 7px;
  min-width: 20px;
}

/* Prose blocks */
.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 48px;
}

.prose h3 {
  margin-top: 32px;
}

.prose ul,
.prose ol {
  margin-bottom: 16px;
  padding-left: 22px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 8px;
}

.prose code {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 13px;
  font-family: Consolas, Monaco, monospace;
  word-break: break-word;
}

.prose a {
  text-decoration: underline;
}

/* Fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Alpha nav (glossary) */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 32px;
}

.alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--border-light);
}

.alpha-nav a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.alpha-nav a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Glossary */
.glossary-letter {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.glossary-letter:first-of-type {
  margin-top: 0;
}

.glossary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.glossary-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 0;
}

.glossary-card dt {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.glossary-card dd {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.glossary-card dd a {
  color: var(--accent);
}

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

/* Card body */
.card-body {
  padding: 20px;
}

/* Section heading */
.section-heading {
  margin-bottom: 32px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

/* Related cards */
.related-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

/* Footer */
.footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .logo {
  font-size: 18px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 20px 24px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
}

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

/* Floating CTA */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 12px 16px;
  gap: 8px;
  z-index: 90;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 8px;
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Hindi */
html[lang='hi'],
.lang-hi {
  font-family: var(--font-family-hi);
}

.lang-hi h1,
.lang-hi h2,
.lang-hi h3,
.lang-hi .step-text {
  font-family: var(--font-family-hi);
}

/* Related guides section */
.related-section {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-light);
}

.related-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.related-section-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.related-card::after {
  content: '\2192';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
}

.related-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text-primary);
  transform: translateY(-2px);
}

.related-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.related-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
  padding-right: var(--space-xl);
}

.related-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.related-card-tag {
  display: inline-block;
  margin-top: var(--space-xs);
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: var(--radius-full);
  width: fit-content;
}

.related-card:hover .related-card-tag {
  background: var(--accent);
  color: var(--bg);
}

/* Hindi variant */
.lang-hi .related-section-heading {
  font-family: var(--font-family-hi);
}

.lang-hi .related-card-title {
  font-family: var(--font-family-hi);
}

.lang-hi .related-card-desc {
  font-family: var(--font-family-hi);
}

.lang-hi .related-card-tag {
  font-family: var(--font-family-hi);
}

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

  .related-card {
    padding: var(--space-md);
  }

  .related-card::after {
    top: var(--space-md);
    right: var(--space-md);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    white-space: normal;
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
  }

  .navbar .btn-primary.btn-sm {
    display: none;
  }

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

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

  .floating-cta {
    display: flex;
  }

  body {
    padding-bottom: 84px;
  }

  .hero-content {
    padding: 48px 24px 48px;
  }
}

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

  .btn {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .card-grid,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .page-header-inner {
    padding: 28px 0 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .urgent-dot {
    animation: none;
  }
}
.og-image { display:block; max-width:740px; width:100%; height:auto; margin:0 auto; border-radius:10px; box-shadow:0 4px 20px rgba(0,0,0,.10); transition:transform .25s ease, box-shadow .25s ease; }
.og-image:hover { transform:translateY(-3px) scale(1.015); box-shadow:0 8px 28px rgba(0,0,0,.16); }

/* Footer columns */
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-xs);
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

/* Common Questions Section */
.faq-section {
  margin-top: 40px;
}

.faq-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.faq-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.08);
}

.faq-card-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.5;
}

.faq-card-answer {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.faq-card-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(26, 115, 232, 0.3);
  text-underline-offset: 2px;
}

.faq-card-answer a:hover {
  text-decoration-color: var(--accent);
}

@media (max-width: 640px) {
  .faq-card {
    padding: 16px 20px;
  }

  .faq-card-question {
    font-size: 14px;
  }

  .faq-card-answer {
    font-size: 13px;
  }
}