/* 
 * IT Services Website - Design System & Global Styles
 * Theme: High-end, Dark Tech
 */

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

:root {
    /* Color Palette */
    --bg-body: #050507;
    --bg-card: #0F1016;
    --bg-nav: rgba(5, 5, 7, 0.9);

    --primary: #00F0FF;
    /* Electric Cyan */
    --secondary: #7000FF;
    /* Deep Purple */
    --accent: #FF0055;
    /* Vivid Pink/Red for calls to action */

    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-med: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-main);
}

h1 {
    font-size: 2.5rem;
    /* Reduced from 3.5rem */
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 0, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.section-padding {
    padding: 60px 0;
    /* Reduced from 100px */
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Flex Utilities */
.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
        /* Reduced from 2.2rem */
    }

    h2 {
        font-size: 1.5rem;
        /* Reduced from 1.8rem */
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .container {
        width: 92%;
    }

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