/* ==========================================================================
   دليل شركات النقل فى مصر — Egyptian Transportation Marketplace
   Main Stylesheet (Vanilla CSS3 — RTL First)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #2DB87D;
  --primary-hover: #249c69;
  --primary-light: #EBF8F2;
  --primary-tint: #D6F2E5;
  --primary-dark: #1e7a53;

  /* Accent / Price Color */
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --accent-hover: #D97706;

  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Neutrals & Backgrounds */
  --bg-body: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-muted: #F8FAFC;
  --bg-banner: #F2F5F8;
  --bg-footer: #FFFFFF;
  --bg-dark: #0F172A;

  /* Text Colors */
  --text-main: #1E293B;
  --text-heading: #0F172A;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 28px -4px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.15);

  /* Dimensions & Radius */
  --container-max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 64px 0;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.6;
}

.section-title-start {
  text-align: right;
}

.section-subtitle-start {
  text-align: right;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
  transition: var(--transition);
}

.btn-see-all:hover {
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   3. Header / Navbar
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-light);
  height: 68px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: nowrap;
  gap: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 1;
  min-width: 0;
}

/* Brand Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  user-select: none;
}

.logo-icon {
  width: 28px;
  height: 28px;
  fill: var(--primary);
  flex-shrink: 0;
}

.logo-text {
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Left Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-header-secondary {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  background-color: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
}

.btn-header-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-header-primary {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(45, 184, 125, 0.25);
}

.btn-header-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 184, 125, 0.35);
  color: var(--text-white);
}

.btn-header-primary .btn-icon {
  flex-shrink: 0;
}

.btn-header-login {
  position: relative;
}

.btn-header-login .auth-icon,
.btn-header-user .auth-icon {
  flex-shrink: 0;
}

.header-logout-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.header-logout-form .btn-header-logout {
  padding: 8px 10px;
  background: none;
  border: 1px solid transparent;
  color: #ef4444;
}

.header-logout-form .btn-header-logout:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Hamburger Toggle Button */
.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.hamburger-btn:hover {
  background-color: var(--bg-muted);
  border-color: var(--border-light);
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.hamburger-btn .icon-close {
  display: none;
}

.hamburger-btn.active .icon-menu {
  display: none;
}

.hamburger-btn.active .icon-close {
  display: block;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  animation: slideDownNav 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   Header Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Laptops & Tight Desktop Viewports (max-width: 1120px) */
@media (max-width: 1120px) {
  .header-right {
    gap: 16px;
  }
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 13px;
  }
  .btn-header-primary {
    padding: 7px 14px;
    font-size: 12.5px;
  }
  .btn-header-secondary {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  .logo {
    font-size: 19px;
  }
}

/* Tablets (max-width: 991px): Seamless switch to Hamburger */
@media (max-width: 991px) {
  .header-right .nav-menu {
    display: none !important;
  }

  .hamburger-btn {
    display: inline-flex;
  }

  .header-right {
    gap: 14px;
  }
}

/* Small Tablets & Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    height: 62px;
  }

  .header-container {
    gap: 12px;
  }

  .logo {
    font-size: 18px;
    gap: 7px;
  }

  .logo-icon {
    width: 25px;
    height: 25px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-header-primary {
    padding: 7px 13px;
    font-size: 12px;
  }

  .btn-header-secondary {
    padding: 7px 11px;
    font-size: 12px;
  }

  .hamburger-btn {
    padding: 7px;
  }

  .hamburger-icon {
    width: 22px;
    height: 22px;
  }

  .mobile-nav-overlay {
    max-height: calc(100vh - 62px);
  }
}

/* Standard Mobile (max-width: 640px): Prevent header wrapping entirely */
@media (max-width: 640px) {
  .header {
    height: 58px;
  }

  .header-container {
    gap: 8px;
  }

  .logo {
    font-size: 16px;
    gap: 6px;
  }

  .logo-icon {
    width: 22px;
    height: 22px;
  }

  .header-actions {
    gap: 6px;
  }

  .btn-header-primary {
    padding: 6px 10px;
    font-size: 12px;
    gap: 4px;
  }

  .btn-header-primary .btn-icon {
    width: 14px;
    height: 14px;
  }

  /* Compact Auth button: icon only so title + actions never wrap */
  .btn-header-login {
    padding: 6px 9px;
    min-width: 34px;
    border-radius: var(--radius-sm);
  }

  .btn-header-login .auth-text {
    display: none;
  }

  .btn-header-login .auth-icon {
    width: 15px;
    height: 15px;
  }

  .btn-header-user {
    padding: 6px 9px;
    min-width: 34px;
  }

  .btn-header-user .user-name-text {
    display: none;
  }

  .header-logout-form {
    display: none !important;
  }

  .hamburger-btn {
    padding: 6px;
  }

  .mobile-nav-overlay {
    max-height: calc(100vh - 58px);
  }
}

/* Small Mobile Screens (max-width: 420px): Streamlined layout */
@media (max-width: 420px) {
  .logo {
    font-size: 15px;
    gap: 5px;
  }

  .logo-icon {
    width: 20px;
    height: 20px;
  }

  .btn-header-primary {
    padding: 5px 9px;
    font-size: 11.5px;
  }

  .btn-header-primary .btn-icon {
    width: 13px;
    height: 13px;
  }

  /* Hide header login on very narrow screens — login is right at top of mobile nav */
  .btn-header-login {
    display: none;
  }

  .btn-header-user {
    padding: 5px 7px;
  }
}

/* Extra Small Phones (max-width: 360px) */
@media (max-width: 360px) {
  .logo {
    font-size: 14px;
  }

  .btn-header-primary {
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   4. Hero Section — Transportation Focus
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45, 184, 125, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(45, 184, 125, 0.3);
  border-radius: 50%;
  animation: floatParticle 6s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 184, 125, 0.15);
  border: 1px solid rgba(45, 184, 125, 0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title-accent {
  color: var(--primary);
  position: relative;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--text-white);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 14px rgba(45, 184, 125, 0.4);
}

.btn-hero-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 184, 125, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-white);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
  padding: 16px 36px;
  font-size: 17px;
}

/* Hero Stats */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   5. Services / Transport Types
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-body);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-tint);
}

