/* ============================================
   FOOTER STYLES - Clean Version
============================================ */

.footer {
    background: #1c1829;
    padding: 4rem 0 0;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle top border glow */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Layout */
.footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Brand Section */
.footer-brand {
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.brand-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 1.5rem 0;
    font-size: 1rem;
}

/* Social Media Links Grid */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Social Media Colors */
.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border-color: transparent;
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-link.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-link.threads:hover {
    background: #000000;
    border-color: #000000;
}

.social-link.email:hover {
    background: #EA4335;
    border-color: #EA4335;
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4361EE;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
    transform: translateX(3px);
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 4rem;
    padding: 2rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-extra {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-extra span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Scroll-to-Top Button */
.scroll-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #4361EE;
    color: white;
    border-color: #4361EE;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

@media (max-width: 1024px) {
    .footer .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links-grid {
        justify-content: center;
        max-width: 500px;
        margin: 2rem auto 0;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .social-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-extra {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 380px) {
    .social-links-grid {
        grid-template-columns: 1fr;
        max-width: 250px;
    }
    
    .social-link {
        justify-content: center;
    }
}