/* ========== CUSTOM STYLES ========== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111c36;
}
::-webkit-scrollbar-thumb {
    background: #3d56a8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #419b73;
}

/* ========== NAVIGATION ========== */
.nav-link {
    position: relative;
    color: #1c2a52;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: #419b73;
}

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

/* Scrolled nav state */
header.scrolled .nav-logo-text {
    color: #111c36;
}

header.scrolled .nav-link {
    color: #1c2a52;
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #419b73;
    transition: height 0.5s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* ========== PROCESS STEPS ========== */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d5dced;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.process-step:last-child::after {
    display: none;
}

/* ========== MOBILE MENU ========== */
#mobile-menu {
    pointer-events: auto;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

.mobile-nav-link {
    position: relative;
    transition: color 0.3s ease;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== FORM STYLES ========== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(65, 155, 115, 0.15);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231c2a52' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

    html {
        scroll-behavior: auto;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .font-serif.text-5xl,
    .font-serif.text-6xl {
        font-size: 2.25rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* ========== PRINT ========== */
@media print {
    header,
    footer,
    #contact,
    .cta-banner {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