.service-image-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background-color: #E2E8F0;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-info {
  padding: 12px 14px 14px;
  text-align: right;
}

.service-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-details {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #F59E0B;
  font-weight: 600;
}

.service-rating-star {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Transport-specific card styles */
.transport-icon-box {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
}

.transport-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-card:hover .transport-icon-wrapper {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   6. Features / Benefits Section
   -------------------------------------------------------------------------- */
.features-section {
  background-color: var(--bg-muted);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}

.feature-item:hover .feature-icon-circle {
  background-color: var(--primary-tint);
  transform: scale(1.06);
}

.feature-icon {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  fill: none;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 250px;
}

/* --------------------------------------------------------------------------
   7. "How It Works" Section
   -------------------------------------------------------------------------- */
.how-it-works-section {
  background-color: var(--bg-body);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-illustration-box {
  width: 100%;
  max-width: 280px;
  height: 160px;
  background-color: var(--bg-muted);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.step-card:hover .step-illustration-box {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-illustration-highlight {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-tint) 100%);
  border-color: var(--primary-tint);
}

.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-badge-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  width: 36px;
  height: 36px;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

/* --------------------------------------------------------------------------
   8. Quick Request Teaser Section
   -------------------------------------------------------------------------- */
.quick-request-section {
  padding: 48px 0;
}

.quick-request-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 40px;
  color: var(--text-white);
  overflow: hidden;
  position: relative;
}

.quick-request-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(45, 184, 125, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.quick-request-title {
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.quick-request-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}

.quick-request-example {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.example-bubble {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
}

.example-label {
  color: var(--primary);
  font-weight: 700;
  margin-left: 6px;
}

.example-text {
  color: rgba(255, 255, 255, 0.9);
}

.example-offers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-offer {
  background: rgba(45, 184, 125, 0.1);
  border: 1px solid rgba(45, 184, 125, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 120px;
}

.mini-offer-company {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.mini-offer-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.quick-request-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   9. Company Cards
   -------------------------------------------------------------------------- */
.featured-companies-section {
  background-color: var(--bg-muted);
  border-top: 1px solid var(--border-light);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-tint);
}

.company-card-header {
  padding: 18px 18px 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.company-logo-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-logo-letter {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.company-header-info {
  flex: 1;
  min-width: 0;
}

.company-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.company-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.company-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars-row {
  display: flex;
  gap: 1px;
}

.star-icon {
  width: 14px;
  height: 14px;
  fill: var(--border-light);
}

.star-icon.filled {
  fill: #F59E0B;
}

.rating-text {
  font-size: 12px;
  color: var(--text-muted);
}

.company-card-body {
  padding: 0 18px 14px;
  flex: 1;
}

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.company-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.company-meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.company-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.company-card-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-orders {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-company-view {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  transition: var(--transition);
}

.btn-company-view:hover {
  background: var(--primary);
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   10. Provider CTA Banner
   -------------------------------------------------------------------------- */
.provider-cta-section {
  padding: 40px 0;
}

.provider-cta-card {
  background-color: var(--bg-banner);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  border: 1px solid var(--border-light);
  min-height: 320px;
}

.provider-cta-content {
  padding: 44px 48px;
  text-align: right;
}

.provider-cta-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 14px;
}

.provider-cta-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 440px;
}

.btn-provider-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--text-white);
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
}

.btn-provider-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.provider-cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.provider-cta-image-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.provider-cta-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-tint) 100%);
}

.provider-cta-image {
  max-height: 340px;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. Popular Routes
   -------------------------------------------------------------------------- */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
}

.route-card:hover {
  border-color: var(--primary-tint);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.route-cities {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

.route-city {
  white-space: nowrap;
}

.route-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-section {
  background: var(--bg-body);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  display: block;
}

.testimonial-location {
  font-size: 12px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Final CTA
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 48px 0;
}

.final-cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  color: var(--text-white);
}

.final-cta-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
}

.final-cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.6;
}

.final-cta-card .btn-hero-primary {
  background: var(--text-white);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.final-cta-card .btn-hero-primary:hover {
  background: var(--bg-muted);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   14. Directory Links Sections
   -------------------------------------------------------------------------- */
.directory-section {
  background-color: var(--bg-body);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.directory-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.directory-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.directory-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.directory-link:hover {
  color: var(--primary);
  padding-right: 4px;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-light);
  padding-top: 54px;
  padding-bottom: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-nav-link:hover {
  color: var(--primary);
}

.footer-pro-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-footer-pro {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
}

.btn-footer-pro:hover {
  background-color: var(--primary-hover);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-link {
  color: var(--text-muted);
  font-size: 12px;
}

.footer-bottom-link:hover {
  color: var(--primary);
}

.footer-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-main);
  font-weight: 600;
}

.flag-icon {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   16. Request Page — Multi-Step Form
   -------------------------------------------------------------------------- */
.page-content {
  min-height: calc(100vh - 68px);
  padding: 32px 0;
}

/* Progress Bar */
.request-progress {
  max-width: 680px;
  margin: 0 auto 32px;
  padding: 0 20px;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 24px;
  left: 24px;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.progress-dot {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-subtle);
  transition: var(--transition);
}

.progress-step.active .progress-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
}

.progress-step.completed .progress-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
}

.progress-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-subtle);
  white-space: nowrap;
}

