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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #34d4b4;
    color: #0a2540;
}

/* ─── Line Utilities ─── */
.bg-line-gray {
    background: #e5e7eb;
}

/* ─── Navbar ─── */
.nav-link {
    position: relative;
    color: #0a2540;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #34d4b4;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #34d4b4;
}

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

.nav-text {
    transition: color 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(10, 37, 64, 0.08);
}

#navbar.scrolled .nav-text {
    color: #0a2540;
}

#navbar.scrolled .nav-link {
    color: #0a2540;
}

/* ─── Mobile Menu ─── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #34d4b4;
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

#menu-btn.active .menu-line:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ─── Hero ─── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s ease forwards;
}

.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.4s; }
.fade-up:nth-child(4) { animation-delay: 0.6s; }

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

/* ─── Service Cards ─── */
.service-card {
    transition: all 0.4s ease;
    background: white;
}

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

/* ─── Form ─── */
select option {
    color: #0a2540;
}

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ─── Responsive ─── */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }
}
