/* ==========================================================================
   AXTRO CAPITAL TECHNOLOGIES — SPECIALIZED COMPONENTS & VISUAL MODULES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. The Opportunity Split Layout
   -------------------------------------------------------------------------- */
.split-opportunity {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.opportunity-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.opp-feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
}

.opp-feature-pill svg {
  color: var(--color-electric-cyan);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   2. Interactive Ecosystem Explorer (10 Nodes)
   -------------------------------------------------------------------------- */
.ecosystem-container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-lg);
}

.ecosystem-visual {
  position: relative;
  background: radial-gradient(circle at center, rgba(20, 121, 255, 0.12) 0%, rgba(17, 28, 38, 0.6) 70%);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-center-node {
  position: absolute;
  z-index: 10;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(145deg, #182739 0%, #0c1722 100%);
  border: 2px solid var(--color-electric-cyan);
  box-shadow: 0 0 35px var(--color-electric-cyan-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  pointer-events: none;
}

.eco-center-node-logo {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

.eco-center-title {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.eco-center-sub {
  font-size: 0.65rem;
  color: var(--color-electric-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.eco-nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 600px;
}

.eco-node-btn {
  background: rgba(21, 34, 50, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(8px);
}

.eco-node-btn .node-num {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--color-electric-cyan);
  font-weight: 700;
  background: rgba(32, 199, 217, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eco-node-btn:hover, .eco-node-btn.active {
  background: rgba(20, 121, 255, 0.25);
  border-color: var(--color-electric-cyan);
  box-shadow: 0 0 20px rgba(32, 199, 217, 0.25);
  transform: translateX(4px);
}

.eco-node-btn.active .node-num {
  background: var(--color-electric-cyan);
  color: #0B1117;
}

/* Ecosystem Inspector Card */
.eco-detail-card {
  background: var(--color-surface-card);
  border: 1px solid rgba(32, 199, 217, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.eco-detail-badge {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-electric-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.eco-detail-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.eco-detail-text {
  color: var(--color-text-muted-light);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.eco-detail-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-md);
}

.eco-detail-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #E2E8F0;
}

.eco-detail-point svg {
  color: var(--color-energy-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   3. 4-Party Strategic Partnership Model Cards
   -------------------------------------------------------------------------- */
.partnership-lead-card {
  border-top: 4px solid var(--color-electric-blue);
}

.partnership-oem-card {
  border-top: 4px solid var(--color-electric-cyan);
}

.partnership-energy-card {
  border-top: 4px solid var(--color-energy-green);
}

.partnership-tvet-card {
  border-top: 4px solid #F59E0B;
}

.role-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-tech);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
}

.role-tag.lead { color: var(--color-electric-blue); }
.role-tag.oem { color: var(--color-electric-cyan); }
.role-tag.energy { color: var(--positive-text); }
.role-tag.tvet { color: var(--warning-text); }

/* Small pill labels (driver cards on the About page) */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-tech);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-green {
  background: rgba(22, 163, 74, 0.12);
  color: var(--positive-text);
}

.badge-cyan {
  background: var(--cyan-tint);
  color: var(--color-electric-cyan);
}

/* --------------------------------------------------------------------------
   4. From Vehicle to Ecosystem (Progressive Journey)
   -------------------------------------------------------------------------- */
.journey-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  margin-top: var(--space-xl);
}

.journey-step {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-md) 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.journey-step::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-electric-cyan);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
}

.journey-step:last-child::after {
  display: none;
}

.journey-step:hover {
  border-color: var(--color-electric-cyan);
  transform: translateY(-4px);
  background: var(--color-surface-card-hover);
}

.journey-num {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--color-electric-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.journey-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   5. Technical Due Diligence Grid (17 Engineering Criteria)
   -------------------------------------------------------------------------- */
.dd-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-sm);
}

.dd-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.dd-tab-btn:hover {
  color: var(--text-heading);
}

.dd-tab-btn.active {
  background: var(--cyan-tint);
  color: var(--color-electric-cyan);
  border-bottom: 2px solid var(--color-electric-cyan);
}

.dd-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.dd-spec-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-fast);
}

.dd-spec-card:hover {
  border-color: var(--color-electric-cyan);
}

.dd-spec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dd-spec-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.dd-spec-tag {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--cyan-tint);
  color: var(--color-electric-cyan);
  font-weight: 600;
}

.dd-spec-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. Risk Matrix Accordion ("Designed for Commercial Reality")
   -------------------------------------------------------------------------- */
.risk-matrix {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.risk-item {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-fast);
}

.risk-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.risk-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.risk-number {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-electric-cyan);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cyan-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.risk-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.risk-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.risk-item.open {
  border-color: var(--color-electric-cyan);
}

.risk-item.open .risk-chevron {
  transform: rotate(180deg);
  color: var(--color-electric-cyan);
}

.risk-content {
  padding: 0 24px 24px 68px;
  display: none;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
}

.risk-item.open .risk-content {
  display: block;
}

.risk-mitigation {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(50, 183, 104, 0.1);
  border-left: 3px solid var(--color-energy-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--positive-strong);
}

/* --------------------------------------------------------------------------
   EV Value Proposition Showcase Card
   -------------------------------------------------------------------------- */
.skills-showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.skills-showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   7. TVET Pipeline & Career Pathways
   -------------------------------------------------------------------------- */
.tvet-pipeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--space-xl) 0;
  padding: var(--space-md);
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.tvet-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 110px;
}

