/* ==========================================
   FOOTER BASE STYLING
========================================== */
.frn-footer {
    background-color: var(--color-purple-darker, #33004b); /* Fallback added just in case */
}

/* Back to Top Button */
.frn-back-to-top-btn {
    background-color: var(--bg-light-gray, #f4f4f4);
    color: var(--color-purple-darker, #250036);
    border: 1px solid var(--bg-light-gray, #f4f4f4);
    border-radius: 0;
    min-width: 180px;
    font-weight: 400;
    width: auto;
    display: inline-block;
    transition: all 0.3s ease;
}

.frn-back-to-top-btn:hover,
.frn-back-to-top-btn:focus {
    background-color: var(--bg-light-gray, #f4f4f4);
    color: var(--color-purple-darker, #250036);
    border-color: var(--bg-light-gray, #f4f4f4);
    box-shadow: none;
}

/* Logos & Icons */
.frn-footer-logo {
    max-width: 211.14px;
}
.frn-footer-bcorp {
    max-width: 72px !important;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

/* Text Elements */
.frn-footer-disclaimer {
    color: #ffffff;
}

/* ==========================================
   RESPONSIVE DESIGN (Media Queries)
========================================== */

/* TABLET (max-width: 992px) */
@media (max-width: 992px) {
    .frn-footer .container-fluid {
        padding: 50px !important;
    }
    .w-tb {
        max-width: 715px !important;
        margin: 0 auto;
        padding: 0 !important;
    }
    .frn-footer-heading {
        margin-top: 0 !important;
        margin-bottom: 62px !important;
    }
    .frn-footer-heading span {
        max-width: 500px;
        display: inline-block;
    }
    .footer-logo-main {
        margin-bottom: 28px !important;
    }
    
    /* Footer Menu */
    .frn-footer-menu {
        max-width: 430px !important;
        margin: 0 auto;
        row-gap: 36px !important;
        column-gap: 113px !important;
    }
    .frn-footer-menu li {
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center;
        width: calc(50% - 43px);
        font-weight: 400 !important;
    }
    .frn-footer-menu li:nth-child(even) {
        width: calc(50% - 70px) !important;
    }

    /* Social Icons & Utilities */
    .social {
        margin: 70px 0 48px 0 !important;
    }
    .frn-footer-divider {
        margin: 0 0 38px 0 !important;
    }
    .frn-footer-disclaimer {
        color: #D1D5DC !important;
        font-size: 16.58px !important;
        font-weight: 400 !important;
        line-height: 24.87px !important;
        text-align: center;
        margin: 0 !important;
        padding: 0 30px !important;
    }
}

/* SMALL TABLET (max-width: 767px) */
@media (max-width: 767px) {
    .frn-footer-heading span {
        max-width: 100% !important;
        display: inline !important;
    }
}

/* MOBILE (max-width: 575px) */
@media (max-width: 575px) {
    .frn-back-to-top-btn {
        padding: 20px 0 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 21px !important;
    }
    .frn-footer .container-fluid {
        padding: 50px 28px !important;
    }
    .frn-footer-logo {
        max-width: 187px !important;
    }
    h2.frn-footer-heading {
        font-size: 21px !important;
        font-weight: 700 !important;
        line-height: 21px !important;
        max-width: 294px !important;
        margin: 0 auto 67px auto !important;
    }
    .frn-footer-bcorp {
        margin-bottom: 58px !important;
    }
    
    /* Mobile Menu */
    .frn-footer-menu {
        flex-direction: column !important;
        row-gap: 24px !important;
    }
    .frn-footer-menu li,
    .frn-footer-menu li:nth-child(even) {
        width: 100% !important;
    }

    /* Mobile Social Icons */
    .social {
        max-width: 290px !important;
        margin: 64px auto 39px auto !important;
    }
    .social .gap-5 {
        gap: 0 !important;
        justify-content: space-between !important;
    }

    /* Mobile Utilities */
    .frn-footer-disclaimer {
        padding: 0 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 21px !important; 
    }
    .frn-footer-divider {
        margin-bottom: 20px !important;
    }
}