/* Footer Base */
.site-footer {
    background:linear-gradient(135deg,#141e30,#243b55);

    color:#fff;
    padding-top: 50px;
    margin-top: 50px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    padding-bottom: 40px;
    align-items: start;
}

/* Logo Section & Banner */
.footer-box:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-banner {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 0;
    margin-bottom: 2px; /* Banner aur text ke beech ka gap kam kiya */
}

/* Ensuring paragraph under banner has no extra top margin */
.footer-box:first-child p {
    margin-top: 0;
}

/* Headings */
.footer-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffcc00;
}

.footer-box h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #ffcc00;
    position: relative;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 55px;
    height: 3px;
    background: #ffcc00;
    border-radius: 10px;
}

/* Text */
.footer-box p {
    color: #ddd;
    line-height: 1.8;
    font-size: 15px;
}

/* Links */
.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin: 12px 0;
}

.footer-box ul li a, 
.footer-box a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-box ul li a:hover, 
.footer-box a:hover {
    color: #ffcc00;
    padding-left: 6px;
}

/* Social Icons (Always Horizontal) */
.social-icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap; /* Taki screen chhoti hone par bahar na nikle */
}

.social-icons a {
    display: inline-block;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px); /* Hover par thoda upar jayega */
}

.social-icons .social-img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    min-width: 40px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 5px; /* Thoda clean look ke liye */
}

/* Bottom Footer */
.footer-bottom {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 18px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-banner {
        width: 220px;
        margin: 0 auto 15px auto; /* Mobile par banner center karne ke liye */
    }

    .footer-box h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center; /* Mobile par social icons ko center karne ke liye */
    }
    
    .footer-box ul li a:hover {
        padding-left: 0; /* Mobile touch par shifting rokne ke liye */
    }
}