/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
}

.logo img {
    height: 4rem;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
    margin-left: 4rem;
}

.nav-links a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 1.5rem;
}

.auth-buttons .btn {
    transition: all 0.3s ease;
}

.auth-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 32, 68, 0.15);
}

.mobile-menu-btn {
    display: none;
    font-size: 2.4rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 8rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 8rem);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 4rem;
        transition: left 0.3s ease;
        margin-left: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        padding: 1.5rem 0;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        transform: translateX(5px);
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        display: block;
    }

    .nav-links.active .auth-buttons {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    .nav-links.active .auth-buttons .btn {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }
}