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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #fff;
}

/* ─── NAV SCROLLED STATE ─── */
.nav-scrolled {
    background: rgba(2, 5, 16, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── HERO ANIMATIONS ─── */
.hero-headline {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-lead {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── MARQUEE ─── */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* ─── SCROLL REVEAL ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ─── SERVICE CARDS ─── */
.service-card {
    cursor: default;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ─── SELECT STYLING ─── */
select option {
    background: #050A18;
    color: #fff;
    padding: 8px;
}

/* ─── MOBILE MENU TRANSITIONS ─── */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020510;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}
