/* ============================================
   ScaleCOD — Design System & Styles
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-orange-500: #F97316;
  --color-orange-600: #EA580C;
  --color-orange-gradient: linear-gradient(135deg, #F97316, #EA580C);
  --color-navy: #0F172A;
  --color-navy-light: #1E293B;
  --color-navy-lighter: #334155;
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;
  --color-green-500: #22C55E;
  --color-red-500: #EF4444;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 5rem 1.5rem;

  /* Borders & Shadows */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-gray-700);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-100);
  transition: box-shadow var(--transition-base);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange-gradient);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-orange-500);
}

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

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--color-gray-500);
  transition: all var(--transition-fast);
  line-height: 1;
}

.lang-btn.active {
  background: var(--color-white);
  color: var(--color-gray-900);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  color: var(--color-gray-700);
}

/* CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 24px;
  background: var(--color-orange-gradient);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 24px;
  background: transparent;
  color: var(--color-gray-700);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-gray-300);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--color-gray-400);
  background: var(--color-gray-50);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-gray-800);
  transition: color var(--transition-fast);
}

.nav-mobile a:hover {
  color: var(--color-orange-500);
}

.nav-mobile .lang-switcher-mobile {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--color-orange-500);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  width: fit-content;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-orange-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  max-width: 650px;
}

.hero h1 .highlight {
  color: var(--color-orange-500);
  position: relative;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray-300);
  max-width: 550px;
  line-height: 1.7;
}

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

.hero .btn-primary {
  padding: 14px 32px;
  font-size: var(--font-size-base);
}

.hero .btn-secondary {
  padding: 14px 32px;
  font-size: var(--font-size-base);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-white);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section-tag {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-orange-500);
  background: rgba(249, 115, 22, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header h2 .highlight {
  color: var(--color-orange-500);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-base);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  color: var(--color-orange-500);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(249, 115, 22, 0.1);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background: var(--color-gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all var(--transition-base);
}

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

.pricing-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  color: var(--color-orange-500);
}

.pricing-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
}

.pricing-card > p {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  line-height: 1.7;
}

.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  color: var(--color-orange-500);
  flex-shrink: 0;
}

/* ============================================
   COUNTRIES SECTION
   ============================================ */
.countries-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.country-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  min-width: 180px;
  flex: 0 1 200px;
  transition: all var(--transition-base);
  position: relative;
}

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

.country-card.coming-soon {
  opacity: 0.65;
}

.country-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  background: var(--color-orange-gradient);
  color: var(--color-white);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

[dir="rtl"] .country-soon-badge {
  right: auto;
  left: 12px;
}

.country-flag {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.country-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.25rem;
}

.country-card p {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
}

/* ============================================
   PROCESS / HOW IT WORKS SECTION
   ============================================ */
.how-section {
  background: var(--color-navy);
  color: var(--color-white);
}

.how-section .section-tag {
  background: rgba(249, 115, 22, 0.2);
}

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

.how-section .section-header p {
  color: var(--color-gray-400);
}

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

.process-step {
  position: relative;
  text-align: center;
}

.process-number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin-bottom: -1rem;
  position: relative;
}

.process-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-lg);
  margin: 0 auto 1.25rem;
  color: var(--color-orange-500);
}

.process-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-info h2 .highlight {
  color: var(--color-orange-500);
}

.contact-info > p {
  font-size: var(--font-size-base);
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-email-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-orange-500);
}

.contact-email-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-email-text {
  display: flex;
  flex-direction: column;
}

.contact-email-label {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
  font-weight: 500;
}

.contact-email-value {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-gray-900);
}

/* Registration Form */
.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 0.375rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  color: var(--color-gray-900);
  transition: border-color var(--transition-fast);
  outline: none;
  background: var(--color-white);
}

.form-group input::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus {
  border-color: var(--color-orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group input.error {
  border-color: var(--color-red-500);
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-red-500);
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 14px;
  margin-top: 0.5rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-white);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-base);
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--color-green-500);
}

.toast.error {
  background: var(--color-red-500);
}

[dir="rtl"] .toast {
  right: auto;
  left: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-navy);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer .logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-navy-lighter);
  width: 100%;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .header-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-desktop {
  flex-direction: row-reverse;
}

[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
  align-items: flex-end;
}

[dir="rtl"] .hero h1 {
  text-align: right;
}

[dir="rtl"] .hero-badge {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-stats {
  flex-direction: row-reverse;
}

[dir="rtl"] .section-header {
  text-align: center;
}

[dir="rtl"] .service-card {
  text-align: right;
}

[dir="rtl"] .pricing-card {
  text-align: right;
}

[dir="rtl"] .pricing-features {
  direction: rtl;
}

[dir="rtl"] .pricing-feature {
  flex-direction: row-reverse;
}

[dir="rtl"] .contact-grid {
  direction: rtl;
}

[dir="rtl"] .contact-info {
  text-align: right;
}

[dir="rtl"] .contact-email {
  flex-direction: row-reverse;
}

[dir="rtl"] .contact-email-text {
  align-items: flex-end;
}

[dir="rtl"] .contact-form-card {
  text-align: right;
}

[dir="rtl"] .form-group input {
  text-align: right;
}

[dir="rtl"] .footer-inner {
  direction: rtl;
}

[dir="rtl"] .nav-desktop a::after {
  left: auto;
  right: 0;
}

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 1rem;
  }

  .nav-desktop {
    display: none;
  }

  .header-actions .btn-primary.desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

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

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

  .hero-content {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .countries-grid {
    gap: 1rem;
  }

  .country-card {
    min-width: 140px;
    padding: 1.25rem 1rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  [dir="rtl"] .header-inner {
    flex-direction: row-reverse;
  }

  [dir="rtl"] .hero-content {
    align-items: flex-start;
  }

  [dir="rtl"] .hero h1 {
    text-align: right;
  }
}

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

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

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

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

  .countries-grid {
    flex-direction: column;
    align-items: center;
  }

  .country-card {
    width: 100%;
    max-width: 250px;
  }
}
