/* Footer Styles with Blue and Purple Theme */
.footer {
    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%);
    color: white;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

/* Fixed Logo Styles */
.footer-content .logo img {
    max-height: 60px;
    width: auto;
    /* Remove the filter that was making logo invisible */
}

.footer-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 15px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.footer-links ul li a:hover {
    color: #ffcc00;
    transform: translateX(5px);
}

.footer-links ul li a i {
    margin-right: 8px;
    font-size: 12px;
    color: #ffcc00;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: #ffcc00;
    font-size: 18px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

.contact-info b {
    color: white;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    background: #ffcc00;
    color: #4a00e0;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

.copyright .sitename {
    color: #ffcc00;
    font-weight: 600;
}

.credits {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content .logo img {
        max-height: 50px;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer-content .logo {
        justify-content: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
        text-align: left;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .credits {
        text-align: center;
        margin-top: 10px;
    }
    
    .footer-links ul li a {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 0;
    }
    
    .col-6 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Animation */
.footer-links ul li,
.contact-item,
.social-links a {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.footer-links ul li:nth-child(1) { animation-delay: 0.1s; }
.footer-links ul li:nth-child(2) { animation-delay: 0.2s; }
.footer-links ul li:nth-child(3) { animation-delay: 0.3s; }
.footer-links ul li:nth-child(4) { animation-delay: 0.4s; }
.footer-links ul li:nth-child(5) { animation-delay: 0.5s; }

.contact-item:nth-child(1) { animation-delay: 0.2s; }
.contact-item:nth-child(2) { animation-delay: 0.3s; }
.contact-item:nth-child(3) { animation-delay: 0.4s; }
.contact-item:nth-child(4) { animation-delay: 0.5s; }

.social-links a:nth-child(1) { animation-delay: 0.4s; }
.social-links a:nth-child(2) { animation-delay: 0.5s; }
.social-links a:nth-child(3) { animation-delay: 0.6s; }