/* ==========================
   SHARED FOOTER
   Copied 1:1 from the original Home page footer styles.
   All selectors are scoped under .site-footer / .footer-*, so this file
   is safe to include on any page without clashing with page-specific CSS.
========================== */

.site-footer{
    width:100%;
    background: var(--tb-navy, #0b213f);
    color:#fff;
    text-align:left;
    padding:0;
    font-family:'Poppins',sans-serif;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-container{
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    min-width: 0;
    padding: var(--section-padding) var(--container-px) 0;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.5fr repeat(3, 1fr);
    gap:clamp(40px, 5vw, 100px);
}

.footer-logo{
    display:inline-block;
}

.footer-logo img{
    display: block;
    height: 60px;
    width: auto;
}

.footer-brand > p{
    margin:0 0 32px;
    color: var(--tb-muted, #667797);
    font-size:15px;
    line-height:1.8;
}

.footer-column h3{
    color:#fff;
    font-size:16px;
    font-weight:700;
    margin:0 0 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column > a{
    color: rgba(255, 255, 255, 0.6);
    text-decoration:none;
    font-size:15px;
    line-height:1;
    margin-bottom:18px;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column > a i{
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--tb-primary, #0d6efd);
}

.footer-column > a:hover{
    color:#fff;
    transform: translateX(5px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.05);
    padding:32px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p{
    margin:0;
    color: rgba(255, 255, 255, 0.4);
    font-size:14px;
}

@media(max-width:1000px){
    .footer-grid{
        grid-template-columns:1fr 1fr;
        gap: 3rem 2rem;
    }
}

@media(max-width:768px){
    .footer-grid{
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
        padding-bottom: 3rem;
    }

    .footer-brand{
        grid-column:1 / -1;
    }

    .footer-brand > p br{
        display:none;
    }
}

@media(max-width:480px){
    .footer-grid{
        grid-template-columns:1fr;
        gap: 2rem;
    }

    .footer-brand,
    .footer-column:last-child{
        grid-column:auto;
    }

    .footer-logo{
        font-size:22px;
        margin-bottom:20px;
    }

    .footer-logo-img{
        height:28px;
    }

    .footer-brand > p{
        font-size:14px;
        line-height:1.8;
        margin-bottom:24px;
    }

    .footer-column h3{
        margin-bottom:18px;
    }

    .footer-column a{
        font-size:14px;
        margin-bottom:15px;
    }

    .footer-bottom{
        padding:24px 0 30px;
    }

    .footer-bottom p{
        font-size:13px;
    }
}