.tvet-step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cyan-tint);
  border: 1px solid var(--color-electric-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-electric-cyan);
  font-weight: 700;
  font-family: var(--font-tech);
  margin-bottom: 8px;
}

.tvet-step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.career-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
}

.career-card:hover {
  border-color: var(--color-energy-green);
  transform: translateY(-3px);
}

.career-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-tech);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(50, 183, 104, 0.12);
  color: var(--positive-text);
  font-weight: 700;
  margin-bottom: 8px;
}

.career-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.career-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. African Expansion Map Section
   -------------------------------------------------------------------------- */
.expansion-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.expansion-map-box {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.expansion-map-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
}

.map-hub-point {
  fill: var(--color-electric-cyan);
  filter: drop-shadow(0 0 6px var(--color-electric-cyan));
}

.expansion-phases {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.phase-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.phase-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  letter-spacing: 0;
}

.phase-tag {
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-electric-cyan);
  background: var(--cyan-tint);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  height: fit-content;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. Insights & Articles Grid
   -------------------------------------------------------------------------- */
.insight-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.insight-card:hover {
  border-color: var(--color-electric-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.insight-thumb {
  height: 200px;
  background: linear-gradient(135deg, #152232 0%, #0c1722 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.insight-thumb-icon {
  width: 64px;
  height: 64px;
  color: rgba(32, 199, 217, 0.4);
}

.insight-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-category {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-electric-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.insight-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.insight-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-electric-cyan);
}

.insight-link svg {
  transition: transform var(--transition-fast);
}

.insight-card:hover .insight-link svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   10. Partnership Intake Form & Modal
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: var(--space-2xl);
}

.contact-info-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-form-box {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--bg-surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--color-electric-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-tech);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-info-val {
  font-size: 1rem;
  color: var(--text-heading);
  font-weight: 700;
  margin-top: 2px;
  overflow-wrap: break-word;
}

.contact-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.contact-map-card iframe {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .contact-map-card iframe {
    height: 320px;
  }
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-electric-cyan);
  box-shadow: 0 0 0 3px rgba(32, 199, 217, 0.2);
  outline: none;
}

.form-control option {
  background: var(--bg-surface-card);
  color: var(--text-heading);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  display: none;
}

.form-alert:empty {
  display: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.form-alert.success:not(:empty) {
  background: rgba(50, 183, 104, 0.12);
  border: 1px solid var(--color-energy-green);
  color: var(--positive-text);
  display: block;
}

.form-alert.error:not(:empty) {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #EF4444;
  color: var(--negative-text);
  display: block;
}

/* --------------------------------------------------------------------------
   Partner Category Grid
   -------------------------------------------------------------------------- */
.partner-cat-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-fast);
}

.partner-cat-card:hover {
  background: rgba(20, 121, 255, 0.1);
  border-color: var(--color-electric-cyan);
  transform: translateY(-2px);
}

.partner-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(32, 199, 217, 0.1);
  color: var(--color-electric-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-cat-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   Brand Logo (Expanded White Logo without Box Container)
   -------------------------------------------------------------------------- */
.brand-logo-badge {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: none;
  transition: transform var(--transition-fast);
}

.brand-logo-badge:hover {
  transform: translateY(-2px);
}

.brand-logo-img {
  height: 72px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  filter: brightness(1.25) drop-shadow(0 0 8px rgba(0, 212, 255, 0.55))
          drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
  transition: filter 0.3s ease, transform 0.3s ease, height 0.3s ease;
}

.brand-logo-img:hover,
.brand-logo:hover .brand-logo-img {
  filter: brightness(1.4) drop-shadow(0 0 14px rgba(0, 212, 255, 0.75))
          drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  transform: scale(1.04);
}

.site-header.scrolled .brand-logo-img {
  height: 60px;
}

.site-footer .brand-logo-img {
  height: 92px;
  max-width: 320px;
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(0, 212, 255, 0.5))
          drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

/* --------------------------------------------------------------------------
   Cinematic Hero Video & Timed Content Reveal
   -------------------------------------------------------------------------- */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.2) 0%, rgba(11, 17, 23, 0.45) 50%, rgba(11, 17, 23, 0.9) 100%);
  transition: background 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.cinematic-video-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 420px;
  overflow: hidden;
  background: #0B1117;
}

.cinematic-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .cinematic-video-wrap {
    height: 70vh;
    height: 70dvh;
    min-height: 380px;
  }
}

.hero-video-overlay.dimmed {
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.72) 0%, rgba(11, 17, 23, 0.85) 50%, rgba(11, 17, 23, 0.96) 100%);
}

