body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #111;
    padding: 10px 20px;
    color: white;
    flex-wrap: wrap;
}

.logo a {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.search-bar {
    flex: 1;
    display: flex;
    margin: 10px 20px;
}

.search-bar input {
    width: 100%;
    padding: 5px;
    border: none;
    border-radius: 3px 0 0 3px;
}

.search-bar button {
    padding: 5px 10px;
    background-color: #555;
    border: none;
    color: white;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 22px;
}

.menu {
    display: flex;
    align-items: center;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #222;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 160px;
    z-index: 10;
    border: 1px solid #444;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.submenu li a:hover {
    background-color: #333;
}

.icons a,
.social-icons a {
    margin-left: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: #111;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
    }

    .menu ul {
        flex-direction: column;
        gap: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu.active {
        display: flex;
    }

    .search-bar {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
}
