/*
 * Complete Landing Page CSS (replaced)
 * - Original variables and base styles kept
 * - Strong overrides at bottom for page-template-page-landing-middle
 */

/* ---- GLOBAL VARIABLES ---- */
:root {
  /* Colors */
  --primary-blue: #1f355f;
  --secondary-blue: #0e1c3d;
  --teal: #00c2cb;
  --teal-dark: #00b0b9;
  --accent-blue: #5371ff; /* Color for the heading */
  --light-blue: #e0f7fa; /* Adjusted light blue for backgrounds */
  --white: #ffffff;
  --light-gray: #f7f9fc;
  --medium-gray: #dbe1ef;
  --dark-gray: #687089;
  --text-color: #1f355f;
  --error-red: #d9534f;
}

/* ---- GLOBAL STYLES ---- */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden; /* prevent stray horizontal scroll */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.text-center { text-align: center; }

.section-title {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
}

.section-subtitle {
  color: var(--dark-gray);
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary { background-color: var(--teal); color: white; border: none; }
.btn-primary:hover { background-color: var(--teal-dark); }

.btn-secondary { background-color: white; color: var(--primary-blue); border: 1px solid var(--teal); }
.btn-secondary:hover { background-color: var(--light-gray); }

.btn-full { width: 100%; display: block; }

.form-note {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-top: 15px;
  text-align: center;
}

/* Important compliance text styling */
.compliance-text,
.form-note.compliance-text,
.disclaimer-text,
.eligibility-note,
.estimate-disclaimer {
  font-size: 0.85rem;
  font-weight: bold !important;
  color: var(--error-red) !important;
  margin-top: 15px;
  font-style: italic;
}

/* Additional compliance text class */
.legal-disclaimer {
  font-size: 0.8rem;
  font-weight: bold !important;
  color: var(--error-red) !important;
  padding: 10px 0;
  line-height: 1.4;
}

/* Column layouts */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-60 {
  flex: 0 0 60%;
  max-width: 60%;
  padding: 0 15px;
  box-sizing: border-box;
}

.col-40 {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* ---- HERO SECTION STYLES ---- */
.hero-section { background-color: var(--teal); padding: 70px 0; }

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-content { width: 50%; }

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-blue);
}

.hero-title .text-highlight { color: var(--accent-blue); display: block; }

.hero-subtitle {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: var(--primary-blue);
}

.hero-text { font-style: italic; color: var(--primary-blue); margin-top: 20px; }

/* Feature bullets in hero section */
.feature-bullets { margin: 30px 0; }

.feature-bullet {
  background: white;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-bullet-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  color: var(--teal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-bullet-text { flex-grow: 1; }

/* Hero Form Styling */
.hero-form {
  background: white;
  border-radius: 8px;
  padding: 30px;
  width: 45%;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.hero-form-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.form-subtext { text-align: center; color: var(--dark-gray); margin-bottom: 25px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--primary-blue); }

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.form-control:focus { border-color: var(--teal); outline: none; }

.form-submit { margin-top: 25px; }

/* ---- COMPARE PLANS SECTION ---- */
.compare-plans-section { padding: 50px 0; text-align: center; }

.providers-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.provider-logo { max-height: 50px; width: auto; }

/* ---- WHAT SETS US APART SECTION ---- */
.benefits-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--white);
}

.benefits-list { list-style-type: none; padding: 0; margin: 0 auto 30px; max-width: 800px; text-align: left; }
.benefits-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--primary-blue);
}
.benefits-list li:before {
  content: '✅';
  position: absolute; left: 0; color: var(--teal); font-size: 18px;
}

.benefit-row { margin-bottom: 20px; display: flex; align-items: flex-start; }
.benefit-text { flex: 1; padding-left: 15px; }
.benefit-title { font-weight: 600; color: var(--primary-blue); margin-bottom: 5px; }
.benefit-description { color: var(--dark-gray); }

.find-coverage-btn { display: inline-block; margin-top: 20px; }

