/* ==========================================================================
   FAWRI DELIVERY — Qatar Logistics, Motorcycle Rentals & Rider Solutions
   Clean, Modern, Corporate CSS Design System
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-dark: #0B192C;        /* Deep Executive Navy */
  --primary-navy: #1E3E62;        /* Corporate Slate Navy */
  --primary-light: #2E5A88;       /* Accent Navy */
  --accent-orange: #FF6500;       /* High-Visibility Logistics Orange */
  --accent-orange-hover: #E05300; /* Darker Orange on Hover */
  --accent-red: #DC2626;          /* Red Accent */
  
  /* Neutral Palette */
  --bg-page: #F8FAFC;            /* Clean light background */
  --bg-surface: #FFFFFF;         /* Pure white cards */
  --bg-subtle: #F1F5F9;          /* Subtle gray containers */
  --border-color: #E2E8F0;       /* Crisp borders */
  --border-focus: #CBD5E1;
  
  /* Typography */
  --text-main: #0F172A;          /* Slate 900 for headings */
  --text-body: #334155;          /* Slate 700 for paragraphs */
  --text-muted: #64748B;         /* Slate 500 for secondary text */
  --text-white: #FFFFFF;
  
  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 25, 44, 0.05);
  --shadow-sm: 0 2px 6px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 6px 20px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 14px 34px rgba(11, 25, 44, 0.12);
  --shadow-orange: 0 6px 18px rgba(255, 101, 0, 0.28);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

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

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

button, input, select, textarea {
  font: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Utility Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-orange {
  background-color: rgba(255, 101, 0, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 101, 0, 0.25);
}

.badge-navy {
  background-color: var(--primary-dark);
  color: var(--text-white);
}

.badge-outline {
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-muted);
}

/* Top Announcement / Quick Contact Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item a:hover {
  color: var(--accent-orange);
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent-orange);
  fill: none;
  stroke-width: 2;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--transition-fast);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--accent-orange);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary-dark);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--text-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 101, 0, 0.35);
}

.btn-navy {
  background-color: var(--primary-dark);
  color: var(--text-white);
}

.btn-navy:hover {
  background-color: var(--primary-navy);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border-color);
  background-color: var(--bg-surface);
  color: var(--primary-dark);
}

.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background-color: rgba(255, 101, 0, 0.04);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: transparent;
  color: var(--text-white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0B192C 0%, #152A47 60%, #1E3E62 100%);
  color: var(--text-white);
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-page), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.hero-content h1 span.highlight {
  color: var(--accent-orange);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #E2E8F0;
  font-weight: 600;
}

.hero-feature-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-orange);
  stroke-width: 2.5;
  fill: none;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Page Header Banner (for subpages) */
.page-header {
  background: linear-gradient(135deg, #0B192C 0%, #152A47 100%);
  color: var(--text-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.page-header p {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Common Styles */
.section {
  padding: 5rem 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}

.section-dark .section-header h2 {
  color: var(--text-white);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-dark .section-header p {
  color: #CBD5E1;
}

/* Cards Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

/* Service Cards */
.service-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--border-color);
  transition: background-color var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 101, 0, 0.3);
}

.service-card:hover::before {
  background-color: var(--accent-orange);
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-card .btn {
  align-self: flex-start;
  width: 100%;
}

/* Motorcycle / Fleet Cards */
.bike-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.bike-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 101, 0, 0.35);
}

.bike-visual {
  background-color: #F1F5F9;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.bike-visual img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.bike-card:hover .bike-visual img {
  transform: scale(1.03);
}

.bike-details {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bike-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.bike-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.bike-specs-list {
  list-style: none;
  margin-bottom: 1.75rem;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.bike-specs-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bike-specs-list li:last-child {
  border-bottom: none;
}

.bike-specs-list .spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.bike-specs-list .spec-value {
  color: var(--text-main);
  font-weight: 700;
}

.bike-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.bike-actions .action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Why Choose Us Cards */
.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-orange);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 101, 0, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-orange);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Call To Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #0B192C 0%, #152A47 70%, #FF6500 150%);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Detailed Services Breakdown */
.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-detail-item:last-child {
  border-bottom: none;
}

.service-detail-item.reverse {
  direction: rtl;
}

.service-detail-item.reverse .service-detail-text,
.service-detail-item.reverse .service-detail-visual {
  direction: ltr;
}

.service-detail-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.service-detail-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-checklist {
  list-style: none;
  margin-bottom: 2rem;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0.65rem;
}

.service-checklist li svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-orange);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.service-detail-visual {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rider Recruitment Sections */
.recruitment-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.recruitment-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-navy);
}

