/* =============================================
   FOOTER PROFESIONAL - SIMPLIFIED
   ============================================= */
.footer-professional {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 2rem 0;
}



/* Main Content Columns - Aligned Layout */
.footer-content-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-nav-group {
    display: flex;
    gap: 3rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    /* Removed padding-left and before pseudoelement for cleaner look matching navbar items */
}

/* Optional: if you want the accent line back, uncomment this
.footer-col h4 { padding-left: 0.75rem; }
.footer-col h4::before { ... }
*/

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 3px;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-logo .code-symbol {
    color: var(--accent-primary);
}

.footer-logo .highlight {
    background: linear-gradient(135deg, var(--accent-primary), #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 18rem 0 18rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}


/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), #06b6d4);
    border: none;
    border-radius: 8px;
    /* Unified Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #06b6d4, var(--accent-primary));
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 210, 255, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    color: #ffffff;
    animation: bounce 2s infinite;
}

.back-to-top:hover svg {
    animation: none;
}

/* Bounce animation for the arrow */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* =============================================
   FOOTER RESPONSIVE
   ============================================= */

/* Container fluid handling */
.footer-professional .container-fluid {
    max-width: 100%;
    padding: 0 2rem;
}

/* Large screens - reduce padding */
@media (max-width: 1400px) {
    .footer-bottom {
        padding: 1.5rem 8rem 0 8rem;
    }
}

/* Medium screens */
@media (max-width: 1200px) {
    .footer-bottom {
        padding: 1.5rem 4rem 0 4rem;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .footer-content-columns {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav-group {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-bottom {
        padding: 1.5rem 2rem 0 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-professional {
        padding: 2rem 0;
    }

    .footer-professional .container-fluid {
        padding: 0 1rem;
    }

    .footer-nav-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem 0 1rem;
        gap: 1rem;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-simple-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .copyright {
        font-size: 0.85rem;
        order: 2;
    }

    .footer-links-row {
        flex-direction: column;
        gap: 1rem;
        order: 1;
    }

    .footer-social {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-professional .container-fluid {
        padding: 0 0.75rem;
    }

    .footer-bottom {
        padding: 1rem 0.75rem 0 0.75rem;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal-links .separator {
        display: none;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}