/* Isolated Footer CSS */
.site-footer {
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #fff;
    padding-top: 40px;
    margin-top: 50px;
    font-family: 'Segoe UI', sans-serif;
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

.site-footer *, 
.site-footer *::before, 
.site-footer *::after {
    box-sizing: border-box;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-box {
    flex: 1 1 220px;
}

.footer-banner {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.footer-box h2, 
.footer-box h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffcc00;
    position: relative;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 45px;
    height: 3px;
    background: #ffcc00;
    border-radius: 10px;
}

.footer-box p {
    color: #ddd;
    line-height: 1.6;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin: 8px 0;
}

.footer-box ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: #ffcc00;
}

/* Social Icons Area */
.social-icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
}

.social-icons .social-img {
    width: 36px !important;
    height: 36px !important;
    object-fit: cover !important;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 15px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
    font-size: 13px;
}

/* MOBILE RESPONSIVE (Side-by-Side Pairs) */
@media screen and (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 10px;
    }

    /* Pehla Banner Box - Full Width */
    .footer-box:nth-child(1) {
        flex: 0 0 100%;
    }

    /* Baki ke sabhi Boxes 2-2 ke pair mein aayenge (Left-Right) */
    .footer-box:nth-child(2),
    .footer-box:nth-child(3),
    .footer-box:nth-child(4) {
        flex: 0 0 47%; /* Left & Right Auto Fit */
    }

    .footer-banner {
        width: 200px;
    }

    .footer-box h3 {
        font-size: 16px;
    }
}