/* Advanced Footer Styles for DBEX Soft */

.footer {
    position: relative;
    overflow: hidden;
    background: #040000;
}

/* Glassmorphism Effect for Footer Top */
.footer .footer-top {
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.03) 0%, transparent 100%);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 50px 0;
}

/* Animated Heading Underline */
.footer h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.footer-links:hover h4::after {
    width: 60px;
}

/* Advanced Link Hover Effects */
.footer .footer-links ul li {
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.footer .footer-links ul li:hover {
    transform: translateX(8px);
}

.footer .footer-links ul a {
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer .footer-links ul a::before {
    content: "\F285"; /* Bootstrap Icon Chevron Right */
    font-family: "bootstrap-icons";
    font-size: 10px;
    margin-right: 8px;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer .footer-links ul li:hover a::before {
    opacity: 1;
    transform: translateX(0);
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Social Links Animation */
.footer .social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer .social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
    color: #fff;
    border-color: var(--accent-color);
}

/* Footer Bottom Polish */
.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer .footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer .footer-contact strong {
    color: var(--accent-color);
}

/* Floating Elements Background */
.footer::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .footer .footer-top {
        padding: 60px 0 30px 0;
    }
}
