:root {
  --bg: #f4f7ff;
  --bg-soft: #eef3ff;
  --ink: #10213f;
  --ink-soft: #4f5f7d;
  --primary: #274bdb;
  --primary-dark: #1232a1;
  --accent: #ffb300;
  --success: #0a9b6b;
  --danger: #d64545;
  --card: #ffffff;
  --line: #d9e3ff;
  --shadow: 0 12px 30px rgba(24, 48, 114, 0.08);
  --shadow-soft: 0 6px 16px rgba(24, 48, 114, 0.06);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: min(1180px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 32%, #f7f9ff 100%);
  color: var(--ink);
  line-height: 1.68;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  background: #0e1d3d;
  color: #c7d4ff;
  font-size: 0.88rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 6px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  background: rgba(248, 251, 255, 0.95);
  border-bottom: 1px solid #dbe6ff;
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
}

.logo-wrap {
  width: clamp(146px, 15vw, 210px);
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.logo-wrap img,
.logo-wrap svg {
  max-width: 100%;
  height: auto;
  max-height: 54px;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a {
  color: #223a70;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: #e8eeff;
  border-color: #cbdaff;
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s ease;
}

.btn-register {
  background: var(--accent);
  color: #222;
  padding: 10px 16px;
}

.btn-register:hover {
  background: #ffd159;
  color: #111;
}

.btn-login {
  background: #2144c3;
  color: #fff;
  padding: 10px 16px;
}

.btn-login:hover {
  background: #0f3096;
  color: #fff;
}

.btn-primary {
  background: linear-gradient(120deg, #1f45d0, #3565ff);
  color: #fff;
  padding: 12px 20px;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #bcd0ff;
  padding: 11px 18px;
}

.btn-secondary:hover {
  background: #eef3ff;
}

main {
  min-height: 60vh;
}

.banner-shell {
  background: linear-gradient(145deg, #dfe8ff, #f8fbff 55%);
  border-bottom: 1px solid #d6e1ff;
}

.hero-banner {
  padding: 14px 0 20px;
}

.hero-banner img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--bg-soft);
  border-top: 1px solid #dbe6ff;
  border-bottom: 1px solid #dbe6ff;
}

.section h1,
.section h2,
.section h3 {
  color: #102753;
  line-height: 1.3;
}

.section h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  margin: 0 0 14px;
}

.section h2 {
  font-size: clamp(1.32rem, 2.1vw, 1.86rem);
  margin: 0 0 10px;
}

.section p.lead {
  font-size: 1.06rem;
  color: #2f4670;
  margin-top: 0;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}

.badge {
  border: 1px solid #bfd3ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: #2f4670;
  background: #fff;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid #d7e2ff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.quick-card {
  position: relative;
  overflow: hidden;
}

.quick-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 75, 219, 0.2), transparent 68%);
}

.card-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.card-list li {
  margin-bottom: 4px;
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.panel {
  background: linear-gradient(160deg, #fff 10%, #eff4ff 95%);
  border: 1px solid #d9e4ff;
  border-radius: var(--radius-lg);
  padding: 22px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid #d7e2ff;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #e4ebff;
  text-align: left;
  font-size: 0.95rem;
}

th {
  background: #eef3ff;
  color: #1a376e;
}

.breadcrumb {
  font-size: 0.92rem;
  color: #60729c;
  margin: 14px 0 10px;
}

.breadcrumb a {
  color: #3b5ab0;
}

.breadcrumb span {
  margin: 0 6px;
}

.faq-wrap {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #d8e3ff;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  color: #133172;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 14px;
  color: #334c7a;
}

.faq-answer[hidden] {
  display: none;
}

.video-shell {
  border-radius: var(--radius-lg);
  background: #0c1f4b;
  color: #d9e4ff;
  padding: 20px;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #3459c7;
  margin-top: 12px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-band {
  background: linear-gradient(110deg, #1a3cb3, #2850dc 60%, #3c6bff);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.cta-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.95);
}

.site-footer {
  margin-top: 50px;
  background: #0d1f45;
  color: #d8e2ff;
}

.footer-grid {
  padding: 44px 0 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  gap: 20px;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0 0 8px;
}

.site-footer a {
  color: #c4d4ff;
}

.site-footer a:hover {
  color: #fff;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 0.93rem;
}

.footer-bottom {
  border-top: 1px solid rgba(196, 211, 255, 0.2);
  padding: 14px 0 18px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.muted {
  color: #5c6f98;
}

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3456b7;
  font-weight: 800;
}

.notice {
  border-left: 4px solid #ffc857;
  background: #fff9e9;
  color: #5b4914;
  padding: 12px 14px;
  border-radius: 10px;
}

.contact-box {
  background: #fff;
  border: 1px solid #d8e3ff;
  border-radius: 14px;
  padding: 18px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 0.92rem;
  color: #2a416f;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #bdd0ff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 124px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: #60729c;
}

.status-msg {
  min-height: 22px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-msg.ok {
  color: #0c875e;
}

.status-msg.error {
  color: #be3b3b;
}

.center-empty {
  min-height: 52vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 1150px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-main {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 14px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .header-cta {
    justify-content: flex-start;
  }

  .logo-wrap {
    width: 160px;
    height: 44px;
  }

  .logo-wrap img,
  .logo-wrap svg {
    max-height: 44px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 38px 0;
  }

  .grid-2,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn-register,
  .btn-login {
    padding: 9px 14px;
    font-size: 0.92rem;
  }

  .logo-wrap {
    width: 146px;
    height: 40px;
  }

  .logo-wrap img,
  .logo-wrap svg {
    max-height: 40px;
  }
}
