/* ============================================================
   AgentSecure – Custom Stylesheet (Bootstrap 5 overlay)
   Colors sampled from live AgentSecure.com:
     #5CC33E — AgentSecure green (primary: nav, footer, headings)
     #629643 — Dark green (hover states)
     #7A9CC1 — Steel blue (sidebar, secondary elements)
     #004B8D — Dark blue (links)
     #DEE8F0 — Page background (light blue-gray)
     #EBF3FA — Light panel background
   ============================================================ */

:root {
  --as-green:      #5CC33E;   /* Primary AgentSecure green */
  --as-green-dark: #629643;   /* Dark green – hover/gradient */
  --as-blue:       #7A9CC1;   /* Steel blue – secondary/sidebar */
  --as-blue-dark:  #004B8D;   /* Dark blue – links */
  --as-bg:         #DEE8F0;   /* Page background */
  --as-gray:       #444444;   /* Body text */
  --as-gray-light: #E8EEF4;   /* Light panel/stripe bg */
  --as-pale:       #EBF3FA;   /* Very light blue-gray */
  --as-white:      #FFFFFF;

  /* Backwards-compat aliases used throughout HTML files */
  --as-blue-mid:   #7A9CC1;
  --as-red:        #5CC33E;   /* was red — now maps to primary green for featured CTAs */
  --as-gray-light-old: #E8EEF4;
  --as-blue-pale:  #EBF3FA;
}

/* ---- Typography ---- */
body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: var(--as-gray);
  background: var(--as-bg);
}
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--as-green);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; margin-top: 1.5rem; }
a { color: var(--as-blue-dark); }
a:hover { color: var(--as-green-dark); }

