/* 
   MVA Helpline - Master CSS Design System
   Modern, High-Converting US Legal Landing Page Stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --primary-navy: #0F172A;
  --navy-light: #1E293B;
  --primary-blue: #2563EB;
  --primary-blue-hover: #1D4ED8;
  --accent-gold: #F59E0B;
  --accent-emerald: #10B981;
  --accent-red: #EF4444;
  
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --bg-main: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-card: #FFFFFF;
  
  --border-color: #E2E8F0;
  --border-focus: #3B82F6;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.2);
  --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.4);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-alt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-blue-hover);
  text-decoration: underline;
}

/* Header & Navbar */
.top-announcement-bar {
  background: #0B1120;
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 8px 12px;
  font-weight: 500;
  border-bottom: 1px solid #1E293B;
  overflow-x: hidden;
  max-width: 100%;
}

.top-announcement-bar span {
  color: var(--accent-gold);
  font-weight: 700;
}

.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  transition: all 0.3s ease;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.header-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar-brand-logo .brand-highlight {
  color: var(--primary-blue);
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155 !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue) !important;
  background-color: #F8FAFC;
}

.navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
  font-weight: 700;
}

/* Header Call CTA Button */
.header-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.header-call-btn:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.header-call-btn:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: var(--shadow-blue);
}

/* Hero Section with Background Overlay */
.hero-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.93) 100%), url('../assets/images/hero_banner.jpg') no-repeat center center / cover;
  padding: 56px 0 80px 0;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93C5FD;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  color: #60A5FA;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #E2E8F0;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-trust-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.hero-trust-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #F1F5F9;
  margin-bottom: 12px;
  font-size: 1rem;
}

.hero-trust-bullets li i {
  color: var(--accent-emerald);
  font-size: 1.25rem;
}

/* Evaluation Form Card */
.evaluation-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  color: var(--text-main);
}

.evaluation-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.evaluation-card-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.evaluation-card-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-label span.text-danger {
  color: var(--accent-red) !important;
}

.form-control, .form-select {
  height: 52px;
  border-radius: var(--radius-md);
  border: 1px solid #CBD5E1;
  background-color: #FAFAFA;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0 16px;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  background-color: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* TCPA Consent Box */
.tcpa-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tcpa-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.tcpa-text {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.55;
}

.tcpa-text a {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Primary CTA Button */
.btn-submit-cta {
  width: 100%;
  height: 58px;
  background: var(--primary-blue);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-blue);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-submit-cta:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.5);
}

/* Stats Counter Strip */
.stats-banner {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 36px 0;
  border-bottom: 1px solid #1E293B;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Section Spacing & Headers */
.section-padding {
  padding: 85px 0;
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Feature Showcase Cards with Images */
.feature-img-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-img-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-img-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.feature-img-body {
  padding: 28px;
}

.feature-badge {
  display: inline-block;
  background: #EFF6FF;
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Case Victory Results Grid */
.victory-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.victory-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-emerald);
  box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.2);
}

.victory-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.victory-icon-wrapper {
  width: 44px;
  height: 44px;
  background: #ECFDF5;
  color: var(--accent-emerald);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.victory-location-badge {
  background: #F1F5F9;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.victory-amount {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.victory-type {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.victory-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.victory-footer {
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Accident Types Section */
.accident-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.accident-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #BFDBFE;
}

.accident-icon {
  width: 56px;
  height: 56px;
  background: #EFF6FF;
  color: var(--primary-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Process Section */
.how-it-works-step {
  text-align: center;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary-blue);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-blue);
}

/* Reviews / Testimonials */
.review-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.review-stars {
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.review-quote {
  font-size: 0.95rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: #DBEAFE;
  color: var(--primary-blue);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h6 {
  margin: 0;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  padding: 20px;
  background-color: #FFFFFF;
}

.accordion-button:not(.collapsed) {
  background-color: #EFF6FF;
  color: var(--primary-blue);
  box-shadow: none;
}

/* Bottom Call CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1E3A8A 100%);
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin-bottom: -40px;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.btn-call-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.btn-call-large:hover {
  background: #EAB308;
  color: var(--primary-navy);
  transform: scale(1.03);
  text-decoration: none;
}

/* Footer */
footer {
  background: #090D16;
  color: #CBD5E1;
  padding-top: 80px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}

footer p {
  color: #CBD5E1;
}

footer h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #94A3B8;
  transition: all 0.2s ease;
}

footer ul li a:hover {
  color: #60A5FA;
  text-decoration: underline;
}

.footer-contact-link {
  color: #60A5FA !important;
  font-weight: 600;
}

.footer-contact-link:hover {
  color: #93C5FD !important;
  text-decoration: underline;
}

.footer-disclaimer {
  border-top: 1px solid #1E293B;
  padding-top: 28px;
  margin-top: 40px;
  font-size: 0.825rem;
  color: #94A3B8;
  line-height: 1.65;
}

.footer-disclaimer strong {
  color: #E2E8F0;
}

.footer-disclaimer a {
  color: #60A5FA;
}

/* Sticky Mobile Floating CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  z-index: 1000;
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    background-color: #FFFFFF;
    padding: 20px;
    margin-top: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  }

  .navbar-collapse .navbar-nav {
    margin-bottom: 16px !important;
    gap: 4px;
  }

  .navbar-collapse .nav-link {
    padding: 10px 16px !important;
    font-size: 0.95rem;
    border-bottom: 1px solid #F1F5F9;
  }

  .navbar-collapse .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-collapse .header-call-btn {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 767.98px) {
  .header-logo-img {
    height: 52px;
  }

  .footer-logo-img {
    height: 60px;
  }

  .top-announcement-bar {
    font-size: 0.78rem;
    padding: 6px 10px;
    line-height: 1.4;
  }

  .cta-banner {
    padding: 36px 18px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .cta-banner h2 {
    font-size: 1.65rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  .btn-call-large {
    font-size: 0.95rem;
    padding: 14px 22px;
    display: inline-flex;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .sticky-mobile-cta {
    display: flex;
    gap: 10px;
  }
  
  .sticky-mobile-cta .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 12px;
    font-weight: 700;
    border-radius: var(--radius-pill);
  }
  
  .evaluation-card {
    padding: 24px 18px;
  }
  
  .section-padding {
    padding: 50px 0;
  }
}

/* Legal Pages Styling */
.legal-page-header {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 60px 0;
}

.legal-page-header h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-content-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-top: -30px;
  margin-bottom: 60px;
}

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
  color: var(--accent-gold);
}

@media (max-width: 767.98px) {
  .back-to-top-btn {
    bottom: 85px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* Success Modal Pre-Qualification Badge */
.success-icon-badge {
  width: 76px;
  height: 76px;
  background: #10B981;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}
