footer {
    color: #fff;
    font-family: 'BPGArialCaps2010', sans-serif;
}

/* Footer Section 1 */
.footer-section1 {
    background-color: rgb(31, 32, 36);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: wrap; /* allow wrapping on smaller screens */
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: solid;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease;
}

.footer-links li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, left 0.3s ease;
}

.footer-links li a:hover::before {
    width: 100%;
    left: 0;
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.social-media a img {
    width: 24px;
    height: auto;
    transition: transform 0.3s ease;
}

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

/* Footer Section 2 */
.footer-section2 {
    background-color: #064e45;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
}

.footer-section2 p {
    margin-top: 9px;
    margin-bottom: 9px;
}

/* ✅ Responsive Fix */
@media (max-width: 768px) {
    .footer-section1 {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .social-media {
        justify-content: center;
    }
}
