@charset "UTF-8";
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("font-awesome/fa-solid-900.woff2") format("woff2"), url("font-awesome/fa-solid-900.ttf") format("truetype");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("font-awesome/fa-regular-400.woff2") format("woff2"), url("font-awesome/fa-regular-400.ttf") format("truetype");
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("font-awesome/fa-brands-400.woff2") format("woff2"), url("font-awesome/fa-brands-400.ttf") format("truetype");
}
.fas, .far, .fab {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.far {
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
}

.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

.fa-how_to::before {
  content: "\f5da";
}

.fa-routes::before {
  content: "\f0d1";
}

.fa-training_data::before {
  content: "\f200";
}

.fa-risk_evaluations::before {
  content: "\f071";
}

.fa-drivers::before {
  content: "\f2c2";
}

.fa-users::before {
  content: "\f500";
}

.fa-all_users::before {
  content: "\f0c0";
}

.fa-organizations::before {
  content: "\f0e8";
}

.fa-stripe_portal::before {
  content: "\f09d";
}

.fa-subscription::before {
  content: "\f09d";
}

.fa-trash::before {
  content: "\f2ed";
}

.fa-pencil::before {
  content: "\f303";
}

.fa-pen::before {
  content: "\f304";
}

.fa-eye::before {
  content: "\f06e";
}

.fa-user-minus::before {
  content: "\f503";
}

.fa-user-plus::before {
  content: "\f234";
}

.fa-envelope::before {
  content: "\f0e0";
}

.fa-robot::before {
  content: "\f544";
}

.fa-user-tie::before {
  content: "\f508";
}

/* Main wrapper takes up the rest of the page */
#wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Full-width header */
header,
#header,
.shared-header {
  width: 100%;
  background-color: #2E50EC; /* example: your brand blue */
  color: white;
  padding: 1rem 0;
  text-align: center;
  position: relative; /* ensures not inside flex stack */
  z-index: 1000;
}

/* Footer at bottom */
#footer {
  background-color: #2E50EC;
  color: white;
  text-align: center;
  padding: 1rem;
  flex-shrink: 0;
}

/* Content area */
.authentication-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
}

#footer {
  display: block !important;
}

.form-field label {
  display: block !important;
  margin-bottom: 0.3rem;
  font-weight: 600;
  text-align: left;
}

.ai-safety .highlight-box {
  background-color: rgba(239, 174, 65, 0.1);
  border-left: 4px solid #EFAE41;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border-radius: 6px;
}

.ai-safety .bullet-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: space-between;
}