.video-status-bar {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(15, 23, 34, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-status-bar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.video-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-energy-green);
  box-shadow: 0 0 10px var(--color-energy-green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.video-status-text {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.video-progress-track {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.video-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-electric-blue), var(--color-electric-cyan));
  border-radius: 2px;
  transition: width 0.15s linear;
}

.video-skip-btn {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-electric-cyan);
  background: rgba(32, 199, 217, 0.12);
  border: 1px solid rgba(32, 199, 217, 0.3);
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.video-skip-btn:hover {
  background: var(--color-electric-cyan);
  color: #0B1117;
}

.hero-content-reveal {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 5;
}

.hero-content-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Interactive Vehicle Fleet Showcase
   -------------------------------------------------------------------------- */
.vehicle-selector-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.vehicle-tab-btn {
  padding: 14px 26px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted-light);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-tech);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vehicle-tab-btn:hover, .vehicle-tab-btn.active {
  background: #182739;
  border-color: var(--color-electric-cyan);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(32, 199, 217, 0.2);
  transform: translateY(-2px);
}

.vehicle-tab-btn.active {
  border-bottom: 3px solid var(--color-electric-cyan);
}

.vehicle-stage {
  background: radial-gradient(circle at center, #1A2A3D 0%, #0c141d 85%);
  border: 1px solid rgba(32, 199, 217, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: minmax(0, 1minmax(0, .35fr)) minmax(0, 0minmax(0, .65fr));
  gap: var(--space-xl);
  align-items: center;
  box-shadow: var(--shadow-lg);
  min-width: 0;
}

.vehicle-visual-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  min-width: 0;
}

.vehicle-main-display {
  width: 100%;
  min-width: 0;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vehicle-main-img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.65));
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
}

.vehicle-angle-selector {
  display: flex;
  gap: 8px;
  margin-top: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.angle-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.angle-btn:hover, .angle-btn.active {
  background: rgba(32, 199, 217, 0.2);
  border-color: var(--color-electric-cyan);
  color: #FFFFFF;
}

.vehicle-specs-card {
  background: rgba(11, 17, 23, 0.7);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  min-width: 0;
}

.vehicle-badge-pill {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--color-electric-cyan);
  background: rgba(32, 199, 217, 0.1);
  border: 1px solid rgba(32, 199, 217, 0.25);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 10px;
}

.vehicle-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.vehicle-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.vehicle-specs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 16px;
}

.vehicle-spec-item {
  display: flex;
  flex-direction: column;
}

.vehicle-spec-label {
  font-size: 0.72rem;
  color: #94A3B8;
  font-family: var(--font-tech);
  text-transform: uppercase;
}

.vehicle-spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 2px;
}

/* Background image cards */
.img-banner-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  background-size: cover;
  background-position: center;
}

.img-banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.2) 0%, rgba(11, 17, 23, 0.85) 100%);
  pointer-events: none;
}

.img-banner-content {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Responsive Component Overrides
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ecosystem-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .eco-detail-card {
    position: static;
  }
  .split-opportunity {
    grid-template-columns: minmax(0, 1fr);
  }
  .journey-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .journey-step::after {
    display: none;
  }
  .dd-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .career-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .expansion-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vehicle-stage {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .journey-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dd-spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .eco-nodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .career-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tvet-pipeline-track {
    flex-direction: column;
    align-items: stretch;
  }
  .tvet-step {
    flex-direction: row;
    gap: 16px;
    text-align: left;
  }
  .opportunity-features {
    grid-template-columns: minmax(0, 1fr);
  }
  .risk-header {
    padding: 16px;
    gap: 12px;
  }
  .risk-header-left {
    gap: 12px;
  }
  .risk-title {
    font-size: 1rem;
  }
  .risk-content {
    padding: 0 16px 20px 16px;
  }
  .cta-align-end {
    text-align: left !important;
  }
  .brand-logo-img {
    height: 54px;
  }
  .brand-logo-badge {
    padding: 0;
  }
  /* Vehicle showcase grid fallback on mobile (applies to every .vehicle-stage instance,
     not just the homepage's #fleet-showcase section) */
  .vehicle-stage {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 20px !important;
    gap: 20px !important;
  }
  /* The 340px min-height was tuned for wide desktop columns; on a narrow single-column
     mobile layout it fights the box's own 4:3 aspect-ratio and makes the image needlessly
     tall. Let aspect-ratio size it instead. */
  .vehicle-main-display {
    min-height: 0 !important;
  }
  .vehicle-specs-card {
    padding: 20px !important;
  }
  .vehicle-badge-pill {
    margin-bottom: 8px !important;
  }
  .vehicle-title {
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
  }
  #showcaseDesc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }
  .vehicle-specs-list {
    gap: 10px !important;
  }
  .vehicle-specs-cta {
    margin-top: 16px !important;
  }
  .video-status-bar {
    width: auto;
    max-width: 90%;
    padding: 8px 14px;
    gap: 10px;
    bottom: 20px;
  }
  .video-status-text {
    display: none;
  }
  .video-progress-track {
    width: 70px;
  }
  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .whatsapp-badge {
    display: none; /* Hide text badge on mobile to prevent viewport obstruction */
  }
  .cow-grid-cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .cow-two-col {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  .calc-tab-nav {
    overflow-x: auto;
    justify-content: flex-start !important;
    padding-bottom: 8px;
  }
  .calc-grid-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* --------------------------------------------------------------------------
   Floating Action Widgets (WhatsApp + Back-to-Top)
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-actions > * {
  pointer-events: auto;
}

.btn-back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 34, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(32, 199, 217, 0.4);
  color: var(--color-electric-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background: var(--color-electric-cyan);
  color: #0B1117;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(32, 199, 217, 0.4);
}

.whatsapp-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-badge {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.whatsapp-widget:hover .whatsapp-badge {
  border-color: #128C7E;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.whatsapp-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #128C7E;
  position: relative;
  flex-shrink: 0;
}

.whatsapp-pulse-dot::after {
  display: none;
}

.btn-whatsapp-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #128C7E; /* Normal deep green WhatsApp colour */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.btn-whatsapp-icon:hover {
  transform: scale(1.06);
  background: #075E54;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Institutional Partnership FAQ Optimization (Crisp High Contrast)
   -------------------------------------------------------------------------- */
#faq {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
}

#faq .risk-matrix {
  max-width: 960px;
  margin: 0 auto;
}

#faq .risk-item {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  margin-bottom: 12px;
  box-shadow: var(--card-shadow);
}

#faq .risk-item:hover, #faq .risk-item.open {
  border-color: var(--color-electric-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

#faq .risk-header {
  padding: 20px 24px;
}

#faq .risk-title {
  color: var(--text-heading) !important;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

#faq .risk-content {
  color: var(--text-body) !important;
  font-size: 0.98rem;
  line-height: 1.75;
  padding: 0 24px 24px 68px;
}

