/***** Footer *****/
.footer,
.service__title { position: relative; }

.footer::after,
.service__title::before { position: absolute; }

.footer {
    overflow: hidden;
    z-index: 0;
}

.footer::after {
    top: 0;
    bottom: 0;
}

.footer::after,
.service__title::before { content: ''; }

.footer::after,
.service__title::before { left: 0; }

.footer::after {
    right: 0;
    opacity: .2;
    z-index: -1;
}

/***** Newsletter *****/
.reference__newsletter { margin-top: 2rem; }

.service__contact,
.contact__item { display: flex; }

.newsletter__text,
.newsletter__title { margin-bottom: 0; }

.footer__newsletter .btn__link { margin-top: 0; }

/*
.newsletter__form { margin: auto; }

.footer__newsletter .input-group { border-bottom: 1px solid #FFF; }

.footer__newsletter .input-group:focus-within {
    border-bottom: 1px solid #E2000F;
    box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
}

.footer__newsletter button {
    margin: 0.25rem;
    padding: 0.5rem;
}
*/

/***** Service *****/
.service__title { margin-bottom: 2rem; }

.service__title::before {
    height: 2px;
    width: 50px;
    bottom: -10px;
}

.service__nav-item {
    margin: 1rem 0;
    display: block;
}

.service__nav-item:hover { padding-left: 10px; }

.service__contact { flex-wrap: wrap-reverse; }

.service__contact > .contact__item:not(:last-of-type) {
    margin-top: 2rem;
    margin-bottom: 0;
}

.service__contact .contact__item { align-items: center; }

.service__contact .contact__icon { margin-right: 1rem; }

.service__contact .contact__text,
.footer__copyright > p { margin-bottom: 0; }

.footer hr { margin: 0; }

.footer__copyright > p {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/***** Media Query *****/
@media screen and (max-width: 575px) {
    .footer > div > section {
        padding: 2rem;
    }

    .footer__newsletter > div > div > .newsletter__text,
    .footer__newsletter > div > div > .newsletter__title { text-align: center; }

    .newsletter__title { padding-bottom: 1rem; }

    /*** Service ***/
    .reference__socials { text-align: center; }

    /*** Service ***/
    .footer__service .col-12:first-of-type,
    .footer__service .col-12:not(:last-of-type) { margin-bottom: 4rem; }

    .service__contact { justify-content: space-between; }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
    .footer > div > section { padding: 2rem; }

    /*** Service ***/
    .footer__service .col-12:first-of-type { margin-bottom: 4rem; }
}

@media screen and (max-width: 767px) {
    .footer > .container-md > div { padding: 2rem; }

    /*** Service ***/
    .reference__link:first-child { margin-right: 1rem; }

    .reference__link:not(:first-child):not(:last-child) { margin: 0 1rem; }

    .reference__link:last-child { margin-left: 1rem; }
}

@media screen and (min-width: 768px) {
    .footer > .container-md > div { padding: 3rem 0; }

    /*** Service ***/
    .service__contact { justify-content: space-between; }

    .contact__item { align-items: center; }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    /*** Service ***/
    .reference__link:first-child { margin-right: .5rem; }

    .reference__link:not(:first-child):not(:last-child) { margin: 0 .5rem; }

    .reference__link:last-child { margin-left: .5rem; }
}

@media screen and (max-width: 991px) {
    /*** Copyright ***/
    .footer__copyright > p { text-align: center; }
}

@media screen and (min-width: 992px) {
    /*** Service ***/
    .reference__link:first-of-type { margin-right: 1rem; }
    
    .reference__link:not(:first-of-type):not(:last-of-type) {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .reference__link:last-of-type { margin-left: 1rem; }

    /*** Copyright ***/
    .footer__copyright > p { text-align: right; }
}
