/*footer*/
footer {
    background: #F6F6F7;
    font-family: Almarai-Regular;
}

.upper-footer {
    padding-top: 50px;
}

.footer-text {
    text-align: center;
}

.footer-icons {
    margin: 0 auto;
    gap: 10px;
}

.footer-icons > div {
    width: 200px;
}

.footer-icons > div > a {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.footer-icons > div > a > span:first-child {
    color: #296ACA;
    font-family: Lato-Bold;
    font-size: 32px;
}

.footer-icons > div > a > span:last-child {
    color: #1B6CCB;
    font-family: Almarai-Bold;
    font-size: 18px;
}

.footer-icons > div > a:hover .icon {
    background-color:#296ACA ;
    transition: 0.2s all ease-in-out;
    color: white;
}

.footer-icons .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #296ACA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.mid-footer {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid #ccc;
}

.mid-footer .logo {
    margin-bottom: 15px;
}

/*.mid-footer .contact-details {
    flex-wrap: wrap;
    margin-top: 20px;
}*/

.mid-footer .contact-details {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}

.mid-footer .contact-details li {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
}

.mid-footer .contact-details .c-icon {
    width: 25px;
    padding-right: 10px;
}

.mid-footer .contact-details .c-icon i {
    color: #B52025;
    font-size: 12px;
}

.mid-footer .contact-details p {
    margin-bottom: 0;
    font-size: 16px;
    color: #1D2D5D;
}

.mid-footer .contact-details a {
    text-decoration: none;
    color: #1D2D5D;
}

.mid-footer .contact-details > div:last-child p {
    margin-bottom: 0;
}

.mid-footer .social-icons {
    gap: 10px;
}

.mid-footer .social-icons a {
    text-decoration: none;
    color: transparent;
}

.mid-footer .social-icons i {
    font-size: 18px;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1D2D5D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mid-footer ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-bottom: 0;
}

.mid-footer ul a {
    text-decoration: none;
    color: #1B6CCB;
    transition: 0.2s all ease-in-out;
    font-size: 16px;
}

.mid-footer ul a:hover {
    color: #1D2D5D;
}

.mid-footer .footer-heading {
    font-family: Lato-Bold;
    font-size: 18px;
    color: #1D2D5D;
}

.footer-links ul:first-of-type {
    margin-bottom: 15px;
}

.footer-links a {
    display: inline-block;
    padding: 3px 0;
}

.copyright {
    width: 80%;
    margin: 15px auto 0;
    padding: 20px 15px;
    border-top: 1px solid #ccc;
}
/*end*/

/*responsive*/
@media only screen and (max-width: 991px) {
    .footer-icons {
        flex-wrap: wrap;
        column-gap: 0;
        row-gap: 40px;
    }

    .footer-icons > div {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .mid-footer {
        margin-top: 40px;
    }

    .mid-footer > div > div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mid-footer > div > div:first-child {
        order: 2;
    }

    .mid-footer > div > div:last-child {
        order: 1;
    }

    .footer-links > div > div {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-links ul {
        margin-bottom: 40px;
    }

    .mid-footer .logo {
        display: inline-block;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .mid-footer .contact-details {
        row-gap: 20px;
        width: min-content;
        margin: 20px auto;
    }

    .mid-footer .contact-details li {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .mid-footer .contact-details .c-icon {
        display: none;
    }

    .mid-footer .contact-details .c-content {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .mid-footer .contact-details a {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .mid-footer .social-icons {
        margin-top: 30px;
        align-items: center;
        justify-content: center;
    }

    .copyright {
        width: 100%;
        padding: 15px;
    }
}

@media only screen and (max-width: 420px) {
    .footer-icons {
        row-gap: 25px;
    }

    .footer-icons > div {
        padding: 0 10px;
    }
}
/*end responsive*/