:root {
  --navy: #0A1628;
  --navy-mid: #132744;
  --navy-light: #1B3A5C;
  --navy-lighter: #2C5F8A;
  --orange: #F07B3F;
  --orange-light: #FF9A5C;
  --orange-glow: rgba(240,123,63,0.2);
  --teal: #20B2AA;
  --teal-light: rgba(32,178,170,0.1);
  --surface: #F7F9FC;
  --surface-alt: #EDF1F7;
  --white: #FFFFFF;
  --text: #2D3436;
  --text-light: #636E72;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 50px;
  --gradient-hero: linear-gradient(135deg, #0A1628 0%, #132744 40%, #1B3A5C 100%);
  --gradient-cta: linear-gradient(135deg, #F07B3F, #FF9A5C);
  --gradient-accent: linear-gradient(135deg, #1B3A5C, #2C5F8A);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy-light);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1em; color: var(--text-light); }
a { color: var(--navy-lighter); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
}
ul, ol { margin-bottom: 1em; padding-left: 1.5em; }
li { margin-bottom: 0.3em; }

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

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-cta);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-title p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ======== Header ======== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.site-header.scrolled .logo-text,
.site-header.scrolled .nav-list > li > a {
  color: var(--text);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.site-header.scrolled .logo { color: var(--navy-light); }
.logo:hover { color: var(--orange) !important; }

.logo-img {
  height: 44px;
  width: auto;
  border-radius: 0;
}

/* ======== Navigation ======== */

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

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2px;
}

.nav-list > li { margin: 0; }

.nav-list > li > a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.nav-list > li > a:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-list > li > a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.site-header.scrolled .nav-list > li > a:hover {
  background: var(--surface);
  color: var(--navy-light);
}

.site-header.scrolled .nav-list > li > a::after { background: var(--orange); }

.arrow { font-size: 0.65rem; margin-left: 4px; }

.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px 0;
  list-style: none;
  z-index: 100;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li { margin: 0; }

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.85rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: var(--surface);
  color: var(--orange);
  border-left-color: var(--orange);
}

.dropdown-menu a.active {
  background: var(--teal-light);
  color: var(--navy-light);
  font-weight: 600;
}

/* Hamburger */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.site-header.scrolled .menu-toggle span { background: var(--navy-light); }

/* ======== Hero ======== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  will-change: transform;
}

.hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.88;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
  width: 100%;
}

.hero-title {
  color: var(--white);
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240,123,63,0.4);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ======== Page Content ======== */

.page-content {
  padding: 60px 0;
  min-height: 60vh;
  margin-top: 72px;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}

.content-area { min-width: 0; }

.content-area h1:first-child {
  margin-top: 0;
  padding-bottom: 16px;
  border-bottom: none;
  position: relative;
}

.content-area h1:first-child::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-cta);
  border-radius: 2px;
  margin-top: 12px;
}

.content-area h2 {
  scroll-margin-top: 90px;
  margin-top: 1.8em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--surface-alt);
}

.content-area h3 { margin-top: 1.5em; }

.content-area table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.content-area th, .content-area td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.content-area th {
  background: var(--navy-light);
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.content-area tr:nth-child(even) { background: var(--surface); }
.content-area tr:hover { background: var(--surface-alt); }

.content-area pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  font-size: 0.85rem;
}

.content-area code {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85rem;
}

.content-area blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: linear-gradient(to right, rgba(240,123,63,0.06), transparent);
  color: var(--text-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content-area img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5em 0; }

/* Post */

.post-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5em;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5em;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange); }

.post-back {
  margin-top: 2.5em;
  padding-top: 1.5em;
  border-top: 1px solid var(--border);
}

.post-back a {
  color: var(--navy-light);
  font-weight: 500;
}

.post-back a:hover { color: var(--orange); }

/* ======== Sidebar ======== */

.sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.sidebar-widget {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  color: var(--navy-light);
}

.sidebar-nav { list-style: none; padding: 0; margin: 0; }

.sidebar-nav li { margin: 0; }

.sidebar-nav a {
  display: block;
  padding: 8px 0;
  color: var(--text);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.sidebar-nav a:hover {
  color: var(--orange);
  padding-left: 6px;
}

/* ======== Services Grid ======== */

.section { padding: 80px 0; }
.section-alt { background: var(--surface); }

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

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--teal-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--orange-glow);
  color: var(--orange);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--navy-light);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ======== Why Choose Us ======== */

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

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.why-icon.expertise { background: rgba(32,178,170,0.12); color: var(--teal); }
.why-icon.speed { background: rgba(240,123,63,0.12); color: var(--orange); }
.why-icon.cost { background: rgba(27,58,92,0.12); color: var(--navy-light); }
.why-icon.global { background: rgba(44,95,138,0.12); color: var(--navy-lighter); }

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--navy-light);
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ======== Stats Counter ======== */