/* --------------------------------------------------------------------------
   "Charge On Wheels" Premium Section Styles
   -------------------------------------------------------------------------- */
.charge-on-wheels-section {
  background: #090E14;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
  overflow: hidden;
}

.cow-image-stage {
  margin: var(--space-2xl) 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.cow-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0D1620;
  border: 1px solid rgba(32, 199, 217, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 50px rgba(32, 199, 217, 0.16), 0 0 80px rgba(50, 183, 104, 0.1);
  max-width: 1080px;
  width: 100%;
}

.cow-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cow-image-wrapper:hover .cow-image {
  transform: scale(1.015);
}

.cow-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: var(--space-xl);
}

.cow-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cow-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-electric-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.cow-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(32, 199, 217, 0.1);
  border: 1px solid rgba(32, 199, 217, 0.25);
  color: var(--color-electric-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.cow-card:nth-child(2) .cow-card-icon {
  background: rgba(50, 183, 104, 0.1);
  border-color: rgba(50, 183, 104, 0.25);
  color: var(--color-energy-green);
}

.cow-card:nth-child(3) .cow-card-icon {
  background: rgba(20, 121, 255, 0.1);
  border-color: rgba(20, 121, 255, 0.25);
  color: var(--color-electric-blue);
}

.cow-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.cow-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.cow-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: var(--space-3xl);
  padding: var(--space-2xl);
  background: rgba(17, 28, 38, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

.cow-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cow-feature-item:last-child {
  border-bottom: none;
}

.cow-feature-num {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-electric-cyan);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(32, 199, 217, 0.1);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Calculate Cost & Earnings Component Styles
   -------------------------------------------------------------------------- */
.calc-page-hero {
  padding: 180px 0 72px 0;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background: #070B10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-dark);
}

.calc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.calc-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 45%;
  display: block;
}

.calc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0.25) 0%, rgba(7, 11, 16, 0.45) 45%, rgba(7, 11, 16, 0.94) 100%);
  z-index: 1;
}

.calc-hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .calc-page-hero {
    min-height: 420px;
    padding: 150px 0 48px 0;
  }
  .calc-hero-bg-img {
    object-position: 72% 50%;
  }
  .calc-hero-overlay {
    background: linear-gradient(180deg, rgba(7, 11, 16, 0.45) 0%, rgba(7, 11, 16, 0.55) 40%, rgba(7, 11, 16, 0.96) 100%);
  }
}

.calc-disclaimer-card {
  background: rgba(32, 199, 217, 0.06);
  border: 1px solid rgba(32, 199, 217, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-xl);
}

.calc-disclaimer-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.calc-disclaimer-text strong {
  color: var(--text-heading);
}

.calc-tab-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: var(--space-2xl);
}

.calc-tab-btn {
  padding: 16px 28px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: var(--font-tech);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: -2px;
}

.calc-tab-btn:hover {
  color: var(--text-heading);
}

.calc-tab-btn.active {
  color: var(--color-electric-cyan);
  border-bottom-color: var(--color-electric-cyan);
  background: var(--cyan-tint);
}

.calc-tab-content {
  display: none;
}

.calc-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.calc-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
  align-items: flex-start;
}

.calc-panel {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
}

.calc-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-field {
  margin-bottom: 18px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.calc-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
}

