/* IHS Enterprises Pty Ltd - Design System Variables & Reset */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette - Exact digitaltenx.qa Obsidian & Electric Mint Scheme */
  --bg: #080d0d;          /* Deep obsidian canvas background (--deep) */
  --bg-alt: #050807;      /* Darker section & floating bar background */
  --surface: #111616;     /* Rich dark card surface (--deep-2) */
  --surface-2: #182020;   /* Elevated & hover card surface (--deep-3) */
  --surface-glass: rgba(17, 22, 22, 0.75);
  --border: #232b2a;      /* Subtle dark border rule (--deep-rule) */
  --border-light: #34403d;/* Secondary border rule (--rule-2) */
  --border-glow: rgba(0, 214, 143, 0.4); /* Glowing mint border */
  
  /* Signature Electric Mint Accents (from digitaltenx.qa) */
  --primary: #00d68f;     /* The signature electric mint (--mint) */
  --primary-600: #00976a; /* Deep mint display (--mint-display) */
  --primary-400: #33deb0; /* Vibrant mint highlight */
  --primary-glow: rgba(0, 214, 143, 0.35);
  --glow: rgba(0, 214, 143, 0.35);
  --glow-subtle: rgba(0, 214, 143, 0.08);
  
  /* Text and Foreground (from digitaltenx.qa) */
  --text: #f4f6f5;        /* Crisp on-deep text (--on-deep) */
  --text-pure: #ffffff;
  --muted: #b3bdba;       /* High-contrast secondary text (--on-deep-2) */
  --muted-light: #8d9996; /* Subtle label & meta text (--on-deep-3) */
  
  /* Functional Indicators */
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --info: #38bdf8;
  --info-bg: rgba(56, 189, 248, 0.15);
  --success: #00d68f;
  --success-bg: rgba(0, 214, 143, 0.14);

  /* Typography (Exact Reference Font Archivo for all headings) */
  --font-heading: 'Archivo', 'Archivo Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Heading Typography Weights & Tracking matching digitaltenx.qa */
  --w-display: 650;
  --w-heading: 600;
  --track-display: -0.045em;
  --track-tight: -0.02em;

  /* Fluid Font Sizes using clamp() */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.825rem);
  --text-sm: clamp(0.825rem, 0.78rem + 0.25vw, 0.95rem);
  --text-base: clamp(0.925rem, 0.88rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem);
  --text-2xl: clamp(1.35rem, 1.2rem + 0.8vw, 1.95rem);
  --text-3xl: clamp(1.65rem, 1.45rem + 1.2vw, 2.5rem);
  --text-4xl: clamp(1.95rem, 1.65rem + 1.8vw, 3.2rem);
  --text-hero: clamp(2.15rem, 1.8rem + 2.5vw, 4.2rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 12px 32px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-card-hover: 0 24px 50px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 214, 143, 0.45), 0 0 35px -6px rgba(0, 214, 143, 0.22);
  --shadow-glow: 0 0 35px var(--glow);
  --shadow-glow-sm: 0 0 16px rgba(0, 214, 143, 0.28);
  --shadow-button: 0 4px 20px rgba(0, 214, 143, 0.38), 0 0 0 1px rgba(0, 214, 143, 0.6);

  /* Signature Gradients */
  --gradient-heading: linear-gradient(180deg, #ffffff 20%, #c4cfcc 100%);
  --gradient-mint: linear-gradient(135deg, #00d68f 0%, #33deb0 100%);
  --gradient-card: linear-gradient(145deg, rgba(17, 22, 22, 0.85) 0%, rgba(12, 16, 16, 0.95) 100%);
  --gradient-card-hover: linear-gradient(145deg, rgba(24, 32, 32, 0.9) 0%, rgba(17, 22, 22, 0.98) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Maximum Layout Widths */
  --max-width: 1240px;
  --max-width-wide: 1380px;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 4px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-600);
}

::selection {
  background: var(--primary);
  color: var(--bg);
}
