.footer{
    /* Match product hero: gradient + background image */
    background: linear-gradient(135deg, rgba(18, 63, 103, 0.85) 0%, rgba(15, 92, 149, 0.85) 100%);
    padding-top:80px;
    border-top:2px solid var(--brand-orange);
    color: var(--brand-white);
    position: relative;
    overflow: hidden;
}

/* dark overlay to improve text contrast on the background image */
.footer::before{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9,34,56,0.45);
    z-index: 0;
    pointer-events: none;
}

.footer-container{
    max-width:1500px;
    margin:auto;
    padding:0 30px 60px;
    display:grid;
    grid-template-columns:1.5fr 1fr 1.3fr 1.2fr;
    gap:60px;
    position: relative;
    z-index: 2;
}

.footer-logo{
    display:flex;
    align-items:center;
    margin-bottom:28px;
}

.footer-logo img{
    width:210px;
    max-width:100%;
    height:auto;
    border-radius:22px;
    background:transparent;
    padding:0;
    box-shadow:none;
}

.footer-about p{
    color:rgba(255,255,255,0.78);
    font-size:15px;
    line-height:1.9;
    margin-bottom:35px;
    max-width:380px;
}

.footer-social{
    display:flex;
    gap:14px;
}

.footer-social a{
    width:48px;
    height:48px;
    background:rgba(255,255,255,0.10);
    border:1px solid rgba(255,255,255,0.10);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    transition:0.35s ease;
}

.footer-social a i{
    color:var(--brand-white);
    font-size:18px;
}

.footer-social a:hover{
    background:var(--brand-orange);
    border-color:var(--brand-orange);
    transform:translateY(-6px);
}

.footer-services h3,
.footer-contact h3,
.footer-newsletter h3{
    color:var(--brand-white);
    font-size:18px;
    margin-bottom:12px;
    font-weight:700;
}

.footer-line{
    display:block;
    width:42px;
    height:3px;
    background:var(--brand-orange);
    margin-bottom:28px;
    border-radius:999px;
}

.footer-services{
    display:flex;
    flex-direction:column;
}

.footer-services a{
    color:rgba(255,255,255,0.78);
    text-decoration:none;
    margin-bottom:18px;
    font-size:15px;
    transition:0.3s ease;
}

.footer-services a:hover{
    color:var(--brand-white);
    transform:translateX(6px);
}

.contact-item{
    display:flex;
    gap:15px;
    margin-bottom:22px;
}

.contact-item i{
    color:var(--brand-orange);
    font-size:20px;
    margin-top:4px;
}

.contact-item p{
    color:rgba(255,255,255,0.78);
    line-height:1.5;
    font-size:15px;
}

.footer-newsletter p{
    color:rgba(255,255,255,0.82);
    font-size:16px;
    line-height:1.7;
    margin-bottom:28px;
}

.newsletter-box{
    display:flex;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.16);
    border-radius:999px;
    background:rgba(9,34,56,0.18);
}

.newsletter-box input{
    flex:1;
    height:46px;
    background:transparent;
    border:none;
    outline:none;
    padding:0 18px;
    color:var(--brand-white);
    font-size:13px;
}

.newsletter-box input::placeholder{
    color:rgba(255,255,255,0.62);
}

.newsletter-box button{
    width:54px;
    height:46px;
    border:none;
    background:var(--brand-orange);
    cursor:pointer;
    transition:0.35s ease;
}

.newsletter-box button i{
    color:var(--brand-white);
    font-size:15px;
}

.newsletter-box button:hover{
    background:#d96816;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.12);
    padding:16px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:rgba(255,255,255,0.85);
    font-size:14px;
    position: relative;
    z-index: 2;
}


@media(max-width:1200px){






    .footer-container{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px){

    .footer{
        padding-top:60px;
    }

    /* Reduce vertical whitespace/gaps on mobile */
    .footer-container{
        grid-template-columns:1fr;
        gap:20px;
        padding:0 20px 20px;
    }

    .footer-logo{
        margin-bottom:18px;
    }

    .footer-about p{
        margin-bottom:18px;
    }

    .footer-line{
        margin-bottom:15px;
    }

    .footer-services a{
        margin-bottom:12px;
    }

    .contact-item{
        margin-bottom:14px;
        gap:12px;
    }

    .footer-newsletter p{
        margin-bottom:18px;
    }

    .footer-bottom{
        flex-direction:column;
        gap:10px;
        text-align:center;
        font-size:13px;
    }

    .footer-logo img{
        width:150px;
    }
}