.progress-step.active .progress-label {
  color: var(--primary);
}

.progress-step.completed .progress-label {
  color: var(--text-muted);
}

/* Form Card */
.request-form-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-step-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Transport Type Selection Grid */
.type-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.type-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
}

.type-option:hover {
  border-color: var(--primary-tint);
  background: var(--primary-light);
}

.type-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.type-option-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.type-option.selected .type-option-icon {
  background: var(--primary-tint);
}

.type-option-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
}

.type-option-sub {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

/* Form Fields */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  direction: rtl;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 184, 125, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-subtle);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 36px;
}

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

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

/* Price Input Special Styling */
.price-input-wrapper {
  position: relative;
}

.price-input {
  width: 100%;
  padding: 20px 24px;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 2px solid var(--primary-tint);
  border-radius: var(--radius-lg);
  text-align: center;
  direction: ltr;
  transition: var(--transition);
}

.price-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 184, 125, 0.15);
}

.price-input::placeholder {
  color: var(--text-subtle);
  font-size: 20px;
  font-weight: 600;
}

.price-currency {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

.price-suggestions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.price-suggestion-btn {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.price-suggestion-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Vehicle Type Grid */
.vehicle-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.vehicle-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
}

.vehicle-option:hover {
  border-color: var(--primary-tint);
}

.vehicle-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.vehicle-option-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

/* Checkbox-style items */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  color: var(--text-main);
}

