/* ==========================================================================
   KSR AGENCY — PREMIUM DESIGN SYSTEM & ADDITIONS
   ========================================================================== */

/* ── PARTNER CARD SHIMMER ── */
@keyframes textShimmer {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}
.partner-name-shimmer {
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: linear-gradient(110deg, #0f172a 0%, #0f172a 35%, #C47B38 45%, #A6672E 50%, #C47B38 55%, #0f172a 65%, #0f172a 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}
[data-theme="dark"] .partner-name-shimmer {
  background: linear-gradient(110deg, #94a3b8 0%, #94a3b8 35%, #FADAC0 45%, #F9CAA8 50%, #FADAC0 55%, #94a3b8 65%, #94a3b8 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}

/* ── DEALERSHIP CARD HOVER ── */
.partner-card, .stat-card {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease !important;
}
@media (hover: hover) {
  .partner-card:hover { transform: translateY(-6px) scale(1.02); }
  .stat-card:hover { transform: translateY(-6px) scale(1.02); }
  [data-theme="dark"] .partner-card:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.6);
  }
  [data-theme="dark"] .stat-card:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
  }
  [data-theme="light"] .partner-card:hover {
    background-color: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.1);
  }
  [data-theme="light"] .stat-card:hover {
    background-color: #ffffff !important;
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.06);
  }
}

/* ── PARTNER IMAGE PLACEHOLDER SLOT ── */
.partner-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(250,218,192,0.06), rgba(249,202,168,0.06));
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.partner-img-placeholder.has-logo {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.1);
  background: #ffffff;
  padding: 10px;
}
[data-theme="light"] .partner-img-placeholder.has-logo {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
.partner-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.partner-img-placeholder .placeholder-icon {
  font-size: 24px;
  opacity: 0.3;
  transition: transform 0.3s var(--sp);
}
.partner-card:hover .placeholder-icon {
  transform: scale(1.2);
  opacity: 0.6;
}
.partner-card:hover .partner-img-placeholder {
  border-color: rgba(166, 103, 46, 0.4);
  background: linear-gradient(135deg, rgba(250,218,192,0.12), rgba(249,202,168,0.12));
}
.partner-card:hover .partner-img-placeholder.has-logo {
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Official website link on company name */
.partner-official-link {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.partner-official-link:hover {
  color: var(--peach-deep);
  text-decoration: underline;
}
.partner-official-link .ext-link-icon {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.partner-official-link:hover .ext-link-icon {
  transform: translate(2px, -2px);
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVBAR BRAND & SCROLLING LOGO
   ══════════════════════════════════════════════════════════════════════════ */
.nav-brand-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--peach-deep);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(166, 103, 46, 0.25);
  transition: transform 0.3s var(--sp), box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.nav-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-badge:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(166, 103, 46, 0.4);
}

/* Logo image placeholder inside navbar when present */
.brand-logo-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.nav.solid .brand-logo-img {
  transform: scale(0.9);
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO — HIGH-TECH 3D FASTAG SHOWCASE
   ══════════════════════════════════════════════════════════════════════════ */
.hero-fastag-showcase {
  width: 100%;
  max-width: 600px;
  height: 380px;
  margin: 10px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Subtle static glow behind hero card — no animation */
.hero-fastag-showcase::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,218,192,0.18), rgba(249,202,168,0.08), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  opacity: 0.8;
}

/* The Main 3D Floating FASTag Card */
.fastag-3d-card {
  width: 340px;
  height: 210px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FADAC0 0%, #F9CAA8 40%, #D4894A 75%, #A6672E 100%);
  position: relative;
  box-shadow:
    0 30px 70px -15px rgba(166, 103, 46, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  overflow: hidden;
  transition: transform 0.4s var(--sp), box-shadow 0.4s ease;
}
.fastag-3d-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 40px 80px -15px rgba(166, 103, 46, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Static sheen overlay — no animation */
.fastag-3d-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 55%
  );
  pointer-events: none;
  border-radius: 24px;
}

/* Card Header elements */
.card-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
}
.card-brand-tag {
  font-family: 'Syncopate', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}
.card-agency-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* RFID Micro Chip */
.rfid-chip-gold {
  width: 48px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4), 0 2px 10px rgba(245, 158, 11, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rfid-chip-gold::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.rfid-chip-gold::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.6);
  top: 50%;
  transform: translateY(-50%);
}

/* Tag Serial & Active Status */
.card-footer-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 1;
}
.card-rfid-num {
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.9);
}
.card-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.card-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  position: relative;
  animation: rfidPulse 2.4s ease-out infinite;
}
/* RFID ring expands outward from the active dot — the purposeful hero animation */
@keyframes rfidPulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.7); }
  60%  { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
@keyframes activeBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.8); }
}