.calc-tag {
  font-size: 0.7rem;
  font-family: var(--font-tech);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

.calc-tag-input { background: var(--cyan-tint); color: var(--color-electric-cyan); }
.calc-tag-plan { background: var(--surface-subtle); border: 1px solid var(--border-color); color: var(--text-muted); }
.calc-tag-source { background: rgba(50,183,104,0.15); color: var(--positive-text); }
.calc-tag-est { background: rgba(245,158,11,0.15); color: var(--warning-text); }

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input-unit {
  position: absolute;
  right: 14px;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--text-muted);
  pointer-events: none;
}

.calc-input-wrap .form-control {
  padding-right: 64px;
}

.calc-error {
  color: var(--negative-text);
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}

.calc-error.show {
  display: block;
}

/* Result Cards */
.calc-results-panel {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: 100px;
  box-shadow: var(--card-shadow);
}

.calc-hero-stat {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, rgba(32,199,217,0.08) 0%, rgba(20,121,255,0.08) 100%);
  border: 1px solid rgba(32,199,217,0.25);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.calc-hero-stat-label {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-electric-cyan);
  margin-bottom: 6px;
}

.calc-hero-stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-heading);
  font-family: var(--font-tech);
  overflow-wrap: anywhere;
}

.calc-stat-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.calc-flow-chain {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.calc-flow-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-section-alt);
  border-radius: 6px;
  border-left: 3px solid var(--border-color);
}

.calc-flow-arrow {
  text-align: center;
  color: #64748B;
  font-size: 0.9rem;
  margin: -4px 0;
}

.calc-flow-item.highlight {
  background: rgba(50, 183, 104, 0.1);
  border-left-color: var(--color-energy-green);
}

.calc-flow-item.highlight .calc-flow-val {
  color: var(--positive-text);
  font-size: 1.2rem;
}

.calc-flow-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.calc-flow-val {
  font-family: var(--font-tech);
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.calc-mini-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px;
  min-width: 0;
}

.calc-mini-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-tech);
}

.calc-mini-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 4px;
  font-family: var(--font-tech);
  overflow-wrap: anywhere;
}

.calc-compare-bar-wrap {
  margin: 20px 0;
}

.calc-bar-row {
  margin-bottom: 12px;
}

.calc-bar-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 4px;
}

.calc-bar-track {
  height: 12px;
  background: var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.calc-bar-fill-petrol {
  height: 100%;
  background: #F59E0B;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.calc-bar-fill-ev {
  height: 100%;
  background: var(--color-energy-green);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* Expandable TCO & Methodology */
.calc-accordion-btn {
  width: 100%;
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.25s ease;
}

.calc-accordion-btn:hover {
  border-color: var(--color-electric-cyan);
  background: var(--cyan-tint);
}

.calc-accordion-body {
  display: none;
  padding: 24px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.calc-accordion-body.open {
  display: block;
}

/* Print Styles */
@media print {
  .site-header, .site-footer, .floating-actions, .calc-tab-nav, .btn, button, .video-status-bar {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .calc-panel, .calc-results-panel {
    background: #FFFFFF !important;
    border: 1px solid #CCCCCC !important;
    color: #000000 !important;
  }
  .calc-hero-stat-value, .calc-mini-val, .calc-section-title, .calc-label {
    color: #000000 !important;
  }
}

/* --------------------------------------------------------------------------
   Accurate Video Viewport for Mobile & Responsive Devices
   -------------------------------------------------------------------------- */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .hero-video {
    object-fit: cover;
    object-position: center center;
  }
}

/* --------------------------------------------------------------------------
   Ecosystem Diagram Section (Clean White Background)
   -------------------------------------------------------------------------- */
.section-ecosystem {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* The ecosystem render has a white backdrop, so it always sits on a white stage */
.ecosystem-img-stage {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ecosystem-img-stage img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  aspect-ratio: 1376 / 768;
  object-fit: contain;
}

.ecosystem-points-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ecosystem-point-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ecosystem-point-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  letter-spacing: 0;
}

.ecosystem-point-card .body-small {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .ecosystem-img-stage {
    padding: 10px;
  }
}

.ecosystem-badge-num {
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 16px;
  background: #0284C7;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-tech);
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Commercial Car Fleet Cards (Venucia, Nissan Sentra, GAC Aion S)
   -------------------------------------------------------------------------- */
.car-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.car-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-electric-cyan);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.car-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="dark"] .car-card-img-wrap {
  background: #0F172A;
}

.car-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.car-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.car-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-tech);
  font-weight: 700;
  background: rgba(2, 132, 199, 0.1);
  color: var(--color-electric-cyan);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.car-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.car-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.car-specs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.car-spec-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-tech);
}

.car-spec-item span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* Combined Car Fleet Banner */
.car-combined-banner {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-top: 36px;
}

.car-combined-img-wrap {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #F8FAFC;
}

html[data-theme="dark"] .car-combined-img-wrap {
  background: #0F172A;
}