/* Centered Benefits List */
.benefits-list-centered { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.benefit-item-centered { margin-bottom: 25px; }
.benefit-main { font-weight: 600; color: var(--primary-blue); margin-bottom: 5px; font-size: 1.1rem; }

/* ---- CALCULATOR SECTION STYLES ---- */
.calculator-section { background-color: var(--teal); padding: 70px 0; }
.calculator-title { font-size: 1.8rem; text-align: center; margin-bottom: 15px; color: var(--primary-blue); }
.calculator-container { margin-top: 40px; }
.calculator-form {
  background: white; border-radius: 8px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 30px;
}
.calculator-result { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--medium-gray); }
.result-title { font-size: 1.2rem; color: var(--primary-blue); margin-bottom: 15px; }
.result-value { font-size: 2.5rem; font-weight: 600; color: var(--primary-blue); margin-bottom: 10px; }
.result-cta { margin-top: 25px; }

/* Plan card styling */
.plan-card { background: white; border-radius: 8px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.plan-header { margin-bottom: 20px; }
.plan-title { font-size: 1.5rem; margin-bottom: 5px; color: var(--primary-blue); }
.plan-badge {
  display: inline-block; font-size: 0.85rem; background-color: var(--teal); color: white; padding: 3px 10px; border-radius: 15px;
}
.plan-features { margin-bottom: 25px; }
.plan-feature { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--light-gray); }
.plan-feature:last-child { border-bottom: none; }
.plan-cta { margin-top: 20px; }

/* Benefit items styling (General) */
.benefit-item { margin-bottom: 25px; }
.benefit-icon { color: var(--teal); margin-right: 10px; font-style: normal; }

/* Testimonial styling */
.testimonial { font-style: italic; background-color: var(--light-blue); padding: 20px; border-radius: 8px; margin: 30px 0; border-left: 3px solid var(--teal); }

.alert { font-weight: bold; color: var(--primary-blue); margin: 20px 0; }
.alert.compliance-text { color: var(--error-red) !important; }

/* ---- MARKETPLACE SECTION STYLES (General Wrapper) ---- */
.marketplace-section { padding: 0; background-color: var(--white); overflow: hidden; }

/* Textured CTA Section */
.textured-cta-section {
  background-color: var(--primary-blue);
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  color: white;
  padding: 60px 0;
  text-align: center;
  width: 100%;
}
.textured-cta-section .container { position: relative; }
.textured-cta-section .cta-title {
  font-size: 2.2rem; margin-bottom: 15px; color: white; font-weight: 600;
}
.textured-cta-section .cta-text {
  max-width: 700px; margin: 0 auto 30px; font-size: 1.1rem; color: rgba(255,255,255,0.9); line-height: 1.7;
}
.textured-cta-section .cta-buttons {
  display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 30px;
}
.cta-btn {
  padding: 14px 35px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 8px; font-size: 1rem;
}
.cta-btn-primary { background-color: var(--teal); color: var(--primary-blue); border: 2px solid var(--teal); }
.cta-btn-primary:hover { background-color: var(--teal-dark); border-color: var(--teal-dark); color: white; }
.cta-btn-secondary { background-color: white; color: var(--primary-blue); border: 2px solid white; }
.cta-btn-secondary:hover { background-color: rgba(255,255,255,0.9); color: var(--secondary-blue); border-color: rgba(255,255,255,0.9); }

/* Old content blocks kept for compatibility */
.plan-content-block { display: flex; justify-content: space-between; align-items: center; margin: 40px 0; gap: 30px; }
.plan-text { flex: 1; }
.plan-image { flex: 1; text-align: center; }
.plan-image img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

.plan-benefits { margin-bottom: 30px; }
.plan-benefit-item { display: flex; align-items: flex-start; margin-bottom: 15px; }
.circle-check {
  display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background-color: var(--accent-blue);
  color: white; border-radius: 50%; margin-right: 15px; flex-shrink: 0; font-size: 12px;
}

.check-item { display: flex; align-items: flex-start; margin-bottom: 15px; }
.check-icon {
  display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background-color: var(--primary-blue); color: white; margin-right: 15px; flex-shrink: 0; font-size: 12px;
}
.check-text { flex: 1; }

.view-plans-btn {
  display: inline-block; background-color: var(--primary-blue); color: white; padding: 12px 25px; border-radius: 5px;
  text-decoration: none; font-weight: 500; transition: background-color 0.3s;
}
.view-plans-btn:hover { background-color: var(--secondary-blue); }

