
.footer {
    background-color: #1b7f3b;
    color: white;
    width: 100%;
    padding: 30px 0 0;
    font-family: Arial, Helvetica, sans-serif;
}


.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        1.1fr
        1.25fr
        1.15fr
        1.2fr;
    gap: 45px;
    padding: 0 35px 35px;
}



.footer-logos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.logo-grid {
    width: 270px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    row-gap: 25px;
    align-items: center;
    justify-items: center;
}


.logo-item {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.logo-sanagustin {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.logo-quezon {
    width: 115px;
    height: 115px;
    object-fit: contain;
}

.logo-dpo {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.logo-republic {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-column {
    padding-top: 0;
}

.footer-column h5 {
    color: #ffc107;
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.footer-column p {
    color: white;
    margin: 0 0 20px 0;
    font-size: 17px;
    line-height: 1.55;
}

.footer-opening {
    margin-top: 25px !important;
}

.footer-column > a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 17px;
    margin-bottom: 15px;
    transition: opacity 0.2s ease;
}

.footer-column > a:hover {
    color: white;
    opacity: 0.75;
}


.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: white;
    font-size: 16px;
    line-height: 1.4;
}

.footer-contact img {
    width: 20px;
    height: 20px;

    object-fit: contain;

    flex-shrink: 0;
}

.footer-contact span {
    flex: 1;
}


.republic-column p {
    max-width: 330px;
}


.footer-line {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}


.footer-bottom {
    width: 100%;

    text-align: center;

    padding: 18px 20px;

    font-size: 13px;

    color: white;

    background-color: #176f35;
}


@media (max-width: 1100px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-logos {
        justify-content: flex-start;
    }

}


@media (max-width: 700px) {

    .footer-container {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }

    .footer-logos {
        justify-content: center;
    }

    .logo-grid {
        margin: 0 auto;
    }

    .footer-column {
        text-align: left;
    }

}