.car-combined-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.car-combined-caption {
  padding: 24px 28px;
  background: var(--bg-surface-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Electric Two-Wheeler Fleet Cards
   -------------------------------------------------------------------------- */
.ebike-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ebike-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ebike-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-electric-cyan);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.ebike-img-stage {
  width: 100%;
  aspect-ratio: 16/10;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  padding: 16px;
  overflow: hidden;
}

.ebike-img-stage img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ebike-card:hover .ebike-img-stage img {
  transform: scale(1.05);
}

.ebike-card-content {
  padding: 20px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   Drivers Beside Car Doors / Workforce Portraits
   -------------------------------------------------------------------------- */
.driver-portraits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.driver-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.driver-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-electric-cyan);
}

.driver-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #0B1117;
}

.driver-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.driver-card:hover .driver-img-wrap img {
  transform: scale(1.03);
}

.driver-info {
  padding: 20px;
}

.driver-tag {
  font-size: 0.72rem;
  font-family: var(--font-tech);
  font-weight: 700;
  color: var(--color-electric-cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.driver-headline {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.driver-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Gallery Page Styles & Filter Grid
   -------------------------------------------------------------------------- */
/* Section jump links */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-card);
  color: var(--text-heading);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn:focus-visible {
  background: var(--color-electric-cyan);
  color: #FFFFFF;
  border-color: var(--color-electric-cyan);
}

/* Each group holds photos of one shape, laid out in equal columns.
   Flex + centring keeps any short last row balanced instead of left-hanging. */
.gallery-group {
  scroll-margin-top: calc(var(--header-height-scrolled) + 16px);
}

.gallery-group + .gallery-group {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.gallery-group-header {
  max-width: 760px;
  margin-bottom: var(--space-lg);
}

.gallery-group-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.gallery-group-header p {
  color: var(--text-muted);
}

.gallery-grid {
  --cols: 3;
  --gap: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.gallery-grid.cols-2 { --cols: 2; }
.gallery-grid.cols-4 { --cols: 4; }

.gallery-item {
  position: relative;
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  min-width: 0;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid.ratio-2-3 .gallery-item { aspect-ratio: 2 / 3; }
.gallery-grid.ratio-3-4 .gallery-item { aspect-ratio: 3 / 4; }
.gallery-grid.ratio-3-2 .gallery-item { aspect-ratio: 3 / 2; }
.gallery-grid.ratio-4-3 .gallery-item { aspect-ratio: 4 / 3; }
.gallery-grid.ratio-16-9 .gallery-item { aspect-ratio: 16 / 9; }

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Studio renders and diagrams sit on white: show them whole instead of cropping */
.gallery-grid.fit-contain .gallery-item {
  background: #FFFFFF;
}

.gallery-grid.fit-contain .gallery-item img {
  object-fit: contain;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Tablet: landscape groups go 2-up; portrait groups (cols-3-keep) stay 3-up */
@media (max-width: 1024px) {
  .gallery-grid:not(.cols-3-keep) { --cols: 2; }
}

/* Phone: landscape groups go full width; portrait groups go 2-up */
@media (max-width: 640px) {
  .gallery-grid { --gap: 14px; }
  .gallery-grid:not(.cols-3-keep) { --cols: 1; }
  .gallery-grid.cols-3-keep { --cols: 2; }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 16, 0.95);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 14px;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Footer Email Pop-up Forms (General Enquiries / Customer Support)
   -------------------------------------------------------------------------- */
.contact-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 32px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface-card);
  color: var(--text-body);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.contact-modal::backdrop {
  background: rgba(5, 10, 16, 0.75);
  backdrop-filter: blur(6px);
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
}

.contact-modal-close:hover {
  color: var(--text-heading);
  border-color: var(--color-electric-cyan);
}

.contact-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
  padding-right: 40px;
}

.contact-modal-intro {
  margin-bottom: 20px;
}

.contact-modal-address {
  font-weight: 700;
  color: var(--color-electric-cyan);
  overflow-wrap: anywhere;
}

.contact-modal .form-group {
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .contact-modal {
    padding: 24px 18px;
  }
  .contact-modal-title {
    font-size: 1.35rem;
  }
}

/* Media Queries for New Components */
@media (max-width: 1024px) {
  .car-card-grid,
  .ebike-grid,
  .driver-portraits-grid,
  .ecosystem-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .car-card-grid,
  .ebike-grid,
  .driver-portraits-grid,
  .ecosystem-points-grid {
    grid-template-columns: 1fr;
  }
  .car-combined-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  #faq .risk-header {
    padding: 16px;
  }
  #faq .risk-title {
    font-size: 1rem;
  }
  #faq .risk-content {
    padding: 0 16px 20px 16px;
  }
}



/* ==========================================================================
   Featured Driver (About page)
   ========================================================================== */
.driver-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.driver-feature-media {
  position: relative;
}

.driver-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 60% center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.driver-feature-chip {
  position: absolute;
  left: -18px;
  bottom: -22px;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: float3d 6s ease-in-out infinite;
}

.driver-feature-chip-value {
  font-family: var(--font-tech);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-electric-cyan);
}

.driver-feature-chip-label {
  margin-top: 4px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.driver-feature-roles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.driver-role {
  padding: 18px 20px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--color-electric-cyan);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.driver-role-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  letter-spacing: 0;
}

