/*=================================
Footer — modern compact layout
=================================*/

.footer{
    position:relative;
    background:
        radial-gradient(circle at 12% 20%, rgba(27,86,197,.28), transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(13,61,143,.35), transparent 40%),
        linear-gradient(165deg, #041a42 0%, #072867 48%, #0a347a 100%);
    color:#fff;
    padding:72px 0 0;
    overflow:hidden;
}

.footer::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(255,255,255,.03), transparent 30%);
    pointer-events:none;
}

.footer .container{
    position:relative;
    z-index:1;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.35fr 0.9fr 0.9fr 0.95fr 1.2fr;
    gap:40px 48px;
    align-items:start;
}

.footer-brand{
    padding-right:12px;
}

.footer-logo{
    display:inline-block;
    margin-bottom:18px;
    line-height:0;
}

.footer-logo img{
    width:auto;
    max-width:168px;
    height:auto;
    max-height:56px;
    object-fit:contain;
    display:block;
}

.footer-about{
    color:rgba(255,255,255,.72);
    line-height:1.7;
    font-size:13.5px;
    margin:0 0 22px;
    max-width:260px;
}

.footer-col h4{
    color:#fff;
    font-size:14px;
    font-weight:700;
    letter-spacing:0.8px;
    text-transform:uppercase;
    margin:0 0 18px;
    position:relative;
    padding-bottom:12px;
}

.footer-col h4::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:28px;
    height:2px;
    border-radius:2px;
    background:linear-gradient(90deg, #5b8fef, rgba(255,255,255,.15));
}

.footer-col ul{
    padding:0;
    margin:0;
    list-style:none;
}

.footer-col ul li{
    margin-bottom:10px;
}

.footer-col ul li a{
    color:rgba(255,255,255,.68);
    text-decoration:none;
    transition:.25s ease;
    font-size:13.5px;
    font-weight:400;
    display:inline-block;
    line-height:1.45;
}

.footer-col ul li a:hover{
    color:#fff;
    transform:translateX(4px);
}

.footer-social{
    display:flex;
    gap:10px;
}

.footer-social a{
    width:38px;
    height:38px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:10px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    text-decoration:none;
    transition:.3s ease;
    font-size:15px;
    background:rgba(255,255,255,.04);
}

.footer-social a:hover{
    background:#fff;
    color:#072867;
    border-color:#fff;
    transform:translateY(-3px);
}

.footer-contact li{
    display:flex;
    gap:12px;
    align-items:flex-start;
    margin-bottom:14px !important;
}

.footer-contact i{
    width:32px;
    height:32px;
    border-radius:8px;
    background:rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    margin-top:0;
    flex-shrink:0;
    color:#9ebeff;
}

.footer-contact span,
.footer-contact a{
    color:rgba(255,255,255,.72);
    text-decoration:none;
    line-height:1.55;
    font-size:13.5px;
}

.footer-contact a:hover{
    color:#fff;
}

.footer-bottom{
    margin-top:48px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    padding:18px 0;
    font-size:12.5px;
    color:rgba(255,255,255,.55);
    letter-spacing:0.2px;
}

@media(max-width:1199px){
    .footer-grid{
        grid-template-columns:1.2fr 1fr 1fr;
        gap:36px 40px;
    }
}

@media(max-width:991px){
    .footer{
        text-align:center;
        padding-top:56px;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
        gap:36px 28px;
    }

    .footer-brand{
        grid-column:1 / -1;
        padding-right:0;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .footer-about{
        max-width:420px;
        margin-left:auto;
        margin-right:auto;
    }

    .footer-col h4::after{
        left:50%;
        transform:translateX(-50%);
    }

    .footer-social{
        justify-content:center;
    }

    .footer-contact li{
        justify-content:center;
        text-align:left;
    }

    .footer-col ul li a:hover{
        transform:none;
    }
}

@media(max-width:575px){
    .footer-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .footer-logo img{
        max-width:150px;
        max-height:48px;
    }

    .footer-bottom{
        margin-top:36px;
        font-size:12px;
    }
}
