footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-sec {
    width: 15%;
    margin: 0 auto;
}

.footer-sec h2,
.footer-sec h4 {
    color: #fff;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-sec p,
.footer-links li {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin: 5px 0;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: white;
}

.footer-social img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.1);
}

.footer-legal {
    text-align: center;
    font-size: 14px;
    color: #ddd;
    margin-top: 20px;
}

.footer-legal-link {
    color: #ddd;
    text-decoration: none;
    margin: 0 5px;
}

.footer-legal-link:hover {
    color: #fff;
}

.dropdown-footer {
    position: relative;
}

.dropdown-footer > a {
    display: inline-block;
}

.dropdown-menu-footer {
    display: none;
    position: absolute;
    left: 0;
    background-color: #444;
    padding: 5px 0;
    list-style: none;
    border-radius: 5px;
    z-index: 10;
}

.dropdown-menu-footer li {
    padding: 0px 10px;
}

.dropdown-menu-footer a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

.dropdown-menu-footer a:hover {
    color: #fff;
    background-color: #555;
}

.dropdown-footer:hover .dropdown-menu-footer {
    display: block;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-sec {
        text-align: center;
        width: 100%;
    }

    .footer-social a {
        margin-right: 0px;
    }

    .footer-social img {
        margin: 0 5px;
    }

    .dropdown-menu-footer {
        position: static;
        background-color: #333;
    }
}