:root {
  /* Competitor-inspired Light Theme Palette */
  --bg-main: #f8fafc;
  /* Very light gray/blue background */
  --bg-white: #ffffff;
  --primary-blue: #1d4ed8;
  /* Strong 'Trust' Blue */
  --primary-blue-light: #eff6ff;
  --secondary-orange: #f97316;
  /* Warning/Action Orange */
  --secondary-orange-hover: #ea580c;

  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #ffffff;

  --border: #e2e8f0;

  --font-main: 'Nunito', 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 10px 25px -5px rgba(29, 78, 216, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-main);
  line-height: 1.6;
  font-size: 18px;
  /* Increased base size for senior accessibility */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  /* Larger hit area */
  border-radius: 8px;
  /* Slightly rounder */
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  /* Larger button text */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-orange {
  background-color: var(--secondary-orange);
  color: white;
}

.btn-orange:hover {
  background-color: var(--secondary-orange-hover);
}

.btn-blue {
  background-color: var(--primary-blue);
  color: white;
}

.btn-blue:hover {
  background-color: #1e3a8a;
}

/* 1. Header & Hero (The Blue Header Section) */
.hero-wrapper {
  background-color: var(--primary-blue);
  color: white;
  padding-bottom: 6rem;
}

header {
  background-color: var(--bg-white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-blue);
  text-decoration: none;
}

.logo span {
  color: var(--secondary-orange);
}

.hero {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-left h1 span {
  color: var(--secondary-orange);
}

.hero-left p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero-features li svg {
  color: var(--secondary-orange);
}

/* Floating Trust Card */
.hero-right {
  display: flex;
  justify-content: center;
}

.trust-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  width: 100%;
  max-width: 350px;
  box-shadow: var(--shadow-float);
}

.trust-card-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  border: 4px solid var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.trust-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 2. Trust Bar (3 Horizontal Cards) */
.trust-bar {
  margin-top: -3rem;
  /* Overlap the blue area */
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-item {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.trust-icon {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.trust-item h4 {
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section Shared Styles */
.section {
  padding: 6rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head span {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-head h2 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  margin-top: 1rem;
}

/* 3. Services Grid */
.services-section {
  background: var(--bg-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
  background: white;
}

.service-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-float);
}

.service-icon {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 4. How It Works (3 Steps) */
.steps-section {
  background: var(--bg-main);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.step-item {
  position: relative;
}

.step-number-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.step-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary-orange);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.step-item h3 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.step-item p {
  color: var(--text-muted);
}

/* 5. Testimonials */
.testimonials-section {
  background: var(--bg-white);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.test-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  background: white;
}

.stars {
  color: var(--secondary-orange);
  margin-bottom: 1rem;
}

.test-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.test-author {
  font-weight: 800;
  font-size: 0.9rem;
}

.test-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 6. Contact Banner / Form Area */
.contact-section {
  background: var(--bg-main);
  padding: 5rem 0;
  text-align: center;
}

.contact-box {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 7. Footer */
footer {
  background: #1e293b;
  /* Dark Slate */
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  font-size: 0.8rem;
  color: #64748b;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-left h1 {
    font-size: 2.25rem;
  }

  .hero-left p {
    font-size: 1.15rem;
  }

  .hero-features {
    display: inline-block;
    text-align: left;
  }

  .trust-grid,
  .steps-grid,
  .test-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-wrapper {
    padding-bottom: 4rem;
  }

  .trust-bar {
    margin-top: -2rem;
  }

  .hero-right {
    order: -1;
    margin-bottom: 2rem;
  }

  .floating-badge {
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 600px) {
  .hero-left h1 {
    font-size: 1.85rem;
  }

  .phone-callout {
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .logo {
    font-size: 1.5rem;
  }

  .section-head h2 {
    font-size: 1.75rem;
  }
}

/* Image styles */
.img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-float);
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
  font-weight: 800;
  z-index: 5;
}

@media (max-width: 600px) {
  .hide-mobile {
    display: none;
  }
}