/* Modern Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #1b1e3a 0%, #393e6d 100%);
    color: #ffffff;
    padding: 70px 0 20px;
    position: relative;
    margin-top: 100px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
  
    transition: transform 0.3s ease;
}

.footer-brand:hover img {
    transform: scale(1.1);
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #ffffff;
    color: #2a2d4a;
    transform: translateY(-3px);
}

.footer-widget h5 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #4a90e2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: #4a90e2;
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4a90e2;
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #357abd;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .footer-widget {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .main-footer {
        padding: 50px 0 20px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
    }
    
    .footer-bottom p {
        text-align: center;
    }
}
