/* ═══════════════════ DRIVER PAGE (RTL/Arabic) ═══════════════════ */
.driver-page {
  font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
  direction: rtl;
}

/* Override navbar for RTL */
.driver-page .nav-content { direction: ltr; }
.driver-page .nav-links { direction: rtl; }

/* Hero */
.driver-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(145deg, #0a1628 0%, #0f2418 40%, #0d3320 70%, #0a1628 100%);
  overflow: hidden;
}

.driver-hero-bg {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.driver-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.driver-hero-text { padding-top: 20px; }

.hero-badge-driver {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(22, 163, 74, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(22, 163, 74, 0.25);
  margin-bottom: 20px;
}

.driver-hero-text h1 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.gradient-text-light {
  background: linear-gradient(135deg, #4ADE80 0%, #16A34A 50%, #86EFAC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-driver {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

/* Features */
.driver-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.driver-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(22, 163, 74, 0.15);
  color: #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
}

.driver-feature strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.driver-feature p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.5;
}

/* Requirements */
.driver-requirements {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.driver-requirements h3 {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.driver-requirements ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.driver-requirements li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.08);
}

.driver-requirements li::before {
  content: "✓";
  color: #4ADE80;
  font-weight: 700;
}

/* Form card */
.driver-hero-form { direction: rtl; }

.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  padding: 36px;
}

.form-card-header { margin-bottom: 24px; }
.form-card-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card-header p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.form-card form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.req { color: #EF4444; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

.btn-full { width: 100%; justify-content: center; margin-top: 4px; }

.form-message {
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.form-message-success { background: var(--primary-light); color: var(--primary-dark); }
.form-message-error { background: #FEF2F2; color: #DC2626; }

.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Footer */
.driver-page .footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.driver-page .footer-bottom a:hover { color: #fff; }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 960px) {
  .driver-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .driver-hero-text { text-align: center; padding-top: 0; }
  .driver-hero-text h1 { font-size: 32px; }
  .hero-subtitle-driver { margin: 0 auto 32px; }
  .driver-features { align-items: center; }
  .driver-feature { text-align: right; }
  .driver-requirements { text-align: center; }
  .driver-requirements ul { justify-content: center; }
  .form-card { padding: 28px 22px; }
}

@media (max-width: 640px) {
  .driver-hero { padding: 100px 0 60px; }
  .driver-hero-text h1 { font-size: 26px; }
}
