/* ============================================
   Studyline Immigration - Design System
   ============================================ */

:root {
  /* Primary Colors — softened, paler blue to match the brand mark */
  --primary: #2f4d6b;
  --primary-light: #4a6d8f;
  --primary-dark: #21374a;
  --primary-gradient: linear-gradient(135deg, #2f4d6b 0%, #6a94c7 100%);

  /* Accent colors derived from the blue brand mark. */
  --accent: #2f4d6b;
  --accent-light: #4a6d8f;
  --accent-dark: #21374a;

  /* Canada Flag Red */
  --canada-red: #c8102e;

  /* Secondary */
  --secondary: #5f8ab8;
  --secondary-light: #86aad0;
  --secondary-dark: #46678a;

  /* Shared blue surfaces keep every decorative icon and card on brand.
     Legacy names remain aliases for existing page markup. */
  --pastel-blue: #eaf1f8;
  --pastel-blue-ink: #4a6d8f;
  --pastel-red: var(--pastel-blue);
  --pastel-red-ink: var(--pastel-blue-ink);
  --pastel-gold: var(--pastel-blue);
  --pastel-gold-ink: var(--pastel-blue-ink);
  --pastel-teal: var(--pastel-blue);
  --pastel-teal-ink: var(--pastel-blue-ink);
  --pastel-violet: var(--pastel-blue);
  --pastel-violet-ink: var(--pastel-blue-ink);
  --pastel-pink: var(--pastel-blue);
  --pastel-pink-ink: var(--pastel-blue-ink);

  /* Neutral */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Semantic */
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Segoe UI', sans-serif;

  /* Font Sizes — slightly reduced for a calmer, zoomed-out layout */
  --text-xs: 0.72rem;
  --text-sm: 0.84rem;
  --text-base: 0.96rem;
  --text-lg: 1.06rem;
  --text-xl: 1.15rem;
  --text-2xl: 1.35rem;
  --text-3xl: 1.7rem;
  --text-4xl: 2rem;
  --text-5xl: 2.6rem;
  --text-6xl: 3.2rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 20px rgba(95,138,184,0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;

  /* Container */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
}