.checkbox-item:hover {
  border-color: var(--primary-tint);
  background: var(--primary-light);
}

.checkbox-item.checked {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.checkbox-icon {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.checkbox-item.checked .checkbox-icon {
  background: var(--primary);
  border-color: var(--primary);
}

/* Form Navigation Buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.btn-form-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--text-white);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-form-next:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-muted);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.btn-form-back:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

.btn-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 14px rgba(45, 184, 125, 0.4);
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 184, 125, 0.5);
}

/* --------------------------------------------------------------------------
   17. Request Status Page
   -------------------------------------------------------------------------- */
.request-status-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.request-status-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--text-white);
  padding: 28px 32px;
}

.request-status-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.request-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.request-status-badge.status-active {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
}

.request-status-badge.status-accepted {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.request-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
}

.request-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.request-detail-label {
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 500;
}

.request-detail-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
}

.request-detail-value.price-value {
  color: var(--primary);
  font-size: 18px;
}

/* Offers List */
.offers-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  padding: 20px 32px 0;
  margin-bottom: 16px;
}

.offers-list {
  padding: 0 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offer-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  transition: var(--transition);
}

.offer-card:hover {
  border-color: var(--primary-tint);
  box-shadow: var(--shadow-sm);
}

.offer-card.best-offer {
  border-color: var(--primary);
  background: var(--primary-light);
}

.offer-company-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.offer-company-info {
  min-width: 0;
}

.offer-company-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.offer-company-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.offer-stars {
  display: flex;
  gap: 1px;
}

.offer-stars .star-icon {
  width: 12px;
  height: 12px;
}

.offer-price-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.offer-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.offer-price-unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.btn-accept-offer {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-accept-offer:hover {
  background: var(--primary-hover);
}

.btn-view-company {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  white-space: nowrap;
}

.btn-view-company:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.best-offer-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-white);
  background: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

/* Empty/Status States */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  opacity: 0.4;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   18. Companies Directory Page
   -------------------------------------------------------------------------- */
.directory-page-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  padding: 40px 0;
  color: var(--text-white);
  text-align: center;
}

.directory-page-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.directory-page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.directory-filters {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  position: sticky;
  top: 68px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.filters-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 8px 14px;
  padding-left: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  cursor: pointer;
  min-width: 140px;
}

.filter-select:focus {
  border-color: var(--primary);
}

