/* Footer Styles - Modern Horizontal Layout */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Main footer wrapper with flexbox for horizontal layout */
.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 60px;
}

/* Brand section with company info */
.footer-brand {
    flex: 0 0 100%;
    max-width: 380px;
    margin-bottom: 20px;
}

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

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-logo span {
    background: linear-gradient(135deg, #6C63FF 0%, #4CAF50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Social media icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

/* Links container - horizontal arrangement */
.footer-links-container {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-end;
}

/* Individual column styling */
.footer-column {
    min-width: 160px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #6C63FF 0%, #4CAF50 100%);
}

/* Links list styling */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer bottom section */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-brand {
        margin: 0 auto 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links-container {
        justify-content: space-around;
        width: 100%;
    }
    
    .footer-column {
        min-width: 140px;
        margin-bottom: 30px;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-links-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .footer-column {
        width: 100%;
        max-width: 250px;
    }
}

.footer-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badge i {
    color: #4CAF50;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .footer {
        padding: 50px 0 25px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 15px;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .footer-trust {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trust-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 35px 0 15px 0;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal a {
        font-size: 0.8rem;
    }
    
    .footer-trust {
        flex-direction: column;
        gap: 10px;
    }
}