.recruitment-card.business {
  border-top: 6px solid var(--primary-dark);
}

.recruitment-card.riders {
  border-top: 6px solid var(--accent-orange);
}

.recruitment-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.recruitment-card p.intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.recruitment-steps {
  list-style: none;
  margin-bottom: 2rem;
  counter-reset: step-counter;
}

.recruitment-steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.recruitment-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background-color: var(--primary-dark);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.recruitment-card.riders .recruitment-steps li::before {
  background-color: var(--accent-orange);
}

.disclaimer-box {
  background-color: var(--bg-subtle);
  border-left: 4px solid var(--text-muted);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 101, 0, 0.1);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.info-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.info-text p, .info-text a {
  font-size: 0.95rem;
  color: var(--text-body);
}

.info-text a:hover {
  color: var(--accent-orange);
}

.contact-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-quick-actions .btn {
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
}

/* Contact Form */
.contact-form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.contact-form-card p.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 101, 0, 0.15);
}

.form-control.is-invalid {
  border-color: var(--accent-red);
  background-color: #FEF2F2;
}

.invalid-feedback {
  display: none;
  font-size: 0.8rem;
  color: var(--accent-red);
  margin-top: 0.35rem;
  font-weight: 600;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

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

.form-status-alert {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-status-alert.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status-alert.error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Map Embed */
.map-embed-wrapper {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.map-embed-header {
  padding: 1.25rem 1.75rem;
  background-color: var(--primary-dark);
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-embed-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: #94A3B8;
  font-size: 0.92rem;
  padding: 4.5rem 0 2rem 0;
  border-top: 3px solid var(--accent-orange);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: var(--text-white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.footer-brand p {
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--accent-orange);
  color: var(--text-white);
  transform: translateY(-2px);
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-col h5 {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: #CBD5E1;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-orange);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748B;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  background-color: #20BD5A;
  color: #FFFFFF;
}

/* Fade-in Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Quick Action Bar (Bottom on small screens) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  padding: 0.6rem 1rem;
  z-index: 990;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-sticky-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-wrapper {
    height: 64px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover, .nav-link.active {
    background-color: var(--bg-subtle);
  }

  .nav-link.active::after {
    display: none;
  }

  .hero {
    padding: 3.5rem 0 4.5rem 0;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.85rem;
    bottom: 74px; /* avoid sticky mobile CTA */
  }

  .mobile-sticky-cta {
    display: block;
  }
}

/* ==========================================================================
   CAREERS & JOB APPLICATION SYSTEM COMPONENT STYLES
   ========================================================================== */

/* Vacancy Cards */
.career-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--border-color);
  transition: background-color var(--transition-fast);
}

.career-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 101, 0, 0.35);
}

.career-card:hover::before {
  background-color: var(--accent-orange);
}

.career-card.featured-rider::before {
  background-color: var(--accent-orange);
}

.career-card.featured-driver::before {
  background-color: var(--primary-navy);
}

.career-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.career-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.career-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.career-title-row h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.career-card p.career-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.career-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 1.75rem;
}

.career-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.career-tag-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-orange);
  stroke-width: 2.2;
  fill: none;
}

.career-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.career-actions .btn {
  flex: 1;
}

