/* ===========================
   FOOTER
=========================== */

.main-footer {
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    padding-top: 60px;
    margin-top: 0;
}


/* ===========================
   LOGO AREA
=========================== */

.footer-logo {
    height: 65px;
    margin-bottom: 20px;
}

.footer-about {
    color: #5f6675;
    font-size: 16px;
    line-height: 29px;
    max-width: 300px;
    margin-bottom: 25px;
}


/* ===========================
   SOCIAL ICONS
=========================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0D2346;
    color: #ffffff;
    transition: 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.footer-social a:hover {
    background: #FDB515;
    color: #ffffff;
    transform: translateY(-3px);
}


/* ===========================
   FOOTER HEADINGS
=========================== */

.footer-links h5 {
    color: #0D2346;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 25px;
}


/* ===========================
   FOOTER LINKS
=========================== */

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #5f6675;
    font-size: 16px;
    transition: 0.3s ease;
}

.footer-links ul li a:hover {
    color: #FDB515;
    padding-left: 4px;
}


/* ===========================
   CONTACT
=========================== */

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #5f6675;
    margin-bottom: 19px;
    font-size: 16px;
    line-height: 25px;
}

.contact-list i {
    color: #0D2346;
    margin-top: 5px;
    font-size: 16px;
    flex-shrink: 0;
}


/* ===========================
   CONTACT ANCHOR
=========================== */

.contact-list li a {
    color: #5f6675;
    text-decoration: none;
    font-size: 16px;
    line-height: 25px;
    transition: 0.3s ease;
    flex: 1;
    min-width: 0;
}

.contact-list li a:hover {
    color: #FDB515;
}


/* ===========================
   FOOTER BOTTOM
=========================== */

.footer-bottom {
    border-top: 1px solid #e9ecef;
    margin-top: 40px;
    padding: 25px 0 22px;
}


/* ===========================
   BOTTOM ROW
=========================== */

.footer-bottom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 30px;
    position: relative;
}


/* ===========================
   COPYRIGHT
=========================== */

.footer-copyright {
    grid-column: 1;
    justify-self: start;

    color: #5f6675;
    font-size: 16px;
    line-height: 25px;
    text-align: left;

    position: relative;
    z-index: 20;
}


/* ===========================
   PRODUCT CREDIT
=========================== */

.footer-product {
    grid-column: 2;
    justify-self: center;

    width: auto;
    margin: 0;
    padding: 0;

    color: #5f6675;
    font-size: 16px;
    line-height: 25px;
    text-align: center;

    white-space: nowrap;

    position: relative;
    z-index: 1;

    pointer-events: auto;
}

.footer-product a {
    color: #243B6B;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;

    position: relative;
    z-index: 2;

    pointer-events: auto;
}

.footer-product a:hover {
    color: #FDB515;
}


/* ===========================
   LEGAL LINKS
=========================== */

.footer-legal {
    grid-column: 3;
    justify-self: end;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: auto;
    margin: 0;
    padding: 0;

    position: relative;
    z-index: 100;
}

.footer-legal a {
    display: block;

    color: #5f6675;
    text-decoration: none;

    font-size: 16px;
    line-height: 25px;

    white-space: nowrap;

    position: relative;
    z-index: 101;

    cursor: pointer;
    pointer-events: auto;

    padding: 3px 0;

    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #FDB515;
}

.footer-divider {
    flex-shrink: 0;

    margin: 0 14px;

    color: #c3c3c3;
    font-size: 16px;
}


/* ===========================
   FLOATING CONTACT
=========================== */

:root {
    --oneqr-gold: #F8B21A;
    --oneqr-blue: #243B6B;
}


/* ===========================
   FLOATING CONTACT CONTAINER
=========================== */

.floating-contact {
    position: fixed;
    bottom: 50px;
    right: 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    z-index: 9999999;
}


/* ===========================
   FLOATING OPTIONS
=========================== */

.floating-options {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-bottom: 15px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: 0.35s ease;
}

.floating-contact.active .floating-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ===========================
   FLOATING ITEMS
=========================== */

.floating-item {
    width: 220px;

    background: #ffffff;
    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 10px 10px 22px;

    text-decoration: none;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);

    transition: 0.3s ease;
}

.floating-item:hover {
    transform: translateX(-6px);
}

.floating-item span {
    color: #24334A;
    font-size: 19px;
    font-weight: 600;
}

.floating-icon {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--oneqr-gold);
    color: #ffffff;

    font-size: 22px;

    transition: 0.3s ease;
}

.floating-item:hover .floating-icon {
    background: var(--oneqr-blue);
}


/* ===========================
   FLOATING TOGGLE BUTTON
=========================== */

.floating-toggle {
    width: 70px;
    height: 70px;

    border: none;
    border-radius: 50%;

    background: var(--oneqr-gold);
    color: #ffffff;

    font-size: 28px;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);

    transition: 0.35s ease;

    animation: oneqrPulse 2s infinite;

    margin-right: 10px;
}

.floating-toggle:hover {
    background: var(--oneqr-blue);
    transform: scale(1.08);
}

.floating-contact.active .floating-toggle {
    background: #16a34a;
}


/* ===========================
   CLOSE ICON
=========================== */

.floating-contact.active .floating-toggle i::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}


/* ===========================
   FLOATING BUTTON ANIMATION
=========================== */

