/* Ensure the body and container take full width */
body, html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* FOOTER SECTION */
.footer-section {
    text-align: center;
    background-color: #002d6b; /* Dark blue */
    padding: 20px;
    color: white;
    width: 100%;
    min-width: 225px; /* Prevent collapsing on ultra-small screens */
}

/* FOOTER LOGO */
.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 50px;
}

/* FOOTER LINKS */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    justify-content: center;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f0a500; /* Light orange on hover */
}

/* DIVIDER LINE */
.footer-line {
    width: 80%;
    border: 0.5px solid #ccc;
    margin: 15px auto;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #f0a500;
}

/* FOOTER TEXT */
.footer-text {
    font-size: 14px;
    margin-top: 10px;
}

/* 🔥 FIX: MAKE IT RESPONSIVE FOR NARROW SCREENS 🔥 */
@media (max-width: 400px) {
    .footer-section {
        padding: 10px;
    }

    .footer-logo {
        width: 80px; /* Smaller logo */
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .social-icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-icons a {
        font-size: 18px;
        margin: 5px;
    }
}

/* 🔥 FIX: FOR ULTRA-NARROW SCREENS (225PX) 🔥 */
@media (max-width: 250px) {
    .footer-section {
        padding: 5px;
    }

    .footer-logo {
        width: 70px; /* Smaller logo */
    }

    .footer-links {
        flex-direction: column;
        gap: 5px;
    }

    .social-icons a {
        font-size: 16px;
    }

    .footer-text {
        font-size: 12px;
    }
}
/* 🔥 FIX: FOR EXTREMELY NARROW SCREENS (120PX WIDTH) 🔥 */
@media (max-width: 150px) {
    .footer-section {
        padding: 5px;
        width: 100%;
        min-width: 120px; /* Prevent further shrinking */
    }

    .footer-logo {
        width: 60px; /* Smallest size */
    }

    .footer-links {
        flex-direction: column;
        gap: 3px;
        font-size: 10px;
    }

    .social-icons a {
        font-size: 14px;
        margin: 3px;
    }

    .footer-text {
        font-size: 10px;
    }
}