/* ==========================================================================
   Rider Banner (passenger promo, used on Home / About / Gallery)
   ========================================================================== */
.ride-banner-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.ride-banner {
  position: relative;
  isolation: isolate;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 28px;
  overflow: hidden;
  background: #0B1117;
  box-shadow: var(--shadow-lg);
}

.ride-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 35%;
  z-index: -1;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ride-banner:hover .ride-banner-img {
  transform: scale(1.04);
}

.ride-banner-panel {
  position: relative;
  width: min(450px, 100%);
  margin: 28px;
  padding: 36px 36px 32px;
  border-radius: 22px;
  background: linear-gradient(145deg, #1479FF 0%, #0C5BCE 100%);
  color: #FFFFFF;
  box-shadow: 0 22px 50px rgba(5, 10, 18, 0.45);
  transform: translateZ(40px);
}

.ride-banner-eyebrow {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.82);
}

.ride-banner-title {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 800;
  color: #FFFFFF;
}

.ride-banner-text {
  margin-bottom: 24px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.ride-banner-btn {
  background: #FFFFFF;
  color: #0B1117;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(5, 10, 18, 0.25);
}

.ride-banner-btn:hover {
  background: #E2E8F0;
  color: #0B1117;
  transform: translateY(-2px);
}

/* ==========================================================================
   Passenger Experience split (Home page, Learn More target)
   ========================================================================== */
#rider-experience {
  scroll-margin-top: var(--header-height-scrolled);
}

.rider-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.rider-collage {
  position: relative;
  padding-bottom: 16%;
}

.rider-collage figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface-card);
}

.rider-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rider-collage-main {
  width: 86%;
  aspect-ratio: 5 / 4;
}

.rider-collage-main img {
  object-position: 55% 20%;
}

.rider-collage-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 3 / 2;
  border: 6px solid var(--bg-section-alt) !important;
  animation: float3d 7s ease-in-out infinite;
}

@keyframes float3d {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg); }
  50% { transform: translate3d(0, -10px, 0) rotateX(3deg); }
}

/* ==========================================================================
   3D Motion System
   - .reveal-3d: sections & cards rise in with a perspective tilt as they scroll into view
   - .tilt-3d: cards tilt toward the cursor (mouse/trackpad devices only)
   Classes are added by main.js, so pages without JS render normally.
   ========================================================================== */
