/*
================================================================================
  PROMPT CARE TRANSPORTATION — MAIN STYLESHEET
  Author: Antigravity Code Assistant
  Description: Clean, modular Vanilla CSS for NEMT website.
  Table of Contents:
    1. CSS Variables & Theme Config
    2. Global Reset & Typography
    3. Shared Navigation Header
    4. General Page Layout & Section Shells
    5. Component Designs (Cards, Badges, Trust Bars, Info Bars)
    6. Form Layouts & Inputs (Ride Request, Job Application, Contact)
    7. Tables & Resource Tiles
    8. Custom Accordions (FAQ section)
    9. Site Footer
    10. Responsive Media Queries (Mobile & Tablet)
================================================================================
*/

/* ==========================================================================
   1. CSS VARIABLES & THEME CONFIG
   ========================================================================== */
:root {
  /* Color Palette */
  --red: #cc1111;              /* Primary Brand Red */
  --red-dark: #a80d0d;         /* Hover State Red */
  --blue: #1c4bbf;             /* Primary Brand Blue */
  --blue-mid: #2563eb;         /* Vibrant accent blue */
  --blue-light: #3b82f6;       /* Soft outline blue */
  --blue-pale: #eff6ff;        /* Gentle background tint */
  --yellow: #f59e0b;           /* Warning / Highlight Amber Yellow */
  --yellow-light: #fcd34d;     /* Accent yellow */
  --yellow-pale: #fffbeb;      /* Cozy banner yellow */
  --white: #ffffff;            /* Base clean white */
  --off-white: #f8fafc;        /* Secondary page background */
  --gray: #64748b;             /* Subtext slate gray */
  --light-gray: #e2e8f0;       /* Border / Divider gray */
  --text: #1e293b;             /* Rich dark color for high-contrast reading */
  --green: #16a34a;            /* Success alerts & checks */
  --slate: #475569;            /* Secondary text slate */
}

/* ==========================================================================
   2. GLOBAL RESET & TYPOGRAPHY
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Ensures padding/borders are included in widths */
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden; /* Prevents unwanted horizontal scrolling on mobile */
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif; /* High impact headlines */
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   3. SHARED NAVIGATION HEADER
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 62px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  border-bottom: 3px solid var(--red); /* Accent brand bar at bottom of nav */
}

/* Logo Box */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav-logo-box {
  background: var(--red);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 6px;
  line-height: 1.2;
  text-align: center;
}

.nav-logo-box span {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--yellow-light);
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 5px;
  transition: all 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

/* Active Page State */
.nav-links a.active {
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 700;
}

/* CTA Highlights */
.nav-links .nav-cta {
  background: var(--red);
  color: var(--white) !important;
  border-radius: 5px;
}

.nav-links .nav-cta:hover {
  background: var(--red-dark);
}

.nav-links .nav-ride {
  background: var(--yellow);
  color: var(--text) !important;
  font-weight: 800;
}

.nav-links .nav-ride:hover {
  background: var(--yellow-light);
}

/* Header Phone Number */
.nav-phone {
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

/* ==========================================================================
   4. GENERAL PAGE LAYOUT & SECTION SHELLS
   ========================================================================== */
.page {
  /* Multi-page setup uses actual HTML files, so pages are always visible */
  padding-top: 62px; /* Offsets the fixed navigation bar */
  min-height: 100vh;
}

.section {
  padding: 64px 5%;
}

.section-light {
  background: var(--off-white);
}

.section-blue {
  background: var(--blue-pale);
}

.section-navy {
  background: #1e3a8a;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.15;
}

.section-navy .section-header h2,
.section-navy .eyebrow {
  color: var(--white);
}

.section-navy .eyebrow {
  color: var(--yellow-light);
}

.section-header p {
  color: var(--gray);
  font-size: 14px;
  max-width: 560px;
  margin: 10px auto 0;
  line-height: 1.75;
}

.section-navy .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.divider {
  width: 50px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  border-radius: 2px;
}

/* Dedicated Inner-Page Hero Banners */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  /* padding: 52px 5%; */
  text-align: center;
  color: var(--white);
  border-bottom: 4px solid var(--red);
}

.page-hero h1 {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   5. COMPONENT DESIGNS
   ========================================================================== */

/* --- HERO COMPONENT --- */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1c4bbf 55%, #2563eb 100%);
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 50px 5%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1400&auto=format&fit=crop&q=60') center/cover no-repeat;
  opacity: 0.12;
}