/* ---- 3 SIMPLE STEPS SECTION ---- */
.steps-section { padding: 70px 0; background-color: var(--white); }
.steps-container { display: flex; justify-content: space-between; gap: 30px; margin-top: 40px; }
.step-card {
  flex: 1; background: white; border-radius: 8px; padding: 30px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
}
.step-number {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background-color: var(--accent-blue); color: white; font-weight: bold; margin: 0 auto 20px;
}
.step-title { font-size: 1.2rem; font-weight: 600; color: var(--primary-blue); margin-bottom: 15px; }
.step-description { color: var(--dark-gray); font-size: 0.9rem; }
.compare-plans-btn { display: block; width: fit-content; margin: 40px auto 0; }

/* ---- FOOTER STYLES ---- */
.site-footer { background-color: var(--primary-blue); color: white; padding: 40px 0 20px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-wrap { display: flex; align-items: center; }
.footer-logo-img, .footer-logo img { max-height: 150px; width: auto; }
.footer-nav { display: flex; }
.footer-links {
  display: flex; gap: 30px; list-style: none; padding: 0; margin: 0;
}
.footer-link { color: var(--teal); text-decoration: none; transition: color 0.3s; }
.footer-link:hover { color: white; text-decoration: underline; }
.footer-disclaimer { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.footer-disclaimer p { margin-bottom: 15px; }
.footer-disclaimer a { color: var(--teal); text-decoration: none; }
.footer-disclaimer a:hover { text-decoration: underline; }
.footer-copyright {
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.7); padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
}

/* Income highlight styling */
.income-highlight { color: var(--teal); font-weight: 600; }
.highlight-income { color: var(--accent-blue); font-weight: 600; }

/* Banner styles */
.banner { background-color: var(--accent-blue); color: white; padding: 15px; text-align: center; font-weight: 500; }
.banner a { color: white; text-decoration: underline; }

.enrollment-banner { margin: 30px 0 20px; }
.enrollment-link {
  display: block; width: 100%; background-color: var(--primary-blue); color: white; padding: 15px 20px;
  text-align: center; font-weight: 600; border-radius: 5px; text-decoration: none;
}
.enrollment-link:hover { background-color: var(--secondary-blue); color: white; text-decoration: none; }

.healthcare-illustration { max-width: 300px; height: auto; }

.right-title { color: var(--primary-blue); font-size: 1.4rem; margin-bottom: 20px; }

.benefit-circle-item { display: flex; margin-bottom: 20px; align-items: flex-start; }
.benefit-circle {
  width: 36px; height: 36px; background-color: white; border-radius: 50%; color: var(--accent-blue);
  display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; font-size: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.benefit-circle-content { flex: 1; }
.benefit-circle-title { font-size: 1.1rem; font-weight: 600; color: var(--primary-blue); margin-bottom: 5px; }
.benefit-circle-text { color: var(--dark-gray); font-size: 0.95rem; line-height: 1.4; }

.testimonial-box { background-color: var(--primary-blue); color: white; padding: 20px; border-radius: 8px; margin: 30px 0; }
.testimonial-quote { font-style: italic; margin-bottom: 10px; font-size: 1rem; line-height: 1.5; }
.testimonial-author { font-weight: 500; }

.disclaimer-text { text-align: center; margin-top: 15px; }

.licensed-agent-cta {
  display: inline-block; background-color: var(--teal); color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 500; transition: background-color 0.3s;
}
.licensed-agent-cta:hover { background-color: var(--teal-dark); }

.speak-to-agent { background-color: var(--primary-blue); color: white; padding: 50px 0; }

.income-range { color: var(--accent-blue); font-weight: bold; }

.enhanced-subsidy { background-color: var(--light-gray); border-left: 4px solid var(--teal); padding: 15px; margin: 20px 0; }

.service-icon { color: var(--teal); margin-right: 10px; }

/* Select arrow */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f355f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 15px; padding-right: 40px;
}

/* Why Choose Us */
.why-choose-section { padding: 70px 0; background-color: var(--light-gray); }
.choose-item { display: flex; margin-bottom: 30px; align-items: flex-start; }
.choose-number {
  flex-shrink: 0; width: 30px; height: 30px; background-color: var(--teal); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-right: 15px;
}
.choose-content { flex-grow: 1; }
.choose-title { color: var(--primary-blue); font-weight: 600; margin-bottom: 5px; }
.choose-description { color: var(--dark-gray); }
.person-image { max-width: 100%; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

/* Enhanced Marketplace & Private Plans */
.marketplace-enhanced-section, .private-plan-section { padding: 60px 0; }
.marketplace-enhanced-section { background-color: var(--light-blue); }
.private-plan-section { background-color: var(--light-gray); }

.income-badge {
  display: inline-block; background-color: var(--teal); color: white; font-size: 0.9rem;
  padding: 8px 20px; border-radius: 30px; margin-bottom: 25px; font-weight: 500;
}
.alt-badge { background-color: var(--primary-blue); }

.enhanced-section-title {
  font-size: 2.2rem; color: var(--accent-blue); margin-bottom: 20px; font-weight: bold; line-height: 1.3;
}
.enhanced-section-content { display: flex; align-items: center; gap: 50px; margin-top: 30px; }
.enhanced-section-text { flex: 6; }
.enhanced-section-image { flex: 4; text-align: center; }
.enhanced-section-image img { max-width: 100%; height: auto; max-height: 350px; }

.enhanced-description { font-size: 1.05rem; color: var(--primary-blue); margin-bottom: 30px; line-height: 1.7; }
.enhanced-benefits { margin: 30px 0; }
.enhanced-benefit-item { display: flex; align-items: flex-start; margin-bottom: 18px; }
.checkmark-icon {
  display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background-color: var(--accent-blue);
  border-radius: 50%; color: white; margin-right: 15px; flex-shrink: 0; font-size: 16px; font-weight: bold;
}
.enhanced-benefit-content { flex: 1; font-size: 1rem; line-height: 1.5; color: var(--primary-blue); }
.enhanced-benefit-content strong { color: var(--primary-blue); font-weight: 600; }

.marketplace-btn, .private-btn {
  display: inline-block; background-color: var(--primary-blue); color: white; padding: 14px 30px; border-radius: 5px;
  font-weight: 600; text-decoration: none; margin-top: 25px; transition: background-color 0.3s, color 0.3s; border: none; cursor: pointer;
}
.marketplace-btn:hover, .private-btn:hover { background-color: var(--secondary-blue); color: white; }

/* ---- RESPONSIVE STYLES ---- */
@media (max-width: 992px) {
  .hero-container,
  .plan-content-block,
  .steps-container,
  .enhanced-section-content { flex-direction: column; gap: 30px; }

  .hero-content, .hero-form { width: 100%; }
  .hero-form { margin-top: 40px; }

  .col-60, .col-40 { flex: 0 0 100%; max-width: 100%; padding: 0; margin-bottom: 20px; }
  .col-60:last-child, .col-40:last-child { margin-bottom: 0; }

  .calculator-form, .plan-card { margin-bottom: 30px; }
  .step-card { margin-bottom: 20px; }
  .steps-container { gap: 20px; }

  .textured-cta-section .cta-buttons { flex-direction: column; align-items: center; gap: 15px; }
  .cta-btn { width: 80%; max-width: 300px; justify-content: center; }

  .enhanced-section-image { order: -1; margin-bottom: 30px; }
  .enhanced-section-text, .enhanced-section-image { flex: 0 0 100%; max-width: 100%; text-align: center; }
  .enhanced-section-title { text-align: center !important; font-size: 2rem; }
  .income-badge { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
  div[style*="text-align: left"] { text-align: center !important; }
  .enhanced-benefits { text-align: left; margin-left: auto; margin-right: auto; max-width: 400px; }
  .marketplace-btn, .private-btn { margin-left: auto; margin-right: auto; display: block; width: fit-content; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; text-align: center; }
  .hero-subtitle, .hero-text { text-align: center; }
  .feature-bullets { max-width: 90%; margin-left: auto; margin-right: auto; }

  .footer-top { flex-direction: column; text-align: center; gap: 20px; }
  .footer-logo-wrap { margin-bottom: 20px; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 15px 25px; }

  .enhanced-section-title { font-size: 1.8rem; }
  .enhanced-description { font-size: 1rem; }

  .textured-cta-section { padding: 40px 0; }
  .textured-cta-section .cta-title { font-size: 1.8rem; }
  .textured-cta-section .cta-text { font-size: 1rem; }
  .cta-btn { padding: 12px 30px; font-size: 0.95rem; }

  .steps-container { flex-direction: column; }
  .step-card { margin-bottom: 25px; }
  .step-card:last-child { margin-bottom: 0; }
}

@media (max-width: 576px) {
  .container { padding: 0 15px; }
  .enhanced-section-title { font-size: 1.6rem; }
  .enhanced-benefits { max-width: none; }
  .hero-form { padding: 20px; }
}

/* =========================
   LANDING OVERRIDES (force design)
   Targets: page-template-page-landing-middle
   Place at END of file
   ========================= */
.page-template-page-landing-middle body {
  background: #fff;
  color: var(--text-color);
  line-height: 1.6;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.page-template-page-landing-middle .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO: left light-blue / right white card */
.page-template-page-landing-middle .hero-section {
  background: linear-gradient(90deg, #e0f7fa 50%, #ffffff 50%) !important;
  padding: 60px 0 !important;
}

.page-template-page-landing-middle .hero-container {
  display: grid !important;
  grid-template-columns: 1fr 420px !important; /* left content / right form */
  gap: 32px !important;
  align-items: start !important;
}

.page-template-page-landing-middle .hero-content { width: auto !important; }

.page-template-page-landing-middle .hero-title {
  font-size: 2.2rem !important;
  color: var(--primary-blue);
  margin-bottom: 16px;
  line-height: 1.25;
}

.page-template-page-landing-middle .hero-subtitle {
  color: var(--primary-blue);
  font-size: 1rem !important;
  margin-bottom: 20px;
}

.page-template-page-landing-middle .feature-bullets { margin: 20px 0 10px; }

.page-template-page-landing-middle .feature-bullet {
  background: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* Right form card */
.page-template-page-landing-middle .hero-form {
  width: auto !important;
  max-width: 440px !important;
  background: #fff;
  border-radius: 10px;
  padding: 24px !important;
  box-shadow: 0 5px 25px rgba(0,0,0,.1);
}

/* Inputs in the form */
.page-template-page-landing-middle .hero-form .form-control,
.page-template-page-landing-middle .hero-form input,
.page-template-page-landing-middle .hero-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--medium-gray);
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Submit button */
.page-template-page-landing-middle .hero-form .btn,
.page-template-page-landing-middle .hero-form button {
  display: inline-block;
  width: 100%;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  border: 0;
}

/* Providers */
.page-template-page-landing-middle .compare-plans-section {
  padding: 40px 0 20px !important;
  background: #fff;
}
.page-template-page-landing-middle .providers-logos { gap: 32px !important; }
.page-template-page-landing-middle .provider-logo { max-height: 44px !important; }

/* Calculator section */
.page-template-page-landing-middle .calculator-section {
  background: var(--teal) !important;
  padding: 60px 0 !important;
}

/* Enhanced sections */
.page-template-page-landing-middle .marketplace-enhanced-section {
  background: var(--light-blue) !important;
  padding: 60px 0 !important;
}
.page-template-page-landing-middle .private-plan-section {
  background: var(--light-gray) !important;
  padding: 60px 0 !important;
}

.page-template-page-landing-middle .enhanced-section-title {
  font-size: 2rem !important;
  color: var(--accent-blue) !important;
  margin-bottom: 16px !important;
  font-weight: 700 !important;
}

.page-template-page-landing-middle .enhanced-section-content {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important; /* text / image */
  gap: 40px !important;
  align-items: center !important;
}

.page-template-page-landing-middle .income-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Footer spacing */
.page-template-page-landing-middle .site-footer { padding-top: 48px !important; }

/* Mobile adjustments for landing */
@media (max-width: 992px) {
  .page-template-page-landing-middle .hero-container { grid-template-columns: 1fr !important; }
  .page-template-page-landing-middle .hero-section { background: #e0f7fa !important; }
  .page-template-page-landing-middle .enhanced-section-content { grid-template-columns: 1fr !important; }
  .page-template-page-landing-middle .hero-form { max-width: 560px !important; margin: 0 auto; }
}
/* ===== LANDING OVERRIDES (force wins over main.css) ===== */

/* Target only homepage & landing templates */
body.home .container,
body.page-template-page-landing-middle .container,
body.page-template-page-homepage .container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* Header/nav bridge (header.php uses .site-header-container) */
.site-header-container .nav-menu a {
  color: #fff !important;
}
.site-header-container .nav-menu {
  gap: 1rem !important;
}

/* Neutralize any background from main.css on hero */
body.home .hero-section,
body.page-template-page-landing-middle .hero-section,
body.page-template-page-homepage .hero-section {
  background: var(--teal) !important;
  padding: 70px 0 !important;
}

/* Ensure the hero layout is a two-column flex on desktop */
body.home .hero-container,
body.page-template-page-landing-middle .hero-container,
body.page-template-page-homepage .hero-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 40px !important;
}

/* Column widths */
body.home .hero-content,
body.page-template-page-landing-middle .hero-content,
body.page-template-page-homepage .hero-content {
  width: 50% !important;
}
body.home .hero-form,
body.page-template-page-landing-middle .hero-form,
body.page-template-page-homepage .hero-form {
  width: 45% !important;
}

/* Headings & accents to match design */
.hero-title { color: var(--primary-blue) !important; }
.hero-title .text-highlight { color: var(--accent-blue) !important; }
.hero-subtitle,
.hero-text { color: var(--primary-blue) !important; }

/* Feature bullets look */
.feature-bullet {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
  margin-bottom: 15px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}
.feature-bullet-icon {
  width: 24px !important;
  height: 24px !important;
  margin-right: 15px !important;
  color: var(--teal) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Form card styling */
.hero-form {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 30px !important;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1) !important;
  box-sizing: border-box !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--teal) !important;
  color: #fff !important;
  border: none !important;
}
.btn-primary:hover { background-color: var(--teal-dark) !important; }

/* “3 steps” & CTA sections keep spacing */
.steps-section,
.textured-cta-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* Mobile: stack hero cleanly */
@media (max-width: 992px) {
  body.home .hero-container,
  body.page-template-page-landing-middle .hero-container,
  body.page-template-page-homepage .hero-container {
    flex-direction: column !important;
    gap: 30px !important;
  }
  body.home .hero-content,
  body.page-template-page-landing-middle .hero-content,
  body.page-template-page-homepage .hero-content,
  body.home .hero-form,
  body.page-template-page-landing-middle .hero-form,
  body.page-template-page-homepage .hero-form {
    width: 100% !important;
  }
}
/* ===== FINAL LANDING FIXES (override main.css) ===== */

/* Scope containers so landing wins */
body.home .container,
body.page-template-page-landing-middle .container,
body.page-template-page-homepage .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Stop main.css gradient and enforce teal hero */
body.home .hero-section,
body.page-template-page-landing-middle .hero-section,
body.page-template-page-homepage .hero-section {
  background: var(--teal) !important;
  background-image: none !important;   /* kills any gradients */
  padding: 70px 0 !important;
}

/* Two-column hero on desktop */
body.home .hero-container,
body.page-template-page-landing-middle .hero-container,
body.page-template-page-homepage .hero-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 40px !important;
}
body.home .hero-content,
body.page-template-page-landing-middle .hero-content,
body.page-template-page-homepage .hero-content { width: 50% !important; }
body.home .hero-form,
body.page-template-page-landing-middle .hero-form,
body.page-template-page-homepage .hero-form { width: 45% !important; }

/* Typography/colors to match comps */
.hero-title { color: var(--primary-blue) !important; line-height: 1.2 !important; }
.hero-title .text-highlight { color: var(--accent-blue) !important; }
.hero-subtitle, .hero-text { color: var(--primary-blue) !important; }

/* Feature bullets – card look */
.feature-bullet {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
  margin-bottom: 15px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
}
.feature-bullet-icon {
  width: 24px !important; height: 24px !important;
  margin-right: 15px !important; color: var(--teal) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}

/* Form card */
.hero-form {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 30px !important;
  box-shadow: 0 5px 25px rgba(0,0,0,.1) !important;
}

/* Buttons */
.btn-primary { background-color: var(--teal) !important; color: #fff !important; border: none !important; }
.btn-primary:hover { background-color: var(--teal-dark) !important; }

/* Header/nav alignment + colors used by header.php */
.site-header-container { max-width: 1200px !important; margin: 0 auto !important; padding: 0 20px !important; }
.site-header-container .nav-menu { gap: 1rem !important; }
.site-header-container .nav-menu a { color: #fff !important; }

/* Footer consistency (if main.css overrides differ) */
.site-footer { background-color: var(--primary-blue) !important; }

/* Mobile stacking */
@media (max-width: 992px) {
  body.home .hero-container,
  body.page-template-page-landing-middle .hero-container,
  body.page-template-page-homepage .hero-container {
    flex-direction: column !important;
    gap: 30px !important;
  }
  body.home .hero-content,
  body.page-template-page-landing-middle .hero-content,
  body.page-template-page-homepage .hero-content,
  body.home .hero-form,
  body.page-template-page-landing-middle .hero-form,
  body.page-template-page-homepage .hero-form {
    width: 100% !important;
  }
}
/* ===== TTAI landing overrides (scoped) ===== */
.page-template-page-landing-middle .container { max-width: 1200px; padding: 0 20px; }

.page-template-page-landing-middle .hero-section {
  background: linear-gradient(90deg, var(--light-blue, #e0f7fa) 50%, #fff 50%);
  padding: 64px 0;
}

.page-template-page-landing-middle .hero-container {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: nowrap;
}

.page-template-page-landing-middle .hero-content { flex: 1 1 auto; max-width: 700px; }
.page-template-page-landing-middle .hero-title { font-size: 38px; line-height: 1.2; color: var(--primary-blue, #1f355f); margin: 0 0 16px; }
.page-template-page-landing-middle .hero-title .text-highlight { color: var(--accent-blue, #5371ff); display: inline; }
.page-template-page-landing-middle .hero-subtitle { font-size: 19px; line-height: 1.5; color: var(--primary-blue, #1f355f); max-width: 70%; }

.page-template-page-landing-middle .feature-bullets { margin: 24px 0; }
.page-template-page-landing-middle .feature-bullet { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 12px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.page-template-page-landing-middle .feature-bullet + .feature-bullet { margin-top: 12px; }
.page-template-page-landing-middle .feature-bullet-icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--teal, #00c2cb); flex-shrink: 0; }

.page-template-page-landing-middle .hero-form {
  flex: 0 0 400px; max-width: 420px; width: 100%;
  background: #fff; border-radius: 10px; padding: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
.page-template-page-landing-middle .hero-form-title { text-align: center; font-size: 22px; color: var(--primary-blue, #1f355f); margin: 0 0 8px; }
.page-template-page-landing-middle .form-subtext { text-align: center; color: var(--dark-gray, #687089); margin-bottom: 18px; }

.page-template-page-landing-middle .form-group { margin-bottom: 12px; }
.page-template-page-landing-middle .form-row { display: flex; gap: 12px; }
.page-template-page-landing-middle .form-half { flex: 1 1 0; }
.page-template-page-landing-middle .form-quarter { flex: 0 0 90px; }

.page-template-page-landing-middle .form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--medium-gray, #dbe1ef);
  border-radius: 6px; font-size: 16px;
}
.page-template-page-landing-middle .form-control:focus { border-color: var(--teal, #00c2cb); outline: none; }

.page-template-page-landing-middle .btn.btn-primary {
  display: inline-block; width: 100%;
  background: var(--teal, #00c2cb); color: #fff; border: 0;
  padding: 12px 24px; border-radius: 30px; font-weight: 700; font-size: 16px;
}
.page-template-page-landing-middle .btn.btn-primary:hover { background: var(--teal-dark, #00b0b9); }

.page-template-page-landing-middle .compare-plans-section { padding: 48px 0; text-align: center; }

@media (max-width: 992px) {
  .page-template-page-landing-middle .hero-container { gap: 28px; }
  .page-template-page-landing-middle .hero-title { font-size: 34px; }
  .page-template-page-landing-middle .hero-subtitle { max-width: 100%; }
}

@media (max-width: 768px) {
  .page-template-page-landing-middle .hero-container { flex-direction: column; }
  .page-template-page-landing-middle .hero-content, 
  .page-template-page-landing-middle .hero-form { flex: 1 1 100%; max-width: 100%; }
  .page-template-page-landing-middle .hero-title { font-size: 30px; text-align: center; }
  .page-template-page-landing-middle .hero-subtitle { text-align: center; }
}

