footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px; /* Default height */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    color: #ff9900;
    background-color: black;
}

.footer-line {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 6px solid #ff9900;
}

.footer-info,
.footer-social {
    display: flex;
    align-items: center;
    margin: 0 10px;
    font-family: "CyberDyne", Arial, sans-serif;
    color: #ff9900;
}

.footer-info ul,
.footer-social ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-info ul li,
.footer-social ul li {
    margin: 0 0px;
}

.footer-info ul li a,
.footer-social ul li a {
    color: #ff9900;
    text-decoration: none;
}

.footer-text {
    text-align: center;
    font-family: "CyberDyne", Arial, sans-serif;
    color: #ff9900;
    font-size: 18px;
    margin-right: 5%
}

/* Media Queries */

@media (max-width: 425px) {
    footer {
        height: 40px;
    }

    .footer-line {
        border-top: 3px solid #ff9900;
    }

    .footer-info,
    .footer-social {
        display: flex;
        align-items: center;
        justify-content: center; /* Center content vertically */
        height: 100%; /* Take up full height of footer-line */
        margin: 0 5px; /* Reduced margin for smaller screens */
        margin-bottom: 4px;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        gap: -2px; /* Negative gap to pull links closer together */
    }

    .footer-info ul li,
    .footer-social ul li {
        margin: 0;
        line-height: 0.5; /* Slightly reduce line height to minimize space */
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 7px;
        line-height: 0.5; /* Match the li line-height */
    }

    .footer-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        margin-right: 0;
        line-height: 1.2;
    }
}

@media only screen and (min-width: 426px) and (max-width: 600px) {
    footer {
        height: 45px;
    }

    .footer-line {
        border-top: 4px solid #ff9900;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        gap: -2px; /* Negative gap to pull links closer together */
    }

    .footer-info ul li,
    .footer-social ul li {
        margin: 0;
        line-height: 0.5; /* Slightly reduce line height to minimize space */
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 7px;
    }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
    footer {
        height: 50px;
    }

    .footer-line {
        border-top: 4px solid #ff9900;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        gap: -2px; /* Negative gap to pull links closer together */
    }

    .footer-info ul li,
    .footer-social ul li {
        margin: 0;
        line-height: 0.5; /* Slightly reduce line height to minimize space */
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 9px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1023px) {
    footer {
        height: 60px;
    }

    .footer-line {
        border-top: 4px solid #ff9900;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        gap: -3px;
    }

    .footer-info ul li,
    .footer-social ul li {
        margin: 0;
        line-height: 0.9; /* Slightly reduce line height to minimize space */
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 11px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .footer-line {
        border-top: 4px solid #ff9900;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .footer-info ul li a {
        font-size: 16px;
    }

    .footer-social ul li a,
    .footer-text {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1440px) and (max-width: 1918px) {
    footer {
        height: 80px;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1919px) and (max-width: 1920px) {
    footer {
        height: 90px;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1921px) and (max-width: 2300px) {
    footer {
        height: 90px;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 20px;
    }
}

@media only screen and (min-width: 2301px) and (max-width: 2559px) {
    footer {
        height: 110px;
    }

    .footer-text {
        font-size: 26px;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 24px;
    }
}

@media only screen and (min-width: 2560px) {
    footer {
        height: 120px;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    
    .footer-info ul li a {
        font-size: 28px;
    }

    .footer-social ul li a {
        font-size: 24px;
    }

    .footer-text {
        font-size: 26px;
    }
}

/* === FORCE FIX FOR 425px EXACT === */
@media (max-width: 425.98px) and (min-width: 425px) {
    footer {
        height: 42px;
    }

    .footer-line {
        border-top: 3px solid #ff9900;
    }

    .footer-info,
    .footer-social {
        margin: 0 6px;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .footer-info ul li,
    .footer-social ul li {
        line-height: 0.6;
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 6.5px;
    }

    .footer-text {
        margin-right: 0;
        line-height: 1.1;
    }
}

/* === FORCE FIX FOR 1023px EXACT === */
@media (min-width: 1023px) and (max-width: 1023.98px) {

    footer {
        height: 60px;
    }

    .footer-line {
        border-top: 4px solid #ff9900;
    }

    .footer-info ul,
    .footer-social ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-info ul li a,
    .footer-social ul li a,
    .footer-text {
        font-size: 11px;
    }
}
