/****** FOOTER - BLACK THEME WITH EXTRA HOVER EFFECTS ******/


/* Main Footer - Black Theme */

.footer {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%) !important;
    padding: 4rem 5% 1.5rem;
    position: relative;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #5b8cff, #7c5cff, #00c2ff) 1;
    z-index: 0;
    overflow: hidden;
}


/* Background animated glow effect */

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(91, 140, 255, 0.04), transparent 50%), radial-gradient(circle at 80% 50%, rgba(124, 92, 255, 0.04), transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: footerGlow 15s ease-in-out infinite;
}

@keyframes footerGlow {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}


/* Floating particle decoration */

.footer::after {
    content: '♦';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 2rem;
    color: rgba(91, 140, 255, 0.1);
    animation: floatParticle 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatParticle {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.3;
    }
}


/* Container grid */

.footer .footer-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto 2rem !important;
    position: relative;
    z-index: 1;
}


/* Columns default state */

.footer .footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}


/* Column hover - radial glow expand */

.footer .footer-column::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 140, 255, 0.1) 0%, transparent 50%);
    transform: scale(0);
    transition: transform 0.5s ease;
    border-radius: 50%;
    z-index: 0;
}

.footer .footer-column:hover::before {
    transform: scale(1);
    animation: columnGlow 2s ease-in-out infinite;
}

@keyframes columnGlow {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.footer .footer-column:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(91, 140, 255, 0.2), 0 0 50px rgba(124, 92, 255, 0.15);
    background: linear-gradient(135deg, rgba(91, 140, 255, 0.1), rgba(124, 92, 255, 0.08));
}


/* Fade in animation */

@media (prefers-reduced-motion: no-preference) {
    .footer .footer-column {
        opacity: 0;
        transform: translateY(30px);
        animation: footerFadeIn 0.6s ease forwards;
    }
    .footer .footer-column:nth-child(1) {
        animation-delay: .1s;
    }
    .footer .footer-column:nth-child(2) {
        animation-delay: .2s;
    }
    .footer .footer-column:nth-child(3) {
        animation-delay: .3s;
    }
    .footer .footer-column:nth-child(4) {
        animation-delay: .4s;
    }
}

@keyframes footerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Logo styles */

.footer .footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: .5rem;
    transition: all 0.4s ease;
    position: relative;
    display: inline-block;
}


/* Logo hover - dot animation */

.footer .footer-logo::after {
    content: '.';
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    color: #5b8cff;
}

.footer .footer-logo:hover::after {
    opacity: 1;
    transform: translateX(5px);
    animation: dotPulse 0.8s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: translateX(5px) scale(1);
    }
    50% {
        transform: translateX(10px) scale(1.3);
    }
}

.footer .footer-logo:hover {
    color: #7c5cff;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(124, 92, 255, 0.8), 0 0 20px rgba(124, 92, 255, 0.6), 0 0 40px rgba(124, 92, 255, 0.4), 0 0 60px rgba(124, 92, 255, 0.2), 0 0 80px rgba(91, 140, 255, 0.1);
    animation: logoGlow 1.5s ease-in-out infinite alternate, logoShake 0.5s ease-in-out;
}

@keyframes logoGlow {
    0% {
        text-shadow: 0 0 10px rgba(124, 92, 255, 0.8), 0 0 20px rgba(124, 92, 255, 0.6), 0 0 40px rgba(124, 92, 255, 0.4);
    }
    100% {
        text-shadow: 0 0 15px rgba(91, 140, 255, 0.9), 0 0 30px rgba(91, 140, 255, 0.7), 0 0 50px rgba(91, 140, 255, 0.5), 0 0 70px rgba(91, 140, 255, 0.3), 0 0 90px rgba(0, 194, 255, 0.2);
    }
}

@keyframes logoShake {
    0%,
    100% {
        transform: translateX(8px) rotate(0deg);
    }
    25% {
        transform: translateX(8px) rotate(-2deg);
    }
    75% {
        transform: translateX(8px) rotate(2deg);
    }
}


/* Description */

.footer .footer-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: .9rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.footer .footer-description:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(91, 140, 255, 0.4);
    padding-left: 10px;
    border-left: 3px solid rgba(91, 140, 255, 0.5);
}


/* Headers */

.footer .footer-column h4 {
    color: #ffffff;
    margin-bottom: .5rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
    overflow: visible;
}


/* Header decorative // */

.footer .footer-column h4::before {
    content: '//';
    position: absolute;
    left: -30px;
    color: rgba(91, 140, 255, 0.3);
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer .footer-column:hover h4::before {
    opacity: 1;
    left: -35px;
    color: #5b8cff;
    animation: codeAppear 0.5s ease-out;
}

@keyframes codeAppear {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Header underline animation */

.footer .footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, #5b8cff, #7c5cff);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer .footer-column:hover h4::after {
    width: 80px;
    background: linear-gradient(90deg, #00c2ff, #5b8cff, #7c5cff);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}


/* Links */

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    position: relative;
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: .9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 4px 0;
}


/* Link underline animation */

.footer ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5b8cff, #7c5cff, #00c2ff);
    background-size: 200% 100%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00c2ff, #5b8cff);
    background-size: 200% 100%;
    animation: gradientMove 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 2px;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.footer ul li a:hover::before {
    width: 100%;
}

.footer ul li a:hover::after {
    width: 100%;
    opacity: 1;
}

.footer ul li a:hover {
    color: #ffffff;
    padding-left: 20px;
    text-shadow: 0 0 15px rgba(91, 140, 255, 0.6), 0 0 30px rgba(124, 92, 255, 0.4);
    letter-spacing: 1px;
}


/* Chevron icon animation */

.footer ul li a i.fa-chevron-right {
    font-size: 0.6rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-15px) rotate(180deg);
}

.footer ul li a:hover i.fa-chevron-right {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    color: #00c2ff;
    animation: chevronBounce 0.6s ease-in-out infinite;
}

@keyframes chevronBounce {
    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(5px) rotate(0deg);
    }
}


