/* Enhanced Footer Styling from Home Page */
footer {
    position: relative;
    background: linear-gradient(to bottom, rgba(22, 21, 29, 0.99), rgba(16, 15, 26, 0.99)) !important;
    border-top: 1px solid rgba(133, 65, 212, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding-top: 4rem;
    padding-bottom: 2rem;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer cosmic background effect - increased contrast */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(133, 65, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 25%, rgba(25, 118, 210, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 60%, rgba(216, 27, 96, 0.11) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Make footer titles stand out more */
footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(133, 65, 212, 0.5);
}

/* More visible underline for footer headings */
footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #8541d4, #d81b60);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Increased contrast for footer links */
footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 3px 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #1976d2, transparent);
    transition: width 0.3s ease;
}

footer a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(133, 65, 212, 0.7);
}

footer a:hover::after {
    width: 100%;
}

/* More visible separator line */
footer hr {
    background-color: rgba(133, 65, 212, 0.2) !important;
    margin: 2rem 0;
    opacity: 1;
    height: 1px;
}

/* Improved contrast for copyright text */
footer .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Enhanced social icons with more contrast */
footer .social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

footer .social-icons a:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #8541d4, #303f9f);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(133, 65, 212, 0.3);
}

footer .social-icons i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer .social-icons a:hover i {
    color: white;
    text-shadow: 0 0 8px rgba(133, 65, 212, 0.7);
}

footer .footer-brand-section {
    margin-bottom: 2rem;
}

footer .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

footer .footer-logo img {
    height: 40px;
    margin-right: 10px;
}

footer .footer-brand-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
}

footer .footer-col {
    margin-bottom: 2rem;
}

footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-col ul li {
    margin-bottom: 0.5rem;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 768px) {
    footer {
        padding-top: 3rem;
    }
    
    footer .footer-col {
        margin-bottom: 1.5rem;
    }
}