footer {
    background-image: url("../images/back-hinh-anh.jpg"); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    padding: 3rem 0;
}

footer .ductoanauto-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

footer h2 {
    color: var(--dtmauphu);
    margin-bottom: 2rem;
    font-size: 1.1em;
}

.ductoanauto-container .ductoanauto-list-page {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.ductoanauto-container .ductoanauto-box-page {
    flex-basis: 40%;
}

.ductoanauto-container .ductoanauto-salon-contact {
    flex-basis: 29%;
}
.footer-trich-dan
{
    flex-basis: 28%;
    color: #fff;

}
.footer-trich-dan img
{
    height: 100px;
    width: 100%;
    object-fit: contain;
}

.ductoanauto-list-page .ductoanauto-item {
    border-right: 1px solid var(--tqGray);
}

.ductoanauto-list-page .ductoanauto-item a {
    color: var(--tqGray);
    padding: 0 2rem;
}

.ductoanauto-list-page .ductoanauto-item a:hover {
    color: var(--dtmauphu);
}

.ductoanauto-list-page .ductoanauto-item:first-child a {
    padding-left: 0;
}

.ductoanauto-list-page .ductoanauto-item:last-child {
    padding-right: 0;
    border-right: none;
}

.ductoanauto-bb {
    margin-top: 2em;
}

.ductoanauto-bb span {
    color: var(--tqGray);
}

.ductoanauto-bb a, .ductoanauto-bb strong {
    color: var(--tqWhite);
    font-weight: bold;
}

.ductoanauto-bb a:hover {
    color: var(--dtmauphu);
}

.ductoanauto-salon-contact p {
    margin-bottom: 2rem;
}

.ductoanauto-salon-contact p:last-child {
    margin-bottom: 0;
}

.ductoanauto-salon-contact p i, .ductoanauto-bb i {
    color: var(--dtmauphu);
    margin-right: 0.3rem;
}

.ductoanauto-salon-contact p span {
    color: var(--tqGray);
}

@media only screen and (max-width: 1270px) {
    footer .ductoanauto-container {
        padding: 2rem 1.5rem;
    }

    .ductoanauto-bb {
        left: 15px;
    }
}

@media only screen and (max-width: 1024px) {
    footer {
        padding: 0
    }

    footer .ductoanauto-container {
        flex-direction: column-reverse;
    }

    footer h2 {
        margin-bottom: 1.5rem;
    }

    .ductoanauto-container .ductoanauto-box-page {
        flex-basis: 100%;
        margin-top: 2em;
    }

    .ductoanauto-container .ductoanauto-salon-contact {
        flex-basis: 100%;
        margin-top: 2em;
    }
    
    .footer-trich-dan
    {
        margin-top: 2em;
    }

    .ductoanauto-bb {
        position: static;
        margin-top: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {
    footer .ductoanauto-container {
        padding: 2rem 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .ductoanauto-container .ductoanauto-list-page {
        flex-direction: column;
    }

    .ductoanauto-list-page .ductoanauto-item {
        border-right: none;
        margin-bottom: 1.5rem;
    }

    .ductoanauto-list-page .ductoanauto-item a {
        padding: 0;
    }

    .ductoanauto-bb {
        margin-top: 0.5rem;
    }
}