@keyframes oneqrPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(248, 178, 26, 0.45);
    }

    70% {
        box-shadow:
            0 0 0 18px rgba(248, 178, 26, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(248, 178, 26, 0);
    }

}


/* ===========================
   TABLET
   iPad / TABLET
=========================== */

@media (max-width: 991px) {

    .footer-links {
        margin-top: 15px;
    }


    /* ===========================
       BOTTOM FOOTER
    =========================== */

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-row {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 12px;

        width: 100%;

        text-align: center;
    }


    /* ===========================
       COPYRIGHT
    =========================== */

    .footer-copyright {
        width: 100%;

        text-align: center;

        position: relative;

        order: 1;
    }


    /* ===========================
       PRODUCT CREDIT
    =========================== */

    .footer-product {
        width: 100%;

        margin: 0;
        padding: 0;

        text-align: center;

        position: relative;

        order: 2;

        white-space: normal;

        pointer-events: auto;
    }


    /* ===========================
       LEGAL LINKS
    =========================== */

    .footer-legal {
        width: 100%;

        display: flex;

        align-items: center;
        justify-content: center;

        flex-wrap: wrap;

        margin: 0;

        position: relative;

        order: 3;

        z-index: 100;
    }

    .footer-legal a {
        display: block;

        position: relative;

        z-index: 101;

        pointer-events: auto;

        cursor: pointer;
    }


    /* ===========================
       FLOATING CONTACT
    =========================== */

    .floating-contact {
        right: 20px;
        bottom: 50px;
    }

}


/* ===========================
   MOBILE
=========================== */

@media (max-width: 767px) {

    .main-footer {
        padding-top: 45px;
    }


    /* ===========================
       LOGO
    =========================== */

    .footer-logo {
        height: 55px;
    }


    /* ===========================
       HEADINGS
    =========================== */

    .footer-links h5 {
        margin-bottom: 18px;
        font-size: 20px;
    }


    /* ===========================
       SOCIAL
    =========================== */

    .footer-social {
        margin-bottom: 10px;
    }


    /* ===========================
       BOTTOM
    =========================== */

    .footer-bottom {
        margin-top: 30px;
        padding-top: 22px;
    }

    .footer-bottom-row {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 14px;

        width: 100%;

        text-align: center;
    }


    /* ===========================
       COPYRIGHT
    =========================== */

    .footer-copyright {
        width: 100%;

        font-size: 15px;

        text-align: center;

        order: 1;
    }


    /* ===========================
       PRODUCT CREDIT
    =========================== */

    .footer-product {
        width: 100%;

        margin: 0;
        padding: 0;

        font-size: 15px;
        line-height: 23px;

        white-space: normal;

        text-align: center;

        position: relative;

        order: 2;

        pointer-events: auto;
    }


    /* ===========================
       LEGAL
    =========================== */

    .footer-legal {
        width: 100%;

        display: flex;

        align-items: center;
        justify-content: center;

        flex-wrap: wrap;

        margin: 0;

        position: relative;

        order: 3;

        z-index: 100;
    }

    .footer-legal a {
        display: block;

        font-size: 15px;

        position: relative;

        z-index: 101;

        pointer-events: auto;

        cursor: pointer;

        padding: 3px 0;
    }


    .footer-divider {
        margin: 0 10px;
    }


    /* ===========================
       CONTACT
    =========================== */

    .contact-list li {
        font-size: 15px;
    }

    .contact-list li a {
        font-size: 15px;
        line-height: 23px;
    }


    /* ===========================
       FLOATING CONTACT
    =========================== */

    .floating-contact {
        right: 15px;
        bottom: 30px;
    }

    .floating-item {
        width: 190px;
    }

    .floating-item span {
        font-size: 17px;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
    }

    .floating-toggle {
        width: 62px;
        height: 62px;
        font-size: 24px;
    }

}


/* ===========================
   VERY SMALL MOBILE
=========================== */

@media (max-width: 399px) {

    .footer-product {
        font-size: 14px;
        line-height: 22px;
    }

    .footer-legal a {
        font-size: 14px;
    }

    .footer-divider {
        margin: 0 8px;
    }

}


/* ===========================
   FINAL CLICK SAFETY
=========================== */

/*
   Keep legal links above every footer
   element and make the complete text
   area clickable.
*/

.footer-bottom {
    position: relative;
    isolation: isolate;
}

.footer-bottom-row {
    position: relative;
    isolation: isolate;
}

.footer-legal {
    position: relative;
    z-index: 999;
}

.footer-legal a {
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    user-select: none;
}

.footer-legal .footer-divider {
    pointer-events: none;
}


/* ===========================
   DESKTOP FINAL
=========================== */

@media (min-width: 992px) {

    .footer-bottom-row {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            auto
            minmax(0, 1fr);

        align-items: center;
        width: 100%;
    }

    .footer-copyright {
        grid-column: 1;
        justify-self: start;

        position: relative;
        z-index: 20;
    }

    .footer-product {
        grid-column: 2;
        justify-self: center;

        position: relative;

        left: auto;
        top: auto;

        transform: none;

        width: auto;

        margin: 0;
        padding: 0;

        z-index: 20;

        pointer-events: auto;
    }

    .footer-legal {
        grid-column: 3;
        justify-self: end;

        position: relative;

        margin: 0;

        z-index: 999;
    }

    .footer-legal a {
        position: relative;
        z-index: 1000;

        pointer-events: auto;
        cursor: pointer;
    }

}