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

.footer-cta{

    padding:70px 0 20px;

    background:#f7f9fb;

}

.footer-cta-card{

    background:linear-gradient(135deg,#198754,#157347);

    color:#fff;

    border-radius:24px;

    padding:50px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    overflow:hidden;

    position:relative;

    box-shadow:0 20px 45px rgba(25,135,84,.18);

}

.footer-cta-card::before{

    content:"";

    position:absolute;

    top:-120px;

    right:-120px;

    width:260px;

    height:260px;

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

    border-radius:50%;

}

.footer-cta-card::after{

    content:"";

    position:absolute;

    bottom:-90px;

    left:-90px;

    width:180px;

    height:180px;

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

    border-radius:50%;

}

.footer-cta-content{

    position:relative;

    z-index:2;

    max-width:700px;

}

.footer-cta-badge{

    display:inline-block;

    padding:8px 16px;

    border-radius:30px;

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

    font-size:13px;

    font-weight:700;

    margin-bottom:18px;

}

.footer-cta-content h2{

    margin:0 0 18px;

    font-size:42px;

    font-weight:700;

    line-height:1.2;

}

.footer-cta-content p{

    margin:0;

    font-size:17px;

    line-height:1.8;

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

}

.footer-cta-buttons{

    position:relative;

    z-index:2;

    display:flex;

    flex-direction:column;

    gap:15px;

    min-width:250px;

}

.footer-cta-buttons .btn{

    border-radius:14px;

    font-weight:600;

    padding:14px 26px;

}

.footer-cta-buttons .btn-outline-success{

    background:#fff;

    border-color:#fff;

    color:#198754;

}

.footer-cta-buttons .btn-outline-success:hover{

    background:transparent;

    color:#fff;

    border-color:#fff;

}

@media (max-width:991px){

    .footer-cta-card{

        flex-direction:column;

        text-align:center;

        padding:40px 28px;

    }

    .footer-cta-buttons{

        width:100%;

        max-width:340px;

    }

    .footer-cta-content h2{

        font-size:32px;

    }

}

@media (max-width:576px){

    .footer-cta{

        padding:45px 0 10px;

    }

    .footer-cta-card{

        border-radius:18px;

        padding:30px 20px;

    }

    .footer-cta-content h2{

        font-size:26px;

    }

    .footer-cta-content p{

        font-size:15px;

    }

    .footer-cta-buttons .btn{

        width:100%;

    }

}

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

.site-footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:70px 0 25px;
    position:relative;
    overflow:hidden;
}

.site-footer::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#228B22,#16a34a,#22c55e);
}

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

.footer-logo{
    display:inline-flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    margin-bottom:20px;
}

.footer-logo img{
    width:48px;
    height:48px;
    object-fit:contain;
}

.footer-logo span{
    font-size:1.45rem;
    font-weight:700;
    color:#ffffff;
    letter-spacing:.3px;
}

/* ==========================================================
   DESCRIPTION
========================================================== */

.footer-description{
    margin:0 0 25px;
    line-height:1.8;
    color:#94a3b8;
    font-size:.96rem;
    max-width:340px;
}

/* ==========================================================
   TITLES
========================================================== */

.site-footer h5{
    color:#ffffff;
    font-size:1.1rem;
    font-weight:700;
    margin-bottom:20px;
    position:relative;
    padding-bottom:10px;
}

.site-footer h5::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:45px;
    height:3px;
    border-radius:30px;
    background:#228B22;
}

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

.footer-links{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links li:last-child{
    margin-bottom:0;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    transition:all .3s ease;
    display:inline-block;
    position:relative;
}

.footer-links a:hover{
    color:#22c55e;
    transform:translateX(6px);
}

/* ==========================================================
   SOCIAL ICONS
========================================================== */

.footer-social{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:15px;
}

.footer-social a{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#ffffff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    transition:all .3s ease;
}

.footer-social a:hover{
    background:#228B22;
    border-color:#228B22;
    transform:translateY(-5px);
}

.footer-social i{
    font-size:1.15rem;
}

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

.footer-bottom{
    margin-top:55px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.12);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    color:#94a3b8;
    font-size:.95rem;
}

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

.back-to-top{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    border:none;
    outline:none;
    border-radius:50%;
    background:#228B22;
    color:#fff;
    font-size:1.2rem;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:all .3s ease;
    z-index:999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    background:#166534;
    transform:translateY(-5px);
}

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

@media (max-width:991.98px){

    .site-footer{
        padding:60px 0 25px;
    }

    .footer-bottom{
        justify-content:center;
        text-align:center;
    }

}

@media (max-width:767.98px){

    .site-footer{
        text-align:center;
    }

    .footer-logo{
        justify-content:center;
    }

    .footer-description{
        margin-left:auto;
        margin-right:auto;
    }

    .footer-social{
        justify-content:center;
    }

    .site-footer h5::after{
        left:50%;
        transform:translateX(-50%);
    }

}