.ai-safety .bullet-column {
  flex: 1;
  min-width: 250px;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ai-safety .bullet-column h3 {
  color: #333;
  border-bottom: 2px solid black;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.ai-safety ul {
  list-style-type: none;
  padding-left: 1.5rem;
  color: #555;
}

.ai-safety ul li {
  margin-bottom: 0.5rem;
}

.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 160px 0;
  text-align: left;
}
.hero-banner .hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-banner .container {
  position: relative;
  z-index: 2;
}
.hero-banner .hero-content {
  max-width: 800px;
}
.hero-banner h1, .hero-banner h2, .hero-banner p {
  color: #fff;
}
.hero-banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-banner h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-banner .hero-subtext {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #eaeaea;
}

.contractor-page .contractor-challenges,
.contractor-page .contractor-solutions {
  background-color: #fff;
  padding: 3rem 0;
}
.contractor-page .challenges-list,
.contractor-page .offerings-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}
.contractor-page .challenges-list li,
.contractor-page .offerings-list li {
  position: relative;
  background: #f8f9fa;
  border-left: 5px solid #2E50EC;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contractor-page .challenges-list li:hover,
.contractor-page .offerings-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.contractor-page .challenges-list li strong,
.contractor-page .offerings-list li strong {
  color: #2E50EC;
}

.contractor-hero {
  background-image: image-url("images/drivewaze-introduction.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0;
  color: #fff;
  text-align: left;
  position: relative;
}
.contractor-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.contractor-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.contractor-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.contractor-hero .hero-subtext {
  font-size: 1.2rem;
  color: #f2f2f2;
  line-height: 1.6;
}

/* Make both lists center the same way, regardless of parent layout */
.contractor-page .challenges-list,
.contractor-page .offerings-list {
  /* center as a block in all layouts */
  margin-inline: auto !important;
  /* neutralize common layout gotchas */
  display: block;
  float: none;
  flex: 0 0 auto;
}

.contractor-page {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: #111;
}

/* === Hero === */
.contractor-hero {
  background-image: url("drivewaze-backing.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  padding: 120px 0;
  color: #fff;
}
.contractor-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.contractor-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
.contractor-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: #fff;
}
.contractor-hero p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #f2f2f2;
  margin-bottom: 1.25rem;
}
.contractor-hero .hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.btn-primary {
  background: #2E50EC;
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 80, 236, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(46, 80, 236, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: saturate(140%) blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* === Layout Wrappers === */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px;
}

/* === Stat Cards === */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.stat-card {
  grid-column: span 12;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  border-left: 6px solid #2E50EC;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
@media (min-width: 768px) {
  .stat-card {
    grid-column: span 4;
  }
}
.stat-card .stat-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5160ff;
  font-weight: 800;
}
.stat-card .stat-value {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  margin: 0.25rem 0;
}
.stat-card .stat-desc {
  color: #4a4a4a;
  line-height: 1.5;
}
.stat-card .stat-desc a {
  color: #2E50EC;
  text-decoration: none;
}
.stat-card .stat-desc a:hover {
  text-decoration: underline;
}

/* === Split Layout === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 992px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}

.section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* === Lists === */
.challenges-list,
.offerings-list {
  list-style: none;
  padding: 0;
  width: min(800px, 100%);
  margin-inline: auto;
}

.challenges-list li,
.offerings-list li {
  position: relative;
  background: #f8f9fa;
  border-left: 5px solid #2E50EC;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  line-height: 1.6;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.challenges-list li:hover,
.offerings-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.challenges-list li strong,
.offerings-list li strong {
  color: #2E50EC;
}

/* === Trust Section === */
.trust {
  background: #0e1429;
  color: #cfd6ff;
}
.trust .wrap {
  padding-top: 36px;
  padding-bottom: 36px;
}
.trust p {
  margin: 0;
  font-size: 14px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}

/* Top-level page wrapper */
.driver-sign-in-page {
  position: relative;
  width: 100%;
  min-height: 50vh;
  overflow: hidden;
}

/* Center the container absolutely within the page */
.driver-sign-in-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* responsive gutter */
  box-sizing: border-box;
}

/* The blue sign-in card */
.driver-sign-in {
  background-color: #2E50EC; /* DriveWaze blue */
  border-radius: 12px;
  padding: 40px 50px;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* wider layout for big displays */
@media (min-width: 1200px) {
  .driver-sign-in {
    max-width: 900px;
  }
}
/* Logo */
.driver-logo {
  width: 250px;
  max-width: 250px;
  max-height: 90px;
  margin: 0px 10px 10px 20px;
  display: block;
  align-self: center !important;
}

/* Welcome + Badge */
.welcome-header {
  display: flex;
  flex-direction: column;
  align-self: left !important;
  margin-bottom: 5px;
}

.form-field {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}

.welcome-text {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.badge-label {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Input */
.text-field.badge-number-field {
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  width: 220px;
  font-size: 1rem;
  text-align: center;
  outline: none;
  margin: 0 auto;
}

/* Button */
.driver-submit-wrapper {
  margin-top: 20px;
  align-items: center;
  text-align: center !important;
}

.driver-submit {
  background-color: #fbaa15;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.driver-submit:hover {
  background-color: #e89b12;
}

.route-header > .logout-button {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  flex-direction: row;
  gap: 10px;
}

.logout-button {
  padding-right: 16px !important;
}

.logout-link {
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: white !important;
  text-decoration: none !important;
  padding: 6px 14px;
  font-size: 16px;
}

/* Make logo huge on desktop, tiny on mobile */
.route-logo-image {
  height: 90px; /* big on large screens */
  width: auto;
  transition: height 0.2s ease;
}

@media (max-width: 768px) {
  .route-logo-image {
    height: 60px; /* small on phones */
  }
}
@media (max-width: 480px) {
  .route-logo-image {
    height: 58px; /* even smaller on very small phones */
  }
}
.route-container .content {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  line-height: 1.6;
  color: #333;
}

.route-container h1, .route-container h2 {
  color: #2E50EC;
  margin-top: 1.5em;
}

.route-container a {
  color: #2E50EC;
  text-decoration: underline;
}

.terms-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  line-height: 1.6;
  color: #333;
}

.terms-container h1, .terms-container h2 {
  color: #1A15B0;
  margin-top: 1.5em;
}

.terms-container a {
  color: #1A15B0;
  text-decoration: underline;
}

.route-header .fas,
.route-header .logout-link {
  color: white !important;
}

.route-header {
  background-color: #2E50EC; /* DriveWaze blue */
  color: white; /* text/icons white */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px; /* adds some breathing room */
  height: 70px; /* optional: consistent header height */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* subtle depth */
}

.logout-link {
  color: #ffffff !important; /* makes text white */
  background: transparent; /* optional - removes button gray */
  border: none; /* optional - removes form border */
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 6px 12px;
}

.logout-link:hover {
  color: #fbaa15; /* DriveWaze yellow hover effect */
  text-decoration: underline;
}

.route-logo-image {
  max-height: 120px; /* limits height */
  width: auto; /* keeps proportions */
  display: block;
}

.fas.fa-right-from-bracket {
  color: #ffffff; /* white icon */
  font-size: 1.2rem; /* optional: adjust size */
  margin-right: 6px; /* optional: spacing from text */
  vertical-align: middle;
}

/* === CONTACT FORM — FULLY MOBILE RESPONSIVE (2025 BEST PRACTICES) === */
.form-container {
  width: 100%;
  max-width: 600px; /* never too wide on desktop */
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: "Inter", system-ui, sans-serif;
}

.form-container h1 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

/* All form fields — perfect on mobile */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-input,
select.form-input,
textarea.form-input {
  width: 100% !important;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-input:focus,
select.form-input:focus,
textarea.form-input:focus {
  outline: none;
  border-color: #2E50EC;
  box-shadow: 0 0 0 3px rgba(46, 80, 236, 0.15);
}

/* Textarea */
textarea.form-input {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* reCAPTCHA — mobile friendly */
.g-recaptcha {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.g-recaptcha > div {
  transform: scale(0.95);
  transform-origin: center;
}

/* Submit button */
.form-actions {
  text-align: center;
  margin-top: 1.5rem;
}

.submit-button {
  background: #2E50EC;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background: #1e3ad4;
}

/* === MODERN PREFERRED CONTACT DROPDOWN === */
#contact_preferred_contact {
  width: 100% !important;
  padding: 1rem 1.2rem !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  background-color: white !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

/* Hover & Focus — premium feel */
#contact_preferred_contact:hover {
  border-color: #2E50EC !important;
  box-shadow: 0 0 0 4px rgba(46, 80, 236, 0.15) !important;
}

#contact_preferred_contact:focus {
  outline: none !important;
  border-color: #2E50EC !important;
  box-shadow: 0 0 0 4px rgba(46, 80, 236, 0.2) !important;
}

/* Optional: make the dropdown arrow even nicer */
#contact_preferred_contact::-ms-expand {
  display: none;
}

/* Mobile-specific tweaks */
@media (max-width: 640px) {
  .form-container {
    margin: 1rem auto;
    padding: 1.5rem;
    border-radius: 12px;
  }
  .form-container h1 {
    font-size: 1.6rem;
  }
  .g-recaptcha {
    transform: scale(0.88);
    transform-origin: center;
  }
  .submit-button {
    font-size: 1.05rem;
    padding: 1rem;
  }
}
/* Flash messages — mobile friendly */
.flash-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
}

.flash-bar {
  margin: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: all;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  animation: slideDown 0.4s ease-out;
}

.flash-bar-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-bar-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-bar-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ← Add this 768px block (fixes the actual overflow bug) */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
    width: 100vw !important;
  }
  .form-container, .form-container * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .g-recaptcha {
    overflow: hidden !important;
    border-radius: 8px;
  }
  .g-recaptcha > div {
    transform: scale(0.86) !important;
    transform-origin: top center !important;
  }
}
/* Modern flat pricing table styles */
.pricing-card {
  max-width: 700px;
  margin: 24px auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #fff;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center; /* centers all text including headers */
}

.pricing-table thead {
  background: #f3f4f6;
}

.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  text-align: center;
  font-size: 0.98rem;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  font-weight: 600;
}

