/*==============================================================
  FOOTER
==============================================================*/

.footer{
    position:relative;
    background:#02060F;
    color:#fff;
    padding:90px 0 30px;
    overflow:hidden;
    border-top:1px solid rgba(212,175,55,.15);
}

/* Decorative glow */

.footer::before{
    content:"";
    position:absolute;
    top:-220px;
    right:-220px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:radial-gradient(
        rgba(212,175,55,.08),
        transparent 70%
    );
    filter:blur(80px);
}

.footer-logo{
    width:180px;
    margin-bottom:25px;
}

.footer p{
    color:#BFC7D5;
    line-height:1.8;
}

.footer h4{
    color:#fff;
    margin-bottom:25px;
    font-size:1.2rem;
    position:relative;
    padding-bottom:12px;
}

.footer h4::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:45px;
    height:2px;
    background:var(--primary);
}

/*==============================================================
 FOOTER LINKS
==============================================================*/

.footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer ul li{
    margin-bottom:14px;
}

.footer ul li a{
    color:#BFC7D5;
    transition:.3s;
    display:inline-flex;
    align-items:center;
}

.footer ul li a::before{
    content:"›";
    margin-right:10px;
    color:var(--primary);
    transition:.3s;
}

.footer ul li a:hover{
    color:#fff;
    transform:translateX(6px);
}

/*==============================================================
 CONTACT INFO
==============================================================*/

.footer-contact{
    list-style:none;
    padding:0;
}

.footer-contact li{
    display:flex;
    align-items:flex-start;
    margin-bottom:18px;
    color:#BFC7D5;
}

.footer-contact i{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:50%;
    background:rgba(212,175,55,.12);
    color:var(--primary);
    display:flex;
    justify-content:center;
    align-items:center;
    margin-right:15px;
}

/*==============================================================
 SOCIAL
==============================================================*/

.social-links{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.social-links a{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.06);
    color:#fff;
    transition:.35s;
    border:1px solid rgba(255,255,255,.08);
}

.social-links a:hover{
    background:var(--primary);
    color:#111;
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(212,175,55,.35);
}

/*==============================================================
 QUICK STATS (Optional)
==============================================================*/

.footer-stats{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-top:30px;
}

.footer-stat{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:18px;
    text-align:center;
}

.footer-stat h3{
    color:var(--primary);
    margin-bottom:6px;
    font-size:1.5rem;
}

.footer-stat span{
    color:#BFC7D5;
    font-size:.9rem;
}

/*==============================================================
 FOOTER DIVIDER
==============================================================*/

.footer hr{
    border:none;
    height:1px;
    margin:60px 0 30px;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.35),
        transparent
    );
}

/*==============================================================
 COPYRIGHT
==============================================================*/

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.footer-bottom p{
    margin:0;
    color:#94A3B8;
    font-size:.95rem;
}

.footer-bottom-links{
    display:flex;
    gap:25px;
}

.footer-bottom-links a{
    color:#94A3B8;
    transition:.3s;
}

.footer-bottom-links a:hover{
    color:var(--primary);
}

/*==============================================================
 BACK TO TOP BUTTON
==============================================================*/

#backToTop{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );
    color:#111;
    font-size:20px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 15px 35px rgba(212,175,55,.35);
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.35s;
    z-index:999;
}

#backToTop.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

#backToTop:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(212,175,55,.45);
}

/*==============================================================
 RESPONSIVE
==============================================================*/

@media(max-width:992px){

.footer{
    text-align:center;
}

.footer h4::after{
    left:50%;
    transform:translateX(-50%);
}

.footer-contact li{
    justify-content:center;
    text-align:left;
}

.social-links{
    justify-content:center;
}

.footer-bottom{
    flex-direction:column;
}

.footer-bottom-links{
    justify-content:center;
    flex-wrap:wrap;
}

}

@media(max-width:768px){

.footer{
    padding:70px 0 25px;
}

.footer-logo{
    width:150px;
}

.footer-stats{
    grid-template-columns:1fr;
}

.social-links a{
    width:44px;
    height:44px;
}

#backToTop{
    width:48px;
    height:48px;
    right:18px;
    bottom:18px;
}

}

@media(max-width:576px){

.footer h4{
    font-size:1.1rem;
}

.footer-contact i{
    width:36px;
    height:36px;
    min-width:36px;
    margin-right:12px;
}

.footer-bottom-links{
    gap:15px;
}

}

/*==============================================================
FOOTER BOTTOM / LEGAL LINKS
==============================================================*/

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 8px;
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.7;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary);
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.20);
    font-size: 12px;
}


/*==============================================================
FOOTER BOTTOM — MOBILE
==============================================================*/

@media (max-width: 767px) {

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 8px;
    }

    .footer-legal-links a {
        font-size: 12px;
    }

}