/* ================================================
   AAROGYM — FOOTER CSS
   File: public/frontend/css/footer.css

   ALL social-icon / contact-info rules scoped
   inside #fh5co-footer so they never leak into header
   ================================================ */

/* ================================================
   FOOTER BASE
   ================================================ */
#fh5co-footer {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    padding: 70px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Work Sans", sans-serif;
}

#fh5co-footer .overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.92);
    z-index: 0;
}

#fh5co-footer .container {
    position: relative;
    z-index: 1;
}

#fh5co-footer .row-pb-md {
    padding-bottom: 0;
}

/* ================================================
   COL 1 — LOGO + ABOUT
   ================================================ */
#fh5co-footer .fh5co-widget {
    margin-bottom: 40px;
}

#fh5co-footer .fh5co-widget img {
    max-width: 160px;
    margin-bottom: 20px;
    display: block;
}

#fh5co-footer .fh5co-widget p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 15px;
}

/* ── Social icons — FOOTER ONLY ── */
#fh5co-footer .fh5co-social-icons {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#fh5co-footer .fh5co-social-icons li {
    display: block;
    float: none;
    padding: 0;
    margin: 0;
    width: auto;
}

#fh5co-footer .fh5co-social-icons li a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0;
}

#fh5co-footer .fh5co-social-icons li a i {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

#fh5co-footer .fh5co-social-icons li a:hover {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

/* Become a Member button */
#fh5co-footer .btn-primary {
    background: #e53935;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    color: #fff;
}

#fh5co-footer .btn-primary:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
}

/* ================================================
   COLS 2, 3 — LINKS + CONTACT
   ================================================ */
#fh5co-footer .footer-col {
    margin-bottom: 40px;
}

#fh5co-footer h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

#fh5co-footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #e53935;
    border-radius: 2px;
}

/* Footer link list — scoped */
#fh5co-footer .fh5co-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#fh5co-footer .fh5co-footer-links li {
    margin-bottom: 10px;
    padding: 0;
}

#fh5co-footer .fh5co-footer-links li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

#fh5co-footer .fh5co-footer-links li a::before {
    content: "›";
    font-size: 16px;
    color: #e53935;
    line-height: 1;
    flex-shrink: 0;
}

#fh5co-footer .fh5co-footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Contact info list — scoped */
#fh5co-footer .fh5co-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

#fh5co-footer .fh5co-contact-info li {
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    padding: 0;
}

#fh5co-footer .fh5co-contact-info li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s;
    padding: 0;
}

#fh5co-footer .fh5co-contact-info li a:hover {
    color: #e53935;
}

/* Contact icons via icomoon */
#fh5co-footer .fh5co-contact-info li::before {
    font-family: "icomoon";
    font-size: 15px;
    color: #e53935;
    flex-shrink: 0;
    margin-top: 2px;
}

#fh5co-footer .fh5co-contact-info li.phone::before {
    content: "\e9f4";
}
#fh5co-footer .fh5co-contact-info li.email::before {
    content: "\e9da";
}
#fh5co-footer .fh5co-contact-info li.url::before {
    content: "\e9af";
}

/* ================================================
   LOCATIONS SECTION
   ================================================ */
.footer-locations-section {

    padding-top: 35px;
    margin-top: 10px;
}

.footer-locations-header {
    margin-bottom: 20px;
}

.footer-locations-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
}

.footer-locations-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #e53935;
    border-radius: 2px;
}

.footer-locations-wrapper {
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #e53935;
    border-radius: 10px;
    padding: 20px 22px;
    height: auto;
    transition: all 0.3s ease;
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.location-card-title {
    color: #e53935;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-card-address {
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ================================================
   COPYRIGHT BAR
   ================================================ */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
    margin-top: 30px;
}

.copyright small.block {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.copyright small.block a {
    color: #e53935;
    text-decoration: none;
    font-weight: 600;
}

.copyright small.block a:hover {
    color: #fff;
}

/* Social icons inside copyright — also scoped */
.copyright .fh5co-social-icons {
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 0;
}

/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
.om_whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.om_whatsapp a {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2.5s infinite;
}

.om_whatsapp a:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.om_whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes whatsapp-pulse {
    0%,
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 35px rgba(37, 211, 102, 0.8);
    }
}

/* ================================================
   TABLET — max 991px
   ================================================ */
@media (max-width: 991px) {
    #fh5co-footer {
        padding: 60px 0 0;
    }

    #fh5co-footer .fh5co-widget {
        margin-bottom: 35px;
    }
}

/* ================================================
   MOBILE — max 767px
   ================================================ */
@media (max-width: 767px) {
    #fh5co-footer {
        padding: 50px 0 0;
    }

    /* Stack all footer columns */
    #fh5co-footer .footer-col,
    #fh5co-footer .fh5co-widget {
        width: 100% !important;
        float: none !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 30px;
    }

    #fh5co-footer .fh5co-widget img {
        max-width: 130px;
    }

    #fh5co-footer h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    #fh5co-footer .fh5co-footer-links li a,
    #fh5co-footer .fh5co-contact-info li {
        font-size: 13px;
    }

    /* Locations stacked */
    .footer-locations-section {
        padding-top: 25px;
        margin-top: 5px;
    }

    .footer-locations-wrapper {
        width: 100% !important;
        float: none !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 15px;
    }

    .location-card {
        padding: 16px 18px;
    }

    .location-card-title {
        font-size: 14px;
    }

    .location-card-address {
        font-size: 13px;
        line-height: 1.8;
    }

    /* Copyright */
    .copyright {
        padding: 20px 15px;
        text-align: center;
    }

    .copyright .fh5co-social-icons {
        justify-content: center;
    }

    /* WhatsApp */
    .om_whatsapp {
        bottom: 15px;
        right: 15px;
    }
    .om_whatsapp a {
        width: 50px;
        height: 50px;
    }
}

/* ================================================
   SMALL MOBILE — max 480px
   ================================================ */
@media (max-width: 480px) {
    #fh5co-footer {
        padding: 40px 0 0;
    }

    #fh5co-footer .fh5co-widget img {
        max-width: 120px;
    }

    .footer-locations-title {
        font-size: 14px;
    }

    .location-card {
        padding: 14px 16px;
    }

    .copyright small.block {
        font-size: 12px;
    }
}
