/* ===============================
   FOOTER IMPROVE + ANIMASI
================================= */

.footer {
    background: linear-gradient(135deg, #3d105f, #5e1992, #8e3cac);
    color: #ffffff;
    padding: 70px 0 25px;
    position: relative;
    overflow: hidden;
    animation: footerFade 1s ease;
}

/* glow bulat */
.footer::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatOne 8s ease-in-out infinite;
}

.footer::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 280px;
    height: 280px;
    background: rgba(239, 167, 53, 0.08);
    border-radius: 50%;
    animation: floatTwo 10s ease-in-out infinite;
}

/* judul */
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: #efa735;
    border-radius: 20px;
    margin-top: 8px;
    transition: 0.3s ease;
}

.footer:hover .footer-title::after {
    width: 75px;
}

/* text */
.footer p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.85;
    font-size: 0.97rem;
    margin-bottom: 10px;
    transition: 0.25s ease;
}

.footer p:hover {
    color: #ffffff;
}

/* bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 45px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    animation: fadeUp 1.2s ease;
}

/* column animasi */
.footer .col-lg-6,
.footer .col-lg-5 {
    animation: fadeUp 0.9s ease;
}

/* keyframes */
@keyframes footerFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOne {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(18px);
    }
}

@keyframes floatTwo {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

/* responsive */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 55px 0 20px;
    }

    .footer-title::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===============================
   RESPONSIVE IMPROVED
================================= */

/* tablet */
@media (max-width: 992px) {
    .footer {
        padding: 60px 20px 25px;
    }

    .footer .row {
        gap: 30px;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* mobile */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 50px 18px 20px;
    }

    .footer .row {
        gap: 35px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-title::after {
        margin-left: auto;
        margin-right: auto;
        width: 45px;
    }

    .footer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-bottom {
        margin-top: 30px;
        font-size: 0.82rem;
        text-align: center;
    }

    /* glow biar gak overflow */
    .footer::before {
        width: 150px;
        height: 150px;
        top: -60px;
        right: -60px;
    }

    .footer::after {
        width: 180px;
        height: 180px;
        left: -70px;
        bottom: -70px;
    }
}

/* extra small */
@media (max-width: 480px) {
    .footer {
        padding: 45px 15px 18px;
    }

    .footer-title {
        font-size: 0.95rem;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.78rem;
    }
}
