/* =====================================================
   SITE FOOTER - UNIFIED RESPONSIVE SYSTEM
===================================================== */

.footer {
    position: relative;
    background: linear-gradient(135deg, #0f3ba9 0%, #1c408d 40%, #1c4aaf 85%, #1d4ed8 100%);
    color: #ffffff;
    padding: 75px 0 0;
    font-family: 'Poppins', 'Inter', -apple-system, sans-serif;
    margin-top: 0;
    overflow: hidden !important;
    z-index: 10;
}

.footer::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 60%;
    height: 180%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Container - aligned with site design system */
.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 0.6fr 0.5fr;
    gap: 50px;
}

/* Column Titles & Headers */
.footer h2,
.footer-contact h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.footer h3,
.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

.footer h4,
.footer-contact h4 {
    font-size: 1rem;
    margin: 18px 0 8px;
    font-weight: 600;
    color: #ffffff;
}

/* Paragraphs & Text */
.footer p,
.footer-contact p,
.footer-info {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #dcdcdc;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact {
    max-width: 450px;
}

.footer-contact p {
    text-align: justify;
}

/* Icons */
.footer i {
    font-size: 14px;
    margin-top: 4px;
    color: #ffffff;
}

/* Menus & Navigation Links */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fitur-list li,
.social-list li {
    margin-bottom: 10px;
    height: 32px;
    display: flex;
    align-items: center;
}

.fitur-list li a,
.social-list li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 0.875rem;
    color: #dcdcdc;
    font-weight: 400;
    height: 100%;
    transition: all 0.2s ease;
}

.footer ul li a:hover,
.fitur-list a:hover {
    color: #ffffff;
    font-weight: 600;
}

.fitur-list li a:hover {
    text-decoration: underline;
}

/* ===== SOCIAL ICON LIST ===== */
.social-list li a i {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.social-list li a:hover {
    color: #ffffff;
}

.social-list li a:hover i {
    background-color: #ffffff;
    color: #1e3a8a;
}

/* Bottom Copyright */
.footer-bottom {
    max-width: 1200px;
    width: 100%;
    margin: 50px auto 0;
    text-align: right;
    font-size: 0.82rem;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 20px 28px;
}

/* =====================================================
   FOOTER RESPONSIVE BREAKPOINTS
===================================================== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .footer {
        padding: 55px 0 0;
    }

    .footer-container {
        grid-template-columns: 1.8fr 0.6fr 0.6fr;
        gap: 32px;
        padding: 0 20px;
    }

    .footer-contact {
        max-width: 380px;
    }

    .footer h2,
    .footer-contact h2 {
        font-size: 1.625rem !important;
        margin-bottom: 18px;
    }

    .footer h3,
    .footer-col h3 {
        font-size: 1.06rem !important;
        margin-bottom: 14px;
    }

    .footer h4,
    .footer-contact h4 {
        font-size: 0.90rem !important;
    }

    .footer p,
    .footer-contact p,
    .footer-info,
    .footer ul li a,
    .fitur-list a,
    .social-list a {
        font-size: 0.84rem !important;
        line-height: 1.6;
    }

    .footer-bottom {
        margin-top: 38px;
        padding: 18px 20px 24px;
        font-size: 0.78rem;
    }
}

/* Mobile Landscape & Mobile (576px - 767px) */
@media (max-width: 767px) {
    .footer {
        padding: 45px 0 0;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        padding: 0 16px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        max-width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 20px;
        margin-bottom: 4px;
    }

    .footer-contact p {
        text-align: left;
    }

    .footer h2,
    .footer-contact h2 {
        font-size: 1.375rem !important;
        margin-bottom: 14px;
    }

    .footer h3,
    .footer-col h3 {
        font-size: 0.94rem !important;
        margin-bottom: 12px;
    }

    .footer h4,
    .footer-contact h4 {
        font-size: 0.84rem !important;
        margin-top: 10px;
        margin-bottom: 4px;
    }

    .footer p,
    .footer-contact p,
    .footer-info,
    .footer ul li a,
    .fitur-list a,
    .social-list a {
        font-size: 0.8125rem !important;
        line-height: 1.55;
    }

    .fitur-list li,
    .social-list li {
        margin-bottom: 8px !important;
        height: 28px !important;
    }

    .social-list li a i {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .footer-bottom {
        margin-top: 28px;
        text-align: center;
        padding: 16px 16px 22px;
        font-size: 0.75rem;
    }
}

/* Small Mobile (<576px) */
@media (max-width: 575px) {
    .footer {
        padding: 35px 0 0;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
        padding: 0 14px;
    }

    .footer h2,
    .footer-contact h2 {
        font-size: 1.1875rem !important;
        margin-bottom: 12px;
    }

    .footer h3,
    .footer-col h3 {
        font-size: 0.875rem !important;
        margin-bottom: 10px;
    }

    .footer h4,
    .footer-contact h4 {
        font-size: 0.8125rem !important;
    }

    .footer p,
    .footer-contact p,
    .footer-info,
    .footer ul li a,
    .fitur-list a,
    .social-list a {
        font-size: 0.75rem !important;
        line-height: 1.5;
    }

    .fitur-list li,
    .social-list li {
        margin-bottom: 6px !important;
        height: 26px !important;
    }

    .footer-bottom {
        font-size: 0.70rem;
        padding: 14px;
        text-align: center;
    }
}

/* Targeted Smaller Mobile (<= 420px / 375px iPhone SE) */
@media (max-width: 420px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
        padding: 0 12px;
    }

    .footer h2,
    .footer-contact h2 {
        font-size: 1.06rem !important;
        margin-bottom: 10px;
    }

    .footer h3,
    .footer-col h3 {
        font-size: 0.84rem !important;
        margin-bottom: 8px;
    }

    .footer p,
    .footer-contact p,
    .footer-info,
    .footer ul li a,
    .fitur-list a,
    .social-list a {
        font-size: 0.72rem !important;
        line-height: 1.45;
    }

    .fitur-list li,
    .social-list li {
        margin-bottom: 5px !important;
        height: 24px !important;
    }

    .social-list li a i {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .footer-bottom {
        font-size: 0.68rem !important;
        padding: 12px !important;
        text-align: center !important;
    }
}