/* ============================================
   GOLDSTEP CAPITAL LTD - Footer Styles
   Footer, Social Links, Back to Top
   ============================================ */

.footer {
    background: #0a1628;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><path fill="%23ffffff" fill-opacity="0.03" d="M0 250C150 200 300 300 500 250S850 200 1000 250V500H0z"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.footer-about p {
    color: #8a9bb5;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    color: #8a9bb5;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    color: var(--gold-primary);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #8a9bb5;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-social ul li a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-social ul li a i {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    font-size: 0.9rem;
    color: #8a9bb5;
    transition: var(--transition-normal);
}

.footer-social ul li a:hover {
    padding-left: 0;
}

.footer-social ul li a:hover i {
    background: var(--gold-primary);
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    color: #8a9bb5;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: #8a9bb5;
}

.footer-bottom-links a:hover {
    color: var(--gold-primary);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-5px);
}

/* ============================================
   FOOTER RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 36px;
    }

    .footer-about .logo-text {
        font-size: 1.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 28px;
    }

    .footer-links h4 {
        margin-bottom: 16px;
    }

    .footer-bottom-links {
        gap: 12px;
        font-size: 0.85rem;
    }
}