/* Application Modal */
.app-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 25, 44, 0.78);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.app-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.app-modal {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  box-shadow: 0 20px 60px rgba(11, 25, 44, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.app-modal-backdrop.active .app-modal {
  transform: scale(1);
}

.app-modal-header {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent-orange);
  flex-shrink: 0;
}

.app-modal-header-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.app-modal-header-text p {
  font-size: 0.85rem;
  color: #CBD5E1;
}

.app-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.2rem;
}

.app-modal-close:hover {
  background-color: var(--accent-orange);
  transform: rotate(90deg);
}

.app-modal-body {
  padding: 2rem 2.25rem;
  overflow-y: auto;
  flex-grow: 1;
  -webkit-overflow-scrolling: touch;
}

/* Position Selector Banner in Form */
.position-indicator-box {
  background-color: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.position-indicator-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.position-indicator-left svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-orange);
  stroke-width: 2;
  fill: none;
}

.position-indicator-left span.label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

.position-indicator-left span.val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.position-switcher-btns {
  display: flex;
  gap: 0.5rem;
}

.btn-pos-toggle {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pos-toggle:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.btn-pos-toggle.active {
  background-color: var(--accent-orange);
  color: var(--text-white);
  border-color: var(--accent-orange);
}

/* Form Section Separators */
.form-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--bg-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-orange);
  stroke-width: 2.2;
  fill: none;
}

/* Radio Choice Pills */
.choice-pill-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.choice-pill {
  position: relative;
}

.choice-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-body);
  background-color: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.choice-pill input[type="radio"]:checked + label {
  border-color: var(--accent-orange);
  background-color: rgba(255, 101, 0, 0.08);
  color: var(--accent-orange);
}

.choice-pill input[type="radio"]:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(255, 101, 0, 0.2);
}

/* Conditional Delivery Experience Section */
.conditional-exp-box {
  display: none;
  background-color: rgba(255, 101, 0, 0.04);
  border: 1.5px dashed var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 0.75rem;
  margin-bottom: 1.4rem;
}

.conditional-exp-box.is-active {
  display: block;
  animation: fadeInDown 0.3s ease;
}

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

/* CV File Upload Box */
.cv-drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  background-color: var(--bg-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.cv-drop-zone:hover, .cv-drop-zone.dragover {
  border-color: var(--accent-orange);
  background-color: rgba(255, 101, 0, 0.05);
}

.cv-drop-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.cv-drop-zone svg.upload-icon {
  width: 38px;
  height: 38px;
  stroke: var(--accent-orange);
  stroke-width: 2;
  fill: none;
  margin-bottom: 0.75rem;
}

.cv-drop-zone .upload-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.cv-drop-zone .upload-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cv-file-preview {
  display: none;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-surface);
  border: 1.5px solid #10B981;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-top: 0.75rem;
}

.cv-file-preview.is-active {
  display: flex;
}

.cv-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cv-file-info svg {
  width: 24px;
  height: 24px;
  stroke: #10B981;
  stroke-width: 2.2;
  fill: none;
}

.cv-file-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

.cv-file-size {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cv-remove-btn {
  background: none;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.cv-remove-btn:hover {
  background-color: #FEF2F2;
}

/* Success View in Modal */
.application-success-view {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.application-success-view.active {
  display: block;
}

.success-check-circle {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  background-color: #ECFDF5;
  color: #10B981;
  border: 3px solid #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-check-circle svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

.application-success-view h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.application-success-view p.confirmation-msg {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 2rem auto;
}

.app-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.position-indicator-box small {
  font-size: 0.7em;
  font-weight: 400;
  opacity: 0.8;
}

/* Mobile Media Queries for Modal */
@media (max-width: 768px) {
  .app-modal {
    max-height: 96vh;
    border-radius: var(--radius-md);
  }

  .app-modal-body {
    padding: 1.25rem 1rem;
  }

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

  .career-actions {
    flex-direction: column;
  }
}
