/* Header and Navigation */
.header {
    background-color: #121212;
    border-radius: 30px;
    margin: 10px auto 5px;
    width: 95%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 5px;
    z-index: 1000;
}

.header-scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    margin: 5px auto 5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.header-scrolled:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    background-color: rgba(18, 18, 18, 1);
}

.logo {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-icon {
    color: #8eff54;
    margin-right: 6px;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center; /* Vertically align links */
}

.nav-links a {
    transition: color 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
    padding: 6px 10px;
    margin: 5px 0; /* Consistent top/bottom margin */
    border-radius: 20px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.5; /* Standardize text alignment */
}

.nav-links a:hover,
.nav-links a.active {
    color: #8eff54;
    background-color: rgba(142, 255, 84, 0.1);
}

.nav-links a.active {
    font-weight: 600;
}

.nav-links a.contact-btn {
    background-color: #ffffff; /* White background */
    color: #121212; /* Dark text */
    padding: 6px 16px; /* Match top/bottom padding, wider horizontally */
    margin: 5px 0; /* Match margin */
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    line-height: 1.5;
}

.nav-links a.contact-btn:hover,
.nav-links a.contact-btn.active {
    background-color: #8eff54; /* Green on hover/active */
    color: #121212;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.nav-links a.contact-btn.active {
    font-weight: 700;
}

/* Mobile nav links - Unchanged from original */
.mobile-nav-links a {
    transition: color 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #8eff54;
    background-color: rgba(142, 255, 84, 0.1);
}

.mobile-nav-links a.active {
    font-weight: 600;
}

/* Media Query for Mobile View - Unchanged from original */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 15px 10px;
        box-sizing: border-box;
        border-radius: 0;
    }

    .header-scrolled {
        margin: 0;
        transform: none;
    }

    .header-scrolled:hover {
        transform: none;
    }

    .mobile-nav-overlay {
        width: 100%;
        left: 0;
        right: 0;
        overflow-x: hidden;
    }

    .mobile-nav-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}