/*==========================================================
KWARA STATE MINISTRY OF LIVESTOCK DEVELOPMENT
FOOTER STYLESHEET
File: assets/css/footer.css
==========================================================*/



/*==========================================================
FOOTER
==========================================================*/

.footer{

    position:relative;

    background:var(--dark);

    color:rgba(255,255,255,.85);

    padding:90px 0 0;

    overflow:hidden;

}



/*==========================================================
BACKGROUND DECORATION
==========================================================*/

.footer::before{

    content:"";

    position:absolute;

    top:-180px;

    right:-180px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.03);

}



.footer::after{

    content:"";

    position:absolute;

    bottom:-120px;

    left:-120px;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(212,175,55,.06);

}



/*==========================================================
FOOTER WIDGET
==========================================================*/

.footer-widget{

    position:relative;

    z-index:2;

}



/*==========================================================
LOGO
==========================================================*/

.footer-logo{

    width:80px;

    margin-bottom:20px;

}



/*==========================================================
HEADINGS
==========================================================*/

.footer-widget h4,

.footer-widget h5{

    color:var(--white);

    margin-bottom:22px;

}

.footer-widget h4{

    font-size:24px;

}

.footer-widget h5{

    font-size:18px;

}



/*==========================================================
PARAGRAPH
==========================================================*/

.footer-widget p{

    color:rgba(255,255,255,.75);

    line-height:1.9;

}



/*==========================================================
LISTS
==========================================================*/

.footer-widget ul{

    margin:0;

    padding:0;

}

.footer-widget ul li{

    margin-bottom:14px;

}

.footer-widget ul li a{

    color:rgba(255,255,255,.75);

    transition:var(--transition);

}

.footer-widget ul li a:hover{

    color:var(--secondary);

    padding-left:6px;

}

/*==========================================================
CONTACT INFORMATION
==========================================================*/

.footer-contact li{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-bottom:18px;

}

.footer-contact i{

    color:var(--secondary);

    font-size:18px;

    margin-top:3px;

    flex-shrink:0;

}

.footer-contact span,

.footer-contact a{

    color:rgba(255,255,255,.75);

    line-height:1.8;

}

.footer-contact a:hover{

    color:var(--secondary);

}



/*==========================================================
SOCIAL MEDIA
==========================================================*/

.footer-social{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:30px;

}

.footer-social a{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:var(--white);

    transition:var(--transition);

}

.footer-social a:hover{

    background:var(--secondary);

    color:var(--white);

    transform:translateY(-4px);

}



/*==========================================================
FOOTER BOTTOM
==========================================================*/

.footer-bottom{

    margin-top:70px;

    padding:28px 0;

    border-top:1px solid rgba(255,255,255,.10);

}

.footer-bottom p{

    margin:0;

    color:rgba(255,255,255,.70);

    font-size:15px;

}

.footer-bottom strong{

    color:var(--secondary);

    font-weight:700;

}



/*==========================================================
FOOTER LINKS
==========================================================*/

.footer-bottom a{

    color:rgba(255,255,255,.75);

    transition:var(--transition);

}

.footer-bottom a:hover{

    color:var(--secondary);

}

/*==========================================================
BACK TO TOP
==========================================================*/

.back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--primary);

    color:var(--white);

    border-radius:50%;

    box-shadow:var(--shadow);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:var(--transition);

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.back-to-top:hover{

    background:var(--secondary);

    color:var(--white);

    transform:translateY(-5px);

}



/*==========================================================
FOOTER HOVER EFFECT
==========================================================*/

.footer-widget{

    transition:var(--transition);

}

.footer-widget:hover{

    transform:translateY(-3px);

}



/*==========================================================
RESPONSIVE
==========================================================*/

@media (max-width:991.98px){

    .footer{

        padding:80px 0 0;

    }

    .footer-bottom{

        text-align:center;

    }

    .footer-bottom .text-lg-end{

        text-align:center !important;

        margin-top:12px;

    }

}



@media (max-width:767.98px){

    .footer{

        padding:70px 0 0;

    }

    .footer-widget{

        margin-bottom:15px;

    }

    .footer-logo{

        width:70px;

    }

    .footer-social{

        justify-content:flex-start;

    }

    .footer-bottom{

        margin-top:50px;

    }

}



@media (max-width:575.98px){

    .footer{

        padding:60px 0 0;

    }

    .footer-widget h4{

        font-size:22px;

    }

    .footer-widget h5{

        font-size:17px;

    }

    .footer-widget p,

    .footer-widget li,

    .footer-widget a{

        font-size:14px;

    }

    .footer-social{

        gap:10px;

    }

    .footer-social a{

        width:38px;

        height:38px;

    }

    .back-to-top{

        width:46px;

        height:46px;

        right:20px;

        bottom:20px;

    }

}



/*==========================================================
ACCESSIBILITY
==========================================================*/

.footer a:focus,

.footer-social a:focus,

.back-to-top:focus{

    outline:3px solid rgba(212,175,55,.35);

    outline-offset:4px;

    border-radius:6px;

}



/*==========================================================
REDUCED MOTION
==========================================================*/

@media (prefers-reduced-motion:reduce){

    .footer-widget,

    .footer-social a,

    .back-to-top{

        transition:none;

        animation:none;

    }

}