/* Modern CSS Stylesheet for Your Free Guide */
:root {
  /* Color Palette */
  --primary-color: #0016dd;
  --primary-hover: #000bb3;
  --secondary-color: #01a4ff;
  --accent-color: #ffde00;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --border-color: #e2e8f0;
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Disclaimer top bar */
.top-disclaimer-bar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 8px 15px;
}

.top-disclaimer-bar a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.top-disclaimer-bar a:hover {
  text-decoration: underline;
}

/* Header */
body > header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.btn-header-cta {
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: none;
  display: inline-block;
}

.btn-header-cta:hover {
  background-color: var(--primary-hover);
  color: var(--text-light) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Intro Section */
.intro-section {
  padding: 60px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: center;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.text-center {
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.intro-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.intro-content h2 strong {
  color: var(--primary-color);
}

.intro-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}

.btn-gradient {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0022ff 100%);
  color: var(--text-light);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 22, 221, 0.3);
  transition: var(--transition-all);
  border: none;
  cursor: pointer;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 22, 221, 0.4);
}

.btn-secondary-link {
  display: inline-block;
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.btn-secondary-link:hover {
  background-color: var(--border-color);
}

/* Guide Cards Section */
.guides-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.section-title span {
  color: var(--primary-color);
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.guide-card {
  display: flex;
  flex-direction: row;
  background-color: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition-all);
  height: auto;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--secondary-color);
}

.card-thumbnail {
  flex: 0 0 35%;
  max-width: 35%;
  position: relative;
  overflow: hidden;
}

