:root {
  /* --- Fonts --- */
  --font-alexandria: 'Alexandria', sans-serif;
  --font-ibm-plex-sans-arabic: 'IBM Plex Sans Arabic', sans-serif;

  /* --- Color System --- */
  --color-primary-dark: #0B6B35;
  --color-primary-darker: #06401F;
  --color-secondary-green: #78BE20;
  
  --color-gold-luxury: #C8A600;
  --color-teal-helper: #0E8FA3;
  
  --color-base-paper: #F8F7F2;
  --color-soft-shade: #EEF5EA;
  --color-surface: #FFFFFF;
  
  --color-text-headings: #0B6B35;
  --color-text-primary: #26352B;
  --color-text-muted: #66736B;
  --color-text-white: #FFFFFF;
  --color-text-gold: #C8A600;

  /* Shadows (Thick, Watercolor, Deep) */
  --shadow-deep-green: 0 40px 80px -10px rgba(11, 107, 53, 0.15);
  --shadow-hover-green: 0 50px 100px -10px rgba(11, 107, 53, 0.25);
  --shadow-solid-gold: 4px 4px 0px var(--color-gold-luxury);

  /* Border Radii (The Blade and Arch system) */
  --arch-radius: 120px;
  --sharp-radius: 0px;
  --soft-radius: 16px;

  /* Margins - Balanced breathing room */
  --section-spacing: clamp(72px, 9vw, 120px);
  --container-max: 1300px;
  --container-padding: clamp(16px, 3vw, 32px);

  /* Luxury Motion System */
  --easing-luxury: cubic-bezier(0.25, 0.8, 0.25, 1);     /* Smooth and elegant */
  --easing-cinematic: cubic-bezier(0.16, 1, 0.3, 1);      /* Prolonged deceleration */
  --transition-slow: 0.8s var(--easing-luxury);
  --transition-normal: 0.4s var(--easing-luxury);
  --transition-fast: 0.2s ease-out;
}

html {
  height: 100%;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: var(--color-base-paper);
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--color-text-primary);
  font-family: var(--font-ibm-plex-sans-arabic), sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-alexandria), sans-serif;
  color: var(--color-text-headings);
  font-weight: 700;
  line-height: 1.2;
}

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

img,
svg,
video,
iframe {
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ================== Global Unified WA Button ================== */
.btn-whatsapp-global {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #25D366;
  color: #FFFFFF !important;
  font-family: var(--font-ibm-plex-sans-arabic), sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  padding: 16px clamp(20px, 3vw, 36px);
  border-radius: var(--soft-radius);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-whatsapp-global::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.8s var(--easing-luxury);
}

.btn-whatsapp-global.full-width {
  width: 100%;
}

.btn-whatsapp-global:hover {
  background-color: #1EBE5C;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-global:hover::before {
  left: 150%;
}

.btn-whatsapp-global:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 480px) {
  .btn-whatsapp-global {
    width: 100%;
    font-size: 1rem !important;
    padding: 14px 24px !important;
  }
}

@media (max-width: 1023px) {
  :root {
    --arch-radius: 88px;
  }
}

@media (max-width: 767px) {
  :root {
    --arch-radius: 56px;
  }
}

@media (max-width: 479px) {
  :root {
    --soft-radius: 14px;
    --section-spacing: clamp(48px, 8vw, 80px);
  }
}
