.footer {
    background: var(--bs-gray-100);
}

.footer-logo img {
    max-width: 130px;
}

.footer h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer a {
    text-decoration: none;
    transition: .3s;
    font-size: 14px;
}

.footer-links a:hover,
.footer a:hover {
    color: var(--bs-primary);
}

.newsletter-form .input-group {
    max-width: 340px;
    border: 1px solid #cfcfcf;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: 0;
    box-shadow: none;
    padding: 14px 18px;
}

.newsletter-form .btn {
    width: 60px;
    background: var(--bs-secondary-bg);
    color: var(--bs-primary);
    border: 0;
}

.newsletter-form .btn:hover {
    background: var(--bs-primary);
    color: #fff;
}

.footer-divider {
    margin-top: 14px;
    border-color: #cfcfcf;
    opacity: 1;
}

/* Tablet */

@media (max-width:991.98px) {

    .footer-logo {
        margin-bottom: 35px !important;
    }

    .newsletter {
        margin-bottom: 10px;
    }

    .footer-divider {
        margin-top: 40px;
    }

}

/* Mobile */

@media (max-width:767.98px) {

    .footer,
    .footer p {
        text-align: center;
    }

    .footer-logo {
        display: inline-block;
    }

    .newsletter-form .input-group {
        margin: auto;
    }

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

}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: #fff;
    background: #a91c1c;
    /* Darker shade of primary */
    transform: translateY(-3px);
}

@media (max-width: 767.98px) {
    .back-to-top {
        width: 42px;
        height: 42px;
        right: 15px;
        bottom: 15px;
    }
}

.copyright {
    font-size: 14px;
}

@media (max-width: 767.98px) {

    .copyright .d-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

}