.col-center {
  text-align: center;
  width: 160px;
}

/* icons */
.check-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.x-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* subtle row hover */
.pricing-table tbody tr:hover {
  background: #fcfcfd;
}

.calculator-container {
  margin-top: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  max-width: 400px;
}

.calculator-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.calculator-result {
  font-size: 1.1em;
  font-weight: bold;
  color: #1A15B0;
}

.join-now-button {
  margin-left: 14px;
  background: #EFAE41; /* gold */
  color: white !important; /* always white */
  text-decoration: none !important;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.join-now-button:hover {
  background: #2E50EC; /* blue hover */
  color: white !important;
}

/* === MOBILE PRICING — TWO REAL CARDS (BEST PRACTICE) === */
@media (max-width: 768px) {
  /* Hide desktop table */
  .desktop-pricing {
    display: none !important;
  }
  /* Show mobile cards */
  .mobile-pricing {
    all: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3rem !important;
    padding: 1rem !important;
    align-items: center;
  }
  .mobile-plan {
    background: white;
    border-radius: 20px;
    padding: 2.2rem 2rem;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    text-align: center;
    font-family: "Inter", sans-serif;
    margin-top: 25px;
  }
  .mobile-plan-title {
    padding-left: 15px;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1.4rem 0;
  }
  .mobile-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    line-height: 2.2;
    color: #1e293b;
  }
  .mobile-join-button {
    display: inline-block;
    background: #2E50EC;
    color: white;
    padding: 1rem 2.4rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(46, 80, 236, 0.4);
  }
}
/* Desktop — hide mobile cards */
@media (min-width: 769px) {
  .mobile-pricing {
    display: none !important;
  }
}
.about-tech .tech-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.about-tech .tech-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.about-tech .tech-img:hover {
  transform: scale(1.02);
}
.about-tech .tech-caption {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
}

/* Match SVG section container to founder container width */
.about-operation .container {
  padding-bottom: 120px !important;
  overflow: visible !important;
  max-width: 600px; /* match your founders container width */
  margin: 15px auto; /* ensures it's centered */
  text-align: center !important; /* keeps heading + map centered */
}