/* Contact Items */

.footer .contact-item {
    display: flex;
    gap: .75rem;
    padding: .75rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(5px);
}

.footer .contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(91, 140, 255, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer .contact-item:hover::before {
    opacity: 1;
}

.footer .contact-item:hover {
    background: rgba(124, 92, 255, 0.2);
    transform: translateX(12px) scale(1.03);
    box-shadow: 0 15px 40px rgba(91, 140, 255, 0.25), inset 0 0 30px rgba(124, 92, 255, 0.15);
}


/* Contact Icons */

.footer .contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 92, 255, 0.15);
    color: #7c5cff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: visible;
}


/* Glow ring effect */

.footer .contact-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 20px;
    border: 2px solid rgba(91, 140, 255, 0.3);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.footer .contact-item:hover .contact-icon::before {
    opacity: 1;
    transform: scale(1.2);
    animation: ringPulse 1s ease-in-out infinite;
}

@keyframes ringPulse {
    0%,
    100% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}


/* Gradient overlay on hover */

.footer .contact-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #5b8cff, #7c5cff, #00c2ff);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.footer .contact-item:hover .contact-icon::after {
    opacity: 1;
}

.footer .contact-item:hover .contact-icon {
    background: transparent;
    color: white;
    transform: rotate(360deg) scale(1.2);
    box-shadow: 0 0 30px rgba(91, 140, 255, 0.7), 0 0 60px rgba(124, 92, 255, 0.5), 0 0 90px rgba(0, 194, 255, 0.3);
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%,
    100% {
        box-shadow: 0 0 30px rgba(91, 140, 255, 0.7), 0 0 60px rgba(124, 92, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(91, 140, 255, 0.9), 0 0 80px rgba(124, 92, 255, 0.7), 0 0 100px rgba(0, 194, 255, 0.4);
    }
}


/* Social Icons */

.footer .social-icons {
    display: flex;
    gap: .75rem;
}

.footer .social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: visible;
}


/* Gradient border effect */

.footer .social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #5b8cff, #7c5cff, #00c2ff, #5b8cff);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.footer .social-icons a:hover {
    transform: translateY(-12px) rotateX(360deg) rotateY(360deg) rotateZ(10deg);
    background: linear-gradient(135deg, #5b8cff, #7c5cff);
    box-shadow: 0 20px 40px rgba(91, 140, 255, 0.5), 0 0 30px rgba(124, 92, 255, 0.4), 0 0 50px rgba(0, 194, 255, 0.2);
}

.footer .social-icons a:hover::before {
    opacity: 1;
}


/* Icon bounce effect */

.footer .social-icons a i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer .social-icons a:hover i {
    animation: iconBounce 0.6s ease, iconSpin 0.6s ease;
}

@keyframes iconBounce {
    0%,
    100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.4) rotate(-15deg);
    }
    50% {
        transform: scale(0.8) rotate(10deg);
    }
    75% {
        transform: scale(1.2) rotate(-5deg);
    }
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Bottom Section */

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
}


/* Animated border on hover */

.footer .footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5b8cff, #7c5cff, #00c2ff, transparent);
    transition: width 0.5s ease;
}

.footer:hover .footer-bottom::before {
    width: 100%;
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}


/* Bottom animation */

@media (prefers-reduced-motion: no-preference) {
    .footer .footer-bottom {
        opacity: 0;
        transform: translateY(20px);
        animation: footerBottomSlide 0.6s ease forwards;
        animation-delay: .5s;
    }
}

@keyframes footerBottomSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Bottom content */

.footer .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1400px;
    margin: auto;
}

.footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
}


/* Bottom Links */

.footer .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-left: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 4px 0;
}


/* Bottom link underline animation */

.footer .footer-bottom-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5b8cff, #7c5cff, #00c2ff);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(91, 140, 255, 0.7);
}

.footer .footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00c2ff, #5b8cff);
    transition: width 0.3s ease 0.15s;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.7);
}

.footer .footer-bottom-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(91, 140, 255, 0.9), 0 0 30px rgba(124, 92, 255, 0.6), 0 0 45px rgba(0, 194, 255, 0.4);
    transform: scale(1.05);
    letter-spacing: 1px;
}

.footer .footer-bottom-links a:hover::before,
.footer .footer-bottom-links a:hover::after {
    width: 100%;
}


/* Responsive */

@media (max-width: 768px) {
    .footer .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .footer .footer-column:hover {
        transform: translateY(-5px);
    }
    .footer .social-icons a:hover {
        transform: translateY(-5px) rotateX(180deg);
    }
    .footer .contact-item:hover {
        transform: translateX(5px) scale(1.01);
    }
}