header {
    background-color: black;
    padding: 0 10px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    position: relative;
}
.logo {
    height: 100px;
    width: auto;
    border-radius: 50%;
    position: absolute;
    left: 20px;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    color: #7e7e7e;
    text-decoration: none;
    font-size: 1rem;
}

nav ul li a:hover {
    color: white;
}

/* Mobile styling */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        justify-content: center;
        height: auto;
    }

    .logo {
        position: static;
        margin-bottom: 15px;
        display: block;
        margin: 0 auto;
        margin-top: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    nav ul li {
        margin-right: 15px;
    }

    nav ul li a {
        font-size: 16px;
    }
}

/* Footer Styles */
footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box; /* Ensure padding is included in width */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer ul li {
    display: flex;
    align-items: center;
    margin: 10px;
}

footer ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #ff416c; /* Color change on hover */
}

footer ul li i {
    font-size: 24px; /* Icon size */
    margin-right: 10px;
    transition: transform 0.3s ease;
}

footer ul li a:hover i {
    transform: scale(1.2); /* Slightly enlarge icon on hover */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    footer ul {
        flex-direction: column;
        align-items: center; /* Center the entire list on mobile */
    }

    footer ul li {
        width: 100%; /* Make the list items take the full width */
        display: flex;
        justify-content: flex-start; /* Align items to the start */
        margin: 15px 0;
    }

    footer ul li a {
        justify-content: flex-start; /* Ensure icons and text are left-aligned */
    }
}