/* ==========================================================================
   MODERN INSTITUTIONAL FOOTER (SMA Taruna Nusantara Kampus Malang)
   ========================================================================== */

/* Pastikan struktur body melar secara fleksibel */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* Container Induk Utama Footer */
.main-footer {
    margin-top: auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); /* Warna Biru Navy Gelap Militer Premium */
    color: #e2e8f0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    overflow: hidden;
}

/* Aksen Garis Emas Tipis Top Border */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #f3e5ab 50%, #aa771c 100%); /* Gradasi Logam Emas (Gold) Taruna */
}

/* Pembungkus Grid */
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Pengaturan Tata Letak Grid 3 Kolom */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

/* Komponen Kolom 1 (Identitas Kampus) */
.footer-info-section .footer-logo-modern {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-info-section .footer-logo-modern i {
    color: #d4af37; /* Ikon Berwarna Emas */
}

.footer-info-section .institution-subtext {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.footer-info-section .institution-subtext strong {
    color: #f1f5f9;
    font-weight: 600;
}

.footer-info-section .institution-address {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-info-section .institution-address i {
    color: #d4af37;
}

/* Komponen Kolom Navigasi & Links */
.footer-links-section h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Garis bawah penanda judul link */
.footer-links-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #d4af37;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-section ul li {
    margin-bottom: 0.75rem;
}

.footer-links-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease-in-out;
}

.footer-links-section ul li a i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

/* Efek interaktif hover modern */
.footer-links-section ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-links-section ul li a:hover i {
    color: #d4af37;
    transform: translateX(2px);
}

/* Pembatas Garis Horizontal */
.footer-divider-line {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    margin: 0 0 1.5rem 0;
}

/* Baris Paling Bawah */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom .highlight-text {
    color: #cbd5e1;
    font-weight: 600;
}

.footer-bottom .footer-tagline {
    font-style: italic;
    color: #475569;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Berubah menjadi 1 baris tumpuk vertikal pada tablet/HP */
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding-top: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}