/* ==========================================
   FOOTER
========================================== */

.site-footer {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #071A4A 0%,
            #0B2462 55%,
            #12306F 100%
        );

    color: #ffffff;

    padding: 75px 0 0;
}


/* ==========================================
   DECORATION
========================================== */

.site-footer::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(47, 167, 160, 0.08);

    top: -180px;
    right: -100px;

    pointer-events: none;
}


.site-footer::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.03);

    bottom: -150px;
    left: -80px;

    pointer-events: none;
}


/* ==========================================
   GRID
========================================== */

.footer-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.6fr
        0.8fr
        0.9fr
        1fr;

    gap: 55px;

    padding-bottom: 55px;
}


/* ==========================================
   BRAND
========================================== */

.footer-brand {
    max-width: 360px;
}


.footer-logo {
    display: inline-block;

    margin-bottom: 24px;
}


.footer-logo img {
    display: block;

    width: 270px;
    max-width: 100%;

    height: auto;

    object-fit: contain;
}


/* Jika logo asli berwarna navy dan kurang terlihat
   di background gelap, aktifkan filter ini.

.footer-logo img {
    filter: brightness(0) invert(1);
}

*/


.footer-brand p {
    margin: 0;

    max-width: 340px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   FOOTER COLUMN
========================================== */

.footer-column h4 {
    position: relative;

    margin: 4px 0 24px;

    padding-bottom: 12px;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: 16px;
    font-weight: 700;
}


.footer-column h4::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 32px;
    height: 2px;

    border-radius: 20px;

    background: var(--secondary);
}


.footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.footer-column li {
    margin-bottom: 13px;
}


.footer-column a {
    display: inline-flex;
    align-items: center;

    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-column a:hover {
    color: var(--secondary-light);

    transform: translateX(4px);
}


.footer-column p {
    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================
   SOCIAL MEDIA
========================================== */

.footer-social {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}


.footer-social a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 8px 13px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.06);

    color: rgba(255, 255, 255, 0.85);

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-social a:hover {
    background: var(--secondary);

    border-color: var(--secondary);

    color: #ffffff;

    transform: translateY(-2px);
}


/* ==========================================
   FOOTER BOTTOM
========================================== */

.footer-bottom {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 70px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;

    text-align: center;
}


/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 1024px) {

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 45px;
    }


    .footer-brand {
        max-width: 100%;
    }

}


/* ==========================================
   RESPONSIVE - MOBILE
========================================== */

@media (max-width: 768px) {

    .site-footer {
        padding-top: 55px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-bottom: 45px;
    }


    .footer-logo img {
        width: 230px;
    }


    .footer-column h4 {
        margin-bottom: 20px;
    }


    .footer-social {
        gap: 8px;
    }


    .footer-bottom {
        min-height: 65px;
    }

}


/* ==========================================
   RESPONSIVE - SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .site-footer {
        padding-top: 45px;
    }


    .footer-logo img {
        width: 210px;
    }


    .footer-brand p,
    .footer-column a,
    .footer-column p {
        font-size: 13px;
    }


    .footer-bottom p {
        padding: 18px 0;

        font-size: 12px;

        line-height: 1.6;
    }

}