.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.logo {
    width: 180px;
}

.logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a237e;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.logo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1a237e 0%, #3f51b5 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo h2:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3f51b5;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.main-nav {
    width: 100%;
}

/* Desktop styles */
@media screen and (min-width: 769px) {
    .main-nav {
        padding-right: 180px;
    }
    
    .nav-menu {
        gap: 48px;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .logo {
        width: auto;
        text-align: left;
    }

    .logo h2 {
        font-size: 20px;
    }

    .nav-menu {
        width: auto;
        display: flex;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu a {
        font-size: 14px;
        white-space: nowrap;
    }
} 