/* AEM Labs Limited - CSS Module: Footer */
/* ===================================== */

.footer-section {
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: min(90%, var(--max-container-width));
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 85px;
    width: auto;
}

.footer-brand-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, #6907c5, #a71c1c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(105, 7, 197, 0.3);
    border-color: transparent;
}

.social-link i {
    font-size: 18px;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column-title {
    font-size: 18px;
    font-weight: 600;
    color: black;
    margin: 0 0 8px 0;
    position: relative;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 6px;
    background: linear-gradient(270deg, #a71c1c, #6907c5);
    opacity: 0.4;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    border-radius: 3px;
    z-index: -1;
}

.footer-column-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column-links li a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.footer-column-links li a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: min(90%, var(--max-container-width));
    margin: 0 auto;
}

.footer-legal p {
    margin: 0;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-weight: 600;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-link {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--accent-color);
}

.legal-separator {
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
}

.company-details {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px;
    text-align: center;
}

.company-info {
    color: #adb5bd;
    font-size: 12px;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #adb5bd;
    padding: 0;
    background: transparent;
    border-top: none;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 1440px) {
    .footer-column-title::after {
        width: 50%;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 992px) {
    .footer-column-title::after {
        width: 20%;
    }

    .footer-logo-img {
        height: 85px !important;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 0;
    }

    .footer-content {
        gap: 35px;
        margin-bottom: 40px;
    }

    .footer-logo-img {
        height: 80px !important;
    }

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

    .footer-column-title {
        font-size: 16px;
    }

    .footer-social {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 16px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 0;
    }

    .footer-logo-img {
        height: 70px !important;
    }

    .footer-column-links {
        gap: 8px;
    }

    .footer-column-title {
        font-size: 14px;
        margin-bottom: 0;
    }

    .footer-column-title::after {
        width: 25%;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-brand {
        gap: 16px;
    }

    .footer-brand-text {
        font-size: 13px;
    }

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

    .footer-bottom {
        padding: 25px 0;
    }

    .footer-legal p,
    .legal-link {
        font-size: 12px;
    }

    .company-info,
    .copyright {
        font-size: 10px;
    }
}