/* Support Forward - Main Stylesheet */

/* CSS Custom Properties (Design System) */
:root {
  --olive: #4d7c0f;
  --olive-dark: #166534;
  --olive-light: #eef5e0;
  --cream: #f5f3ee;
  --charcoal: #1f2937;
  --white: #ffffff;
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --border: #e5e7eb;
  --muted: #6b7280;
  --trust-green: #c6dea0;
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: var(--charcoal);
  background-color: var(--white);
}

/* Typography */
h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}

h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--charcoal);
}

p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
}

.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

small, .small {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Spacing */
section {
  padding: 80px 0;
}

section.alt {
  background-color: var(--cream);
}

section.olive-light {
  background-color: var(--olive-light);
}

/* Mobile Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  section {
    padding: 40px 0;
  }
}

/* Links */
a {
  color: var(--charcoal);
  text-decoration: none;
}

a:hover {
  color: var(--olive);
}

a:focus {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--olive);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--olive-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
  padding: 12px 26px;
}

.btn-secondary:hover {
  background-color: var(--olive);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--olive);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background-color: transparent;
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* Cards */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}

/* Badges */
.badge {
  display: inline-block;
  background: var(--olive-light);
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--olive);
}

.badge-sm {
  font-size: 11px;
  padding: 3px 10px;
}

.badge-agency {
  background: var(--olive-light);
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  border: none;
}

.badge-amber {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: var(--amber);
}

/* Advisory Notice Box */
.advisory {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 14px;
  color: #78350f;
  line-height: 1.6;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  height: 70px;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background-color: var(--olive);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--olive);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  margin: 4px 0;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  padding: 24px;
  z-index: 99;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--olive);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Footer */
.footer {
  background-color: var(--cream);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 8px 0;
}

.footer-mission {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--charcoal);
}

.footer-link:hover {
  color: var(--olive);
}

.footer-contact-item {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}

.footer-contact-item a {
  color: var(--olive);
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-compliance {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-compliance .badge {
  width: fit-content;
}

.footer-compliance-text {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom-links a:hover {
  color: var(--olive);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Hero Two Column */
.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.hero-grid.reverse {
  grid-template-columns: 45% 55%;
}

@media (max-width: 900px) {
  .hero-grid,
  .hero-grid.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-grid .hero-image {
    order: 2;
  }

  .hero-grid .hero-content {
    order: 1;
  }
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-rounded {
  border-radius: 10px;
}

.img-bordered {
  border: 4px solid var(--olive);
  border-radius: 12px;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--olive-light);
  border-top: 1px solid var(--trust-green);
  border-bottom: 1px solid var(--trust-green);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--olive-dark);
  padding: 0 16px;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background-color: var(--trust-green);
}

@media (max-width: 768px) {
  .trust-divider {
    display: none;
  }

  .trust-bar-inner {
    gap: 12px;
  }

  .trust-item {
    padding: 4px 8px;
  }
}

/* Service Cards */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}

.service-card-code {
  font-size: 13px;
  color: var(--muted);
  font-family: monospace;
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-card-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-card-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
}

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

/* CTA Block */
.cta-block {
  background-color: var(--olive);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.cta-block h2,
.cta-block h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-block p {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta-block .btn {
  margin-top: 8px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--charcoal);
  background-color: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--olive);
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkboxes */
.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--olive);
  cursor: pointer;
}

/* Form Success Message */
.form-success {
  background-color: var(--olive-light);
  border-left: 4px solid var(--olive);
  padding: 24px;
  border-radius: 6px;
  margin-top: 20px;
}

.form-success p {
  color: var(--olive-dark);
  font-weight: 600;
}

/* Table (styled divs) */
.table-styled {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.table-row:last-child {
  border-bottom: none;
}

.table-row:nth-child(odd) {
  background-color: var(--white);
}

.table-row:nth-child(even) {
  background-color: var(--cream);
}

.table-row-code {
  font-family: monospace;
  font-size: 14px;
  color: var(--muted);
  margin-right: 8px;
}

.table-row-name {
  font-size: 15px;
  font-weight: 600;
}

/* Steps */
.steps {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--olive);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.step-divider {
  position: absolute;
  top: 24px;
  right: -12px;
  width: calc(100% - 72px);
  height: 1px;
  background-color: var(--border);
}

.step:last-child .step-divider {
  display: none;
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-divider {
    display: none;
  }
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
}

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

.checklist-icon {
  color: var(--olive);
  font-weight: 700;
  flex-shrink: 0;
}

/* Reassurance Steps */
.reassurance-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reassurance-step {
  display: flex;
  gap: 16px;
}

.reassurance-number {
  width: 32px;
  height: 32px;
  background-color: var(--olive);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.reassurance-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.reassurance-content p {
  font-size: 14px;
  color: var(--muted);
}

/* Horizontal Divider */
.divider {
  height: 1px;
  background-color: var(--border);
  margin: 24px 0;
}

/* Text Center */
.text-center {
  text-align: center;
}

/* Max Width */
.max-width-md {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-lg {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Margin Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Button Group */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* Compliance Cards */
.compliance-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.compliance-card {
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: 6px;
  text-align: center;
}

.compliance-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--olive-dark);
}

/* Services Two Column */
.service-detail-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 48px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  .service-detail-grid.reverse > * {
    direction: ltr;
  }
}

.service-detail-code {
  font-family: monospace;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.service-detail-title {
  margin-bottom: 16px;
}

.service-detail-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.service-detail-suits {
  font-size: 15px;
  margin-bottom: 20px;
}

.service-detail-suits strong {
  color: var(--charcoal);
}

.service-detail-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--olive);
}

.service-detail-link:hover {
  text-decoration: underline;
}

/* Form Layout */
.form-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
}

@media (max-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--olive);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 16px;
  color: var(--charcoal);
}

.contact-item-value a {
  color: var(--olive);
}

.contact-item-value a:hover {
  text-decoration: underline;
}

/* Privacy Note */
.privacy-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* Hero Page */
.page-hero {
  background-color: var(--cream);
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 40px 0;
  }
}

/* Olive Section */
.section-olive {
  background-color: var(--olive);
  color: var(--white);
  text-align: center;
}

.section-olive h2,
.section-olive h3 {
  color: var(--white);
}

.section-olive p {
  color: var(--white);
  opacity: 0.9;
}

.section-olive .small-text {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 16px;
}

/* Flex Utilities */
.flex-center {
  display: flex;
  align-items: center;
}
