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

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #111111;
  --bg-surface: #28282B;
  --bg-surface-hover: #333336;
  --accent-primary: #FF6A00;
  --accent-hover: #e55f00;
  --accent-dark: #cc5500;
  --text-primary: #FFFFFF;
  --text-secondary: #BFBFBF;
  --border-color: #3f3f43;
  --error-color: #ff3333;
  --success-color: #25d366;

  /* Typography */
  --font-arabic: 'Alexandria', sans-serif;
  --font-english: 'Montserrat', sans-serif;
  --font-primary: var(--font-arabic);

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

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.6s ease-in-out;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(255, 106, 0, 0.25);
  --shadow-glow-strong: 0 0 35px rgba(255, 106, 0, 0.45);

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-primary); }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.section-padding {
  padding: var(--spacing-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  max-width: 700px;
  margin-inline: auto;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-primary);
  margin: var(--spacing-sm) auto 0;
  border-radius: 2px;
}

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

.bg-surface {
  background-color: var(--bg-surface);
}

.w-100 {
  width: 100%;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  gap: var(--spacing-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

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

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

.btn-outline:hover {
  background-color: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Spinner for loading states */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-inline-end: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ==========================================================================
   7. Header / Navigation (Glassmorphic)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(17, 17, 17, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(255, 106, 0, 0.15);
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand img {
  height: 42px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

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

.nav-actions .btn {
  padding: 0.5rem 1.5rem;
}

.lang-switcher {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-english);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.lang-switcher:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  right: 0;
}

.hamburger::before { top: -7px; width: 20px; }
.hamburger::after { top: 7px; width: 16px; }

.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  top: 0;
  width: 24px;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
  top: 0;
  width: 24px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--spacing-3xl);
  position: relative;
  overflow: hidden;
}

/* Geometric Triangle Mesh Background */
.hero-bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* Diagonal lines creating triangle mesh feel */
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 80px,
      rgba(255, 106, 0, 0.025) 80px,
      rgba(255, 106, 0, 0.025) 82px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 80px,
      rgba(255, 106, 0, 0.025) 80px,
      rgba(255, 106, 0, 0.025) 82px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255, 106, 0, 0.015) 80px,
      rgba(255, 106, 0, 0.015) 82px
    );
}

.hero-bg-mesh::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 106, 0, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(255, 106, 0, 0.04) 0%, transparent 40%);
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.1vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-title {
    white-space: nowrap;
  }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
}

/* Hero Tracking Form */
.hero-tracking-form {
  margin-bottom: var(--spacing-3xl);
}

.tracking-input-group {
  display: flex;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 0.4rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  max-width: 560px;
}

.tracking-input-group:focus-within {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow-strong);
}

.tracking-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.2rem;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.tracking-input:focus {
  outline: none;
}

.tracking-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--spacing-3xl);
  flex-wrap: wrap;
}

.stat-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.stat-counter:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  left: -1.5rem;
  height: 80%;
  width: 1px;
  background: var(--border-color);
}

[dir="rtl"] .stat-counter:not(:last-child)::after {
  left: auto;
  right: -1.5rem;
}

.stat-number {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  font-family: var(--font-english);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   9. Services Grid
   ========================================================================== */
.services-section {
  position: relative;
}

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

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-2xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* Top accent bar on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

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

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 106, 0, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  font-size: 2rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.service-title {
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   10. About / Values Section
   ========================================================================== */
.about-section {
  position: relative;
}

.about-text {
  max-width: 700px;
  margin-bottom: var(--spacing-3xl);
}

.about-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

.value-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.value-card:hover {
  border-color: rgba(255, 106, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-inline: auto;
  background: rgba(255, 106, 0, 0.08);
  border-radius: 50%;
}

.value-title {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.value-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   11. CTA / Tracking Section
   ========================================================================== */
.cta-tracking-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-geometry {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.06) 0%, transparent 50%),
    linear-gradient(-135deg, rgba(255, 106, 0, 0.04) 0%, transparent 50%);
}

.cta-bg-geometry::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(255, 106, 0, 0.06);
  border-radius: 50%;
}

.cta-bg-geometry::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  border: 2px solid rgba(255, 106, 0, 0.04);
  border-radius: 50%;
}

.cta-tracking-section > .container {
  position: relative;
  z-index: 1;
}

.large-tracking-form {
  max-width: 650px;
  margin: var(--spacing-2xl) auto 0;
}

/* ==========================================================================
   12. Contact Section
   ========================================================================== */
.contact-section {
  position: relative;
}


.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: rgba(255, 106, 0, 0.3);
}

.contact-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-card a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.contact-card a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  background: #0a0a0a;
  padding-top: var(--spacing-4xl);
  position: relative;
}

.footer-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to left, var(--accent-primary), transparent);
}

[dir="ltr"] .footer-accent-line {
  background: linear-gradient(to right, var(--accent-primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: var(--spacing-2xl);
  padding-bottom: var(--spacing-3xl);
}

.footer-logo {
  height: 45px;
  width: auto;
  margin-bottom: var(--spacing-md);
}

.footer-desc {
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-primary);
}

[dir="ltr"] .footer-heading::after {
  right: auto;
  left: 0;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-inline-start: 0.5rem;
}

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--accent-primary);
}



/* Footer Bottom */
.footer-bottom {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   14. Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all var(--transition-normal);
}

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

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  background-color: #128c7e;
}

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

/* ==========================================================================
   15. Back to Top
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  left: 36px;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 998;
}

[dir="ltr"] .back-to-top {
  left: auto;
  right: 36px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   16. Scroll Animations
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-down"] {
  transform: translateY(-20px);
}

[data-animate="fade-right"] {
  transform: translateX(40px);
}

[data-animate="fade-left"] {
  transform: translateX(-40px);
}

[data-animate="zoom-in"] {
  transform: scale(0.92);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ==========================================================================
   17. Loader
   ========================================================================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   18. Responsive Design
   ========================================================================== */

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
  }


}

/* Tablets and below (768px) */
@media (max-width: 768px) {
  :root {
    --spacing-4xl: 4rem;
    --spacing-3xl: 3rem;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    padding: calc(var(--header-height) + 2rem) var(--spacing-xl) var(--spacing-xl);
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    overflow-y: auto;
  }

  [dir="ltr"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-color);
  }

  .nav-links.active {
    right: 0;
  }

  [dir="ltr"] .nav-links.active {
    right: auto;
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions {
    display: flex;
    margin-inline-start: auto;
    margin-inline-end: 1rem;
  }
  .nav-actions .btn {
    display: none;
  }

  /* Hero */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: var(--spacing-2xl);
  }

  .hero-stats {
    gap: var(--spacing-2xl);
  }

  .stat-counter:not(:last-child)::after {
    display: none;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }

  /* Contact */
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

/* Small phones (480px) */
@media (max-width: 480px) {
  :root {
    --spacing-4xl: 3rem;
    --spacing-3xl: 2rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .tracking-input-group {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .tracking-input-group .btn {
    width: 100%;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: var(--spacing-xl);
  }

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

  .large-tracking-form {
    margin-top: var(--spacing-xl);
  }

  .nav-links {
    width: 85%;
  }
}

/* Extra small (320px) */
@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 1.25rem;
  }
}
