/* Global Styles */
:root {
  --blue: #0b3c8c;
  --blue-soft: #174a9c;
  --red: #0b3c8c;
  --bg-light: #f5f7fb;
  --bg-white: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 0 0 rgba(0, 0, 0, 0);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout Helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Bar */
.top-bar {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
}

/* LOGO + SITE NAME */
.site-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.site-name-left {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}

/* HEADER / NAVBAR */
.site-header {
  background: var(--blue);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none;
}

/* Header layout: left name, center nav, right button */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* LEFT: Site name (keep .logo-title if used anywhere) */
.site-name-left,
.logo-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
}

/* Navigation (center) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* NAVBAR BUTTON – PURE WHITE BUTTON */
.nav-btn {
  background: #ffffff;
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #ffffff;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
  white-space: nowrap;
}

.nav-btn:hover {
  background: #f2f6ff;
  color: var(--blue-soft);
}

/* ------------------------------------------------------- */
/* HERO SECTION (default) */
/* ------------------------------------------------------- */
.hero {
  background: #ffffff;
  color: var(--text-main);
  padding: 40px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  background: #f9fbff;
}

.hero-content h1 {
  font-size: 30px;
  color: var(--blue);
  margin: 0 0 8px;
}

.hero-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Hero checklist (ul in hero) */
.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-main);
}

.hero-checklist li {
  margin-bottom: 6px;
}

/* Hero buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

/* ------------------------------------------------------- */
/* NEW: CENTERED HERO DESIGN (if used) */
/* ------------------------------------------------------- */
.hero-centered .hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.hero-centered .hero-content h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

/* hero paragraph */
.hero-centered .hero-content p {
  font-size: 16px;
  color: var(--text-main) !important;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions .btn {
  min-width: 220px;
}

/* ------------------------------------------------------- */
/* Buttons (used in sections, not navbar) */
/* ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: var(--blue);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-soft);
}

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

.btn-secondary:hover {
  background: #e0ebff;
}

/* ------------------------------------------------------- */
/* Hero Card */
/* ------------------------------------------------------- */
.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 18px;
}

.hero-card h2 {
  font-size: 18px;
  color: var(--blue);
  margin-top: 0;
}

.hero-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 14px;
}

.hero-card-list li {
  margin-bottom: 6px;
}

.hero-card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}

.hero-card-link:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------- */
/* Generic Sections */
/* ------------------------------------------------------- */
.section {
  padding: 40px 0;
  background: #ffffff;
}

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

.section h2 {
  color: var(--blue);
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Two-column layout for some sections */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
}

/* Bullet list used in text sections */
.bullet-list {
  padding-left: 20px;
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
}

.bullet-list li {
  margin-bottom: 6px;
}

/* ------------------------------------------------------- */
/* Steps Grid */
/* ------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  position: relative;
}

.step-card h3 {
  margin-top: 6px;
  font-size: 16px;
  color: var(--blue);
}

.step-card p {
  font-size: 14px;
  color: var(--text-main);
}

.step-number {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ------------------------------------------------------- */
/* Callout Box */
/* ------------------------------------------------------- */
.callout-box {
  background: var(--blue);
  color: #ffffff;
  padding: 16px;
  border-radius: 16px;
  font-size: 14px;
}

.callout-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}

/* ------------------------------------------------------- */
/* FAQ */
/* ------------------------------------------------------- */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px;
}

.faq-item h3 {
  color: var(--blue);
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 16px;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ------------------------------------------------------- */
/* Contact Box */
/* ------------------------------------------------------- */
.contact-box {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px;
}

.contact-box h3 {
  color: var(--blue);
}

/* ------------------------------------------------------- */
/* Footer */
/* ------------------------------------------------------- */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 20px 0;
  margin-top: 16px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
}

.site-footer a:hover {
  color: var(--blue);
}

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

/* ------------------------------------------------------- */
/* Responsive Fixes */
/* ------------------------------------------------------- */

/* Tablet & small laptop */
@media (max-width: 880px) {
  .hero-inner,
  .two-column,
  .steps-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 16px;
  }

  .hero-card {
    margin-top: 8px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .nav-btn {
    margin-top: 8px;
  }
}

/* Mobile: up to 640px */
@media (max-width: 640px) {
  .section {
    padding: 32px 0;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-centered .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-inner {
    border-radius: 12px;
    padding: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .steps-grid {
    gap: 14px;
  }

  .faq-list {
    gap: 14px;
  }

  .site-header {
    padding: 10px 0;
  }

  .header-inner {
    gap: 12px;
  }

  .site-name-left,
  .logo-title {
    font-size: 16px;
  }

  .main-nav a {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* Extra small (very narrow phones) */
@media (max-width: 420px) {
  .container {
    padding: 0 12px;
  }

  .hero-inner {
    padding: 12px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-centered .hero-content h1 {
    font-size: 22px;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }
}