/* Optional: ensure the SVG never exceeds the container */
.about-operation svg {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  overflow: visible !important; /* this alone usually solves most of the clipping */
}

/* app/assets/stylesheets/application.css or wherever your CSS lives */
.us-map-with-padding {
  padding: 2% 2%; /* adds space inside the SVG itself */
  box-sizing: border-box;
  background: #f8f9fa; /* optional: matches your bg-light section */
  overflow: visible;
}

.us-map-with-padding svg {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.risk-form-container {
  max-height: 450px; /* LIMIT TOTAL HEIGHT */
  display: flex;
  flex-direction: column;
}

.risk-form-scroll {
  overflow-y: auto; /* ENABLE SCROLLING */
  padding-right: 6px; /* Avoid scrollbar overlay */
}

/* Optional: slightly smoother scroll */
.risk-form-scroll::-webkit-scrollbar {
  width: 6px;
}

.risk-form-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

/* === ADD THESE 2 LINES — FINAL FIX FOR RIGHT-EDGE BLEED === */
/* 1. Critical: Force box-sizing on everything */
.hero-split,
.hero-split-inner,
.hero-split-content,
.hero-split-video {
  box-sizing: border-box !important;
}

/* 2. Critical: Make flex children shrinkable */
.hero-split-content,
.hero-split-video {
  flex: 1 1 300px; /* ← This is the missing magic */
  min-width: 0; /* ← Allows flex item to shrink below content */
}

.hero-split {
  width: 100%;
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
  background: #f8f9fa;
}

.hero-split-inner {
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-split-video video {
  min-height: 300px; /* adjust to your layout */
  max-width: 600px;
  width: 100%;
  height: auto;
}

/* Right side text card */
.hero-split-content {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  max-width: 500px;
}

.hero-split-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-split-content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2E50EC;
  margin-bottom: 1.25rem;
}

.hero-split-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Buttons */
.cta-button {
  background: #2E50EC;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.cta-button:hover {
  background: #fbaa15;
}

.cta-button-secondary {
  background: transparent;
  border: 2px solid #2E50EC;
  color: #2E50EC;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 1rem;
}

.cta-button-secondary:hover {
  background: #2E50EC;
  color: #fff;
}

/* Mobile — perfect stacking */
@media (max-width: 900px) {
  .hero-split {
    padding: 3rem 1rem;
  }
  .hero-split-inner {
    flex-direction: column-reverse; /* Text above video */
    gap: 2rem;
  }
  .hero-split-content,
  .hero-split-video {
    max-width: 100%;
  }
  .hero-split-content {
    padding: 2rem 1.5rem;
  }
  .hero-split-content h1 {
    font-size: 2.1rem;
  }
}
/* Extra safety — kill any overflow */
@media (max-width: 1024px) {
  .hero-split,
  .hero-split-inner {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}
.homepage h2 {
  color: #000000 !important;
}

/* ===== APPLE-STYLE TESTIMONIALS — FULLY MOBILE-FRIENDLY (NO OVERFLOW) ===== */
.apple-carousel {
  padding: 3rem 1rem;
  background: #ffffff;
  text-align: center;
  overflow: hidden; /* ← Critical: stops horizontal bleed */
}

.apple-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1f36;
  margin-bottom: 2.5rem;
}

.apple-carousel-wrapper {
  position: relative;
  height: 240px;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden; /* ← Also stops bleed */
}

.apple-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 90%; /* ← Was 80% → now fits */
  max-width: 800px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  padding: 0 1rem;
  box-sizing: border-box;
}

.apple-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.apple-slide .quote {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #2a2e3f;
  margin-bottom: 1.2rem;
}

.apple-slide .name {
  font-weight: 700;
  color: #1a1f36;
  font-size: 1.1rem;
}

