/* IMNIY Solutions Ltd - Root CSS Variables */
/* Based on logo gradient colors: Deep Blue/Purple to Bright Cyan/Turquoise */

:root {
    /* Primary Brand Colors from Logo */
    --primary-dark: #1a0b3d;
    --primary-medium: #2d1b69;
    --primary-light: #4c3baf;
    --accent-cyan: #00d4ff;
    --accent-turquoise: #00ffcc;
    --accent-bright: #66ffdd;
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--accent-cyan) 100%);
    --gradient-secondary: linear-gradient(45deg, var(--accent-turquoise) 0%, var(--accent-bright) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 30%, var(--accent-cyan) 70%, var(--accent-turquoise) 100%);
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    /* 3D Effect Colors */
    --shadow-light: rgba(0, 212, 255, 0.3);
    --shadow-medium: rgba(26, 11, 61, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.6);
    --glow-cyan: rgba(0, 212, 255, 0.8);
    --glow-turquoise: rgba(0, 255, 204, 0.6);
    /* Typography */
    --font-primary: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-heading: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Georgia', 'Times New Roman', serif;
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-round: 50%;
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    /* Z-Index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    /* Container Widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
    /* Page Margins */
    --page-margin: 2rem;
    --page-margin-mobile: 1rem;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
    overflow-x: hidden;
}

/* Container System */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--page-margin);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--page-margin-mobile);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Responsive Font Sizes */
@media (max-width: 300px) {
    html {
        font-size: 12px;
    }

    .container {
        padding: 0 0.5rem;
    }
}

@media (min-width: 301px) and (max-width: 576px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 769px) {
    html {
        font-size: 16px;
    }
}
