/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    padding: 0.3rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    height: 100%;
}

.nav-brand img {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease;
    display: block;
}

.nav-brand h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
    line-height: 45px;
    height: 45px;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #64b5f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #64b5f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 1024px) {
    .nav-container {
        max-width: 100%;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a237e;
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .header {
        padding: 0.3rem 1rem;
    }

    .nav-brand img {
        width: 40px;
        height: 40px;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
        line-height: 40px;
    }

    .hero {
        margin-top: 50px;
    }
} 