/* 
 * ALL MADENA TRANSPORTATION SERVICES
 * Official Stylesheet - 2026 Modern Edition
 * Responsive, Ultra-fast, GitHub & Cloudflare Ready
 */

:root {
  --primary: #0b2545;
  --primary-dark: #061527;
  --primary-light: #133b6d;
  --accent: #d4af37;
  --accent-hover: #b89728;
  --accent-bright: #ffaa00;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-light: #2ee071;
  --dark: #1e293b;
  --text-main: #334155;
  --text-muted: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 20px 35px -5px rgba(11, 37, 69, 0.12), 0 10px 15px -5px rgba(11, 37, 69, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-hover);
  background: rgba(212, 175, 55, 0.12);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px auto;
}

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

/* Top bar */
.top-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info span, .top-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-info a:hover {
  color: var(--accent-bright);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge-24-7 {
  background: rgba(37, 211, 102, 0.2);
  color: var(--whatsapp-light);
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 6px 0;
}

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

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

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

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

/* Mobile Toggle */




/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.35);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-accent:hover {
  background: var(--accent-bright);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

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

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

.btn-outline-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--dark);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(11, 37, 69, 0.04);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 21, 39, 0.92) 0%, rgba(11, 37, 69, 0.88) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 120px 0;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-text h1 span {
  color: var(--accent-bright);
}

.hero-text p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

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

.hero-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Hero Card / Quick Quote Box */
.hero-booking-card {
  background: var(--white);
  color: var(--dark);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-booking-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.hero-booking-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  background: #f8fafc;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(19, 59, 109, 0.15);
}

/* WhatsApp Catalog Spotlight Section */
.catalog-spotlight {
  background: linear-gradient(135deg, #062b1b 0%, #0d4a2d 100%);
  color: var(--white);
  padding: 50px 0;
  position: relative;
}

.catalog-spotlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.catalog-info {
  flex: 1;
  min-width: 300px;
}

.catalog-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.2);
  color: var(--whatsapp-light);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.catalog-info h2 {
  color: var(--white);
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.catalog-info p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 20px;
}

.catalog-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.catalog-media {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.catalog-media img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.catalog-media-text h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.catalog-media-text p {
  color: #a7f3d0;
  font-size: 0.85rem;
  margin: 0;
}

/* Sections */
.section-padding {
  padding: 90px 0;
}

.bg-light {
  background: var(--light-bg);
}

/* Fleet Showcase Cards */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.fleet-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.fleet-image-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #0b2545;
}

.fleet-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-image-wrap img {
  transform: scale(1.06);
}

.fleet-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.fleet-rate-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(6, 21, 39, 0.85);
  color: var(--accent-bright);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.fleet-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fleet-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.fleet-subtitle {
  font-size: 0.85rem;
  color: var(--accent-hover);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.spec-item strong {
  color: var(--dark);
}

.fleet-features-list {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fleet-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.fleet-features-list li i {
  color: var(--whatsapp-dark);
}

.fleet-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.fleet-footer .btn {
  flex: 1;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(11, 37, 69, 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-image-wrap {
  width: 100%;
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: var(--light-bg);
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.06);
}

.service-card-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(11, 37, 69, 0.90);
  backdrop-filter: blur(6px);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html[dir="rtl"] .service-card-tag {
  left: auto;
  right: 10px;
}

.client-logo-link {
  background: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 92px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  position: relative;
}

.client-logo-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.14);
  border-color: var(--accent);
}

.client-logo-link img {
  max-height: 55px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-logo-link:hover img {
  transform: scale(1.06);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(11, 37, 69, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--accent-bright);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--accent-hover);
  gap: 10px;
}

/* Why Choose Us & Stats */
.stats-banner {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  color: var(--accent-bright);
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.stat-item p {
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 500;
}

/* Interactive Calculator */
.calc-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.calc-result-box {
  background: var(--light-bg);
  border: 2px dashed rgba(11, 37, 69, 0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.calc-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 8px 0;
}

.calc-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-details h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--white);
  font-weight: 700;
  color: var(--primary);
  user-select: none;
  transition: var(--transition);
}

.faq-header:hover {
  background: #f8fafc;
}

.faq-header i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  padding: 0 24px 20px 24px;
  max-height: 250px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 30px auto;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #051323;
  color: #94a3b8;
  padding: 70px 0 25px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about .brand-name {
  color: var(--white);
  margin-bottom: 6px;
}

.footer-about p {
  margin-top: 14px;
  line-height: 1.6;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

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

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-bright);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--accent-bright);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

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

/* Floating WhatsApp Widget */
.floating-whatsapp-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-popup {
  display: none;
  background: var(--white);
  width: 320px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  animation: slideUp 0.3s ease;
}

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

.whatsapp-popup.show {
  display: block;
}

