* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    background: linear-gradient(135deg, #000, #701F56);
    color: #fff;
    padding: 50px 20px 20px; /* Reduced bottom padding slightly */
    border-top: 3px solid rgba(207, 67, 98, 0.3);
}

.footer-width-control {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Gap between main content and bottom bar */
}

/* --- Main Content Section (Top) --- */
.footer-main-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    width: 100%;
}

.footer-column-container {
    display: flex;
    flex-direction: column;
}

.footer-branding {
    gap: 20px;
}

.footer-contact {
    gap: 12px;
}

.footer-element {
    line-height: 1.7;
    font-size: 14px;
    opacity: 0.9;
    color: var(--color-offwhite-0);
    padding: 0px 5px; /* Reduced padding slightly */
}

.footer-logo-wrap-redirect {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.footer-logo-wrap-redirect:hover {
    color: #CF4362;
}

.footer-logo-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--color-offwhite-0);
    font-family: 'Montserrat', sans-serif;
}

.footer-logo-image {
    width: 40px;
    height: 50px;
}

.footer-content-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.1s ease;
    color: var(--color-offwhite-0);
    font-size: 14px;
    font-weight: 400;
    padding: 6px 0;
}

.footer-content-image {
    height: 22px;
    width: 22px;
    opacity: 0.8;
    transition: opacity 0.1s ease;
}

.footer-content-wrapper:hover .footer-content-image {
    opacity: 1;
}

.footer-content-label {
    font-size: 14px;
    color: var(--color-offwhite-350);
    transition: all 0.2s ease;
}
.footer-content-label:hover {
    cursor: pointer;
    color: var(--color-accent);
}

/* --- Social Media Icons --- */
.footer-social-container {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
    background: #CF4362;
    border-color: #CF4362;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(207, 67, 98, 0.4);
}

.footer-social-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.footer-social-link:hover .footer-social-icon {
    transform: scale(1.1);
}

.footer-skool-icon {
    width: 30px;
    height: 30px;
}

/* --- Bottom Content Section (Copyright & Legal) --- */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping on very small screens */
    gap: 15px;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.6;
    color: var(--color-offwhite-0);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal-link {
    color: rgba(247, 244, 238, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #F7F4EE;
    text-decoration: underline;
}

.footer-legal-separator {
    color: rgba(247, 244, 238, 0.3);
    font-size: 13px;
}


/* --- Responsive Styles --- */
@media (max-width: 900px) {
    .footer-container {
        padding: 40px 20px 25px;
    }

    /* Stack main content vertically */
    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-branding {
        align-items: center;
    }

    .footer-element {
        padding: 0 20px;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-contact-items {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-wrap-redirect {
        justify-content: center;
    }

    .footer-logo-wrap-redirect:hover {
        transform: scale(1.05);
    }

    .footer-social-container {
        justify-content: center;
        width: 100%;
        max-width: 400px; /* Limit width of divider line */
    }

    /* Center bottom content on tablet/mobile */
    .footer-bottom-content {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 500px) {
    .footer-social-container {
        gap: 10px;
    }

    .footer-social-link {
        width: 38px;
        height: 38px;
    }

    .footer-social-icon {
        width: 18px;
        height: 18px;
    }

    .footer-skool-icon {
        width: 26px;
        height: 26px;
    }
}