/* ---- Top Bar ---- */
.as-topbar {
  background: #fff;
  color: #444;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #d0dce8;
}
.as-topbar a { color: var(--as-blue-dark); text-decoration: none; }
.as-topbar a:hover { color: var(--as-green); }
.as-topbar .phone { font-weight: 700; font-size: 14px; color: #222; }
.as-topbar .divider { margin: 0 8px; opacity: 0.4; }

/* ---- Navbar ---- */
.as-navbar {
  background: var(--as-green);
  padding: 0;
}
.as-navbar .navbar-brand { padding: 8px 0; }
.as-navbar .navbar-brand img { height: 55px; }
.as-navbar .navbar-toggler { border-color: rgba(255,255,255,0.6); }
.as-navbar .navbar-toggler-icon { filter: invert(1); }
.as-navbar .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 16px !important;
}
.as-navbar .nav-link:hover,
.as-navbar .nav-link.active {
  background: var(--as-green-dark);
  color: #fff !important;
}
.as-navbar .btn-signin {
  background: var(--as-blue-dark);
  color: #fff !important;
  border-radius: 4px;
  font-size: 12px;
  padding: 8px 16px !important;
  margin: 5px 0;
}
.as-navbar .btn-signin:hover { background: #003572; }

/* ---- Hero (homepage) ---- */
.as-hero {
  background: linear-gradient(135deg, var(--as-green) 0%, var(--as-green-dark) 100%);
  color: #fff;
  padding: 60px 0 50px;
}
.as-hero h1 { color: #fff; font-size: 2.4rem; text-transform: uppercase; }
.as-hero p { font-size: 16px; opacity: 0.95; line-height: 1.7; color: #fff; }
.as-hero .btn-hero-primary {
  background: var(--as-blue-dark);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}
.as-hero .btn-hero-primary:hover { background: #003572; color: #fff; }
.as-hero .btn-hero-secondary {
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  font-weight: 600;
  padding: 11px 24px;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  margin-left: 10px;
}
.as-hero .btn-hero-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ---- Feature Cards (homepage) ---- */
.as-features { background: var(--as-blue); padding: 40px 0; }
.as-feature-card {
  background: #fff;
  border-radius: 8px;
  border-top: 4px solid var(--as-green);
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--as-gray);
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  height: 100%;
}
.as-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  color: var(--as-gray);
  border-top-color: var(--as-green-dark);
}
.as-feature-card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.as-feature-card h3 { color: var(--as-green); font-size: 0.95rem; margin-top: 0; margin-bottom: 8px; }
.as-feature-card p { font-size: 13px; margin: 0; color: var(--as-gray); }

/* ---- Testimonials ---- */
.as-testimonials { background: #fff; padding: 50px 0; }
.as-testimonials h2 { text-align: center; margin-bottom: 30px; }
.testimonial-card {
  background: var(--as-pale);
  border-left: 4px solid var(--as-green);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card .attribution {
  font-style: normal;
  font-weight: 600;
  color: var(--as-green-dark);
  margin-top: 10px;
  font-size: 13px;
}

/* ---- Carrier Logos Banner ---- */
.as-carriers-bar { background: var(--as-gray-light); padding: 20px 0; border-top: 1px solid #c8d8e4; }
.as-carriers-bar p { font-size: 12px; color: var(--as-gray); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 8px; }

/* ---- Page Banner ---- */
.as-page-banner {
  background: linear-gradient(135deg, var(--as-green) 0%, var(--as-green-dark) 100%);
  color: #fff;
  padding: 36px 0 30px;
}
.as-page-banner h1 { color: #fff; margin: 0; font-size: 1.8rem; }
.as-page-banner p { color: rgba(255,255,255,0.9); margin: 8px 0 0; font-size: 15px; }

/* ---- Main Content ---- */
.as-content { padding: 40px 0 60px; }

/* ---- Sidebar CTAs ---- */
.as-sidebar .btn-cta {
  display: block;
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
}
.as-sidebar .btn-cta-primary {
  background: var(--as-green);
  color: #fff;
}
.as-sidebar .btn-cta-primary:hover { background: var(--as-green-dark); color: #fff; }
.as-sidebar .btn-cta-secondary {
  background: var(--as-blue);
  color: #fff;
}
.as-sidebar .btn-cta-secondary:hover { background: #5e87b0; color: #fff; }
.as-sidebar .btn-cta-outline {
  border: 2px solid var(--as-green);
  color: var(--as-green-dark);
  background: #fff;
}
.as-sidebar .btn-cta-outline:hover { background: var(--as-pale); }

/* ---- Pricing / Access Cards ---- */
.as-plan-card {
  border: 2px solid var(--as-gray-light);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.as-plan-card .plan-header {
  background: var(--as-blue);
  color: #fff;
  padding: 20px;
  text-align: center;
}
.as-plan-card .plan-header h3 { color: #fff; margin: 0; font-size: 1rem; }
.as-plan-card .plan-header .price { font-size: 2rem; font-weight: 800; margin: 8px 0 0; }
.as-plan-card .plan-header .price-sub { font-size: 12px; opacity: 0.85; }
.as-plan-card .plan-body { padding: 20px; }
.as-plan-card.featured { border-color: var(--as-green); }
.as-plan-card.featured .plan-header { background: var(--as-green); }

/* ---- Commissions Table ---- */
.as-table { width: 100%; border-collapse: collapse; }
.as-table thead th {
  background: var(--as-green);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.as-table tbody tr:nth-child(even) { background: var(--as-pale); }
.as-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--as-gray-light); }
.as-table tbody tr:last-child td { border-bottom: none; }

/* ---- FAQs ---- */
.accordion-button:not(.collapsed) {
  background: var(--as-pale);
  color: var(--as-green-dark);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-item { border: 1px solid var(--as-gray-light); margin-bottom: 6px; border-radius: 6px !important; overflow: hidden; }

/* ---- Footer ---- */
.as-footer {
  background: var(--as-green);
  color: rgba(255,255,255,0.9);
  padding: 40px 0 20px;
  font-size: 13px;
}
.as-footer h5 {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.0