.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--red) 33%, var(--white) 33%, var(--white) 66%, var(--yellow) 66%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 10px;
}

.hero h1 .red {
  color: #fca5a5;
}

.hero h1 .yellow {
  color: var(--yellow-light);
}

.hero-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.8vw, 17px);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border-left: 4px solid var(--yellow);
  padding-left: 12px;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Call-to-action buttons */
.btn-red {
  background: var(--red);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 17, 17, 0.4);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--text);
  padding: 13px 24px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-yellow:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--white);
}

.btn-blue {
  background: var(--blue-mid);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-blue:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.hero-phone-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
}

.hero-phone-box small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.hero-phone-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--yellow-light);
}

/* Card overlaid on the hero image */
.hero-photo-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.hero-photo-card img {
  width: 100%;
  height: 300;
  object-fit: cover;
}

.hero-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
  padding: 24px 20px 18px;
}

.hero-photo-overlay h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 4px;
}

.hero-photo-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.badge-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.badge {
  background: var(--yellow);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 50px;
}

.badge.white {
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
}

/* --- TRUST & INFO BARS --- */
.trust-bar {
  background: var(--red);
  padding: 13px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-sep {
  color: rgba(255, 255, 255, 0.4);
}

.info-bar {
  background: var(--blue-pale);
  border-bottom: 2px solid #bfdbfe;
  padding: 10px 30px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

.info-bar span {
  color: var(--red);
  font-weight: 800;
}

.info-bar a {
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
}

/* --- ANNOUNCEMENT BANNER --- */
.announce {
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-light) 100%);
  padding: 11px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
}

.announce a {
  color: var(--red);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 6px;
}

/* --- PHOTO GALLERY GRID --- */
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.photo-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  padding: 20px 16px 14px;
  color: var(--white);
}

.photo-caption strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  display: block;
}

.photo-caption span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

/* --- SERVICE CARD DESIGN --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 26px;
  border: 2px solid var(--light-gray);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s;
}

.service-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(28, 75, 191, 0.12);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 7px;
}

.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

/* --- VEHICLE CARD DESIGN --- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.vehicle-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--light-gray);
  transition: all 0.3s;
  text-align: center;
}

.vehicle-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.vc-top {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 26px 16px;
}

.vc-top .vi {
  font-size: 44px;
  margin-bottom: 7px;
}

.vc-top h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.vc-body {
  padding: 16px 18px;
}

.vc-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 10px;
}

.vc-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text);
  padding: 4px 0;
  border-bottom: 1px solid var(--light-gray);
}

.vc-feat:last-of-type {
  border-bottom: none;
}

.vc-feat::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.vtag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  margin: 3px 2px;
  font-family: 'Montserrat', sans-serif;
}

/* --- COVERAGE & MATP CARDS --- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.coverage-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cov-head {
  padding: 22px 24px;
}

.cov-head.matp {
  background: linear-gradient(135deg, #065f46, #059669);
}

.cov-head.insurance {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
}

.cov-head.county {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.cov-head.cts {
  background: linear-gradient(135deg, #b45309, #d97706);
}

.cov-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.cov-head h3 {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.cov-head p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-top: 4px;
}

.cov-body {
  background: var(--white);
  padding: 20px 24px;
}

.cov-list {
  list-style: none;
}

.cov-list li {
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.cov-list li:last-child {
  border-bottom: none;
}

.cov-list li::before {
  content: '✓';
  font-weight: 800;
  flex-shrink: 0;
}

.cov-list.green li::before {
  color: var(--green);
}

.cov-list.blue li::before {
  color: var(--blue);
}

.cov-list.purple li::before {
  color: #7c3aed;
}

.cov-list.orange li::before {
  color: #d97706;
}

.cov-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.cov-cta:hover {
  background: var(--blue);
  color: var(--white);
}

/* --- MATP DETAILED STEP GRID --- */
.matp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.matp-info h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1.2;
}

.matp-info h2 span {
  color: var(--green);
}

.matp-info p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 12px;
}

