/* ===== Gyansarover Footer ===== */
.gyansarover-footer {
    background: #09224c;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin-top: 80px;
}

.footer-top {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* .footer-logo {
    height: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    background-color: #ffffff;
} */

.footer-brand h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Scope h5 styles to footer only to avoid global collisions (e.g. .impact-card) */
.gyansarover-footer h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.gyansarover-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14.5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00bfff;
    padding-left: 6px;
}

.contact-info li {
    margin-bottom: 14px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.contact-info i {
    color: #ffffff;
    font-size: 16px;
    margin-top: 2px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #ffffff;
    color: #09224c;
    transform: translateY(-4px);
}

.btn-light {
    background: #ffffff;
    color: #09224c;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-light:hover {
    background: #00bfff;
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    font-size: 14px;
    color: #f5f5f5;
}

.footer-bottom a {
    color: #00bfff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #09224c;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 999;
}

#backToTop.show {
    display: block;
}

#backToTop:hover {
    background: #00bfff;
    color: #ffffff;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
        text-align: center;
    }
    .gyansarover-footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links a {
        margin: 5px;
    }
    .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
}