.apple-slide .role {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

/* Dots — moved up, no overlap */
.apple-dots {
  margin-top: 1.5rem !important; /* ← Was 40px → now tighter */
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0.5rem 0;
}

.apple-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apple-dots .dot.active {
  background: #111827;
  transform: scale(1.2);
}

.apple-dots .dot:hover {
  background: #4b5563;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
  .apple-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .apple-carousel-wrapper {
    height: 280px;
  }
  .apple-slide {
    width: 95% !important; /* ← Maximum safe width */
    padding: 0 0.5rem;
  }
  .apple-slide .quote {
    font-size: 1.05rem;
    line-height: 1.5;
  }
  .apple-dots {
    margin-top: 1rem !important;
    gap: 10px;
  }
}
.header {
  background: #2E50EC !important;
}

/* ======================================================================= */
/* GLOBAL RESETS                                                            */
/* ======================================================================= */
.header-nav ul,
.mobile-nav ul,
.mobile-nav ul li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

/* Default hidden mobile menu */
.mobile-menu, .mobile-menu-close {
  display: none;
}

/* ======================================================================= */
/* DESKTOP (≥769px)                                                         */
/* ======================================================================= */
@media (min-width: 769px) {
  /* Hide mobile menu entirely */
  .mobile-menu {
    display: none !important;
  }
  .header {
    position: sticky;
    top: 0;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
  }
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  /* Desktop Navigation UL */
  .header-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  /* Desktop menu links */
  .header-nav ul li a {
    color: white;
    font-family: "Rubik", "Gill Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .header-nav ul li a:hover {
    opacity: 0.4;
  }
  /* Desktop Sign In button */
  .header-nav ul li.signin a {
    background: grey;
    color: white;
    font-family: "Rubik", "Gill Sans", sans-serif;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  /* Desktop Subscribe button */
  .header-nav ul li.subscribe a {
    background: #fbaa15;
    color: white;
    font-family: "Rubik", "Gill Sans", sans-serif;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  /* Hide hamburger on desktop */
  .hamburger {
    display: none !important;
  }
}
/* =================================================================== */
/* MOBILE (≤768px) — PERFECT LAYOUT: LOGO LEFT, HAMBURGER RIGHT        */
/* =================================================================== */
@media (max-width: 768px) {
  /* Hide desktop nav */
  .header-nav {
    display: none !important;
  }
  /* Close button — only visible when menu is open */
  .mobile-menu-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10000;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  /* Show close button when menu is open */
  #mobile-menu:checked ~ .mobile-menu-close {
    opacity: 1;
    pointer-events: all;
  }
  /* Optional: make it look nice */
  .mobile-menu-close svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  }
  /* Header container — flex with space-between */
  .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    height: auto !important;
  }
  /* Logo stays on the left */
  .logo {
    flex-shrink: 0;
  }
  /* Hamburger — WHITE LINES + right-aligned */
  .hamburger {
    display: block !important;
    cursor: pointer;
    padding: 0.5rem;
    order: 2; /* pushes it to the right */
  }
  .hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    background: white !important; /* ← WHITE LINES */
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s ease;
  }
  /* Mobile full-screen menu */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #2E50EC;
    padding-top: 6rem;
    overflow-y: auto;
    z-index: 999;
  }
  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .mobile-nav ul li a {
    display: block;
    text-align: center;
    width: 80%;
    color: white;
    font-size: 20px;
    font-weight: 600;
    font-family: "Rubik", "Gill Sans", sans-serif;
    text-decoration: none;
    padding: 12px 0;
  }
  .mobile-nav ul li.signin a,
  .mobile-nav ul li.subscribe a {
    padding: 12px 20px;
    border-radius: 20px;
    max-width: 300px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  .mobile-nav ul li.signin a {
    background: grey;
  }
  .mobile-nav ul li.subscribe a {
    background: #fbaa15;
  }
  /* === MENU OPEN STATE === */
  /* When checkbox is checked → show menu */
  input[type=checkbox][id=mobile-menu]:checked ~ .mobile-menu {
    display: block !important;
  }
  /* When checkbox is checked → show close (X) button */
  input[type=checkbox][id=mobile-menu]:checked ~ .mobile-menu-close {
    display: block !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }
  /* Hamburger → X animation */
  input[type=checkbox][id=mobile-menu]:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px) !important;
    background: white !important;
  }
  input[type=checkbox][id=mobile-menu]:checked ~ .hamburger span:nth-child(2) {
    opacity: 0 !important;
  }
  input[type=checkbox][id=mobile-menu]:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px) !important;
    background: white !important;
  }
  input[type=checkbox][id=mobile-menu]:checked ~ header .mobile-menu {
    display: block !important;
  }
  /* When checkbox is checked → show close (X) button */
  input[type=checkbox][id=mobile-menu]:checked ~ header .mobile-menu-close {
    display: block !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }
  /* Hamburger → X (white lines) */
  input[type=checkbox][id=mobile-menu]:checked ~ header .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: white !important;
  }
  input[type=checkbox][id=mobile-menu]:checked ~ header .hamburger span:nth-child(2) {
    opacity: 0;
  }
  input[type=checkbox][id=mobile-menu]:checked ~ header .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: white !important;
  }
}
/* Close button styling — hidden by default */
.mobile-menu-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-close svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

