
/* =============================================
   FOOTER CONSISTENCY & ENHANCEMENT
   Footer yang professional dan konsisten
   ============================================= */

/* === FOOTER LAYOUT === */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* === FOOTER HEADINGS === */
.footer-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    border-radius: 2px;
}

/* === FOOTER LINKS === */
.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-content ul li {
    margin-bottom: 0.75rem;
}

.footer-content ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-content ul li a:hover {
    color: #e53e3e;
    transform: translateX(5px);
}

/* === FOOTER TEXT === */
.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-content p strong {
    color: #ffffff;
    font-weight: 600;
}

/* === FOOTER SOCIAL === */
.footer-social {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social p {
    margin-bottom: 0.5rem;
}

/* === FOOTER BOTTOM === */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #e53e3e, #c53030) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4) !important;
}

/* === RESPONSIVE FOOTER === */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-content > div:nth-child(4),
    .footer-content > div:nth-child(5) {
        grid-column: span 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-content > div:nth-child(4),
    .footer-content > div:nth-child(5) {
        grid-column: span 1;
        display: block;
    }
    
    .footer-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-content ul li {
        margin-bottom: -15px !important;
    }

    .footer-content ul li a {
        padding: 0 !important;
        line-height: 1.4 !important;
        font-size: 0.9rem !important;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* === FOOTER ANIMATIONS === */
.footer-content > div {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.footer-content > div:nth-child(1) { animation-delay: 0.1s; }
.footer-content > div:nth-child(2) { animation-delay: 0.2s; }
.footer-content > div:nth-child(3) { animation-delay: 0.3s; }
.footer-content > div:nth-child(4) { animation-delay: 0.4s; }
.footer-content > div:nth-child(5) { animation-delay: 0.5s; }

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