/* ========================================
   footer.css - Alliance Global Footer
   Following docs/design-pattern patterns
   ======================================== */

/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #051a38 100%);
    color: #ccc;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(183, 147, 72, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ---- Footer Grid ---- */
.footer-widgets-wrapper {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* ---- Single Footer Widget ---- */
.single-footer-widget {
    position: relative;
}

/* Widget Head (Logo) */
.widget-head {
    margin-bottom: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo-img {
    width: auto;
    height: 36px;
    display: block;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.04);
}

.brand-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ---- Widget Title ---- */
.widget-title {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ---- List Area (Links) ---- */
.list-area {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-area li {
    margin-bottom: 10px;
}

.list-area a {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.list-area a i {
    font-size: 8px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.list-area a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.list-area a:hover i {
    transform: translateX(3px);
}

/* View All Link */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: #fff;
}

.view-all-link:hover i {
    transform: translateX(4px);
}

/* ---- Contact List ---- */
.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.contact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(183, 147, 72, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--accent);
    margin-top: 1px;
}

.contact-list a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--accent);
}

/* ---- Footer Bottom ---- */
.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-credit {
    font-size: 11px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .brand-col {
        grid-column: span 2;
    }

    .widget-head {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .brand-desc {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .widget-title::after {
        left: 0;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .brand-col {
        grid-column: span 1;
    }

    .single-footer-widget {
        text-align: center;
    }

    .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .list-area a {
        justify-content: center;
    }

    .contact-list li {
        justify-content: flex-start;
    }
}
