/* =========================================================
   66. FOOTER
========================================================= */

.footer {
    padding-top: var(--footer-padding-top);
    padding-bottom: var(--footer-padding-bottom);
}

/* Main footer background */
.footer.gray-bg {
    background-color: var(--bs-body-bg);

    padding-top: 45px;
    padding-bottom: 8px;
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer .footer-heading {
    margin-bottom: 12px ;
    font-size: 2rem;
    font-weight: var(--font-weight-semibold);

    text-transform: capitalize;
}


/* =========================================================
   FOOTER MENU
========================================================= */

.footer-menu {
    margin-bottom: 0;
}

.footer-menu a {
    position: relative;

    display: inline-block;

    line-height: 50px;
    font-size: 20px;
    text-decoration: none;

    color: var(--text-dark);

    transition: color var(--transition-normal);
}

.footer-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background-color: var(--primary-gold);

    transition: width var(--transition-normal);
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-menu a:active {
    color: var(--primary-gold);
}

.footer-menu a:hover::after,
.footer-menu a:focus::after,
.footer-menu a:active::after {
    width: 100%;
}


/* =========================================================
   FOOTER WIDGET SPACING
========================================================= */

/* Reduce Bootstrap mb-5 spacing inside footer */
.footer .widget.mb-5 {
    margin-bottom: 20px ;
}

/* Reduce custom widget spacing */
.footer .widget.mt-4 {
    margin-top: 15px ;
}

.footer .widget-contact {
    margin-bottom: 20px;
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact-block {
    margin-bottom: 15px;
}

.footer-contact-item {
    margin-top: 5px;
    margin-bottom: 7px;
    font-size: 20px;
    color: var(--text-dark);

    line-height: 50px;
}

.footer-contact-item i {
    margin-right: 6px;

    font-size: 16px;

    color: var(--text-dark);
}

.footer-contact-link {
    position: relative;

    display: inline-block;

    color: var(--text-dark);

    font-weight: var(--font-weight-medium);

    text-decoration: none;

    text-underline-offset: 3px;

    word-break: break-all;

    transition: color var(--transition-normal);
}

.footer-contact-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background-color: var(--primary-gold);

    transition: width var(--transition-normal);
}

.footer-contact-link:hover,
.footer-contact-link:focus,
.footer-contact-link:active {
    color: var(--primary-gold);
}

.footer-contact-link:hover::after,
.footer-contact-link:focus::after,
.footer-contact-link:active::after {
    width: 100%;
}


/* =========================================================
   FOOTER SOCIAL ICONS
========================================================= */

.footer-socials {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-top: 12px ;

    margin-bottom: 0;
}

.footer-socials li {
    margin: 0 ;
    padding: 0;
}

.footer-socials li a {
    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    background: var(--dark);

    color: var(--primary-gold);

    text-align: center;

    border-radius: var(--radius-circle);

    transition:
        color var(--transition-normal),
        background-color var(--transition-normal),
        transform var(--transition-normal);
}

.footer-socials li a i {
    display: block;

    font-size: 40px;

    line-height: 1;
}

.footer-socials li a:hover,
.footer-socials li a:focus {
    background-color: var(--primary-gold);

    color: var(--black);

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER MAP
========================================================= */

.footer iframe {
    display: block;

    width: 100%;

    height: 210px;

    margin: 0;

    border: 0;

    border-radius: var(--radius-md);
}


/* =========================================================
   FOOTER BOTTOM / COPYRIGHT
========================================================= */

.footer-btm-divider {
    width: 100%;
    height: 1px;
    background-color: var(--primary-gold);
    margin: 0;
}

.footer-btm .container {
    width: 100%;
}

.footer-btm .row {
    margin-top: 0;
}

.copyright {
    margin: 0;
    padding: 0;

    line-height: 20px;

    font-size: 14px;

    color: var(--text-dark);
}

.copyright,
.copyright a {
    color: var(--text-dark);
}

.copyright a:hover,
.copyright a:focus {
    color: var(--primary-gold);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .footer.gray-bg {
        padding-top: 35px;
        padding-bottom: 8px;
    }

    .footer .widget.mb-5 {
        margin-bottom: 22px ;
    }

    .footer .footer-heading {
        margin-bottom: 10px ;
    }

    .footer-menu a {
        line-height: 28px;
    }

    .footer-contact-block {
        margin-bottom: 12px ;
    }

    .footer-socials {
        margin-top: 10px ;

        gap: 8px;
    }

    .footer-socials li a {
        width: 58px;
        height: 58px;
    }

    .footer-socials li a i {
        font-size: 36px;
    }

    .footer iframe {
        height: 200px;
    }

    .footer-btm {
        margin-top: 20px ;

        padding-top: 8px ;
        padding-bottom: 3px ;
    }

    .copyright {
        font-size: 13px;

        line-height: 18px;
    }

    .backtop {
        width: 32px;
        height: 32px;

        margin-top: 3px;
    }

    .backtop i {
        font-size: 25px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .footer.gray-bg {
        padding-top: 30px;
        padding-bottom: 5px;
    }

    .footer .widget.mb-5 {
        margin-bottom: 18px ;
    }

    .footer .footer-heading {
        margin-bottom: 8px ;

        font-size: 1rem;
    }

    .footer-menu a {
        line-height: 26px;
    }

    .footer-contact-item {
        margin-bottom: 5px;

        line-height: 23px;
    }

    .footer-contact-item i {
        font-size: 15px;
    }

    .footer-contact-link {
        font-size: 15px;
    }

    .footer-socials {
        gap: 7px;
    }

    .footer-socials li a {
        width: 55px;
        height: 55px;
    }

    .footer-socials li a i {
        font-size: 34px;
    }

    .footer iframe {
        height: 190px;
    }

    .footer-btm {
        margin-top: 15px ;

        padding-top: 7px ;
        padding-bottom: 2px ;
    }

    .copyright {
        font-size: 12px;
        line-height: 17px;
    }

    .backtop {
        margin-top: 2px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .footer.gray-bg {
        padding-top: 25px;
    }

    .footer-socials li a {
        width: 52px;
        height: 52px;
    }

    .footer-socials li a i {
        font-size: 32px;
    }

    .footer iframe {
        height: 180px;
    }

    .copyright {
        font-size: 11px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer-socials li a,
    .footer-menu a,
    .footer-menu a::after,
    .footer-contact-link,
    .footer-contact-link::after,
    .backtop {
        transition: none;
    }

    .footer-socials li a:hover,
    .footer-socials li a:focus,
    .backtop:hover,
    .backtop:focus {
        transform: none;
    }
}
