/* ============================================
   أجيال الهرم للنقل المدرسي — التصميم الرئيسي
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --green-primary: #126839;
  --green-dark: #0d4f2b;
  --green-light: #1a8a4d;
  --green-muted: #6A8A6F;
  --green-bg: #e8f5e9;
  --green-bg-light: #f1f8f2;
  --charcoal: #21201C;
  --charcoal-light: #3a3934;
  --gold: #D2B914;
  --gold-light: #e8d43f;
  --gold-bg: #fdf8e0;
  --white: #FDFDFD;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-primary: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --header-height: 85px;
  --header-height-mobile: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-primary);
  direction: rtl;
  text-align: right;
  color: var(--gray-700);
  background-color: var(--white);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

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

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--green-light);
}

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

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  right: 1rem;
  background: var(--green-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

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

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

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .subtitle {
  display: inline-block;
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-header .subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  line-height: 1.5;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: var(--green-primary);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--charcoal);
}

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

.btn-outline-gold:hover,
.btn-outline-gold:focus-visible {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-white {
  background: #fff;
  color: var(--green-primary);
  border-color: #fff;
}

.btn-white:hover,
.btn-white:focus-visible {
  background: var(--gray-100);
  border-color: var(--gray-100);
}

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

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 1.25rem;
  font-size: 0.9rem;
}

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

.btn-block {
  width: 100%;
}

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 50%, #0a3d21 100%);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::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");
  pointer-events: none;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
  position: relative;
}

.page-header .breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  position: relative;
}

.page-header .breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.page-header .breadcrumb-nav a:hover {
  color: var(--gold-light);
}

.page-header .breadcrumb-nav .separator {
  font-size: 0.75rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.active {
  color: var(--green-primary);
  background: var(--green-bg-light);
}

.nav-list .dropdown-toggle::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 0.35rem;
  font-size: 0.7rem;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 1001;
  border: 1px solid var(--gray-200);
}

.dropdown:hover>.dropdown-menu,
.dropdown:focus-within>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  display: block;
  white-space: nowrap;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
}

.mobile-toggle:hover {
  color: var(--green-primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a3d21 0%, var(--green-primary) 40%, #0d5c2f 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .container-custom {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 0.3rem;
  align-items: center;
}

.hero-content {
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-content h1 .highlight {
  color: var(--gold-light);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image .main-visual {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.hero-trust .trust-item i {
  color: var(--gold-light);
  font-size: 1.1rem;
}

/* ---------- Cards ---------- */
.card-service {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

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

.card-service .card-icon {
  width: 60px;
  height: 60px;
  background: var(--green-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-primary);
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}

.card-service:hover .card-icon {
  background: var(--green-primary);
  color: #fff;
}

.card-service h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card-service p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card-service .card-link {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-service .card-link i {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.card-service:hover .card-link i {
  transform: translateX(-4px);
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item .feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--green-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 1.2rem;
}

.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- Statistics ---------- */
.stats-section {
  background: var(--green-primary);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::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.04'%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");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}

.stat-item .stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 500;
}

.stat-item .stat-suffix {
  font-weight: 700;
}

/* ---------- Video ---------- */
.video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--charcoal);
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
  cursor: pointer;
}

.video-wrapper img.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-wrapper:hover img.thumbnail {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  pointer-events: none;
}

.video-wrapper:hover .video-play-btn {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper .video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-image .video-wrapper {
  width: 100%;
  max-width: 650px;
  margin: 0;
  border: 0px solid rgba(255, 255, 255, 0.15);
}

/* YouTube iframe fills the wrapper */
.video-wrapper .video-iframe-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.video-wrapper .video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* Floating sound toggle button */
.video-sound-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.video-sound-toggle:hover,
.video-sound-toggle:focus-visible {
  background: var(--green-primary);
  transform: scale(1.08);
  outline: none;
}

.video-sound-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(18, 104, 57, 0.4);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  border: 1px solid var(--gray-100);
}

.testimonial-card .quote-icon {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-card .testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-card .author-name {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.testimonial-card .author-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--green-muted);
}

.faq-item.active {
  border-color: var(--green-primary);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: right;
  transition: color var(--transition-fast);
}

.faq-btn:hover {
  color: var(--green-primary);
}

.faq-item.active .faq-btn {
  color: var(--green-primary);
}

.faq-btn i {
  font-size: 0.85rem;
  transition: transform var(--transition-normal);
  color: var(--gray-400);
  flex-shrink: 0;
}

.faq-item.active .faq-btn i {
  transform: rotate(180deg);
  color: var(--green-primary);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-panel-inner {
  padding: 0 1.5rem 1.15rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ---------- Swiper Overrides ---------- */
.swiper-custom {
  padding: 0.5rem 0.25rem 3rem;
}

.swiper-custom .swiper-pagination-bullet-active {
  background: var(--green-primary);
}

.swiper-custom .swiper-button-next,
.swiper-custom .swiper-button-prev {
  color: var(--green-primary);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.swiper-custom .swiper-button-next::after,
.swiper-custom .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 700;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-normal);
}

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

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-200);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card .blog-category {
  font-size: 0.8rem;
  color: var(--green-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.blog-card h3 a {
  color: var(--charcoal);
}

.blog-card h3 a:hover {
  color: var(--green-primary);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.blog-card .blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ---------- Article ---------- */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content img {
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.article-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--green-primary);
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem;
  padding-right: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.article-featured-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  aspect-ratio: 21/9;
  object-fit: cover;
}

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group .required::after {
  content: ' *';
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: #fff;
  transition: all var(--transition-fast);
  direction: rtl;
  text-align: right;
}

.form-control:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(18, 104, 57, 0.1);
  outline: none;
}

.form-control.error {
  border-color: #dc2626;
}

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.form-control.error+.form-error {
  display: block;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 16px 12px;
  padding-left: 2.5rem;
}

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

/* ---------- Contact Info ---------- */
.contact-info-card {
  background: var(--green-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  height: 100%;
}

.contact-info-card h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-item .ci-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-item .ci-text {
  font-size: 0.95rem;
}

.contact-info-item .ci-text strong {
  display: block;
  margin-bottom: 0.2rem;
}

.contact-info-item .ci-text a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-info-item .ci-text a:hover {
  color: var(--gold-light);
}

/* ---------- Map ---------- */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/7;
  background: var(--gray-200);
  position: relative;
}

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

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gray-500);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

/* ---------- Fleet Gallery ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.fleet-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-normal);
}

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

.fleet-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}

.fleet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.fleet-card:hover .fleet-card-img img {
  transform: scale(1.05);
}

.fleet-card-body {
  padding: 1.25rem;
}

.fleet-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.fleet-card-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ---------- Values Grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-normal);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-muted);
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--green-primary);
  margin: 0 auto 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ---------- Partners ---------- */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.partner-logo {
  width: 120px;
  height: 70px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.8rem;
  text-align: center;
  font-weight: 500;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::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");
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-section .btn-whatsapp {
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.9;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-right: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover {
  color: var(--gold-light);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--green-primary);
  color: #fff;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-float .wa-label {
  background: var(--charcoal);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all var(--transition-normal);
}

.whatsapp-float:hover .wa-label,
.whatsapp-float:focus-within .wa-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.whatsapp-float .wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  position: relative;
  text-decoration: none;
}

.whatsapp-float .wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .wa-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  70% {
    transform: scale(1.15);
    opacity: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float .wa-btn::after {
    animation: none;
  }
}

/* ---------- About Page ---------- */
.about-intro-image {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ---------- Step / Process ---------- */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step;
  max-width: 700px;
  margin: 0 auto;
}

.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.steps-list li .step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--green-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.steps-list li .step-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.steps-list li .step-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ---------- Subscription Cards ---------- */
.sub-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-100);
  transition: all var(--transition-normal);
  height: 100%;
}

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

