/* Footer Styling */
.footer-area {
    background: var(--footer-bg-color);
    padding-top: 3rem;
    padding-bottom: 2rem;
}

/* Social Icons */
.social-icons {
    gap: 0.75rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-p-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.social-icons a i {
    font-size: 1rem;
}

/* Business Info */
.business-info {
    font-size: 0.85rem;
    opacity: 0.8;
}

.business-info i {
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Footer Links */
.footer-area .list-inline-item a {
    color: var(--primary-p-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-area .list-inline-item a:hover {
    color: var(--primary-color);
}

.footer-area .list-inline-item:not(:last-child)::after {
    content: '•';
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Stats Section */
.stats-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.stat-item h5 {
    font-size: 1.5rem !important;
    font-weight: 700;
    margin-bottom: 0.25rem !important;
}

.stat-item small {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Copyright Area */
.copyright-area {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary-p-color);
    opacity: 0.8;
}

.copyright-area small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Payment & Security Section */
.trust-payment-section {
    margin-bottom: 2rem;
}

.trust-payment-section h6 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.payment-methods-security {
    gap: 0.75rem;
}

.payment-item-security-icon {
    background: white;
    border-radius: 8px;
    padding: .25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 50px;
}

.payment-logo {
    height: 28px;
    max-width: 60px;
    object-fit: contain;
}

/* Legacy support for old payment method images */
.payment-methods-security img:not(.payment-logo) {
    height: 28px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.payment-methods-security img:not(.payment-logo):hover {
    opacity: 1;
    transform: scale(1.05);
}

.security-badges .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    margin: 0.125rem;
    opacity: 0.9;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.scroll-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 71, 255, 0.3);
}

.scroll-to-top a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 71, 255, 0.4);
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .footer-area {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
    }
    
    .social-icons a i {
        font-size: 0.9rem;
    }
    
    .business-info {
        font-size: 0.8rem;
        margin-bottom: 1.5rem !important;
    }
    
    .footer-area .list-inline-item {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .footer-area .list-inline-item:not(:last-child)::after {
        display: none;
    }
    
    .stats-section {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .stat-item h5 {
        font-size: 1.25rem !important;
    }
    
    .stat-item small {
        font-size: 0.7rem;
    }
    
    .payment-methods-security img {
        height: 24px;
        margin: 0.2rem;
    }
    
    .security-badges .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
    
    .copyright-area {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    .copyright-area small {
        font-size: 0.75rem;
    }
}

@media (max-width: 575px) {
    .trust-payment-section h6 {
        font-size: 0.85rem;
    }
    
    .payment-methods-security {
        gap: 0.5rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .footer-area {
        background: #0a0b14;
    }
    
    .stats-section {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .social-icons a {
        background: rgba(255, 255, 255, 0.08);
    }
}