/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(247, 245, 242, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.08);
}

.nav-scrolled .nav-logo {
    color: #0A1628 !important;
}

.nav-scrolled .mobile-link {
    color: #0A1628 !important;
}

/* Mobile menu open state */
.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open #bar1 {
    transform: translateY(5px) rotate(45deg);
}

.mobile-menu-open #bar2 {
    opacity: 0;
}

.mobile-menu-open #bar3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Service card hover - subtle lift */
.group:hover {
    transform: translateY(-4px);
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Selection color */
::selection {
    background: #7EC8B8;
    color: #0A1628;
}

/* Focus visible styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #7EC8B8;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