/* === HERO INTRO TILE — PERFECTLY CENTERED, NO OVERFLOW, ALL DEVICES === */
.hero-intro-section {
  width: 100%;
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  background: transparent;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

.hero-intro-title {
  position: relative;
  z-index: 2; /* above the ::before overlay */
  margin: 0;
  color: white;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 1.8px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.22;
  padding: 0 0.8rem;
}

/* Mobile — tighter but still safe */
@media (max-width: 768px) {
  .hero-intro-section {
    padding: 1.5rem 1rem;
  }
  .hero-intro-tile {
    padding: 1.8rem 1.4rem;
    border-radius: 15px;
  }
  .hero-intro-title {
    font-size: clamp(1.4rem, 5.5vw, 2.2rem);
    letter-spacing: 1.4px;
  }
}
@media (max-width: 480px) {
  .hero-intro-tile {
    padding: 1.6rem 1.2rem;
    border-radius: 20px;
  }
  .hero-intro-title {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }
}
/* FINAL FIX — KILL HORIZONTAL SCROLL FOREVER */
@media (max-width: 1024px) {
  .hero-intro-section,
  .hero-intro-tile {
    max-width: 100vw !important;
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
/* === DRIVEWAZE FOOTER — MOBILE VERTICAL, DESKTOP HORIZONTAL WITH TIGHT DOTS === */
.footer-bar {
  background-color: #2E50EC;
  color: white;
  padding: 2rem 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.footer-inner {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Copyright */
.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  order: 1;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 1.5rem;
  order: 2;
}

.footer-social .social-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  transition: color 0.25s ease;
}

.footer-social .social-link:hover {
  color: white;
}

/* Legal links — mobile: vertical, desktop: horizontal */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  order: 3;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

/* Dots hidden by default (mobile) */
.footer-divider {
  display: none;
}

/* === MOBILE ONLY — LEFT ALIGN === */
@media (max-width: 767px) {
  .footer-inner {
    text-align: left;
  }
  .footer-content {
    align-items: flex-start !important; /* ← LEFT ALIGN ON MOBILE */
  }
  .footer-links {
    align-items: flex-start;
  }
}
/* === DESKTOP ONLY — HORIZONTAL + TIGHT DOTS === */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .footer-links {
    flex-direction: row;
    gap: 0; /* Remove flex gap */
  }
  .footer-divider {
    display: inline !important;
    margin: 0 0.5rem !important; /* ← TIGHT spacing around • */
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
  }
  .footer-link {
    font-size: 0.9rem;
  }
}
* {
  touch-action: pan-x pan-y;
}

html {
  background-color: #f8f9fa; /* your new background color */
  overflow-x: hidden; /* Safe horizontal control */
  overflow-y: auto; /* Allow vertical scroll */
  overscroll-behavior-y: none; /* Prevent bounce effect on iOS */
  height: 100%;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: #f8f9fa !important; /* your new background color */
  overscroll-behavior: none; /* disables rubber-band scroll showing other layers */
  margin: 0;
  padding: 0;
  height: 100%;
}

.header-bar,
.footer-bar,
.flash-bar-container {
  background-color: #2E50EC; /* solid color, no transparency */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white !important; /* match your new background */
  z-index: -999; /* behind everything */
}

.header-bar, .footer-bar {
  background-color: #2E50EC; /* keep your existing header/footer color */
}

html {
  overscroll-behavior-y: contain; /* prevents default overscroll bounce showing old color */
}

.page-wrapper {
  min-height: 100vh; /* fill full viewport */
  background-color: #f8f9fa; /* match page background */
  overflow-x: hidden; /* prevent horizontal scroll */
  overflow-y: visible;
}

/* === DriveWaze About Page (Inspired by Coinbase) === */
.about-page {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}
.about-page .container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 5%;
}
.about-page .about-hero {
  background-color: #2E50EC;
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.about-page .about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}
.about-page .about-hero .mission {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}
.about-page .about-background,
.about-page .about-what-we-do,
.about-page .about-tech,
.about-page .about-founders {
  padding: 3rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.about-page .about-background h2,
.about-page .about-what-we-do h2,
.about-page .about-tech h2,
.about-page .about-founders h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2E50EC;
  text-align: center;
}
.about-page .about-background p,
.about-page .about-what-we-do p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #555;
}
.about-page .tech-image {
  text-align: center;
  margin: 2rem 0;
}
.about-page .tech-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 400px;
}
.about-page .tech-caption {
  font-size: 1rem;
  font-style: italic;
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: 1rem auto 0;
}
.about-page .founders-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
.about-page .founders-list li {
  display: flex;
  align-items: center;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.about-page .founders-list .founder-image {
  flex: 0 0 auto;
  margin-right: 1.5rem;
}
.about-page .founders-list .founder-img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid #2E50EC;
  display: block;
  background: #e0e0e0;
}
.about-page .founders-list .founder-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-page .founders-list .founder-info strong {
  font-size: 1.1rem;
  color: #2E50EC;
  margin-bottom: 0.5rem;
}
.about-page .founders-list .founder-info p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* === DriveWaze Homepage (Inspired by Coinbase) === */
.homepage {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
}
.homepage .container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 5%;
}
.homepage .hero-banner {
  background-color: #2E50EC;
  color: white;
  padding: 3rem 0;
}
.homepage .hero-banner .hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.homepage .hero-banner .hero-text {
  flex: 1;
}
.homepage .hero-banner .hero-text h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: lightgrey;
}
.homepage .hero-banner .hero-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: black;
}
.homepage .hero-banner .hero-text .hero-subtext {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}
.homepage .hero-banner .hero-text .signup-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
}
.homepage .hero-banner .hero-text .signup-form .email-input {
  flex: 1;
  padding: 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: "Inter", sans-serif;
}
.homepage .hero-banner .hero-text .signup-form .email-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.homepage .hero-banner .hero-text .signup-form .cta-button {
  background-color: #fbaa15;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.homepage .hero-banner .hero-text .signup-form .cta-button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.homepage .hero-banner .hero-image {
  flex: 0 0 auto;
}
.homepage .hero-banner .hero-img {
  width: 150%;
  max-width: 600px !important;
  height: auto;
  border-radius: 8px;
}
.homepage .value-props {
  padding: 3rem 0;
  background-color: #f8f9fa;
}
.homepage .value-props h2 {
  font-size: 2.25rem;
  color: #2E50EC;
  text-align: center;
  margin-bottom: 2rem;
}
.homepage .value-props .props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.homepage .value-props .prop-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers everything vertically */
  justify-content: center;
}
.homepage .value-props .prop-card h3 {
  font-size: 1.5rem;
  color: #2E50EC;
  margin-bottom: 1rem;
}
.homepage .value-props .prop-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}
.homepage .value-props .prop-card .prop-img {
  max-width: 200px !important;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}
