/* ===========================================
   FDS Trading Company - Main Stylesheet
   Saudi Arabian Theme with RTL/LTR Support
   =========================================== */

/* ===== CSS Variables (Design System) ===== */
:root {
  /* Brand Colors */
  --primary: #DC2626;
  --primary-dark: #B91C1C;
  --primary-light: #FEE2E2;
  --secondary: #1F2937;
  --secondary-light: #374151;

  /* Neutral Colors */
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --text-dark: #111827;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  --gradient-hero: linear-gradient(180deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);

  /* Shadows */
  --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 -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.3);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Typography - Lato for English, Noto Kufi Arabic for Arabic */
  --font-family: 'Lato', 'Noto Kufi Arabic', 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;
  --font-size-6xl: 3.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
  text-align: right;
}

[dir="ltr"] {
  text-align: left;
}

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

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

ul,
ol {
  list-style: none;
}

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

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Header & Navigation ===== */
/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-normal);
}



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

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-text {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--secondary);
}

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 500;
  color: var(--secondary);
  position: relative;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: var(--transition-fast);
}

.lang-toggle:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 5px;
  z-index: 1003;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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='%23DC2626' fill-opacity='0.05'%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;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  color: var(--bg-white);
}

.hero-badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.3s backwards;
}

.hero-phone {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(220, 38, 38, 0.2);
  position: relative;
}

.hero-phone::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 25px;
  background: #111;
  border-radius: 20px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.phone-logo {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.phone-slogan {
  font-size: var(--font-size-lg);
  opacity: 0.9;
}

/* ===== About Section ===== */
.about {
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.about-text h3 {
  font-size: var(--font-size-xl);
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.about-text p {
  font-size: var(--font-size-lg);
  color: var(--text-gray);
  line-height: 1.8;
}

.target-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.target-card {
  padding: var(--space-xl);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.target-card:hover {
  background: var(--bg-white);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.target-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
}

.target-title {
  font-weight: 600;
  color: var(--secondary);
}

/* ===== Services Section ===== */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--border);
  cursor: pointer;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-lg);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
}

.service-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-item {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

.service-item::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* ===== Process Section ===== */
.process {
  background: var(--secondary);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.process .section-header {
  position: relative;
  z-index: 1;
}

.process .section-title {
  color: var(--bg-white);
}

.process .section-subtitle {
  color: var(--text-light);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50px;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 50%, transparent 50%);
  background-size: 20px 100%;
}

[dir="rtl"] .process-step::after {
  right: auto;
  left: 0;
  background: linear-gradient(270deg, var(--primary) 50%, transparent 50%);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-description {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  max-width: 180px;
  margin: 0 auto;
}

/* ===== Technology Section ===== */
.tech {
  background: var(--bg-white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.tech-card {
  padding: var(--space-2xl);
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-normal);
}

.tech-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  margin: 0 auto var(--space-lg);
}

.tech-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.tech-description {
  color: var(--text-gray);
}

/* ===== Logo Styles ===== */
.logo-img {
  height: 50px;
  width: auto;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ===== Hero Image Styles ===== */
.hero-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(220, 38, 38, 0.2);
  animation: float 3s ease-in-out infinite;
}

/* ===== Partners Section ===== */
.partners {
  background: var(--bg-light);
}

.partners-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.partners-row {
  width: 100%;
}

.partners-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.partners-image:hover {
  transform: scale(1.02);
}

/* Legacy partners grid (kept for compatibility) */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.partner-logo {
  background: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: var(--transition-normal);
  border: 1px solid var(--border);
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.partner-logo span {
  font-weight: 700;
  color: var(--secondary);
  font-size: var(--font-size-lg);
}

/* ===== Contact Section ===== */
.contact {
  background: var(--gradient-hero);
  color: var(--bg-white);
}

.contact .section-title {
  color: var(--bg-white);
}

.contact .section-subtitle {
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
}

.contact-text h4 {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-text p {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.contact-app {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-app h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-lg);
}

.app-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-white);
  color: var(--secondary);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: var(--transition-fast);
}

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

/* ===== Overview Section ===== */
.overview {
  background: var(--bg-white);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.overview-card {
  background: var(--bg-light);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.overview-card:hover {
  background: var(--bg-white);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.overview-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.overview-card h3 {
  font-size: var(--font-size-xl);
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.overview-card p {
  color: var(--text-gray);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-lg);
}

.overview-link {
  color: var(--primary);
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.overview-link:hover {
  text-decoration: underline;
}

/* ===== CTA Section ===== */
.cta {
  background: var(--gradient-primary);
  color: var(--bg-white);
  text-align: center;
}

.cta-content h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
}

.btn-outline {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

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

/* ===== Footer ===== */
.footer {
  background: var(--secondary);
  color: var(--text-light);
  padding: var(--space-xl) 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-link {
  color: var(--text-light);
  font-size: var(--font-size-sm);
}

.powered-by {
  font-size: var(--font-size-xs);
  color: var(--text-gray);
  margin-top: var(--space-xs);
  opacity: 0.8;
}

.powered-by a:hover {
  color: var(--primary) !important;
}

.footer-link:hover {
  color: var(--primary);
}

/* ===== Mobile Navigation ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-menu .nav-link {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

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

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto var(--space-xl);
  }

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

  .hero-visual {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .process-steps {
    flex-wrap: wrap;
  }

  .process-step {
    flex: 0 0 50%;
  }

  .process-step::after {
    display: none;
  }

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

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --font-size-6xl: 2.5rem;
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
  }

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

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

  .mobile-menu {
    display: block;
  }

  .lang-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-3xl);
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }

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

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

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

  .cta-content h2 {
    font-size: var(--font-size-2xl);
  }

  .process-step {
    flex: 0 0 100%;
  }

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

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

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

  .app-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* ===== Social Link SVG Styles ===== */
.social-link svg {
  width: 24px;
  height: 24px;
  transition: var(--transition-fast);
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 24px;
  border-radius: 50px;
  background: white;
  color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: auto;
  min-width: 300px;
  justify-content: center;
}

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

.toast.success {
  border-right: 4px solid #22c55e;
}

.toast.error {
  border-right: 4px solid #ef4444;
}

[dir="ltr"] .toast.success {
  border-right: none;
  border-left: 4px solid #22c55e;
}

[dir="ltr"] .toast.error {
  border-right: none;
  border-left: 4px solid #ef4444;
}

.toast-icon {
  font-size: 1.2rem;
}

.social-link:hover svg {
  transform: scale(1.2);
}

/* ===== App Button SVG Styles ===== */
.app-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}