/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #060F1F 0%,
        #0B1D3A 30%,
        #102A52 55%,
        #0D3B4E 75%,
        #0A2E3C 100%
    );
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
#navbar.scrolled {
    background: rgba(6, 15, 31, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo-text { color: #ffffff; transition: color 0.3s; }
.nav-link {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #34D4A8;
    transition: width 0.3s;
}
.nav-link:hover { color: #ffffff; }
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-menu-link { color: #ffffff; transition: color 0.3s; }
.mobile-menu-link:hover { color: #34D4A8; }
#mobile-menu.open { opacity: 1; pointer-events: all; }

/* ── Service Cards ── */
.service-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(11, 29, 58, 0.12);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── CTA Section ── */
.cta-accent {
    background: #34D4A8;
}

/* ── Form ── */
#contact-form input:focus,
#contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(52, 212, 168, 0.15);
}

/* ── Utility ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Selection ── */
::selection {
    background: rgba(52, 212, 168, 0.3);
    color: #0B1D3A;
}
