.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(-45deg, #003366, #0055aa, #007BFF, #00ADEF);
    background-size: 400% 400%;
    animation: gradientBlueFlow 10s ease infinite;
    color: #fff;
    padding: 6px 0;
    transition: box-shadow 0.3s ease;
}

.scroll-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes gradientBlueFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.logo img {
    max-width: 140px;
    height: auto;
}

.header-search-container {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 6px 12px;
}

.search-form {
    display: flex;
    max-width: 400px;
    width: 100%;
}

.search-field {
    flex: 1;
    padding: 6px 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.search-submit {
    background-color: #444;
    color: #fff;
    padding: 6px 10px;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00bfff;
}

.menu-toggle {
    display: none;
    background-color: #007BFF;
    color: #fff;
    font-size: 22px;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        max-width: 120px;
    }

    .menu-toggle {
        display: block;
    }

    .header-search-container {
        width: 100%;
        padding: 0;
    }

    .search-form {
        width: 100%;
    }
}