.matp-steps {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.matp-step-head {
  background: linear-gradient(135deg, #065f46, #059669);
  padding: 16px 22px;
  color: var(--white);
}

.matp-step-head h3 {
  font-size: 15px;
}

.matp-step {
  display: flex;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--light-gray);
  align-items: flex-start;
}

.matp-step:last-child {
  border-bottom: none;
}

.matp-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.matp-step-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.matp-step-text span {
  font-size: 12px;
  color: var(--gray);
}

.matp-eligibility {
  background: linear-gradient(135deg, #065f46, #059669);
  border-radius: 12px;
  padding: 22px;
  color: var(--white);
  margin-top: 18px;
}

.matp-eligibility h4 {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--yellow-light);
}

.matp-eligibility ul {
  list-style: none;
}

.matp-eligibility ul li {
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  gap: 8px;
}

.matp-eligibility ul li:last-child {
  border-bottom: none;
}

.matp-eligibility ul li::before {
  content: '✓';
  flex-shrink: 0;
}

/* --- BROKER SECTION --- */
.broker-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.broker-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  border: 2px solid var(--light-gray);
  transition: all 0.3s;
}

.broker-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 10px 30px rgba(28, 75, 191, 0.1);
}

.broker-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.broker-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.broker-icon.cts {
  background: linear-gradient(135deg, #b45309, #d97706);
}

.broker-icon.mtm {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
}

.broker-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--blue);
}

.broker-sub {
  font-size: 12px;
  color: var(--gray);
}

.broker-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 14px;
}

.broker-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-pale);
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  margin: 2px;
}

.partner-badge {
  background: var(--yellow);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
}

/* --- STEP DESIGNS --- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 22px 16px;
  position: relative;
}

.step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 32px;
  font-size: 22px;
  color: var(--yellow);
  font-weight: 900;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* --- TESTIMONIAL CARDS --- */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.test-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 22px;
}

.stars {
  color: var(--yellow-light);
  font-size: 15px;
  margin-bottom: 10px;
}

.test-text {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
  font-style: italic;
}

.test-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--yellow-light);
}

.test-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* --- VEHICLE/EQUIPMENT WRAPPERS --- */
.equip-wrap {
  background: var(--blue-pale);
  border: 2px solid #bfdbfe;
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.equip-wrap h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 12px;
}

.equip-wrap p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.equip-list {
  list-style: none;
}

.equip-list li {
  font-size: 13px;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  gap: 10px;
  align-items: center;
}

.equip-list li:last-child {
  border-bottom: none;
}

.equip-list li::before {
  content: '🔧';
  flex-shrink: 0;
}

.equip-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.eq-icon {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: all 0.2s;
}

.eq-icon:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.eq-icon .ei {
  font-size: 30px;
  margin-bottom: 6px;
}

.eq-icon p {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
}

/* --- ABOUT US DETAILS & STATS --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1.2;
}

.about-content h2 em {
  color: var(--red);
  font-style: normal;
}

.about-content p {
  color: var(--gray);
  line-height: 1.85;
  font-size: 14px;
  margin-bottom: 12px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.astat {
  background: var(--blue);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  color: var(--white);
}

.astat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--yellow-light);
  display: block;
}

.astat-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
}

.value-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: 16px;
  padding: 28px;
  color: var(--white);
}

.value-box h3 {
  font-size: 17px;
  margin-bottom: 18px;
  color: var(--yellow-light);
}

.val-list {
  list-style: none;
}

.val-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.val-list li:last-child {
  border-bottom: none;
}

.vbullet {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. FORM LAYOUTS & INPUTS
   ========================================================================== */
.hideen {
  display: none;
}

.ride-wrap, .app-wrap {
  padding: 10px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}

.ride-head, .hiring-hero {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 24px 30px;
  color: var(--white);
}