/* Bottom Scan Line */
.card-laser-scanline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.card-laser-scanline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #A6672E, #FADAC0, #A6672E, transparent);
  animation: scanlaser 2s linear infinite;
}
@keyframes scanlaser {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* 3D Floating Floating Badges around Card */
.hero-feature-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.badge-badge-1 {
  top: 15%;
  left: -20px;
}
.badge-badge-2 {
  bottom: 12%;
  right: -20px;
}

/* ══════════════════════════════════════════════════════════════════════════
   WHAT IS FASTAG — CARD GRID LAYOUT
   ══════════════════════════════════════════════════════════════════════════ */
.fastag-explainer {
  display: block;
  padding: 0;
}
.fastag-explainer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media(max-width: 780px) { .fastag-explainer-cards { grid-template-columns: 1fr; } }
@media(max-width: 480px) { .fastag-explainer-cards { grid-template-columns: 1fr; } }

/* Hide the windshield animation column since we restructured */
.fastag-explainer-anim { display: none; }

.windshield-scene {
  position: relative;
  width: 360px;
  height: 280px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
[data-theme="light"] .windshield-scene {
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}

.ws-dashboard {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .ws-dashboard {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.4), rgba(100, 116, 139, 0.7));
}

.ws-road {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(30, 41, 59, 0.5));
}
.ws-road::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 16px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 -25px 0 rgba(255, 255, 255, 0.4), 0 -50px 0 rgba(255, 255, 255, 0.2);
  animation: roadDash 1s linear infinite;
}
@keyframes roadDash {
  from { transform: translateX(-50%) translateY(-20px); }
  to   { transform: translateX(-50%) translateY(30px); }
}

.ws-tag {
  position: absolute;
  top: 28px;
  right: 36px;
  width: 76px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FADAC0, #A6672E);
  box-shadow: 0 6px 16px rgba(166, 103, 46, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.ws-tag .ws-tag-label {
  font-family: 'Syncopate', sans-serif;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}
.ws-tag .ws-tag-id {
  font-size: 8px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin-top: 2px;
}

.ws-scanner-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #A6672E, #FADAC0, #A6672E, transparent);
  box-shadow: 0 0 24px rgba(166, 103, 46, 0.6);
  opacity: 0;
  animation: scannerSweep 4s ease-in-out infinite;
  z-index: 4;
}
@keyframes scannerSweep {
  0%        { top: 0; opacity: 0; }
  5%        { opacity: 1; }
  45%       { top: 75%; opacity: 1; }
  50%       { opacity: 0; }
  100%      { top: 75%; opacity: 0; }
}

.ws-toll-data {
  position: absolute;
  top: 30px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}
.ws-metric {
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(166, 103, 46, 0.3);
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-10px);
}
[data-theme="light"] .ws-metric {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: rgba(59, 130, 246, 0.3);
}
.ws-metric:nth-child(1) { animation: metricAppear 4s ease 0.8s infinite; }
.ws-metric:nth-child(2) { animation: metricAppear 4s ease 1.2s infinite; }
.ws-metric:nth-child(3) { animation: metricAppear 4s ease 1.6s infinite; }