.stats-section {
  background: var(--gradient-hero);
  padding: 80px 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.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");
  opacity: 0.5;
}

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

.stat-item {}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.stat-icon {
  font-size: 1.4rem;
  color: var(--orange-light);
  margin-bottom: 12px;
}

/* ======== CTA Banner ======== */

.cta-section {
  background: var(--gradient-cta);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.cta-content { position: relative; z-index: 1; }

.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

.cta-section .btn:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(255,255,255,0.25);
}

/* ======== News ======== */

.news-list { list-style: none; padding: 0; }

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.news-item:hover {
  padding-left: 12px;
}

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

.news-date {
  flex-shrink: 0;
  width: 80px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.news-badge {
  display: inline-block;
  background: var(--orange-glow);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-left: 12px;
}

.news-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-light);
}

.news-title:hover { color: var(--orange); }

/* ======== Contact ======== */

.contact-info {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  margin: 1.5em 0;
}

.contact-info h3 {
  margin-top: 0;
  color: var(--navy-light);
  font-size: 1.15rem;
}

/* ======== Footer ======== */

.footer-wave {
  line-height: 0;
  margin-bottom: -1px;
}

.footer-wave svg { display: block; width: 100%; height: 60px; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

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

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

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-contact .icon {
  width: 18px;
  height: 18px;
  color: var(--orange-light);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

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

/* ======== 404 ======== */

.error-page {
  text-align: center;
  padding: 100px 20px;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--navy-light);
  margin-bottom: 8px;
  line-height: 1;
}

.error-page p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 32px; }

/* ======== Scroll Animations ======== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ======== Utility ======== */

.text-center { text-align: center; }
.mt-2 { margin-top: 2em; }
.mb-2 { margin-bottom: 2em; }

/* ======== Responsive ======== */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  h1 { font-size: 2rem; }
  .hero-title { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 16px;
  }

  .main-nav.open { display: flex; }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-list > li > a {
    padding: 14px 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--surface-alt);
    color: var(--text);
  }

  .nav-list > li > a::after { display: none; }
  .site-header.scrolled .nav-list > li > a:hover { background: var(--surface); }

  .dropdown-menu {
    position: static;
    display: none;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface);
    border-radius: 0;
    padding: 0;
  }

  .dropdown.open .dropdown-menu { display: block; }

  .hero { min-height: 70vh; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-content { padding: 100px 20px 60px; }

  .section { padding: 56px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 24px 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-number { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }

  .news-item { flex-direction: column; gap: 4px; }
  .news-date { width: auto; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; justify-content: center; }
  .section-title h2 { font-size: 1.4rem; }
}

/* ======== RTL (Arabic) Support ======== */

[dir="rtl"] ul,
[dir="rtl"] ol {
  padding-right: 1.5em;
  padding-left: 0;
}

[dir="rtl"] .nav-list > li > a::after {
  left: auto;
  right: 50%;
  transform: translateX(50%) scaleX(0);
}

[dir="rtl"] .nav-list > li > a:hover::after {
  transform: translateX(50%) scaleX(1);
}

[dir="rtl"] .arrow {
  margin-right: 4px;
  margin-left: 0;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

[dir="rtl"] .dropdown-menu a {
  border-left: none;
  border-right: 3px solid transparent;
}

[dir="rtl"] .dropdown-menu a:hover {
  border-left-color: transparent;
  border-right-color: var(--orange);
}

[dir="rtl"] .content-area th,
[dir="rtl"] .content-area td {
  text-align: right;
}

[dir="rtl"] .content-area blockquote {
  border-left: none;
  border-right: 4px solid var(--orange);
  background: linear-gradient(to left, rgba(240,123,63,0.06), transparent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

[dir="rtl"] .content-area h1:first-child::after {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .sidebar-nav a:hover {
  padding-right: 6px;
  padding-left: 0;
}

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

[dir="rtl"] .footer-col a:hover {
  padding-right: 4px;
  padding-left: 0;
}

[dir="rtl"] .news-item:hover {
  padding-right: 12px;
  padding-left: 0;
}

[dir="rtl"] .news-badge {
  margin-right: 12px;
  margin-left: 0;
}

[dir="rtl"] .service-card::before {
  transform-origin: right;
}

[dir="rtl"] .footer-col a .icon,
[dir="rtl"] .cta-section .icon,
[dir="rtl"] .hero-content .btn-secondary .icon {
  transform: scaleX(-1);
}

[dir="rtl"] .stat-number {
  direction: ltr;
}

[dir="rtl"] .breadcrumb,
[dir="rtl"] .post-back,
[dir="rtl"] .contact-info {
  direction: rtl;
}

[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-actions {
  direction: rtl;
}
