/* Footer Styles */
footer.bg-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-top: 3px solid #0d6efd;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #0d6efd;
}

footer .text-light {
    color: #b8c2cc !important;
}

/* Social Links */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Footer Links */
footer ul.list-unstyled li a {
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

footer ul.list-unstyled li a:hover {
    color: #0d6efd !important;
    padding-left: 8px;
    text-decoration: none;
}

footer ul.list-unstyled li a::before {
    content: '▸';
    position: absolute;
    left: -12px;
    opacity: 0;
    transition: all 0.3s ease;
}

footer ul.list-unstyled li a:hover::before {
    opacity: 1;
    left: -8px;
}

/* Newsletter Form */
.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px 0 0 4px;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn-primary {
    border-radius: 0 4px 4px 0;
    background: #0d6efd;
    border-color: #0d6efd;
}

.newsletter-form .btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
}

/* Payment Methods */
.payment-methods i {
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-methods i:hover {
    transform: scale(1.2);
    color: #0d6efd !important;
}

/* Back to Top Button */
#backToTop {
    width: 50px;
    height: 50px;
    background: #0d6efd;
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    background: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    footer .col-lg-4,
    footer .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-methods {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Footer Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer .row > div {
    animation: fadeInUp 0.6s ease forwards;
}

footer .row > div:nth-child(1) { animation-delay: 0.1s; }
footer .row > div:nth-child(2) { animation-delay: 0.2s; }
footer .row > div:nth-child(3) { animation-delay: 0.3s; }
footer .row > div:nth-child(4) { animation-delay: 0.4s; }
footer .row > div:nth-child(5) { animation-delay: 0.5s; }

/* Footer Bottom */
footer hr.bg-light {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin: 2rem 0 1.5rem;
}