/* ===== BASE RESET & FOUNDATIONS ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #050D1E;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
}

/* ===== UTILITY: Focus visible ===== */
:focus-visible {
    outline: 2px solid #2DD4BF;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== NAVIGATION ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2DD4BF;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.3), transparent);
}

/* ===== INPUT STYLES ===== */
input:focus,
textarea:focus {
    background-color: rgba(5, 13, 30, 0.8);
}

/* ===== MOBILE MENU ANIMATION ===== */
.menu-line {
    display: block;
}

#menu-btn.active #line1 {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-btn.active #line2 {
    opacity: 0;
}

#menu-btn.active #line3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
    margin-right: 0;
}

/* ===== ACCESSIBILITY: Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 639px) {
    .service-card {
        animation-delay: 0s !important;
    }
    
    .service-card.visible {
        animation: fadeUp 0.4s ease forwards;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .service-card {
        animation-delay: 0.05s;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