.popup-header {
  background: var(--whatsapp-dark);
  color: var(--white);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.popup-header img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.popup-header h4 {
  color: var(--white);
  font-size: 1rem;
  margin: 0;
}

.popup-header p {
  color: #d1fae5;
  font-size: 0.75rem;
  margin: 0;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

.popup-body {
  padding: 16px;
  background: #e5ddd5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px 10px 10px 0;
  font-size: 0.88rem;
  color: var(--dark);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.4;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
}

.floating-whatsapp-btn:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.08);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Page Header for Inner Pages */
.page-banner {
  background: linear-gradient(135deg, rgba(6, 21, 39, 0.94) 0%, rgba(11, 37, 69, 0.90) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-banner p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 16px auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.breadcrumb a {
  color: var(--accent-bright);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-card-box {
  background: var(--white);
  padding: 32px;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 37, 69, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-cta {
    display: none;
  }
}


/* ==========================================
   ARABIC & BILINGUAL RTL STYLES
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.lang-switch-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 37, 69, 0.06);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch-nav:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

html[dir="rtl"] {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .top-info,
html[dir="rtl"] .navbar,
html[dir="rtl"] .nav-menu,
html[dir="rtl"] .hero-features,
html[dir="rtl"] .fleet-specs,
html[dir="rtl"] .fleet-features-list,
html[dir="rtl"] .footer-links,
html[dir="rtl"] .footer-contact-item,
html[dir="rtl"] .contact-item-row,
html[dir="rtl"] .catalog-spotlight-inner {
  direction: rtl;
}

html[dir="rtl"] .fleet-badge {
  left: auto;
  right: 15px;
}

html[dir="rtl"] .fleet-rate-badge {
  right: auto;
  left: 15px;
}

html[dir="rtl"] .service-card::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .footer-title::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .service-card:hover .service-link i,
html[dir="rtl"] .footer-links a:hover i {
  transform: translateX(-4px);
}

html[dir="rtl"] .floating-whatsapp-container {
  right: auto;
  left: 25px;
  align-items: flex-start;
}

html[dir="rtl"] .whatsapp-tooltip {
  right: auto;
  left: 70px;
}

html[dir="rtl"] .chat-bubble {
  border-radius: 10px 10px 0 10px;
}

html[dir="rtl"] .popup-close {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .badge-pulse {
  margin-left: 5px;
  margin-right: 0;
}


/* ========================================================
   BEST-FIT MOBILE MENU & APP-STYLE NAVIGATION (ALL SCREENS)
   ======================================================== */

.mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 10001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

html[dir="rtl"] .mobile-nav-drawer {
  right: auto;
  left: -320px;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.active {
  right: 0;
}

html[dir="rtl"] .mobile-nav-drawer.active {
  left: 0;
  right: auto;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 21, 39, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.drawer-header {
  padding: 20px;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent);
}

.drawer-header .brand-logo img {
  height: 40px;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.drawer-menu-links {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.drawer-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  transition: var(--transition);
}

.drawer-menu-links a i {
  width: 20px;
  color: var(--accent-hover);
  font-size: 1.05rem;
}

.drawer-menu-links a:hover,
.drawer-menu-links a.active {
  background: rgba(11, 37, 69, 0.06);
  color: var(--primary-light);
  transform: translateX(4px);
}

html[dir="rtl"] .drawer-menu-links a:hover,
html[dir="rtl"] .drawer-menu-links a.active {
  transform: translateX(-4px);
}

.drawer-footer {
  padding: 20px;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Bottom App Bar for Mobile */
.bottom-app-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  border-top: 1px solid var(--border);
}

.bottom-app-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}

.bottom-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition);
}

.bottom-tab-item i {
  font-size: 1.25rem;
}

.bottom-tab-item.active,
.bottom-tab-item:hover {
  color: var(--primary);
}

.bottom-tab-item.whatsapp-tab {
  color: var(--whatsapp);
}

.bottom-tab-item.whatsapp-tab i {
  font-size: 1.4rem;
}

/* Adjustments for screens below 850px */
@media (max-width: 850px) {
  .nav-menu {
    display: none !important;
  }
  .nav-cta {
    display: none !important;
  }
  .mobile-actions {
    display: flex !important;
  }
  
  
  .bottom-app-bar {
    display: block !important;
  }
  body {
    padding-bottom: 64px; /* Space for bottom app bar */
  }
  .floating-whatsapp-container {
    bottom: 80px !important; /* Move above bottom app bar */
  }
  .brand-logo img {
    height: 44px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-tagline {
    font-size: 0.65rem;
  }
}


/* Premium Best-Fit Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid rgba(11, 37, 69, 0.15);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
  transition: var(--transition);
  padding: 0;
}

.mobile-toggle:hover,
.mobile-toggle:active {
  background: var(--primary-light) !important;
  color: var(--accent-bright) !important;
  transform: translateY(-1px) scale(1.05);
}

.mobile-toggle i {
  font-size: 1.3rem !important;
  color: var(--white) !important;
  display: block;
}

.mobile-toggle:hover i {
  color: var(--accent-bright) !important;
}

@media (max-width: 850px) {
  .mobile-toggle {
    display: flex !important;
  }
}

/* Universal Responsive Image Fitting */
.fleet-image-wrap img,
.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}

@media (max-width: 768px) {
  .fleet-image-wrap {
    height: 220px;
  }
  .service-image-wrap {
    height: 185px;
  }
}

@media (max-width: 480px) {
  .fleet-image-wrap {
    height: 205px;
  }
  .service-image-wrap {
    height: 175px;
  }
}
