/*  ====================== FOOTER =======================  */
footer {
    padding: 2rem !important;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 3px solid #eee;
    margin-top: 50px;
}

footer .footerInner {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr) 2fr;
    gap: 40px;
    color: var(--main-bg-color);
}

footer .footerInner .main .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--main-bg-color);
}

footer .footerInner .main .logo img {
    width: 100%;
    height: 200px;
}

footer .footerInner .main .logo span.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    background-color: var(--theme-color);
    aspect-ratio: 1/1;
    width: 35px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    margin-inline-end: 3px;
}

footer .footerInner .main .logo span:last-of-type {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 1px;
}

footer .footerInner .main p {
    padding: 20px 0 !important;
    border-bottom: 1px solid var(--main-bg-color);
    margin-bottom: 20px !important;
    line-height: 30px !important;
}

footer .footerInner .main .social a {
    background-color: transparent;
    border: 1px solid var(--main-bg-color);
    aspect-ratio: 1/1;
    width: 40px;
    border-radius: 5px;
    color: var(--main-bg-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem !important;
    margin-inline-end: 10px !important;
    margin-top: 30px !important;
    transition: 0.3s all ease-in-out;
    text-transform: capitalize;
}

footer .footerInner .main .social a:hover {
    background-color: var(--main-bg-color);
    border: 1px solid var(--theme-color);
    color: #fff;
}

footer .footerInner h4 {
    font-size: 1.5rem;
    font-weight: 100;
    text-transform: uppercase;
}

footer .footerInner .line {
    height: 3px;
    width: 30%;
    border-radius: 5px;
    background-color: var(--theme-color);
    margin-bottom: 10px;
}

footer .footerInner .links ul>li>a {
    display: inline-flex;
    padding: 10px 0 !important;
    padding-inline-start: 0;
    color: var(--main-bg-color);
    transition: 0.3s all ease-in-out;
}

footer .footerInner .links ul>li>a:hover {
    color: var(--main-bg-color);
}

footer .footerInner .links ul>li>a::before {
    content: "\f101";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.5rem;
    vertical-align: middle;
    margin-inline-end: 10px;
    transition: 0.3s all ease-in-out;
}

footer .footerInner .links ul>li>a:hover::before {
    margin-inline-end: 15px;
    font-size: 0.6rem;
}

footer .footerInner .contact ul>li>a {
    padding: 10px 0 !important;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    color: #000;
    gap: 10px;
    transition: 0.3s all ease-in-out;
}

footer .footerInner .contact ul>li>a:hover {
    color: var(--theme-color);
}

footer .footerInner .contact ul>li>a i {
    aspect-ratio: 1/1;
    background-color:var(--main-bg-color);
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

footer .footerInner .contact ul>li>a>span {
    font-size: 1.1rem;
    font-weight: 200;
}

footer .footerInner .contact ul>li>a>span span {
    color: var(--theme-color);
    font-weight: 400;
}

footer .lowerFooter {
    color: var(--main-bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-block: 20px !important;
    padding-inline: 20px !important;
    margin-top: 3rem !important;
    background-color: #ddd;
    text-transform: capitalize;
    border-radius: 9px !important;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    -ms-border-radius: 9px;
    -o-border-radius: 9px;
}

footer .lowerFooter a {
    color: var(--theme-color);
}

footer .lowerFooter ul {
    display: inline-flex;
}

footer .lowerFooter ul a {
    padding: 2px 10px !important;
}

@media (width <=800px) {
    footer .footerInner {
        grid-template-columns: 2fr 1fr;
    }

    footer .lowerFooter ul a {
        padding: 3px 7px !important;
    }


    footer .footerInner .main {
        order: -1;
    }

    footer .footerInner .contact {
        order: -1;
    }

    footer .footerInner .important {
        order: -1;
    }

    footer .lowerFooter,
    footer .lowerFooter ul {
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    footer .lowerFooter ul {
        margin-top: 10px;
    }
}

@media (width <=500px) {
    footer .footerInner {
        grid-template-columns: 1fr;
    }

    footer .footerInner .contact {
        order: 3;
    }
}


footer .footerInner .links ul>li>a::before {
    position: relative;
    top: 5px;
    transform: rotateY(180deg);
}