/* Footer */
.footer {
    background: linear-gradient(to bottom, #004BBA, #0366FF);
    color: white;
    position: relative;
    z-index: 100;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 10px 30px 0px 30px;
    box-sizing: border-box;
}

/* Footer Info: Brand + Links */
.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    align-items: flex-start;
}

/* Brand */
.footer-brand {
    max-width: 300px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 120px;
    border-radius: 10px;
    background-color: white;
    padding: 5px;
    margin-bottom: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-weight: bold;
    color: white;
    line-height: 1.2;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    color: white;
    font-size: 22px;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ddd;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
    text-align: left;
}

.footer-links div h4 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #DFEBFF;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding: 15px 0 0 0;
    background: inherit;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}


.footer-bottom p {
    margin: 0;
    color: rgba(234, 232, 232, 0.8);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

/* Medium Screen (1024px - 768px) */
@media (max-width: 1024px) {
    .footer-container {
        padding: 30px 15px;
        gap: 30px;
    }

    .footer-info {
        gap: 50px;
    }

    .footer-links {
        gap: 50px;
    }
}

/* Small Screen (768px - 480px) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px 10px;
    }

    .footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
        margin-top: 20px;
        text-align: left;
    }
}

/* Extra Small Screen (480px and below) */
@media (max-width: 480px) {
    .footer-container {
        padding: 15px 10px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-links div h4 {
        font-size: 14px;
    }

    .footer-links ul li a {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 16px;
        margin-right: 10px;
    }
}
/* Tablet Screen (1024px - 768px) */
@media (max-width: 1024px) {
    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom::before {
        width: 90%; /* Kurangi sedikit untuk memberi ruang */
        left: 5%;   /* Agar tetap di tengah */
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Mobile Screen (768px and below) */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom::before {
        width: 80%;
        left: 10%;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Extra Small Screen (480px and below) */
@media (max-width: 480px) {
    .footer-bottom {
        padding: 10px 0;
    }

    .footer-bottom::before {
        width: 75%;
        left: 12.5%;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }
}
