:root {
  --bg: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --surface: #FFFFFF;
  --surface-hover: #FFF8F3;
  --text: #111827;
  --text-secondary: #64748B;
  --border: #E5E7EB;
  --primary: #FF5A00;
  --primary-hover: #E94B00;
  --primary-light: #FFF4ED;
  --footer-bg: #111827;
  --panel: #FFFFFF;
  --panel-soft: #F8FAFC;
  --panel-alt: #FFF8F3;
  --primary-dark: #111827;
  --primary-soft: #FFF4ED;
  --accent: #FF5A00;
  --muted: #64748B;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

body[data-theme="dark"] {
  --bg: #0F172A;
  --bg-secondary: #111827;
  --surface: #1E293B;
  --surface-hover: #273449;
  --text: #F8FAFC;
  --text-secondary: #CBD5E1;
  --border: #334155;
  --primary: #FF6A00;
  --primary-hover: #FF7A1A;
  --primary-light: #3A2417;
  --footer-bg: #020617;
  --panel: #1E293B;
  --panel-soft: #111827;
  --panel-alt: #273449;
  --primary-dark: #F8FAFC;
  --primary-soft: #3A2417;
  --accent: #FF6A00;
  --muted: #CBD5E1;
  --shadow: 0 10px 22px rgba(2, 6, 23, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Devanagari", "Segoe UI", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
button, input, textarea { font: inherit; }
.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.section {
  padding: 72px 0;
}
.alt-bg {
  background: var(--panel-soft);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  background: var(--primary-light);
  border: 1px solid rgba(255, 90, 0, 0.16);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.section-head { margin-bottom: 30px; }
.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.2;
  color: var(--text);
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
body[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, 0.92);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-dark);
}
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-word {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.brand-id { color: var(--primary); }
.brand-subtitle {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}
body[data-theme="dark"] .brand { color: var(--text); }
body[data-theme="dark"] .brand-subtitle { color: #94A3B8; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav > a {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-btn, .theme-toggle, .mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
  min-width: 42px;
  height: 42px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.search-btn:hover, .theme-toggle:hover, .mobile-toggle:hover {
  border-color: rgba(255, 90, 0, 0.35);
  transform: translateY(-1px);
}
.search-btn {
  padding: 0 16px;
  min-width: auto;
  font-weight: 700;
  color: var(--primary);
}
.mobile-toggle {
  display: none;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
  margin: 3px 0;
}

.hero {
  background: linear-gradient(180deg, var(--panel-soft) 0%, var(--surface-hover) 100%);
  padding: 72px 0 52px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 28px;
}
.hero-content h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--text);
}
.hero-content p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 18px rgba(255, 90, 0, 0.18);
}
.btn.primary:hover { background: var(--primary-hover); }
.btn.secondary, .btn.small {
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}
.hero-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
.hero-visual {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
}
.hero-card {
  display: grid;
  gap: 16px;
}
.mini-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, var(--primary-light), rgba(255, 90, 0, 0.04));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px;
}
.mini-stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--primary);
  line-height: 1;
}
.mini-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}
.feature-grid, .cards-4, .service-grid, .posts-grid, .footer-grid {
  display: grid;
  gap: 22px;
}
.feature-grid, .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

.info-card, .service-card, .post-card, .project-card, .article-card, .sidebar-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.info-card, .service-card, .post-card, .sidebar-card { overflow: hidden; }
.info-card, .service-card { padding: 24px; }
.info-card, .service-card, .post-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover, .service-card:hover, .post-card:hover, .category-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 0, 0.35);
}
.icon-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  margin-bottom: 14px;
  font-size: 1.5rem;
  color: var(--primary);
}
.info-card h3, .service-card h3, .post-card h3, .category-item h3 {
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.35;
}
.info-card p, .service-card p, .post-card p { color: var(--muted); margin: 0 0 16px; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}
.intro-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.info-highlight {
  border-left: 4px solid var(--primary);
  padding-left: 18px;
  background: var(--primary-light);
  border-radius: 0 12px 12px 0;
}
.info-highlight h3 {
  margin: 0 0 12px;
  color: var(--text);
}
.info-highlight p {
  margin: 0;
  color: var(--muted);
}

.useful-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.useful-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.useful-item h3 {
  margin: 14px 0 8px;
}
.useful-item p { margin: 0; color: var(--muted); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}
.process-item {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow);
}
.process-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 14px;
}
.process-item:nth-child(2n) .process-number {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}
.process-item h3 { margin: 0 0 8px; }
.process-item p { margin: 0; color: var(--muted); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.category-item {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.category-item .icon-box {
  background: var(--primary-light);
}

.post-card img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef4ff;
}
.post-body {
  padding: 18px 18px 20px;
}
.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.post-body h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.45;
}
.post-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.featured-post {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-post .post-image {
  min-height: 100%;
}
.featured-post .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-post .post-content {
  padding: 26px;
}
.featured-post .badge {
  background: var(--primary-light);
  color: var(--primary-hover);
}
.featured-post h3 {
  margin: 12px 0 12px;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}
.featured-post p { color: var(--muted); margin: 0 0 18px; }

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.faq-item h3::before {
  content: "+";
  display: inline-block;
  margin-right: 10px;
  color: var(--primary);
  font-weight: 900;
}
.faq-item h3 {
  margin: 0 0 8px;
  color: var(--text);
}
.faq-item p { margin: 0; color: var(--muted); }

.cta-section {
  background: var(--primary-dark);
  color: #fff;
  padding: 72px 0;
}
.cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cta-wrap h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}
.cta-wrap p {
  margin: 0;
  color: rgba(255,255,255,0.75);
}
.cta-wrap .btn.primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: none;
}

.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 58px 0 20px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #fff;
}
.footer-brand .brand-word {
  color: #fff;
}
.footer-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.footer-brand .brand-mark {
  background: var(--primary);
  color: #fff;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--primary); }
.site-footer h3, .site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
}
.site-footer p, .site-footer li {
  color: rgba(255,255,255,0.72);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 18px;
}

.page-content, .article-page {
  padding: 76px 0;
}
.page-hero {
  background: linear-gradient(180deg, var(--panel-soft), var(--surface-hover));
  padding: 72px 0 32px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 10px 0 0;
}
.narrow { max-width: 820px; }
.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.breadcrumbs a { color: var(--primary); }
.article-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.article-card h1 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  margin: 20px 0 26px;
}
.article-content {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1.06rem;
}
.article-content h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--text);
}
.article-content ul, .article-content ol {
  padding-left: 20px;
  color: var(--text);
}
.article-content li + li { margin-top: 8px; }
.note-box {
  margin-top: 28px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--text);
}
.related-posts {
  margin-top: 38px;
}
.related-posts h2 { margin-bottom: 18px; }

.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.search-panel {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.search-panel input {
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 16px;
  background: var(--panel);
  color: var(--text);
}
.search-panel button {
  min-height: 48px;
  padding: 0 20px;
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .featured-post {
    grid-template-columns: 1fr;
  }
  .feature-grid, .cards-4, .useful-grid, .process-grid, .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 24px, 1200px); }
  .main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 76px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .main-nav > a { width: 100%; }
  .search-btn { display: none; }
  .feature-grid, .cards-4, .useful-grid, .process-grid, .service-grid, .posts-grid, .category-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 56px; }
  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-card { padding: 20px; }
  .article-content { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .info-card, .service-card, .post-card, .category-item, .btn, .search-btn, .theme-toggle { transition: none; }
}

