/* Futuristic Footer Styles */
.futuristic-footer {
    position: relative;
    margin-top: 4rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 30, 0.9) 20%);
    color: var(--text-muted);
    overflow: hidden;
}

.footer-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    border-radius: 20px 20px 0 0;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    position: relative;
}

/* Footer Titles */
.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.title-glow {
    color: var(--primary-glow);
    text-shadow: 0 0 20px var(--primary-glow);
}

.futuristic-footer .section-title {
    font-size: 1.1rem !important;  /* adjust smaller if you like */
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.futuristic-footer .section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-glow), transparent);
}


/* Footer Description */
.footer-description {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    opacity: 0.3;
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.social-icon:hover {
    color: var(--primary-glow);
    border-color: var(--primary-glow);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

/* Active + hover glow underline for footer links */
.futuristic-footer .footer-links a {
    position: relative;
    padding-bottom: 0.1rem;
}

.futuristic-footer .footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
    transition: width 0.25s ease-out, opacity 0.25s ease-out;
    opacity: 0;
}

.futuristic-footer .footer-links a:hover::after,
.futuristic-footer .footer-links a.active::after {
    width: 100%;
    opacity: 1;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    color: var(--primary-glow);
}

.footer-links a:hover {
    color: var(--primary-glow);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-contact li:hover {
    color: var(--text-light);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary-glow);
}

/* Footer Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
            90deg,
            transparent,
            var(--glass-border) 20%,
            var(--glass-border) 80%,
            transparent
    );
    margin-bottom: 2rem;
    position: relative;
}

.footer-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    box-shadow: 0 0 20px var(--primary-glow);
    animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerGlow {
    0%, 100% {
        opacity: 0.5;
        width: 100px;
    }
    50% {
        opacity: 1;
        width: 150px;
    }
}

/* Copyright Section */
.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-links-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links-inline a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-inline a:hover {
    color: var(--primary-glow);
}

.separator {
    color: var(--glass-border);
}

/* Decorative Glows */
.footer-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

.footer-glow-left {
    bottom: -100px;
    left: -100px;
    background: var(--primary-glow);
}

.footer-glow-right {
    top: -100px;
    right: -100px;
    background: var(--secondary-glow);
    animation-delay: 3s;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .copyright {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        padding: 3rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        justify-content: center;
    }

    .footer-links-inline {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}
/* Additional Mobile Improvements */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-description {
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .copyright {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 2.5rem 1rem 1rem;
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .footer-glow {
        width: 200px;
        height: 200px;
    }
}