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

:root {
  /* Brand Colors - Sunline Energy */
  --primary:        #F97316;   /* Energetic Orange */
  --primary-dark:   #EA580C;
  --primary-light:  #FED7AA;
  --accent:         #0EA5E9;   /* Sky Blue */
  --accent-dark:    #0284C7;

  /* Neutrals */
  --dark:           #111827;
  --dark-2:         #1F2937;
  --dark-3:         #374151;
  --mid:            #6B7280;
  --light-2:        #E5E7EB;
  --light:          #F9FAFB;
  --white:          #FFFFFF;

  /* Typography */
  --font-en:        'Inter', sans-serif;
  --font-ar:        'Cairo', sans-serif;

  /* Spacing & Radii */
  --radius-sm:      4px;
  --radius:         8px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-full:    9999px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition:      all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.16);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.22);

  /* Z-index */
  --z-nav:    1000;
  --z-modal:  2000;
  --z-top:    9999;
}

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

html {
  scroll-behavior: smooth;
}

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

body.rtl {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

body.rtl .nav-links a::after {
  left: auto;
  right: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul, ol {
  list-style: none;
}