.homepage .value-props .prop-card .prop-link {
  color: #fbaa15;
  text-decoration: none;
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  transition: opacity 0.2s ease;
  margin-top: 0px;
  display: inline-block;
}
.homepage .value-props .prop-card .prop-link:hover {
  opacity: 0.4;
}
.homepage .value-props .prop-card .cta-button {
  margin-top: 0.5rem; /* Space between image and button */
  width: 100%; /* Full width inside card */
  max-width: 120px; /* Prevents stretching too wide on desktop */
  background-color: #fbaa15;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  display: block;
  text-align: center;
}
.homepage .value-props .prop-card .cta-button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.homepage .offerings-list {
  list-style-type: disc;
  list-style-position: inside;
  margin: 0 auto; /* centers the list block */
  padding: 0; /* removes default padding */
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  text-align: left;
  display: inline-block;
}
.homepage .offerings-list li {
  margin-bottom: 10px;
  text-align: left;
  padding: 10px;
}
.homepage .offerings-list li strong {
  color: #000;
  font-weight: bold;
}
.homepage .promo-card {
  padding: 3rem 0;
  text-align: center;
  background-color: white;
}
.homepage .promo-card h2 {
  font-size: 2rem;
  color: #2E50EC;
  margin-bottom: 1rem;
}
.homepage .promo-card p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: #555;
}
.homepage .promo-card .promo-img {
  max-width: 100px !important;
  height: auto;
  margin-bottom: 1rem;
}
.homepage .promo-card .promo-link {
  color: #fbaa15;
  text-decoration: none;
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  transition: opacity 0.2s ease;
}
.homepage .promo-card .promo-link:hover {
  opacity: 0.4;
}
.homepage .final-cta {
  background-color: #2E50EC;
  color: white;
  padding: 3rem 0;
  text-align: center;
}
.homepage .final-cta h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: lightgrey;
}
.homepage .final-cta h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: black;
}
.homepage .final-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.homepage .final-cta .cta-button {
  background-color: #fbaa15;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}
.homepage .final-cta .cta-button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.homepage {
  /* Sticky Driver Login */
}
.homepage .sticky-login {
  position: fixed;
  top: 90px; /* Below header (75px height + padding) */
  right: 20px;
  background: rgba(26, 21, 176, 0.95);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 999;
}
.homepage .sticky-login .login-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.homepage .sticky-login .driver-login {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.homepage .sticky-login .driver-login .login-input {
  padding: 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: "Inter", sans-serif;
}
.homepage .sticky-login .driver-login .login-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.homepage .sticky-login .driver-login .login-button {
  background-color: #fbaa15;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 20px;
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.homepage .sticky-login .driver-login .login-button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.homepage .sticky-login .signup-link {
  color: #fbaa15;
  text-decoration: none;
  font-family: "Rubik", "Gill Sans", sans-serif;
  font-weight: bold;
  text-align: center;
  margin-top: 0.5rem;
  display: block;
  transition: opacity 0.2s ease;
}
.homepage .sticky-login .signup-link:hover {
  opacity: 0.4;
}
.homepage {
  /* Responsive */
}
@media (max-width: 768px) {
  .homepage .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .homepage .hero-content .hero-img {
    max-width: 300px !important;
  }
  .homepage .props-grid {
    grid-template-columns: 1fr;
  }
  .homepage .sticky-login {
    top: 80px;
    right: 10px;
    left: 10px;
    padding: 0.75rem;
  }
  .homepage .driver-login {
    flex-direction: column;
    gap: 0.5rem;
  }
  .homepage .driver-login .login-input {
    font-size: 0.9rem;
  }
  .homepage .driver-login .login-button {
    font-size: 0.9rem;
  }
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-alert, .alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-notice, .alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

/*
 * This is a manifest file that'll be compiled into application.css...
 *= require_tree .
 *= require_self
 */
/* === CONTACT FORM — FULLY MOBILE RESPONSIVE (2025 BEST PRACTICES) === */
.form-container {
  width: 100%;
  max-width: 600px; /* never too wide on desktop */
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: "Inter", system-ui, sans-serif;
}

.form-container h1 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

/* All form fields — perfect on mobile */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-input,
select.form-input,
textarea.form-input {
  width: 100% !important;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-input:focus,
select.form-input:focus,
textarea.form-input:focus {
  outline: none;
  border-color: #2E50EC;
  box-shadow: 0 0 0 3px rgba(46, 80, 236, 0.15);
}

/* Textarea */
textarea.form-input {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* reCAPTCHA — mobile friendly */
.g-recaptcha {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.g-recaptcha > div {
  transform: scale(0.95);
  transform-origin: center;
}

/* Submit button */
.form-actions {
  text-align: center;
  margin-top: 1.5rem;
}

.submit-button {
  background: #2E50EC;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background: #1e3ad4;
}

/* === MODERN PREFERRED CONTACT DROPDOWN === */
#contact_preferred_contact {
  width: 100% !important;
  padding: 1rem 1.2rem !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  background-color: white !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

/* Hover & Focus — premium feel */
#contact_preferred_contact:hover {
  border-color: #2E50EC !important;
  box-shadow: 0 0 0 4px rgba(46, 80, 236, 0.15) !important;
}

#contact_preferred_contact:focus {
  outline: none !important;
  border-color: #2E50EC !important;
  box-shadow: 0 0 0 4px rgba(46, 80, 236, 0.2) !important;
}

/* Optional: make the dropdown arrow even nicer */
#contact_preferred_contact::-ms-expand {
  display: none;
}

/* Mobile-specific tweaks */
@media (max-width: 640px) {
  .form-container {
    margin: 1rem auto;
    padding: 1.5rem;
    border-radius: 12px;
  }
  .form-container h1 {
    font-size: 1.6rem;
  }
  .g-recaptcha {
    transform: scale(0.88);
    transform-origin: center;
  }
  .submit-button {
    font-size: 1.05rem;
    padding: 1rem;
  }
}
/* Flash messages — mobile friendly */
.flash-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
}

.flash-bar {
  margin: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: all;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  animation: slideDown 0.4s ease-out;
}

.flash-bar-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-bar-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-bar-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ← Add this 768px block (fixes the actual overflow bug) */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
    width: 100vw !important;
  }
  .form-container, .form-container * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .g-recaptcha {
    overflow: hidden !important;
    border-radius: 8px;
  }
  .g-recaptcha > div {
    transform: scale(0.86) !important;
    transform-origin: top center !important;
  }
}
* {
  touch-action: pan-x pan-y;
}

/* === DriveWaze Footer === */
.footer-bar {
  background-color: #2E50EC;
  color: white;
  padding: 0;
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  position: relative;
  width: 100%;
}

.footer-inner {
  background-color: #2E50EC;
  max-width: 90%;
  margin: 0 auto;
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  margin: 0;
  padding: 0;
}
.footer-link:hover {
  color: white;
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social .social-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social .social-link:hover {
  color: white;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* === Modernized Flash Bar Styling === */
.flash-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001; /* Above header */
  pointer-events: none;
}

.flash-bar {
  width: 100%;
  padding: 16px 24px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  border-radius: 0 0 12px 12px;
  animation: slideDown 0.4s ease-out;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  color: white;
  text-align: center;
  font-weight: 500;
}

/* Success — calming mint/teal tones with light gradient */
.flash-bar-success {
  background: linear-gradient(135deg, #00b87c, #00d4a0);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

/* Error — modern coral-red tone with gradient */
.flash-bar-error {
  background: linear-gradient(135deg, #ff5c5c, #e14b4b);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

/* Optional: subtle icon before message */
.flash-bar::before {
  content: attr(data-icon);
  margin-right: 8px;
  font-size: 1.2em;
  opacity: 0.9;
}

/* Close button — subtle, white outline with hover effect */
.flash-bar-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  color: white;
  cursor: pointer;
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
}
.flash-bar-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* === Root background override for DriveWaze === */
/* === FIX rubber-band background flash === */
:root,
html,
body {
  background-color: #f8f9fa !important; /* Your new DriveWaze background */
  color-scheme: light;
  overscroll-behavior: auto; /* Helps Safari choose light scrollbars */
  margin: 0;
  padding: 0;
  min-height: 100vh;
  height: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  isolation: isolate; /* Creates new stacking context — key fix! */
}

/* Remove any transparent pseudo backgrounds */
body::before,
html::before,
html::after,
body::after {
  background: #f8f9fa !important;
  display: none !important;
  content: none !important;
}

/* Ensure compositing layer behind app is opaque */
body {
  background-clip: border-box;
  background-origin: border-box;
  background-attachment: fixed;
  transform: translateZ(0); /* forces hardware layer paint */
}

.hide-logo-in-header .app-header .logo,
.hide-logo-in-header .app-header img {
  display: none;
}

.invite-button {
  background-color: #EFAE41 !important; /* Yellow */
  color: white !important; /* Dark gray text */
}

.invite-button:hover {
  background-color: #2E50EC !important; /* Blue on hover */
  color: white !important;
}

/*# sourceMappingURL=application.css.map */
