/* =========================================================
   FOOTER UTAMA
========================================================= */

#mainFooter {
    position: relative;

    margin-top: 60px;

    padding: 55px 0 20px;

    color: #ffffff;

    background: linear-gradient(135deg, #0b3048 0%, #0f3d5e 50%, #075985 100%);

    overflow: hidden;
}

/* Efek cahaya */

#mainFooter::before {
    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    top: -180px;

    right: -100px;

    border-radius: 50%;

    background: rgba(32, 184, 230, 0.08);

    pointer-events: none;
}

#mainFooter::after {
    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    bottom: -180px;

    left: -100px;

    border-radius: 50%;

    background: rgba(255, 193, 7, 0.05);

    pointer-events: none;
}

/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    position: relative;

    z-index: 1;
}

.footer-logo-group {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 15px;
}

.footer-logo-group img {
    width: 38px;

    height: 38px;

    padding: 3px;

    object-fit: contain;

    background: #ffffff;

    border-radius: 50%;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);

    transition: transform 0.3s ease;
}

.footer-logo-group img:hover {
    transform: translateY(-3px) scale(1.05);
}

.footer-brand h5 {
    margin: 0;

    max-width: 360px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 700;
}

.footer-brand p {
    margin: 3px 0 0;

    color: #20b8e6;

    font-size: 12px;

    font-weight: 600;
}

/* =========================================================
   DESKRIPSI
========================================================= */

.footer-description {
    max-width: 400px;

    margin-top: 14px;
}

.footer-description p {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;

    line-height: 1.7;
}

/* =========================================================
   JUDUL FOOTER
========================================================= */

.footer-title {
    position: relative;

    margin-bottom: 20px;

    padding-bottom: 10px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}

/* Garis bawah */

.footer-title::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 35px;

    height: 2px;

    border-radius: 10px;

    background: #20b8e6;
}

/* =========================================================
   LINK FOOTER
========================================================= */

.footer-links {
    margin: 0;

    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.7);

    text-decoration: none;

    font-size: 12px;

    transition: all 0.3s ease;
}

.footer-links a i {
    color: #20b8e6;

    font-size: 10px;

    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;

    transform: translateX(4px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* =========================================================
   KONTAK
========================================================= */

.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.footer-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;

    line-height: 1.5;
}

.footer-contact-icon {
    flex-shrink: 0;

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: rgba(32, 184, 230, 0.12);

    color: #20b8e6;

    font-size: 12px;
}

.footer-contact-item small {
    display: block;

    color: rgba(255, 255, 255, 0.45);

    font-size: 9px;
}

/* =========================================================
   TOMBOL LAPOR
========================================================= */

.footer-report-btn {
    display: inline-flex;

    align-items: center;

    margin-top: 20px;

    padding: 9px 16px;

    border-radius: 30px;

    background: #ffc107;

    border: 1px solid #ffc107;

    color: #212529;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    transition: all 0.3s ease;
}

.footer-report-btn:hover {
    background: #ffd54f;

    border-color: #ffd54f;

    color: #212529;

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.25);
}

/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 18px;
}

.footer-social a {
    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    font-size: 12px;

    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #20b8e6;

    border-color: #20b8e6;

    color: #ffffff;

    transform: translateY(-3px);
}

/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {
    height: 1px;

    margin: 35px 0 18px;

    background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;
}

.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #20b8e6;
}

/* =========================================================
   BACK TO TOP
========================================================= */

#backToTop {
    position: fixed;

    z-index: 999;

    right: 22px;

    bottom: 22px;

    width: 42px;

    height: 42px;

    display: none;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: #075985;

    color: #ffffff;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);

    cursor: pointer;

    transition: all 0.3s ease;
}

#backToTop:hover {
    background: #20b8e6;

    transform: translateY(-3px);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
    #mainFooter {
        margin-top: 40px;

        padding: 40px 0 18px;
    }

    .footer-logo-group {
        justify-content: flex-start;
    }

    .footer-logo-group img {
        width: 34px;

        height: 34px;
    }

    .footer-brand h5 {
        font-size: 15px;
    }

    .footer-title {
        margin-top: 10px;

        margin-bottom: 15px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;

        gap: 8px;
    }

    .footer-bottom-links {
        justify-content: center;

        flex-wrap: wrap;
    }

    #backToTop {
        right: 15px;

        bottom: 15px;

        width: 38px;

        height: 38px;
    }
}

//sapa 129
.footer-report-group {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

    flex-wrap: wrap;
}

/* Tombol lapor */

.footer-report-group .footer-report-btn {
    margin-top: 0;
}

/* SAPA 129 ================== */

.footer-sapa {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 42px;

    padding: 5px 12px 5px 6px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.07);

    color: #ffffff;

    text-decoration: none;

    transition: all 0.3s ease;
}

.footer-sapa:hover {
    background: rgba(32, 184, 230, 0.15);

    border-color: #20b8e6;

    color: #ffffff;

    transform: translateY(-2px);
}

/* Logo SAPA */

.footer-sapa img {
    width: 34px;

    height: 34px;

    object-fit: contain;

    display: block;

    background: #ffffff;

    border-radius: 50%;

    padding: 2px;
}

/* Tulisan */

.footer-sapa-text {
    display: flex;

    flex-direction: column;

    line-height: 1.2;
}

.footer-sapa-text strong {
    color: #ffffff;

    font-size: 11px;

    font-weight: 700;
}

.footer-sapa-text small {
    margin-top: 3px;

    color: #20b8e6;

    font-size: 9px;
}

.footer-sapa-text small i {
    margin-right: 3px;

    color: #25d366;
}

/* = MOBILE == */

@media (max-width: 767.98px) {
    .footer-report-group {
        align-items: flex-start;

        gap: 8px;
    }

    .footer-report-group .footer-report-btn {
        font-size: 10px;

        padding: 8px 13px;
    }

    .footer-sapa {
        padding-right: 9px;
    }
}