.ride-head h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.ride-head p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.ride-body {
  padding: 26px 30px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 2px solid var(--light-gray);
  border-radius: 7px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-sect, .app-sect {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin: 22px 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Vehicle Selector (Radio Options) */
.vtype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.vt-opt {
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}

.vt-opt:hover,
.vt-opt.sel {
  border-color: var(--blue-mid);
  background: var(--blue-pale);
}

.vt-opt input {
  display: none; /* Hide standard circular radio button */
}

.vt-opt .vi {
  font-size: 26px;
  margin-bottom: 4px;
}

.vt-opt .vl {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
}

.vt-opt .vs {
  font-size: 10px;
  color: var(--gray);
  margin-top: 2px;
}

.ride-note {
  background: var(--yellow-pale);
  border: 2px solid var(--yellow);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 16px;
}

.ride-submit, .sub-btn {
  width: 100%;
  padding: 15px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 6px;
}

.ride-submit:hover,
.sub-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(204, 17, 17, 0.38);
}

.success-msg {
  display: none;
  background: #dcfce7;
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  color: #166534;
  font-weight: 600;
  margin-top: 13px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}

.form-divider {
  border: none;
  border-top: 2px solid var(--light-gray);
  margin: 18px 0;
}

/* --- CONTACT PAGE SPECIFIC --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.contact-box {
  background: var(--blue);
  border-radius: 16px;
  padding: 30px;
  color: var(--white);
}

.contact-box h3 {
  font-size: 18px;
  margin-bottom: 22px;
}

.cdet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.cdet-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cdet-text small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.cdet-text span {
  font-size: 14px;
  font-weight: 600;
}

.cphone-big {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.cphone-big p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}

.cphone-big a {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--yellow-light);
  text-decoration: none;
}

.cphone-big small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

.form-box {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.form-box h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
}

/* --- JOB HIRING & APPLICATIONS --- */
.hiring-hero {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 56px 5%;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hiring-hero::before {
  content: 'NOW HIRING';
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 130px;
  color: rgba(255, 255, 255, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.hiring-hero h1 {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 900;
  margin-bottom: 8px;
}

.hiring-hero h1 span {
  color: var(--yellow-light);
}

.hiring-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.pos-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--light-gray);
  transition: all 0.3s;
}

.pos-card:hover {
  border-color: var(--red);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
  transform: translateY(-4px);
}

.pos-head {
  background: var(--blue);
  padding: 18px 20px;
}

.pos-head h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.pos-type {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.pos-body {
  padding: 18px 20px;
}

.pos-body p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 11px;
}

.req-list {
  list-style: none;
}

.req-list li {
  font-size: 12px;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  gap: 7px;
}

.req-list li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.ben-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.ben-card {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  border: 2px solid var(--light-gray);
  transition: all 0.3s;
}

.ben-card:hover {
  border-color: var(--yellow);
  background: var(--yellow-pale);
}

.ben-icon {
  font-size: 30px;
  margin-bottom: 9px;
}

.ben-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.ben-card p {
  font-size: 11px;
  color: var(--gray);
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.check-item input[type=checkbox] {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
}

/* ==========================================================================
   7. TABLES & RESOURCE TILES
   ========================================================================== */

/* NEMT Insurance Contact Table */
.nemt-table {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nemt-thead {
  background: var(--blue);
  padding: 16px 20px;
}

.nemt-thead h3 {
  color: var(--white);
  font-size: 14px;
}

.nemt-thead p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  margin-top: 3px;
}

.nemt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 20px;
  border-bottom: 1px solid var(--light-gray);
  align-items: center;
  transition: background 0.2s;
}

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

.nemt-row:hover {
  background: var(--blue-pale);
}

.ins-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
}

.ins-right {
  text-align: right;
}

.ins-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--red);
  font-size: 14px;
}

.ins-hours {
  font-size: 10px;
  color: var(--gray);
  margin-top: 2px;
}

/* --- RESOURCES PAGE GRID --- */
.res-intro {
  background: var(--yellow);
  padding: 13px 5%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.res-card {
  background: var(--white);
  border-radius: 13px;
  padding: 22px;
  border: 2px solid var(--light-gray);
  transition: all 0.3s;
}

.res-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.res-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.res-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.res-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
}

.res-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.res-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--red);
  display: block;
  margin-bottom: 3px;
}

.res-hours {
  font-size: 11px;
  color: var(--gray);
}

.ins-contacts {
  background: var(--blue);
  border-radius: 14px;
  padding: 28px;
  margin-top: 28px;
  color: var(--white);
}

.ins-contacts h3 {
  color: var(--yellow-light);
  font-size: 16px;
  margin-bottom: 5px;
}

.ins-contacts > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 18px;
}

.ins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.ins-tile {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px;
  border-left: 4px solid var(--yellow-light);
}

.ins-tile-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--white);
  margin-bottom: 3px;
}

.ins-tile-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--yellow-light);
}

