:root {
  --primary-purple: #123a63;
  --primary-purple-hover: #0b2743;
  --yellow-accent: #f2b84b;
  --sun-accent: #ef7e38;
  --text-dark: #0d2036;
  --text-muted: #5c6f83;
  --bg-light: #ffffff;
  --bg-blueish: #f3f6fb;
  --footer-bg: #081525;
  --premium-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  --surface-line: #d9e3eb;
  --teal-accent: #156f6b;
}

body {
  font-family: "Segoe UI", "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(21, 111, 107, 0.08), transparent 24rem),
    radial-gradient(circle at bottom right, rgba(239, 126, 56, 0.08), transparent 24rem),
    linear-gradient(180deg, #f3f6fb 0%, #f8fbff 55%, #ffffff 100%);
  background-attachment: scroll;
  color: var(--text-dark);
}

h1,
h2,
h3,
h4,
.hero-title,
.section-header h2,
.stat-number,
.cta-title {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.main-header {
  height: 84px;
  padding: 0 18px;
  background:
    radial-gradient(circle at left top, rgba(242, 184, 75, 0.1), transparent 16rem),
    linear-gradient(180deg, rgba(255, 254, 251, 0.96) 0%, rgba(247, 244, 238, 0.96) 100%);
  border-bottom: 1px solid rgba(10, 31, 51, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.logo-image {
  width: auto;
  height: auto;
}

.logo-image img {
  width: 240px;
  height: auto;
}

.nav ul li a {
  color: #10243b;
  border-radius: 999px;
  font-weight: 700;
  transition: background .24s ease, color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.nav {
  height: 100%;
  align-self: stretch;
}

.nav ul {
  height: 100%;
  align-items: stretch;
}

.nav ul li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav ul li a:hover,
.has-dropdown.open > #articleNavTrigger,
.has-dropdown > a:hover {
  color: #0f2741;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.98));
  box-shadow: inset 0 0 0 1px rgba(10, 31, 51, 0.08), 0 10px 18px rgba(15, 23, 42, 0.08);
}

.nav-dropdown {
  top: calc(100% - 1px);
  border: 1px solid rgba(10, 31, 51, 0.08);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background:
    radial-gradient(circle at top right, rgba(242, 184, 75, 0.12), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 245, 240, 0.99) 100%);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.nav-dropdown a {
  color: var(--text-dark);
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

.has-dropdown {
  align-items: stretch;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-dropdown a:hover {
  color: #0f2741;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.98));
  padding-left: 18px !important;
}

.login-btn,
.profile-chip {
  background: linear-gradient(135deg, #0c2236 0%, #123a63 100%);
  color: #fff !important;
  border: 1px solid rgba(242, 184, 75, 0.26);
  box-shadow: 0 14px 28px rgba(10, 31, 51, 0.18);
}

.login-btn:hover,
.profile-chip:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #12304b 0%, #184a79 100%);
  box-shadow: 0 18px 30px rgba(10, 31, 51, 0.22);
  transform: translateY(-1px);
}

.menu-icon {
  border: 1px solid rgba(10, 31, 51, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 240, 0.98));
  color: var(--primary-purple);
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.menu-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
}

.login-drawer {
  background:
    radial-gradient(circle at top right, rgba(242, 184, 75, 0.12), transparent 7rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 245, 240, 0.99) 100%);
  border: 1px solid rgba(10, 31, 51, 0.08);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.drawer-item,
.drawer-item.user,
.drawer-item.admin,
.drawer-item:hover {
  background: transparent;
  color: var(--text-dark);
}

.drawer-item:hover {
  color: #0f2741;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 235, 0.98));
  transform: none;
}

.drawer-item i {
  color: #8e6a1d;
}

.mobile-menu {
  width: min(86vw, 360px);
  background:
    radial-gradient(circle at top right, rgba(242, 184, 75, 0.12), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 245, 240, 0.99) 100%);
  border-right: 1px solid rgba(10, 31, 51, 0.08);
  left: 0;
  transform: translateX(-105%);
  transition: transform .26s ease;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 241, 0.96));
  border: 1px solid rgba(10, 31, 51, 0.07);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.mobile-menu .close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10, 31, 51, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 241, 0.98));
  color: var(--primary-purple);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.mobile-menu > a,
.mobile-article-toggle,
.mobile-article-links .mobile-sub-link {
  color: var(--text-dark);
  border-bottom-color: var(--surface-line);
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}

.mobile-menu > a:hover,
.mobile-article-toggle:hover,
.mobile-article-links .mobile-sub-link:hover {
  color: #0f2741;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.98));
}

.mobile-menu-note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.social-slider {
  background: transparent;
  box-shadow: none;
}

.social-slider a {
  width: 40px;
  height: 40px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 62px 0 56px;
  background:
    radial-gradient(circle at 16% 16%, rgba(242, 184, 75, 0.24), transparent 18rem),
    radial-gradient(circle at 86% 24%, rgba(239, 126, 56, 0.2), transparent 16rem),
    radial-gradient(circle at 72% 82%, rgba(21, 111, 107, 0.16), transparent 18rem),
    linear-gradient(135deg, #091729 0%, #123a63 54%, #156f6b 100%);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.34;
}

.hero-section::before {
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(255, 215, 122, 0.5) 0%, rgba(255, 215, 122, 0) 68%);
}

.hero-section::after {
  width: 240px;
  height: 240px;
  left: -70px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(239, 126, 56, 0.34) 0%, rgba(239, 126, 56, 0) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(42px, 6vw, 68px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: #ffd67a;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-search-wrap,
.stat-box {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.hero-search-wrap {
  max-width: 760px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(4, 12, 24, 0.18);
}

.hero-search-wrap button,
.btn-primary-rect {
  background: linear-gradient(135deg, #ffd56d, #ef7e38);
  color: #10203a;
}

.btn-pill-white,
.btn-pill-outline {
  font-weight: 700;
}

.btn-pill-white {
  color: #10203a;
}

.btn-pill-outline {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.stats-container {
  gap: 16px;
}

.stat-box {
  border-radius: 22px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 34px rgba(4, 12, 24, 0.12);
}

.stat-number {
  font-size: 24px;
}

.stat-icon {
  color: #ffd67a;
}

.featured-section,
.articles-section {
  padding: 72px 0;
}

.section-header p,
.article-desc,
.footer-col p {
  color: var(--text-muted);
}

.ppt-cloud {
  min-height: 158px;
  color: #123457;
  background:
    radial-gradient(circle at top right, rgba(247, 194, 79, 0.14), transparent 6rem),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid var(--surface-line);
  border-radius: 28px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.articles-section {
  background: linear-gradient(180deg, transparent 0%, rgba(216, 235, 247, 0.4) 100%);
}

.article-card {
  border: 1px solid var(--surface-line);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.cta-section {
  background: transparent;
}

.cta-section .container {
  padding: 0;
}

.cta-section .text-center {
  padding: 36px 20px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 14rem),
    linear-gradient(135deg, #0a365e 0%, #0f4c81 55%, #0e7490 100%);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.16);
}

.cta-title,
.cta-desc {
  color: #fff;
}

.site-footer {
  position: relative;
  z-index: 1002;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1d31 0%, #081727 100%);
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer input,
.site-footer button {
  font-family: "Segoe UI", "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.88fr) minmax(0, 0.88fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
  padding: 32px 0 20px;
}

.footer-col,
.brand-col,
.newsletter-col {
  min-width: 0;
}

.brand-col p {
  max-width: 310px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Segoe UI", "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.footer-col a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.links-col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.explore-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.links-col a {
  margin: 0;
  line-height: 1.35;
}

.footer-logo-image {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: min(220px, 100%);
  height: auto;
  overflow: visible;
}

.contact-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.footer-contact-item i {
  width: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  transform: translateY(3px);
}

.newsletter-col p {
  margin: 0 0 12px;
  max-width: 290px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 446px;
  gap: 0;
  overflow: hidden;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  align-self: flex-end;
}

.newsletter-form input {
  flex: 1 1 calc(100% - 104px);
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  color: #f8fafc;
  background: #2f3744;
  font-size: 14px;
  font-weight: 500;
}

.newsletter-form button {
  flex: 0 0 104px;
  border: 0;
  border-radius: 0 6px 6px 0;
  min-width: 104px;
  padding: 0 10px;
  white-space: nowrap;
  background: linear-gradient(135deg, #ffd46a 0%, #ffb24b 42%, #f58b39 100%);
  color: #10243b;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(245, 139, 57, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #ffe29a 0%, #ffc05f 42%, #fb9448 100%);
  box-shadow: 0 16px 28px rgba(245, 139, 57, 0.28);
}

.newsletter-form button:active {
  transform: translateY(1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0 10px;
}

.footer-bottom-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.newsletter-form input {
  border-color: transparent;
  background: #2f3744;
}

.newsletter-form input::placeholder {
  color: #9aa3b2;
  opacity: 1;
}

.newsletter-feedback {
  min-height: 0;
  margin: 4px 0 0;
}

.newsletter-feedback:empty {
  display: none;
}

.page-hero-card,
.surface-card,
.panel-card-like {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--surface-line);
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.page-hero,
.content-section,
.page-section {
  padding: 72px 0;
}

.page-hero-card,
.surface-card {
  padding: 28px;
}

.page-title {
  margin: 12px 0 10px;
  color: var(--text-dark);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}

.page-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.quick-link-grid,
.feature-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-link-card,
.feature-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--surface-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.quick-link-card h3,
.feature-card h3,
.surface-card h3,
.content-rich h2 {
  color: var(--text-dark);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.quick-link-card h3,
.feature-card h3,
.surface-card h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}

.quick-link-card p,
.feature-card p,
.surface-card p,
.content-rich p,
.content-rich li {
  color: var(--text-muted);
}

.quick-link-icon,
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(18, 58, 99, 0.08), rgba(239, 126, 56, 0.12));
  color: var(--primary-purple);
  font-size: 20px;
}

.content-rich h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.content-rich ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-doc,
.about-layout {
  display: grid;
  gap: 18px;
}

.cta-panel {
  border-radius: 32px;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary-purple);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-section .page-kicker {
  border: 1px solid rgba(255, 214, 122, 0.3);
  background: rgba(255, 214, 122, 0.14);
  color: #fff4cf;
}

.footer-logo-image img {
  width: 100%;
  max-width: 220px;
  height: auto;
}

@media (max-width: 860px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-top: 72px;
  }

  .main-header {
    height: 72px;
    padding: 0 14px;
    gap: 12px;
    background: rgba(255, 251, 245, 0.98);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: none;
  }

  .logo.logo-image,
  .logo-image {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100vw - 84px);
  }

  .logo-image img {
    width: min(188px, 100%);
    max-width: 100%;
    transform: none !important;
  }

  .menu-icon {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .social-slider {
    display: none !important;
  }

  .social-slider a {
    box-shadow: none;
  }

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

  .quick-link-grid,
  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-header {
    padding: 0 12px;
  }

  .logo-image img {
    width: min(172px, 100%);
  }

  .hero-section {
    padding: 38px 0 42px;
    background: linear-gradient(145deg, #0b1c30 0%, #123a63 62%, #156f6b 100%);
  }

  .hero-section::before,
  .hero-section::after {
    display: none;
  }

  .hero-title {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero-search-wrap,
  .hero-actions {
    flex-direction: column;
  }

  .hero-search-wrap {
    width: 100%;
    max-width: none;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 24px rgba(4, 12, 24, 0.14);
    backdrop-filter: none;
  }

  .hero-search-wrap input {
    min-width: 0;
    width: 100%;
  }

  .stat-box {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    padding: 28px 0 18px;
    width: 100%;
  }

  .footer-col,
  .brand-col,
  .contact-col,
  .newsletter-col {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .explore-col,
  .links-col {
    grid-column: auto;
    min-width: 0;
  }

  .footer-logo-image {
    width: min(180px, 100%);
  }

  .brand-col p,
  .footer-contact-item,
  .footer-contact-item span,
  .footer-bottom-row p {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }

  .newsletter-form {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
    background: transparent;
    gap: 12px;
    overflow: visible;
  }

  .newsletter-form input {
    border-radius: 14px;
    min-height: 52px;
  }

  .newsletter-form button {
    width: 100%;
    flex: none;
    border-radius: 14px;
    min-width: 0;
    min-height: 52px;
    padding: 0 16px;
  }

  .hero-search-wrap button,
  .btn-pill-white,
  .btn-pill-outline,
  .btn-primary-rect {
    width: 100%;
  }
}
