/* ============================================
   AMBULANCE CASABLANCA - MAIN STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #0057b8;
  --blue-dark: #003d8f;
  --blue-light: #1a73e8;
  --red: #e8000d;
  --red-dark: #b50009;
  --white: #ffffff;
  --bg: #f4f7fb;
  --text: #1a1f36;
  --text-muted: #5a6478;
  --border: #dde3f0;
  --card-bg: #ffffff;
  --shadow: 0 4px 24px rgba(0, 87, 184, 0.10);
  --shadow-lg: 0 12px 48px rgba(0, 87, 184, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
}

/* ── UTILITIES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 87, 184, 0.1);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-tag.red {
  background: rgba(232, 0, 13, 0.1);
  color: var(--red);
}

.section-heading {
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-center .section-sub {
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 0, 13, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 0, 13, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
}

/* ── TOP BAR ── */
.topbar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.topbar a:hover {
  color: #fff;
}

.topbar-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  animation: pulse 2s infinite;
}

/* ── HEADER / NAV ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0, 87, 184, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 87, 184, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── LOGO IMAGE ── */
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 87, 184, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.nav-links a:hover {
  background: rgba(0, 87, 184, 0.07);
  color: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(232, 0, 13, 0.3);
  transition: var(--transition);
}

.nav-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 0, 13, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--blue);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff !important;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 24px rgba(232, 0, 13, 0.4);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(135deg, #001f5c 0%, #003d8f 40%, #0057b8 70%, #0a2a6e 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float-particle linear infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 0, 13, 0.2);
  border: 1px solid rgba(232, 0, 13, 0.4);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #ffcc00;
  display: block;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  font-size: 1rem;
  padding: 16px 30px;
}

.hero-actions .btn svg {
  width: 20px;
  height: 20px;
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.hero-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 30, 80, 0.6) 100%);
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-card-1 {
  bottom: -20px;
  left: -20px;
}

.hero-card-2 {
  top: -20px;
  right: -20px;
}

.hero-card-icon {
  font-size: 2rem;
}

.hero-card-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.hero-card-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── PULSE RING ── */
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(232, 0, 13, 0.5);
  animation: ring-pulse 2s ease-out infinite;
  pointer-events: none;
}

.pulse-ring:nth-child(2) {
  animation-delay: 0.7s;
}

.pulse-ring:nth-child(3) {
  animation-delay: 1.4s;
}

/* ── TICKER ── */
.ticker {
  background: var(--red);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 60px;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── SERVICES ── */
.services {
  padding: 90px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.1), rgba(0, 87, 184, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.service-card.featured {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-color: transparent;
}

.service-card.featured h3,
.service-card.featured p {
  color: rgba(255, 255, 255, 0.95);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.15);
}

.service-card.featured::before {
  display: none;
}

/* ── WHY US ── */
.why-us {
  padding: 90px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 50px;
}

.why-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.why-badge-wrap {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}

.why-stats-row {
  display: flex;
  gap: 12px;
}

.why-stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.why-stat-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
}

.why-stat-card span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-item-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 87, 184, 0.3);
}

.why-item h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── COVERAGE / MAP ── */
.coverage {
  padding: 90px 0;
  background: var(--bg);
}

.map-container {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  height: 480px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.coverage-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.coverage-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.coverage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.coverage-card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.coverage-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.coverage-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── FLEET ── */
.fleet {
  padding: 90px 0;
}

.fleet-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.fleet-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.fleet-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.fleet-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.fleet-num-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.fleet-num-card strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.fleet-num-card.red strong {
  color: var(--red);
}

.fleet-num-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.fleet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fleet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.fleet-item-dot {
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.fleet-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── INTERVENTION STRIP ── */
.intervention-strip {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 50px 0;
  color: #fff;
}

.intervention-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.intervention-text h2 {
  color: #fff;
  margin-bottom: 10px;
}

.intervention-text p {
  color: rgba(255, 255, 255, 0.85);
}

.intervention-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--red);
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 90px 0;
  background: var(--bg);
}

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

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.author-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq {
  padding: 90px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 87, 184, 0.1);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-q h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.faq-arrow {
  width: 28px;
  height: 28px;
  background: rgba(0, 87, 184, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: var(--blue);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

/* ── CONTACT FORM ── */
.contact-section {
  padding: 90px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--blue);
}

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

.contact-form h3 {
  margin-bottom: 8px;
}

.contact-form p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.08);
}

.form-group textarea {
  height: 100px;
  resize: none;
}

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

.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 87, 184, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 87, 184, 0.4);
}

/* ── FOOTER ── */
.footer {
  background: #01103a;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.footer-logo-text strong {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: block;
}

.footer-logo-text span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
}

.footer-social:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.87rem;
}

.footer-contact-icon {
  color: var(--blue-light);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

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

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ── FLOATING BUTTONS ── */
.float-call {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(232, 0, 13, 0.45);
  animation: pulse-btn 2s infinite;
  transition: var(--transition);
}

.float-call:hover {
  transform: scale(1.1);
}

.float-wa {
  position: fixed;
  bottom: 22px;
  right: 20px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

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

.float-label {
  position: absolute;
  right: 70px;
  background: #25d366;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.float-wa:hover .float-label,
.float-call:hover .float-label {
  opacity: 1;
}

/* ── STICKY MOBILE CTA ── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  gap: 10px;
}

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}

.sticky-call {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 0, 13, 0.35);
}

.sticky-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

/* ── ANIMATIONS ── */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.9);
  }
}

@keyframes pulse-btn {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(232, 0, 13, 0.45);
  }

  50% {
    box-shadow: 0 4px 40px rgba(232, 0, 13, 0.7), 0 0 0 10px rgba(232, 0, 13, 0.1);
  }
}

@keyframes ring-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.15;
  }

  90% {
    opacity: 0.15;
  }

  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

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

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .why-grid,
  .fleet-hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-img,
  .fleet-img {
    display: none;
  }

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

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

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

  .float-call {
    display: flex;
  }

  .sticky-cta {
    display: none !important;
  }

  /* Arabic titles mobile fix */
  .arabic-title {
    text-align: right;
    font-size: 0.85em;
  }

  .text-center .arabic-title {
    text-align: center;
  }

  /* Prevent overflow on mobile */
  .faq-q h3 {
    word-break: break-word;
  }

  .arabic-title-faq {
    word-break: break-word;
  }

  .intervention-strip .container {
    flex-direction: column;
    text-align: center;
  }

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

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

  .fleet-numbers {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .coverage-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── LEGAL PAGES ── */
.legal-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 80px 0 60px;
  color: #fff;
  text-align: center;
}

.legal-hero h1 {
  color: #fff;
  margin-bottom: 14px;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.8);
}

.legal-content {
  padding: 70px 0;
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 40px 0 14px;
  color: var(--blue-dark);
  font-size: 1.3rem;
}

.legal-content h3 {
  margin: 28px 0 10px;
  color: var(--text);
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

.legal-content a {
  color: var(--blue);
}

/* ── ARABIC TITLES ── */
.arabic-title {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: 0.88em;
  direction: rtl;
  text-align: inherit;
  opacity: 0.82;
  margin-top: 6px;
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 600;
  color: inherit;
}

.arabic-title-faq {
  display: block;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: 0.8em;
  direction: rtl;
  opacity: 0.75;
  font-weight: 400;
  margin-top: 4px;
}