/*------------------------------------*\
    
    Page Footer CSS

    Page footer...........The main page footer.

\*------------------------------------*/

.page-footer {
    background: var(--secondary-color);
    padding-top: 100px;
    margin-top: -1px;
}

.site-content:has(.bg-dark-blue:last-child) + .page-footer {
    padding-top: 5px;
}

body:not(.logged-in) .page-footer {
    padding-top: 30px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.footer-top__left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
}

.footer-logo a {
    display: block;
    background: none;
    max-width: 175px;
}

.footer-social ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.footer-social ul li a {
    color: var(--primary-color);
    font-size: 32px;
    background: none;
    display: block;
}

.footer-social ul li {
    padding: 0;
    margin: 0;
}

.footer-social ul li:before,
.footer-social ul li::after {
    display: none;
}

.back-to-top {
    position: absolute;
    bottom: -78px;
    left: 50%;
    transform: translate(-50%, 0);
}
.back-to-top .btn-icon {
    background: var(--color-primary-yellow-light);
    color: var(--color-secondary);
}

.back-to-top .btn-icon i {
    font-size: 24px;
}

.footer-top {
    position: relative;
    margin: 0 0 116px;
}

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

.page-footer .footer-top__info h3 {
    margin-bottom: 15px;
}

.footer-top__info-columns,
.footer-top__info-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-top__info-columns {
    gap: 15px;
}

.footer-top__info-column {
    gap: 15px;

    p a {
        color: var(--color-text-light);
        font-weight: 500;
    }
}

.footer-top__info p {
    font-size: 13px;
    font-weight: 400;
    color: var(--white);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: max-content;
    max-width: 100%;
}

.footer-top__info p:not(:last-child) {
    margin-bottom: 0;
}

.footer-top__info p i {
    font-size: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer-top__info-clock {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.footer-top__info-clock::before,
.footer-top__info-clock::after {
    content: "";
    position: absolute;
    background: var(--primary-color);
    left: 50%;
    top: 50%;
    transform-origin: left center;
}

.footer-top__info-clock::before {
    width: 6px;
    height: 2px;
    transform: translateY(-50%) rotate(0deg);
}

.footer-top__info-clock::after {
    width: 2px;
    height: 7px;
    transform: translateX(-50%) translateY(-100%);
}

.footer-top__link {
    margin: 36px 0 0;
    text-align: center;
    padding: 0 40px;
}

.page-footer h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px;
}

.footer-top__link ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px 28px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-top__link ul li a {
    color: var(--white);
    background: none;
    font-size: 15px;
    font-weight: 400;
}

.footer-top__link ul li {
    padding: 0;
    margin: 0;
}

.footer-top__link ul li:before,
.footer-top__link ul li::after {
    display: none;
}

.footer-bottom {
    padding: 0;
}

.footer-bottom ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px 30px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-bottom ul li a {
    background: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 400;
}

.footer-bottom ul li {
    padding: 0;
    margin: 0;
    color: var(--white);
    font-size: 15px;
    font-weight: 400;
}

.footer-bottom ul li:before {
    display: none;
}

.footer-bottom ul li:after {
    content: "|";
    position: absolute;
    right: -18px;
    top: 0;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
}

.footer-bottom ul li:last-child:after,
.footer-bottom ul li:nth-child(3):after {
    display: none;
}

.footer-float-btn .footer-chat-link,
.footer-float-btn button {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--tertiary-color);
    padding: 0;
    text-decoration: none;
}

.footer-float-btn button {
    border: none;
}

.footer-float-btn {
    position: absolute;
    right: 0;
    bottom: -100px;
}

.footer-address-link {
    color: var(--white);
    font-weight: normal;
    text-decoration: none;
}

.footer-address-link:hover {
    background: transparent;
}

@media (max-width: 767px) {
    .footer-top__info {
        text-align: center;
    }

    .footer-top__info p {
        margin: 0;
        display: inline-flex;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
        width: auto;
        max-width: calc(100% - 28px);
    }
}

