:root {
  --primary: #173a6b;
  --primary-dark: #0b2240;
  --accent: #ffae19;
  --ticker-bg: #fffbeb;
  --ticker-text: #c0392b;
  --bg: #faf7f0;
  --card-bg: #ffffff;
  --text: #1c2536;
  --text-muted: #718096;
  --border: #e7e2d6;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(11, 34, 64, 0.08);
  font-family: "Outfit", "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #1c2536;
  line-height: 1.2;
}

.logo .badge {
  background: var(--primary-dark);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo .logo-text {
  display: flex;
  flex-direction: column;
}

.logo .logo-tagline {
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--text-muted);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--primary); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b2240 0%, #173a6b 100%);
  color: #fff;
  padding: 64px 20px 56px;
  text-align: center;
}

.hero .highlight {
  color: var(--accent);
}

.hero h1 {
  font-size: 2.1rem;
  margin: 0 0 14px;
  font-weight: 800;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
}

.search-box {
  max-width: 560px;
  margin: 0 auto 22px;
  display: flex;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 22px;
  font-size: 1rem;
}

.search-box button {
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 0 28px;
  cursor: pointer;
  font-size: 1rem;
}
.search-box button:hover { background: #e88618; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.95);
}
.hero-badges span {
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 30px;
}

/* Scheme ticker */
.scheme-ticker {
  background: var(--ticker-bg);
  border-bottom: 1px solid #fde7b0;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}
.scheme-ticker .ticker-track {
  display: inline-flex;
  gap: 36px;
  animation: ticker-scroll 30s linear infinite;
  padding-left: 100%;
}
.scheme-ticker .ticker-track span {
  color: var(--ticker-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Disclaimer strip */
.disclaimer-strip {
  background: #fff4e5;
  color: #8a5a00;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.88rem;
  border-bottom: 1px solid #ffe1a8;
}

/* Sections */
section {
  padding: 52px 0;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 34px;
  font-size: 0.98rem;
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(14,124,74,0.15);
}
.category-card .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e7f5ee;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
/* Pastel per-category icon colors, matching reference site */
.category-grid .category-card:nth-child(1) .icon { background: #e2f0d9; }
.category-grid .category-card:nth-child(2) .icon { background: #fce4d6; }
.category-grid .category-card:nth-child(3) .icon { background: #ddebf7; }
.category-grid .category-card:nth-child(4) .icon { background: #f8cbad; }
.category-grid .category-card:nth-child(5) .icon { background: #e8d9f0; }
.category-grid .category-card:nth-child(6) .icon { background: #d5f3f2; }
.category-grid .category-card:nth-child(7) .icon { background: #d0e8f9; }
.category-grid .category-card:nth-child(8) .icon { background: #d9e1f2; }
.category-grid .category-card:nth-child(9) .icon { background: #e2f0d9; }
.category-grid .category-card:nth-child(10) .icon { background: #fff2cc; }
.category-grid .category-card:nth-child(11) .icon { background: #e2efda; }
.category-grid .category-card:nth-child(12) .icon { background: #e5e7eb; }
.category-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--text);
}
.category-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.view-all-wrap {
  text-align: center;
  margin-top: 30px;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--primary-dark); }

/* Articles */
.articles-section { background: var(--bg); }
.articles-section .section-sub.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.articles-section .section-title { margin-bottom: 34px; }
.article-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.article-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  gap: 18px;
}
.article-card:nth-child(odd) .article-date {
  background: var(--primary-dark);
  color: #fff;
}
.article-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  min-width: 54px;
}
.article-date small { font-weight: 600; font-size: 0.68rem; }
.article-card h3 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}
.article-card h3 a:hover { color: var(--primary); }
.article-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: #fff2cc;
  padding: 6px 14px;
  border-radius: 30px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .article-card { flex-wrap: wrap; }
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.why-card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.why-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.why-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Steps */
.steps-section { background: #fff; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}
.step-card { text-align: center; padding: 10px; }
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step-card h4 { margin: 0 0 6px; font-size: 1rem; }
.step-card p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.notice-box {
  margin-top: 36px;
  background: #fff8ec;
  border: 1px solid #ffe1a8;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: #7a5200;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}
.faq-q .sign { color: var(--primary); font-size: 1.3rem; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.faq-item.open .faq-a { max-height: 300px; margin-top: 10px; }

/* Footer */
footer {
  background: var(--primary-dark);
  color: #dff0e5;
  padding: 48px 0 20px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer-grid p, .footer-grid a { font-size: 0.88rem; color: #bfe0cd; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: #a9cfba;
}
.footer-warning {
  font-size: 0.78rem;
  color: #a9cfba;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
}

/* Article page */
.article-page { background: #fff; padding: 40px 0 60px; }
.article-page .breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.article-page h1 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 10px; }
.article-page .meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; }
.article-page .content h2 { color: var(--primary-dark); margin-top: 28px; }
.article-page .content p, .article-page .content li { color: var(--text); }
.article-page .content ol, .article-page .content ul { padding-right: 0; }
.article-page .disclaimer {
  margin-top: 30px;
  background: #fff8ec;
  border: 1px solid #ffe1a8;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #7a5200;
}

@media (max-width: 780px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
}

nav.main-nav.mobile-open {
  display: block;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}
nav.main-nav.mobile-open ul { flex-direction: column; gap: 14px; }
