/* =========================================
   SDC LMS - FOOTER
========================================= */

#page-footer {
    background: #08111f !important;
    color: #fff !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: 4px solid #ef2a2a;
}

/* Container */
#page-footer .footer-columns {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 45px 30px 20px;
    box-sizing: border-box;
}

/* Brand */
#page-footer .footer-brand {
    margin-bottom: 20px;
}

#page-footer .footer-brand h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 8px;
}

#page-footer .footer-brand p {
    font-size: 16px;
    line-height: 1.6;
    color: #b7c1d1 !important;
    margin: 0;
}

/* Titles */
#page-footer .footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 16px;
}

#page-footer .footer-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #ef2a2a;
    margin-top: 8px;
    border-radius: 10px;
}

/* Links */
#page-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#page-footer .footer-links li {
    margin: 0 0 10px;
}

#page-footer .footer-links a {
    color: #b7c1d1 !important;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .3s;
}

#page-footer .footer-links a:hover {
    color: #fff !important;
    padding-left: 5px;
}

#page-footer .footer-links i {
    color: #ef2a2a;
    width: 18px;
}

/* Social */
#page-footer .footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

#page-footer .footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #13243f;
    color: #fff !important;
    font-size: 17px;
    text-decoration: none;
    transition: .3s;
}

#page-footer .footer-social a:hover {
    background: #ef2a2a;
    transform: translateY(-3px);
}

/* App buttons */
#page-footer .stores {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#page-footer .stores img {
    width: 150px;
    max-width: 100%;
    height: auto;
}

/* Divider */
#page-footer hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 22px 0 16px;
}

/* Bottom */
#page-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #b7c1d1 !important;
}

#page-footer .footer-bottom strong {
    color: #fff !important;
}

#page-footer .footer-bottom a {
    color: #ef2a2a !important;
    text-decoration: none;
}

#page-footer .footer-bottom a:hover {
    color: #fff !important;
}

/* Moodle default footer elements */
#page-footer .supportemail,
#page-footer .logininfo,
#page-footer .homelink,
#page-footer .helplink,
#page-footer .tool_usertours-resettourcontainer {
    color: #b7c1d1 !important;
    margin-bottom: 6px;
}

#page-footer .supportemail a,
#page-footer .logininfo a,
#page-footer .helplink a,
#page-footer .homelink a {
    color: #ef2a2a !important;
}

/* Debug footer */
#page-footer .footer-content-debugging {
    background: #050b15 !important;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 8px 0;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    #page-footer .footer-columns {
        padding: 35px 22px 18px;
    }

    #page-footer .footer-title {
        margin-top: 15px;
    }

    #page-footer .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    #page-footer .footer-columns {
        padding: 30px 18px 15px;
    }

    #page-footer .footer-brand h2 {
        font-size: 27px;
    }

    #page-footer .footer-brand p {
        font-size: 15px;
    }

    #page-footer .footer-title {
        font-size: 18px;
    }

    #page-footer .footer-links a {
        font-size: 14px;
    }

    #page-footer .footer-social a {
        width: 40px;
        height: 40px;
    }

    #page-footer .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}