@keyframes metricAppear {
  0%, 10%   { opacity: 0; transform: translateX(-10px); }
  20%, 65%  { opacity: 1; transform: translateX(0); }
  75%, 100% { opacity: 0; transform: translateX(5px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   OUR WORK — EXPLAINED BADGES
   ══════════════════════════════════════════════════════════════════════════ */
.work-stats-section { padding: 0 0 40px; }
.work-big-stats {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.work-big-stat { text-align: center; }
.wbs-num {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--peach-deep), #C47B38);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.wbs-lbl {
  font-size: 14px;
  color: var(--ink2);
  font-weight: 600;
  margin-top: 6px;
}
.work-stat-divider {
  width: 1px; height: 60px;
  background: var(--border);
}

.work-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.work-badge-card {
  padding: 20px 18px;
  border-radius: 18px;
  border: 1.5px solid rgba(166, 103, 46, 0.25);
  background: rgba(250, 218, 192, 0.04);
  text-align: center;
  transition: transform 0.3s var(--sp), box-shadow 0.3s ease;
}
.work-badge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(166, 103, 46, 0.12);
}
.work-badge-title {
  font-family: 'Syncopate', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #A6672E;
  margin-bottom: 6px;
}
[data-theme="light"] .work-badge-title { color: #7A4A1A; }
.work-badge-desc {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.5;
  font-weight: 500;
}
[data-theme="light"] .work-badge-card {
  border-color: rgba(166, 103, 46, 0.2);
  background: rgba(250, 218, 192, 0.04);
}

/* ══════════════════════════════════════════════════════════════════════════
   WHY US — COMMISSION HIGHLIGHT
   ══════════════════════════════════════════════════════════════════════════ */
.why-commission-card {
  background: linear-gradient(135deg, rgba(250,218,192,0.10), rgba(249,202,168,0.10));
  border: 1.5px solid rgba(166, 103, 46, 0.25);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.why-commission-icon { font-size: 36px; flex-shrink: 0; }
.why-commission-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.why-commission-sub {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════════════
   COLLABORATION SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.collab-section { padding: 72px 0; }
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.collab-card {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s var(--sp), box-shadow 0.3s ease;
}
.collab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(166, 103, 46, 0.1);
}
.collab-icon { font-size: 38px; margin-bottom: 14px; }
.collab-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.collab-desc { font-size: 13.5px; color: var(--ink2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════════
   CONTACT US & FLEET QUOTE SECTION — LUXURY OVERHAUL
   (RESETTING CONFLICTING STYLE.CSS RULES)
   ══════════════════════════════════════════════════════════════════════════ */

/* Reset conflicting rules from style.css */
[data-theme="light"] .contact-box,
[data-theme="light"] .contact-card,
[data-theme="light"] .contact-form {
  box-shadow: none !important;
}

.contact-box {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: 48px !important;
  background: var(--glass) !important;
  backdrop-filter: blur(24px) !important;
  border: 1px solid var(--border) !important;
  border-radius: 32px !important;
  padding: 48px !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
}

[data-theme="light"] .contact-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08) !important;
}

/* Contact Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info .section-title {
  font-size: clamp(28px, 3.5vw, 42px) !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}
.contact-info .section-sub {
  font-size: 15px !important;
  color: var(--ink2) !important;
  line-height: 1.7 !important;
  margin-bottom: 32px !important;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(250,218,192, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--sp), border-color 0.25s ease;
}
.contact-detail-item:hover {
  transform: translateX(6px);
  border-color: rgba(166, 103, 46, 0.4);
}
.cdi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(250,218,192, 0.20), rgba(249,202,168, 0.20));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cdi-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
}
.cdi-val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

/* Contact Form Side */
.contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.form-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group-wrap label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink2);
}

.form-group-wrap input,
.form-group-wrap textarea,
.form-group-wrap select {
  width: 100% !important;
  padding: 14px 18px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 14px !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  outline: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

[data-theme="light"] .form-group-wrap input,
[data-theme="light"] .form-group-wrap textarea,
[data-theme="light"] .form-group-wrap select {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.form-group-wrap input:focus,
.form-group-wrap textarea:focus,
.form-group-wrap select:focus {
  border-color: var(--peach-deep) !important;
  box-shadow: 0 0 0 3px rgba(166, 103, 46, 0.15) !important;
}

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

/* Phone input group with selector */
.phone-select-flex {
  display: flex;
  gap: 10px;
}
.phone-select-flex select {
  width: 140px;
  flex-shrink: 0;
  cursor: pointer;
}

/* Error States */
.form-group-wrap.has-error input,
.form-group-wrap.has-error textarea,
.form-group-wrap.has-error select {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}
.error-msg-tag {
  font-size: 11.5px;
  color: #ef4444;
  font-weight: 700;
  margin-top: 2px;
  animation: shakeAlert 0.3s ease;
}
@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  30%      { transform: translateX(-4px); }
  70%      { transform: translateX(4px); }
}

/* ── ANIMATED DISPATCH CAR TRACK ON SUBMIT ── */
.submit-car-track {
  position: relative;
  width: 100%;
  height: 54px;
  margin-top: 12px;
  overflow: hidden;
  display: none;
  border-radius: 12px;
  background: rgba(250, 218, 192, 0.04);
}
.submit-car-track.active { display: block; }

.submit-car-body {
  position: absolute;
  bottom: 10px;
  left: -90px;
  animation: carDriveAcross 2.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes carDriveAcross {
  0%   { left: -90px; }
  45%  { left: 40%; }
  60%  { left: 55%; }
  100% { left: 110%; }
}

.mini-car {
  width: 64px;
  height: 26px;
  background: linear-gradient(135deg, #FADAC0, #A6672E);
  border-radius: 10px 18px 4px 4px;
  position: relative;
  box-shadow: 0 4px 12px rgba(166, 103, 46, 0.4);
}
.mini-car::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 14px;
  width: 30px;
  height: 12px;
  background: linear-gradient(135deg, #F9CAA8, #FADAC0);
  border-radius: 6px 6px 0 0;
}
.mini-car-wheel {
  position: absolute;
  bottom: -5px;
  width: 11px;
  height: 11px;
  background: #0f172a;
  border: 2px solid #64748b;
  border-radius: 50%;
  animation: wheelSpinFast 0.25s linear infinite;
}
.mini-car-wheel.front { right: 6px; }
.mini-car-wheel.back { left: 6px; }
@keyframes wheelSpinFast {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.mini-envelope {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  animation: envBounce 0.4s ease-in-out infinite;
}
@keyframes envBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}

.car-road-line {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 20px);
}

.submit-success-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.4);
  opacity: 0;
  animation: toastPopIn 0.5s ease 2.2s forwards;
  z-index: 5;
}
@keyframes toastPopIn {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  50%  { transform: translate(-50%, -50%) scale(1.06); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── ABOUT SECTION EMBEDDED COLLAB ── */
.about-collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.about-collab-card {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  transition: transform 0.3s var(--sp), box-shadow 0.3s var(--sp);
}
.about-collab-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(166,103,46,0.1); }
.about-collab-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: var(--peach-soft);
  color: var(--peach-deep);
}
.about-collab-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.about-collab-desc {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.6;
}

/* Stagger shimmer per card */
.partner-card:nth-child(1)  .partner-name-shimmer { animation-delay: 0.0s; }
.partner-card:nth-child(2)  .partner-name-shimmer { animation-delay: 0.2s; }
.partner-card:nth-child(3)  .partner-name-shimmer { animation-delay: 0.4s; }
.partner-card:nth-child(4)  .partner-name-shimmer { animation-delay: 0.6s; }
.partner-card:nth-child(5)  .partner-name-shimmer { animation-delay: 0.8s; }
.partner-card:nth-child(6)  .partner-name-shimmer { animation-delay: 1.0s; }
.partner-card:nth-child(7)  .partner-name-shimmer { animation-delay: 1.2s; }
.partner-card:nth-child(8)  .partner-name-shimmer { animation-delay: 1.4s; }
.partner-card:nth-child(9)  .partner-name-shimmer { animation-delay: 1.6s; }
.partner-card:nth-child(10) .partner-name-shimmer { animation-delay: 1.8s; }
.partner-card:nth-child(11) .partner-name-shimmer { animation-delay: 2.0s; }
.partner-card:nth-child(12) .partner-name-shimmer { animation-delay: 2.2s; }
.partner-card:nth-child(13) .partner-name-shimmer { animation-delay: 2.4s; }

/* ── RESPONSIVE ── */
@media(max-width:992px) {
  .contact-box { grid-template-columns: 1fr !important; padding: 32px !important; gap: 32px !important; }
  .work-badges { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:780px) {
  .collab-grid { grid-template-columns: 1fr; }
  .fastag-explainer { grid-template-columns: 1fr; gap: 32px; }
  .windshield-scene { width: 300px; height: 240px; }
  .about-collab-grid { grid-template-columns: 1fr; }
  .badge-badge-1, .badge-badge-2 { display: none; }
}
@media(max-width:600px) {
  .hero-fastag-showcase { height: 320px; }
  .fastag-3d-card { width: 280px; height: 175px; padding: 18px 22px; }
  .card-agency-title { font-size: 18px; }
  .card-rfid-num { font-size: 9px; letter-spacing: 2px; }
  .rfid-chip-gold { width: 40px; height: 30px; }
  .windshield-scene { width: 270px; height: 220px; }
  .work-badges { grid-template-columns: 1fr; }
  .phone-select-flex { flex-direction: column; gap: 6px; }
  .phone-select-flex select { width: 100%; }
  .contact-box { padding: 24px 18px !important; }
}

/* ── HERO REAL FASTTAG IMAGE ── */
.hero-real-fasttag-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hero-real-fasttag-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 30px 70px -15px rgba(166, 103, 46, 0.45),
    0 0 0 1.5px rgba(255,255,255,0.18),
    inset 0 1.5px 0 rgba(255,255,255,0.3);
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
  animation: fasttag-float 4s ease-in-out infinite;
}
.hero-real-fasttag-img:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 40px 80px -15px rgba(166, 103, 46, 0.5), 0 0 0 2px rgba(255,255,255,0.3);
}
@keyframes fasttag-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@media(max-width: 768px) {
  .hero-real-fasttag-img { max-width: 300px; }
}
@media(max-width: 600px) {
  .hero-real-fasttag-img { max-width: 240px; }
}