.ins-tile-detail {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.trip-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.trip-card {
  background: var(--white);
  border-radius: 10px;
  padding: 13px;
  text-align: center;
  border-bottom: 4px solid var(--red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.trip-card .ti {
  font-size: 22px;
  margin-bottom: 5px;
}

.trip-card p {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
}

/* --- LABOR LAW POSTINGS GRID --- */
.law-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 18px;
}

.law-card {
  background: var(--white);
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: box-shadow 0.3s;
}

.law-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
}

.law-head {
  padding: 15px 20px;
}

.law-head.fed {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
}

.law-head.state {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.law-lbl {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.law-head h3 {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.law-body {
  padding: 17px 20px;
}

.law-body p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 10px;
}

.law-list {
  list-style: none;
}

.law-list li {
  font-size: 12px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  gap: 7px;
  line-height: 1.5;
}

.law-list li:last-child {
  border-bottom: none;
}

.law-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 800;
  flex-shrink: 0;
}

.law-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--blue);
  padding: 7px 12px;
  border-radius: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.2s;
}

.law-link:hover {
  background: var(--blue);
  color: var(--white);
}

.law-notice {
  background: var(--blue-pale);
  border: 2px solid #bfdbfe;
  border-radius: 13px;
  padding: 22px;
  text-align: center;
  margin-top: 28px;
}

.law-notice h3 {
  font-size: 15px;
  color: var(--blue);
  margin-bottom: 8px;
}

.law-notice p {
  font-size: 13px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   8. CUSTOM ACCORDIONS (FAQ)
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--light-gray);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-q:hover {
  background: var(--blue-pale);
}

.faq-a {
  padding: 0 20px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  max-height: 0;           /* Hidden initially */
  overflow: hidden;
  transition: all 0.3s ease-out; /* Smooth slide transition */
}

/* Triggered by JS */
.faq-a.open {
  max-height: 260px;       /* Set to max potential height */
  padding: 0 20px 14px;
}

.faq-arr {
  font-size: 14px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-arr.open {
  transform: rotate(180deg); /* Flips arrow icon on open */
}

/* ==========================================================================
   9. SITE FOOTER
   ========================================================================== */
footer {
  background: var(--blue);
  color: var(--white);
  padding: 40px 5% 20px;
}

/* Footers Top Banner CTA */
.footer-top {
  background: var(--red);
  padding: 16px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-top p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}

.footer-top a {
  background: var(--yellow);
  color: var(--text);
  padding: 9px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin: 32px 0 24px;
}

.fb h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.fb h3 em {
  color: #fca5a5;
  font-style: normal;
}

.fb p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 10px;
}

.fb .puc {
  font-size: 11px;
  color: var(--yellow-light);
  font-weight: 600;
}

footer h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow-light);
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
}

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

footer ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s;
}

footer ul li a:hover {
  color: var(--white);
}

.fc p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
}

.fc strong {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--red) 33%, var(--white) 33%, var(--white) 66%, var(--yellow) 66%);
  margin-top: 16px;
  border-radius: 3px;
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */

/* Mobile Hamburger Menu Button (shown on screens < 860px) */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation Drawer */
.mobile-menu {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  max-height: 100vh;
}

.mobile-menu-close {
  display: none;
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray);
  background: var(--off-white);
}

.mobile-menu.open .mobile-menu-close {
  display: block;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-links {
  list-style: none;
  padding: 8px 0;
}

.mobile-links li {
  border-bottom: 1px solid var(--light-gray);
}

.mobile-links a {
  display: block;
  padding: 14px 18px;
  color: var(--slate);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}

.mobile-links a:active,
.mobile-links a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

.mobile-links .nav-cta {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 800;
}

.mobile-links .nav-cta:active,
.mobile-links .nav-cta:hover {
  background: var(--red-dark);
}

.mobile-links .nav-ride {
  background: var(--yellow);
  color: var(--text) !important;
  font-weight: 800;
}

.mobile-links .nav-ride:active,
.mobile-links .nav-ride:hover {
  background: var(--yellow-light);
}

.mobile-links .mobile-phone {
  border: none;
  background: var(--blue-pale);
  border-top: 1px solid var(--light-gray);
  margin-top: 8px;
}

.mobile-links .mobile-phone a {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--blue);
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  nav {
    padding: 0 12px;
  }

  .nav-links {
    display: none; /* Hidden, shown in mobile menu instead */
  }

  .nav-phone {
    display: none; /* Hidden on mobile, shown in mobile menu instead */
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr; /* Single column stack */
  }

  .hero-photo-card {
    display: none; /* Hide large photographic card on narrow views */
  }

  /* Grid stacks */
  .about-grid,
  .matp-layout,
  .broker-layout,
  .contact-layout,
  .equip-wrap {
    grid-template-columns: 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .step-card::after {
    display: none; /* Hide step direction arrows on stacked grid */
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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