@media(min-width: 768px) {
    .footer-top {
        margin: 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .footer-top__left {
        justify-content: center;
        margin: 0;
        flex-direction: column;
        gap: 20px;
    }

    .back-to-top {
        position: relative;
        bottom: 0;
        left: unset;
        transform: unset;
    }

    .footer-top__info {
        text-align: left;
    }

    .footer-top__info-columns {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-top__info-column {
        align-items: flex-start;
    }

    .footer-top__info p {
        font-size: 16px;
        margin: 0;
        display: block;
        position: relative;
        padding-left: 34px;
        line-height: 1.8em;
        width: 230px;
    }

    .footer-top__info p i {
        font-size: 26px;
        position: absolute;
        left: 0;
        top: 4px;
        flex-shrink: unset;
    }
      .footer-top__info p i.icon-call,
      .footer-top__info p i.icon-fax{
        font-size: 22px;
      }
    .footer-top__info p i.icon-mobile-phone{
        font-size: 33px;
    }

    .footer-top__info-clock {
        width: 20px;
        height: 20px;
        position: absolute;
        left: 0;
        top: 6px;
    }

    .footer-top__link {
        margin: 0;
        text-align: left;
        padding: 0;
    }

    .footer-top__link ul {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .footer-float-btn .footer-chat-link,
    .footer-float-btn button {
        width: 76px;
        height: 76px;
        font-size: 30px;
    }

    .footer-bottom {
        padding: 50px 0 0;
    }

    .footer-float-btn {
        position: absolute;
        right: -34px;
        bottom: -40px;
    }

    .footer-bottom ul li:nth-child(3):after {
        display: block;
    }

    .footer-top__link ul li a {
        font-size: 16px;
    }

    .page-footer h3 {
        font-size: 16px;
    }

    .footer-bottom ul li,
    .footer-bottom ul li a {
        font-size: 16px;
    }
}


@media(min-width: 1200px) {
    .footer-logo a {
        max-width: 200px;
    }

    .footer-bottom ul {
        justify-content: flex-start;
        gap: 70px;
    }

    .footer-top__link ul li a,
    .page-footer h3,
    .footer-bottom ul li,
    .footer-bottom ul li a {
        font-size: 18px;
    }

    .footer-top__info p {
        font-size: 18px;
        width: 260px;
    }

    .back-to-top {
        position: absolute;
        bottom: -92px;
        right: 0;
    }

    .footer-bottom ul li:after {
        right: -38px;
    }

    .footer-float-btn {
        right: -86px;
        bottom: -50px;
    }

    .footer-float-btn .footer-chat-link,
    .footer-float-btn button {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }

    .footer-float-btn .footer-chat-link:hover,
    .footer-float-btn button:hover {
        background: var(--primary-color);
        color: var(--white);
    }

    .back-to-top .btn-icon {
        border-radius: 10px 10px 0 0;
        gap: 5px;
        padding: 16px 18px 16px 25px;
    }

    .footer-top__link ul {
        display: block;
        column-count: 2;
    }

    .footer-top__link ul li {
        margin: 0 0 15px;
    }

    .footer-top__link ul li a:hover,
    .footer-bottom ul li a:hover {
        color: var(--primary-color);
    }

    .footer-social ul li a:hover {
        color: var(--white);
    }

    .back-to-top .btn-icon:hover {
        background: var(--primary-color);
    }
}

@media(min-width: 1600px) {
    .footer-float-btn {
        right: -137px;
        bottom: -50px;
    }

    .footer-top__link {
        max-width: 282px;
    }

    .footer-top__link ul {
        column-gap: 0;
    }

    .footer-top__link ul li {
        width: max-content;
    }

    .footer-top__link ul li:nth-child(3),
    .footer-top__link ul li:nth-child(4) {
        margin-left: -24px;
    }

    .page-footer h3 {
        margin-bottom: 12px;
    }

    .footer-top__info {
        padding-left: 8px;
    }
}