.card-thumbnail a {
  display: block;
  height: 100%;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.guide-card:hover .card-thumbnail img {
  transform: scale(1.03);
}

.card-body {
  flex: 0 0 65%;
  max-width: 65%;
  padding: 30px 25px 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-body h3 a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.card-body h3 a:hover {
  color: var(--primary-color);
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-pill {
  display: inline-block;
  background-color: #e3f2fd;
  color: var(--primary-color);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  text-align: center;
  align-self: flex-start;
}

.btn-pill:hover {
  background-color: #bbdefb;
  color: var(--primary-hover);
}

/* Checklist / Benefit Section */
.benefits-section {
  background-color: var(--bg-white);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.checklist {
  list-style: none;
  margin-top: 30px;
  margin-bottom: 40px;
}

.checklist-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 25px;
  font-size: 16px;
  color: var(--text-dark);
}

.checklist-icon {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(1, 164, 255, 0.1);
}

.checklist-icon svg {
  width: 14px;
  height: 14px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 50px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  user-select: none;
  font-family: var(--font-heading);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 15px;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top: 1px solid var(--border-color);
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.disclaimer-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  font-size: 14px;
  color: var(--text-muted);
}

.disclaimer-box p {
  margin-bottom: 15px;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  border-bottom: 1px solid #334155;
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-brand img {
  height: 35px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-info {
  font-size: 14px;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
}

.footer-menu a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-menu a:hover {
  color: var(--text-light);
}

.footer-copyright {
  text-align: center;
  font-size: 14px;
}

/* Lead-gen Pages Elements */
.questionnaire-container {
  background-color: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  margin: 20px auto;
  max-width: 600px;
  border: 1px solid var(--border-color);
}

.progress-bar-wrap {
  margin-bottom: 30px;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bar-track {
  height: 8px;
  background-color: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  width: 0%;
  transition: width 0.4s ease;
}

.q-step {
  display: none;
}

.q-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.q-title {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.q-option {
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
  background-color: var(--bg-white);
  text-align: left;
  font-size: 16px;
}

.q-option:hover {
  border-color: var(--secondary-color);
  background-color: rgba(1, 164, 255, 0.05);
}

.q-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(0, 22, 221, 0.05);
  color: var(--primary-color);
}

.q-inputs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.q-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.q-input-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.q-input-group input, .q-input-group select {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition-smooth);
}

.q-input-group input:focus, .q-input-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 22, 221, 0.1);
}

.q-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-prev {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-prev:hover {
  background-color: #f1f5f9;
}

.btn-next {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-next:hover {
  background-color: var(--primary-hover);
}

/* Results panel styles */
.results-panel {
  text-align: center;
}

.results-icon {
  width: 64px;
  height: 64px;
  background-color: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.results-icon svg {
  width: 32px;
  height: 32px;
}

.results-panel h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.results-panel p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Article Page Layout */
.article-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.article-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.article-header h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--text-dark);
  line-height: 1.3;
}

.article-content {
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-dark);
  margin-top: 35px;
  margin-bottom: 15px;
}

.article-content ul, .article-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.data-collected-box {
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 24px;
  font-size: 14px;
  color: var(--text-dark);
  border-left: 4px solid var(--secondary-color);
  margin-bottom: 30px;
}

.data-collected-box__read {
  font-size: 16px;
  margin-bottom: 10px;
}

.data-collected-box__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.data-collected-box__list li {
  margin-bottom: 6px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .col-md-6:last-child {
    margin-bottom: 0;
  }
  
  .grid-layout {
    grid-template-columns: 1fr;
  }
  
  .guide-card {
    flex-direction: row;
  }
  
  .card-thumbnail {
    flex: 0 0 35%;
    max-width: 35%;
  }
  
  .card-body {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 20px 15px;
  }
  
  .card-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .card-excerpt {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .btn-pill {
    padding: 8px 20px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .card-thumbnail {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .card-body {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 12px 10px;
  }
  .card-body h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .card-excerpt {
    font-size: 11px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .btn-pill {
    padding: 6px 14px;
    font-size: 11px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 20px;
    gap: 15px;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-menu {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .intro-content h2 {
    font-size: 26px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .article-container {
    padding: 30px 20px;
  }
  
  .article-header h1 {
    font-size: 28px;
  }
}

/* ==========================================
   Two-Column Article Layout (EmergencyFundGuides Style)
   ========================================== */

/* Breadcrumbs */
.article-breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-family: var(--font-sans);
}

.article-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.article-breadcrumb a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.article-breadcrumb span {
  color: var(--text-muted);
}

/* Article Header Modification for Two Column */
.article-two-col-header {
  margin-bottom: 35px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 25px;
}

.article-category {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.article-two-col-header h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.25;
  color: var(--text-dark);
  font-weight: 800;
  margin: 0 0 15px 0;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 15px;
  align-items: center;
}

.article-meta a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.article-meta a:hover {
  color: var(--primary-color);
}

/* Article Layout Grid */
.article-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.article-main {
  flex: 1;
  min-width: 0; /* Prevents overflow in flex items */
}

.article-sidebar {
  width: 340px;
  flex-shrink: 0;
}

/* Sidebar Sticky CTA Card */
.sidebar-cta-card {
  position: sticky;
  top: 110px; /* Accounts for header height */
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-all);
}

.sidebar-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-label {
  display: inline-block;
  background-color: rgba(1, 164, 255, 0.1);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.sidebar-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.sidebar-cta-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0022ff 100%);
  color: var(--text-light) !important;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 22, 221, 0.2);
  transition: var(--transition-all);
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 22, 221, 0.35);
}

.sidebar-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.sidebar-checklist li {
  position: relative;
  padding-left: 25px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.sidebar-checklist li:last-child {
  margin-bottom: 0;
}

.sidebar-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230016dd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Top & Bottom inline CTAs */
.top-cta-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}

.top-cta-card .cta-label {
  margin-bottom: 10px;
}

.top-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.top-cta-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 18px;
}

.top-cta-card .btn-cta {
  display: inline-block;
  width: auto;
}

.bottom-cta-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px;
  margin-top: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.bottom-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.bottom-cta-card p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-cta-card .btn-cta {
  display: inline-block;
  width: auto;
  padding: 14px 35px;
  font-size: 16px;
}

/* Article Body Prose Styling */
.article-body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 18px;
  font-weight: 700;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 12px;
  font-weight: 600;
}

.article-body ul, .article-body ol {
  margin-left: 20px;
  margin-bottom: 25px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--text-dark);
}

.article-body a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.article-body a:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

.article-body em {
  font-style: italic;
}

/* Tables styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.article-body th {
  background-color: #f1f5f9;
  color: var(--text-dark);
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-color);
  font-family: var(--font-heading);
}

.article-body td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: #475569;
  line-height: 1.5;
}

.article-body tr:last-child td {
  border-bottom: none;
}

.article-body tr:nth-child(even) td {
  background-color: #f8fafc;
}

/* Inline CTA small banner */
.article-inline-cta {
  background-color: rgba(1, 164, 255, 0.04);
  border: 1px dashed var(--secondary-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin: 25px 0;
}

.article-inline-cta p {
  margin: 0;
  font-size: 15px;
}

.article-inline-cta a {
  font-weight: 600;
}

/* Notice Box / Info box */
.info-notice-box {
  background-color: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  color: #166534;
}

.info-notice-box h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.info-notice-box ul {
  margin-bottom: 0;
  margin-left: 15px;
  color: #14532d;
}

/* Responsive adjustment for two columns */
@media (max-width: 992px) {
  .article-layout {
    flex-direction: column;
    gap: 30px;
  }
  
  .article-sidebar {
    width: 100%;
  }
  
  .sidebar-cta-card {
    position: static;
    margin-top: 30px;
  }
  
  .article-two-col-header h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .article-two-col-header h1 {
    font-size: 28px;
  }
  
  .bottom-cta-card {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  main.container {
    padding: 20px 15px !important;
  }
  
  .article-two-col-header h1 {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .article-meta {
    flex-wrap: wrap;
    gap: 5px 12px;
    font-size: 13px;
  }
  
  .top-cta-card {
    padding: 16px;
    margin-bottom: 25px;
  }
  
  .top-cta-card h3 {
    font-size: 18px;
  }
  
  .top-cta-card p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .top-cta-card .btn-cta {
    display: block;
    width: 100%;
  }
  
  .bottom-cta-card {
    padding: 20px 15px;
    margin-top: 30px;
  }
  
  .bottom-cta-card h3 {
    font-size: 20px;
  }
  
  .bottom-cta-card p {
    font-size: 14px;
    margin-bottom: 18px;
  }
  
  .bottom-cta-card .btn-cta {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }
  
  .sidebar-cta-card {
    padding: 20px 15px;
  }
  
  .info-notice-box {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .article-body {
    font-size: 15px;
  }
  
  .article-body h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 12px;
  }
  
  .article-body h3 {
    font-size: 17px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  
  .article-body table {
    font-size: 13px;
  }
  
  .article-body th, .article-body td {
    padding: 10px 12px;
  }
  
  .logo-text {
    font-size: 21px;
  }
}

/* ==========================================================================
   SECTION 8 LANDING PAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero Section & Interactive Quiz Widget */
.landing-hero {
  background: linear-gradient(135deg, #0b1c4d 0%, #0016dd 60%, #01a4ff 100%);
  color: #ffffff;
  padding: 50px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.hero-title-group h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title-group h1 span {
  color: var(--accent-color);
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  line-height: 1.6;
}

.transparency-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 25px;
}

.transparency-box h4 {
  font-size: 15px;
  color: var(--accent-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.transparency-box ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.transparency-box li {
  margin-bottom: 6px;
}

/* Quiz Card Container */
.quiz-widget-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 30px;
  color: var(--text-dark);
  position: relative;
  z-index: 10;
}

.quiz-header {
  text-align: center;
  margin-bottom: 25px;
}

.quiz-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.quiz-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(14px, 3.8vw, 21px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  white-space: nowrap;
}

.quiz-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Progress Bar (FindHelp Clean Layout) */
.progress-wrap {
  margin-bottom: 24px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.progress-track {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 99px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 14%;
}

/* 2-Column Form Row */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 3-Column Form Row (for MM / DD / YYYY) */
.form-row-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 10px;
}

@media (max-width: 576px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .form-row-3col {
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 6px;
  }
}

/* Address Autocomplete Dropdown */
.address-autocomplete-wrap {
  position: relative;
}

.address-suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border: 1.5px solid var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-height: 220px;
  overflow-y: auto;
  margin-top: 4px;
  display: none;
}

.address-suggestions-dropdown.active {
  display: block;
}

.suggestion-item {
  padding: 11px 15px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #eff6ff;
  color: var(--primary-color);
  font-weight: 500;
}

.question-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.option-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  text-align: left;
  width: 100%;
}

.option-text-wrap {
  display: flex;
  flex-direction: column;
}

.option-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.option-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 400;
}

.error-msg {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.error-msg.visible {
  display: block;
}

.consent-row {
  margin-top: 15px;
  margin-bottom: 15px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Step Views */
.quiz-step {
  display: none;
  animation: fadeIn 0.35s ease-in-out;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text-dark);
}

/* Radio Choice Buttons */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.option-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  text-align: left;
  width: 100%;
}

.option-btn:hover {
  border-color: var(--secondary-color);
  background: #f0f9ff;
}

.option-btn.selected {
  border-color: var(--primary-color);
  background: #eff6ff;
  color: var(--primary-color);
  font-weight: 600;
}

.option-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.option-btn.selected .option-icon {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.option-btn.selected .option-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

/* Form Inputs */
.form-group-custom {
  margin-bottom: 16px;
}

.form-group-custom label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 22, 221, 0.1);
}

/* Form Submit Button */
.btn-submit-ebook {
  background: linear-gradient(135deg, #ffde00 0%, #ff8d01 100%);
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  padding: 16px 28px;
  border: none;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 141, 1, 0.35);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-ebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 141, 1, 0.45);
}

/* Success State Screen */
.success-screen {
  text-align: center;
  padding: 20px 10px;
}

.success-icon-circle {
  width: 70px;
  height: 70px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 32px;
}

.success-screen h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.success-screen p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 25px;
}

.download-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.btn-download-pdf {
  background: #16a34a;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.btn-download-pdf:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
}

/* What We Offer Section (4 Feature Cards) */
.offers-section {
  padding: 70px 0;
  background-color: var(--bg-white);
}

.section-header-center {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.section-header-center h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header-center p {
  font-size: 16px;
  color: var(--text-muted);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.offer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 20px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.offer-icon-wrapper {
  width: 54px;
  height: 54px;
  background: rgba(0, 22, 221, 0.08);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.offer-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.offer-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Common Application Methods Accordion */
.accordion-section {
  padding: 70px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.landing-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.accordion-header-btn {
  width: 100%;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition-smooth);
}

.accordion-header-btn:hover {
  background: #f8fafc;
  color: var(--primary-color);
}

.accordion-header-btn .header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion-header-btn .acc-icon-badge {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.accordion-toggle-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.accordion-item-card.open .accordion-toggle-icon {
  transform: rotate(180deg);
  background: var(--primary-color);
  color: #ffffff;
}

.accordion-body-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.accordion-item-card.open .accordion-body-content {
  max-height: 500px;
  padding: 0 24px 24px 24px;
  border-top: 1px solid #f1f5f9;
}

/* Requirements & Image Highlight Section */
.requirements-section {
  padding: 70px 0;
  background: #ffffff;
}

.checklist-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 35px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text-dark);
}

.check-badge {
  width: 26px;
  height: 26px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Dark Blue Bottom CTA Banner */
.cta-banner-section {
  background: linear-gradient(135deg, #010D83 0%, #07159B 100%);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
  position: relative;
}

.cta-banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner-span {
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.cta-banner-content h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.3;
}

.btn-cta-gold {
  background: linear-gradient(135deg, #ffde00 0%, #ff8d01 100%);
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(255, 141, 1, 0.4);
  transition: var(--transition-smooth);
}

.btn-cta-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 141, 1, 0.5);
  color: #0f172a;
}

/* Responsive adjustments for Landing Page */
@media (max-width: 992px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title-group h1 {
    font-size: 32px;
  }
  
  .landing-hero {
    padding: 40px 0 60px 0;
  }
}

@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title-group h1 {
    font-size: 26px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .quiz-widget-container {
    padding: 20px;
  }
  
  .cta-banner-content h2 {
    font-size: 24px;
  }
}

/* ===== MOBILE HEADER LOGO FIX (2026-09-29) =====
   Keep logo + "Your Free Guide" on one line on all phone sizes,
   scaled from the iPhone 16 Pro Max layout (440px: logo 38px, text 21px). */
.logo-text {
  white-space: nowrap;
  flex-wrap: nowrap;
  min-width: 0;
}
.menu-toggle {
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .navbar {
    gap: 10px;
  }
  .logo-text {
    font-size: clamp(14px, 4.77vw, 21px);
    gap: clamp(4px, 1.8vw, 8px);
  }
  .logo-text img {
    height: clamp(26px, 8.6vw, 38px) !important;
    width: auto;
    flex-shrink: 0;
  }
  .logo-text > span:first-of-type {
    font-size: clamp(12px, 3.6vw, 16px) !important;
    margin: 0 !important;
  }
}
