/* SUTRA - Global Styles & Design System */

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

/* CSS Variables - Design Tokens */

:root {
  /* Brand Colors */
  --sutra-green: #2a6a54;
  --sutra-accent: #d9534f;
  --sutra-dark: #1f4336;
  --sutra-light-bg: #f1f5f3;
  
  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  
  /* Additional Colors for Forms */
  --primary-color: var(--sutra-green);
  --primary-dark: var(--sutra-dark);
  --text-dark: var(--sutra-dark);
  --border-color: rgba(42, 106, 84, 0.2);
  --transition: var(--transition-base);
  
  /* Typography Scale */
  --font-size-h1: clamp(2.2rem, 5vw, 3rem);
  --font-size-h2: 2rem;
  --font-size-h3: 1.5rem;
  --font-size-body: 1.1rem;
  --font-size-subtitle: 0.95rem;
  
  /* Transitions */
  --transition-base: 250ms ease;
  --transition-fast: 200ms ease;
  --transition-slow: 300ms ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Tajawal', sans-serif;
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--sutra-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-block-end: var(--space-4);
  color: var(--sutra-dark);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 800;
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

p {
  margin-block-end: var(--space-4);
}

a {
  color: var(--sutra-green);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--sutra-dark);
}

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

/* RTL/LTR Base Classes */
.lang-ar {
  direction: rtl;
  text-align: right;
}

.lang-en {
  direction: ltr;
  text-align: left;
}