.reveal-3d {
  opacity: 0;
  transform: perspective(1200px) translate3d(0, 48px, 0) rotateX(14deg);
  transform-origin: 50% 100%;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-3d.reveal-left {
  transform: perspective(1200px) translate3d(-48px, 0, 0) rotateY(14deg);
  transform-origin: 0 50%;
}

.reveal-3d.reveal-right {
  transform: perspective(1200px) translate3d(48px, 0, 0) rotateY(-14deg);
  transform-origin: 100% 50%;
}

.reveal-3d.is-visible {
  opacity: 1;
  transform: perspective(1200px) translate3d(0, 0, 0) rotate(0deg);
}

.tilt-3d {
  transform-style: preserve-3d;
}

/* Hero copy rises in with depth after the intro clip */
.intro-pending .hero-content {
  transform: perspective(1200px) translate3d(0, 40px, 0) rotateX(16deg);
  transform-origin: 50% 100%;
}

/* ==========================================================================
   Responsive: new sections & full-frame video on phones
   ========================================================================== */
@media (max-width: 1024px) {
  .driver-feature,
  .rider-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .driver-feature-chip {
    left: 12px;
  }
  .rider-collage {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Hero: show the whole 16:9 clip, with the copy stacked beneath it */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-top: var(--header-height);
    padding-bottom: var(--space-xl);
  }
  .hero-video-wrapper {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .hero-video {
    object-fit: contain;
    background: #000;
  }
  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(11, 17, 23, 0) 60%, rgba(11, 17, 23, 0.85) 100%);
  }
  .hero-content {
    margin-top: var(--space-lg);
  }

  /* About page clip: full frame instead of a cropped 70vh band */
  .cinematic-video-wrap {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .cinematic-video {
    object-fit: contain;
  }

  .ride-banner {
    display: block;
    min-height: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .ride-banner-img {
    position: relative;
    inset: auto;
    z-index: 0;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
  }
  .ride-banner:hover .ride-banner-img {
    transform: none;
  }
  .ride-banner-panel {
    width: auto;
    margin: -56px 14px 0;
    padding: 26px 22px 24px;
    transform: none;
  }
  .ride-banner-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .driver-feature-chip {
    left: 10px;
    bottom: 10px;
    padding: 10px 14px;
    max-width: 200px;
  }
  .driver-feature-chip-value {
    font-size: 1.3rem;
  }
  .rider-collage {
    padding-bottom: 24%;
  }
  .rider-collage-main {
    width: 90%;
  }
  .rider-collage-inset {
    width: 60%;
    border-width: 4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-3d,
  .reveal-3d.reveal-left,
  .reveal-3d.reveal-right {
    opacity: 1;
    transform: none;
  }
  .driver-feature-chip,
  .rider-collage-inset {
    animation: none;
  }
}
/* ==========================================================================
   WhatsApp: official brand green behind the official glyph
   ========================================================================== */
.btn-whatsapp-icon {
  background: #25D366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-icon:hover {
  background: #1DA851;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-pulse-dot {
  background: #25D366;
}

.whatsapp-widget:hover .whatsapp-badge {
  border-color: #25D366;
}

/* ==========================================================================
   Home hero: centred intro copy
   ========================================================================== */
.hero .hero-content {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-content .eyebrow {
  justify-content: center;
}

.hero .hero-content .body-large {
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-ctas {
  justify-content: center;
}

.hero .hero-headline {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  text-wrap: balance;
}

/* ==========================================================================
   Full-screen photo banner (About hero): copy flush left, image fills the screen
   ========================================================================== */
.page-banner--full {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-position: center 35%;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.page-banner--full > .container {
  position: relative;
  z-index: 1;
}

.page-banner--full .page-banner-content {
  max-width: 720px;
  margin: 0;
  text-align: left;
}

.page-banner--full .page-banner-title {
  text-shadow: none;
}

.page-banner--full .body-large {
  max-width: 640px;
  margin-top: 14px;
  line-height: 1.65;
  color: #F1F5F9;
}

/* Lighter, left-weighted scrim: copy stays readable while the team stays visible */
.page-banner--full::before {
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.9) 0%, rgba(5, 10, 18, 0.72) 38%, rgba(5, 10, 18, 0.25) 75%, rgba(5, 10, 18, 0.15) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.45) 0%, rgba(5, 10, 18, 0) 30%, rgba(5, 10, 18, 0) 70%, rgba(5, 10, 18, 0.55) 100%);
}

/* Collage on a plain (non-alt) section: inset frame matches that background */
.on-base .rider-collage-inset {
  border-color: var(--bg-section) !important;
}

@media (max-width: 768px) {
  .page-banner--full {
    min-height: 100svh;
    align-items: flex-end;
    background-position: 30% center;
    padding-bottom: var(--space-xl);
  }
  /* On phones the copy sits over the lower part of the photo: darken bottom-up */
  .page-banner--full::before {
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.35) 0%, rgba(5, 10, 18, 0.45) 35%, rgba(5, 10, 18, 0.88) 70%, rgba(5, 10, 18, 0.95) 100%);
  }
  .hero .hero-ctas {
    align-items: stretch;
  }
}
/* Phones: show only the round WhatsApp logo so the label never covers page text
   (an earlier rule was overridden by the base .whatsapp-badge declaration below it) */
@media (max-width: 768px) {
  .whatsapp-badge {
    display: none;
  }
  .btn-whatsapp-icon {
    width: 54px;
    height: 54px;
  }
}
/* ==========================================================================
   Viewport edge safety
   Nothing may widen the page beyond the screen (no sideways scroll / edge gaps).
   overflow-x: clip (unlike hidden) doesn't create a scroll container, so sticky
   panels and window scrolling keep working; hidden stays as the fallback.
   ========================================================================== */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
}

main,
section,
.site-footer {
  max-width: 100%;
}

/* Side-in reveals are only meant for side-by-side layouts; once columns stack,
   fall back to the vertical rise so no element starts beyond the screen edge. */
@media (max-width: 1024px) {
  .reveal-3d.reveal-left,
  .reveal-3d.reveal-right {
    transform: perspective(1200px) translate3d(0, 48px, 0) rotateX(14deg);
    transform-origin: 50% 100%;
  }
  .driver-feature-chip {
    left: 12px;
    bottom: 12px;
  }
}

/* ==========================================================================
   About hero on laptop & desktop screens: the banner takes the photo's own 3:2
   shape and starts below the fixed header, so the whole team photo is visible
   on every screen size instead of being cropped on shorter/wider laptop screens.
   ========================================================================== */
@media (min-width: 769px) {
  .page-banner--full {
    min-height: auto;
    aspect-ratio: 1264 / 843;
    margin-top: var(--header-height);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    background-size: cover;
    background-position: center;
  }
  .page-banner--full .page-banner-title {
    font-size: clamp(2rem, 3.6vw, 3.8rem);
  }
  .page-banner--full .body-large {
    font-size: clamp(0.98rem, 1.15vw, 1.2rem);
  }
}

/* Very short laptop windows: keep the copy compact so it never outgrows the photo */
@media (min-width: 769px) and (max-height: 720px) {
  .page-banner--full .page-banner-title {
    font-size: clamp(1.9rem, 3vw, 3rem);
  }
}
/* Side reveals hinge on their own outer edge (rotate only, no sideways shift),
   so nothing ever starts beyond the screen edge on any screen width. */
.reveal-3d.reveal-left {
  transform: perspective(1200px) translate3d(0, 24px, 0) rotateY(16deg);
  transform-origin: 0% 50%;
}

.reveal-3d.reveal-right {
  transform: perspective(1200px) translate3d(0, 24px, 0) rotateY(-16deg);
  transform-origin: 100% 50%;
}