/* ==========================================================================
   ITQAN Fingerprint - Modern 2026 Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #ff6b00;
  --primary-hover: #e05e00;
  --primary-light: #fff5ee;
  --primary-glow: rgba(255, 107, 0, 0.18);
  
  --dark-bg: #0b1329;
  --dark-surface: #111c38;
  --dark-card: #162447;
  --dark-border: #203159;
  
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --text-light: #f8fafc;
  
  --success: #10b981;
  --whatsapp: #25d366;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-primary: 0 12px 25px -8px rgba(255, 107, 0, 0.35);
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Cairo', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--font-en);
  background-color: var(--light-bg);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .top-bar-content,
[dir="rtl"] .nav-links,
[dir="rtl"] .service-header,
[dir="rtl"] .footer-col {
  text-align: right;
}

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

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

button, input, textarea, select {
  font: inherit;
}

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

/* Typography Utilities */
.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-body);
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.top-bar {
  background: var(--dark-bg);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 500;
}

.top-contact-item:hover {
  color: var(--primary);
}

.top-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.top-social-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  transition: var(--transition);
}

.top-social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.top-social-link svg {
  width: 14px;
  height: 14px;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

/* ==========================================================================
   Main Sticky Navbar
   ========================================================================== */
.main-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

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

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

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8533 100%);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -6px rgba(255, 107, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--light-border);
}

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

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
}

.btn-white {
  background: white;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--light-bg);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 6px;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(11, 19, 41, 0.04) 0%, transparent 40%),
              #ffffff;
  padding: 90px 0 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--light-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--primary-light);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-tag svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c3b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

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

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--light-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-card-main {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
}

.hero-card-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-main:hover img {
  transform: scale(1.03);
}

.hero-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 19, 41, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.badge-info p {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.hero-floating-stat {
  position: absolute;
  top: -24px;
  right: -20px;
  background: white;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon svg {
  width: 22px;
  height: 22px;
}

.floating-text h5 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}

.floating-text span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
  background: var(--dark-bg);
  color: white;
  padding: 48px 0;
  position: relative;
}

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

.stat-box {
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:last-child {
  border-right: none;
}

[dir="rtl"] .stat-box {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .stat-box:last-child {
  border-left: none;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 110px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  padding: 24px;
  text-align: center;
}

.about-image-card img {
  margin: 0 auto;
  max-height: 300px;
  object-fit: contain;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-primary);
  text-align: center;
}

[dir="rtl"] .experience-badge {
  right: auto;
  left: -20px;
}

.experience-badge .exp-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .exp-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.about-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-content p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-box svg {
  width: 18px;
  height: 18px;
}

.about-feature-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 110px 0;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ff944d);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 0, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.06);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--light-border);
}

.service-tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--light-bg);
  color: var(--text-body);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-section {
  padding: 90px 0;
  background: var(--dark-bg);
  color: white;
}

.partners-section .section-title {
  color: white;
}

.partners-section .section-desc {
  color: #94a3b8;
}

.partners-banner-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
}

.partners-banner-card img {
  margin: 0 auto;
  max-width: 90%;
  filter: brightness(1.05);
}

.partner-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.partner-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  transition: var(--transition);
}

.partner-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 110px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--dark-bg);
  color: white;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-info-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card > p {
  color: #94a3b8;
  font-size: 0.98rem;
  margin-bottom: 36px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.detail-text h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.detail-text a, .detail-text p {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.detail-text a:hover {
  color: var(--primary);
}

.map-preview-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-preview-box img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.map-preview-box:hover img {
  transform: scale(1.04);
}

/* Contact Form */
.contact-form-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--light-border);
  background: white;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

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

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  margin-top: 14px;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #070c1a;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand img {
  height: 44px;
  filter: brightness(1.2);
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 22px;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-4px);
}

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

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
}

.back-to-top:hover {
  color: var(--primary);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: var(--whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

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

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: var(--dark-bg);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .floating-whatsapp-tooltip {
  right: auto;
  left: 74px;
  transform: translateX(-10px);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-box:nth-child(2) {
    border-right: none;
  }
  
  [dir="rtl"] .stat-box:nth-child(2) {
    border-left: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--light-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.35rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-box {
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }
  
  .stat-box:last-child {
    border-bottom: none;
  }
}