.sub-card.featured {
  border-color: var(--gold);
}

.sub-card .sub-icon {
  font-size: 2rem;
  color: var(--green-primary);
  margin-bottom: 1rem;
}

.sub-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.sub-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.sub-card .sub-badge {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ---------- Safety Principles ---------- */
.safety-principle {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.safety-principle .sp-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--green-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 1.3rem;
}

.safety-principle h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.safety-principle p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ---------- Related Articles ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ---------- Share Buttons ---------- */
.share-buttons {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: opacity var(--transition-fast);
}

.share-btn:hover {
  opacity: 0.85;
  color: #fff;
}

.share-twitter {
  background: #1DA1F2;
}

.share-facebook {
  background: #1877F2;
}

.share-linkedin {
  background: #0A66C2;
}

.share-whatsapp {
  background: #25D366;
}

/* ---------- Policy / Terms ---------- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--green-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  margin-bottom: 1.25rem;
}

.policy-content ul {
  margin: 1rem 0;
  padding-right: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-date {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ---------- Not Found ---------- */
.not-found-section {
  text-align: center;
  padding: 6rem 0;
}

.not-found-section .nf-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--green-muted);
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found-section h1 {
  margin-bottom: 1rem;
}

.not-found-section p {
  max-width: 450px;
  margin: 0 auto 2rem;
  color: var(--gray-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero .container-custom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    max-width: 100%;
  }

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

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

  .hero-image {
    order: -1;
  }

  .hero-image .main-visual,
  .hero-image .video-wrapper {
    max-width: 380px;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-lg {
    padding: 4.5rem 0;
  }

  /* Mobile Nav */
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: stretch;
    padding: 4.5rem 1rem 1rem;
    transition: right var(--transition-normal);
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

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

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin: 0.25rem 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 0.5rem;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
  }

  .dropdown.open>.dropdown-menu {
    max-height: 300px;
    padding: 0.5rem;
  }

  .dropdown-toggle::after {
    float: left;
    margin-top: 4px;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
  }

  .mobile-overlay.active {
    display: block;
  }

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

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

  .form-card {
    padding: 1.5rem;
  }

  .whatsapp-float {
    bottom: 16px;
    left: 16px;
  }

  .whatsapp-float .wa-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .whatsapp-float .wa-label {
    display: none;
  }

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

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

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

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

  .contact-info-card {
    margin-bottom: 1.5rem;
  }

  .map-container {
    aspect-ratio: 4/3;
  }

  .hero {
    padding: 2.5rem 0;
  }

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

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

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

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

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

  .stat-item .stat-number {
    font-size: 1.8rem;
  }

  .hero-image .main-visual {
    max-width: 280px;
  }

  .form-card {
    padding: 1.25rem;
  }

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