.filter-search {
  flex: 1;
  min-width: 200px;
  padding: 8px 14px;
  font-size: 13px;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

.filter-search:focus {
  border-color: var(--primary);
}

.directory-results {
  padding: 32px 0;
}

.results-count {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.directory-companies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* --------------------------------------------------------------------------
   19. Company Profile Page
   -------------------------------------------------------------------------- */
.company-profile-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  padding: 40px 0 32px;
  color: var(--text-white);
}

.profile-header-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.profile-logo-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-logo-letter {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}

.profile-header-info {
  flex: 1;
}

.profile-company-name {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(45, 184, 125, 0.2);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.profile-rating-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.profile-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.profile-stat-number {
  font-weight: 700;
  color: var(--text-white);
}

.profile-cta-row {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.btn-profile-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--text-white);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-profile-primary:hover {
  background: var(--primary-hover);
}

.btn-profile-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-white);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.btn-profile-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Profile Body */
.profile-body {
  padding: 32px 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.profile-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.profile-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.profile-description {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.8;
}

.profile-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-service-tag {
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.profile-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-area-tag {
  padding: 6px 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
}

.profile-vehicles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-vehicle-tag {
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent-hover);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

/* Sidebar */
.profile-sidebar .profile-section {
  position: sticky;
  top: 100px;
}

.sidebar-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.sidebar-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.sidebar-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
}

.sidebar-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 8px;
  border: none;
}

.sidebar-contact-btn.whatsapp {
  background: #25D366;
  color: var(--text-white);
}

.sidebar-contact-btn.whatsapp:hover {
  background: #1EB954;
}

.sidebar-contact-btn.phone {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.sidebar-contact-btn.phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Profile Reviews */
.review-card {
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.review-card:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 14px;
}

.review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
}

.review-date {
  font-size: 12px;
  color: var(--text-subtle);
}

.review-text {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   20. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-request-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .quick-request-action {
    align-items: stretch;
  }

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

  .directory-companies-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .section {
    padding: 44px 0;
  }

  .hero {
    min-height: 480px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero-stats-bar {
    gap: 20px;
  }

  .hero-stat-number {
    font-size: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

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

  .provider-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .provider-cta-content {
    padding: 30px 20px;
    text-align: center;
  }

  .provider-cta-desc {
    margin: 0 auto 20px auto;
  }

  .provider-cta-benefits {
    justify-content: center;
  }

  .provider-cta-image-wrapper {
    max-height: 200px;
  }

  .quick-request-card {
    padding: 28px 20px;
  }

  .quick-request-title {
    font-size: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .quick-request-desc {
    text-align: center;
  }

  .example-offers {
    flex-direction: column;
  }

  .final-cta-card {
    padding: 40px 24px;
  }

  .final-cta-title {
    font-size: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Request Form */
  .request-form-card {
    padding: 24px 16px;
    margin: 0 10px;
    border-radius: var(--radius-md);
  }

  .type-selection-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-selection-grid {
    grid-template-columns: 1fr;
  }

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

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .progress-label {
    display: none;
  }

  /* Request Status */
  .request-details-grid {
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }

  .offers-list {
    padding: 0 16px 16px;
  }

  .offer-card {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .offer-company-logo {
    margin: 0 auto;
  }

  .offer-company-info {
    text-align: center;
  }

  .offer-company-meta {
    justify-content: center;
  }

  .offer-price-section {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* Company Profile */
  .profile-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-company-name {
    font-size: 22px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-rating-row {
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-cta-row {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Directory Page */
  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-select,
  .filter-search {
    width: 100%;
  }

  .directory-companies-grid {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-info {
    padding: 8px 10px 10px;
  }

  .service-name {
    font-size: 13px;
  }

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

  .hero-stats-bar {
    gap: 16px;
  }

  .hero-stat-number {
    font-size: 18px;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .price-input {
    font-size: 22px;
    padding: 16px 20px;
  }
}

/* ==========================================================================
   21. Scroll Reveal Animations
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Section titles: fade in from slightly higher */
.section-title.reveal-on-scroll,
.section-subtitle.reveal-on-scroll {
  transform: translateY(16px);
}

.section-title.reveal-on-scroll.revealed,
.section-subtitle.reveal-on-scroll.revealed {
  transform: translateY(0);
}

/* ==========================================================================
   22. WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-float.pulse {
  animation: whatsappPulse 1s ease-out;
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.15); }
  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 24px rgba(37, 211, 102, 0); }
}

/* Tooltip label */
.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1B1B2F;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.whatsapp-float .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: #1B1B2F;
}

/* ==========================================================================
   23. Back to Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.back-to-top:hover svg {
  stroke: #fff;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-main);
  stroke-width: 2;
  fill: none;
  transition: var(--transition);
}

/* ==========================================================================
   24. Enhanced Micro-interactions
   ========================================================================== */

/* Card tilt on hover — subtle depth */
.company-card,
.testimonial-card {
  will-change: transform;
}

/* Improved hero particle float — varies direction */
@keyframes floatParticle {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translateY(-15px) translateX(8px) scale(1.2);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-30px) translateX(-5px) scale(1.5);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-15px) translateX(12px) scale(1.3);
    opacity: 0.35;
  }
}

/* Gentle shimmer on step-illustration-highlight */
.step-illustration-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(45, 184, 125, 0.08) 50%,
    transparent 70%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Subtle gradient border on focused search / form elements */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-image: linear-gradient(135deg, var(--primary), var(--primary-tint)) 1;
}

/* Premium button press effect */
.btn-hero-primary:active,
.btn-header-primary:active,
.btn-provider-cta:active,
.btn-form-submit:active {
  transform: translateY(0) scale(0.98);
}

/* Smooth loading of body */
body {
  animation: bodyFadeIn 0.4s ease-out;
}

@keyframes bodyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   25. Responsive adjustments for new elements
   ========================================================================== */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-float .whatsapp-tooltip {
    display: none;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
