/* Modern Footer Styles */
footer {
    background-color: #36445a;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 30px;
    border-top: 5px solid #d73f15;
}

footer p {
    margin-bottom: 15px;
    color: #fff;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #d73f15;
}

footer .list-unstyled li {
    margin-bottom: 10px;
    position: relative;
}

footer .list-unstyled a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer .list-unstyled a:hover {
    color: #fff;
    text-decoration: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info li i {
    color: #d73f15;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.newsletter-form .input-group {
    margin-bottom: 10px;
}

.newsletter-form .form-control {
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    height: 45px;
    border-radius: 4px 0 0 4px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn-primary {
    background-color: #d73f15;
    border-color: #d73f15;
    color: #fff;
    height: 45px;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.newsletter-form .btn-primary:hover {
    background-color: #c63512;
    border-color: #c63512;
}

p.small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

p.small i {
    margin-right: 5px;
    color: #d73f15;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: transparent;
    width: fit-content;
}

.payment-icons img {
    height: 80px;
    margin: 0 10px;
    border-radius: 10px;
    max-height: 80px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #d73f15;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #c63512;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 767px) {
    footer {
        padding: 30px 0 20px;
    }

    footer h5 {
        cursor: pointer;
        padding-right: 20px;
        margin-top: 20px;
    }

    footer h5 .fa-angle-down {
        position: absolute;
        right: 0;
        top: 0;
        transition: all 0.3s ease;
    }

    footer h5.open .fa-angle-down {
        transform: rotate(180deg);
    }

    .payment-icons {
        margin-top: 15px;
        justify-content: center;
    }

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

    .footer-bottom .text-right {
        text-align: center;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}