
/* ================================
   FOOTER BASE
================================ */

.site-footer {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding-top: 100px;
    padding-bottom: 180px;
    overflow: hidden;
}

.footer-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: var(--container-padding-x, 75px);
    padding-right: var(--container-padding-x, 75px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 1.05fr 1.15fr 1.15fr;
    gap: 32px;
    width: 100%;
    align-items: start;
}

.footer-col,
.footer-col-about {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ================================
   BRAND / LOGO / DESCRIPTION
================================ */

.footer-brand {
    display: inline-block;
    margin-bottom: 18px;
    text-decoration: none;
}

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

.footer-logo-img {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-about-text {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 20px;
    max-width: 320px;
}

/* ================================
   SOCIAL LINKS
================================ */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-social-link {
    color: var(--primary-blue, #09329c) !important;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.footer-social-link i {
    color: var(--primary-blue, #09329c) !important;
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
}

.footer-social-link:hover {
    color: var(--primary-dark, #072884) !important;
    transform: translateY(-2px);
}

/* ================================
   COPYRIGHT
================================ */

.footer-copyright, .footer-copyright-bottom {
    font-size: 12.5px;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.5;
    margin-top: auto;
}

.footer-copyright-link {
    color: #1e293b;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-copyright-link:hover {
    color: var(--primary, #1e3978);
}

@media screen and (max-width:787px){
    .footer-copyright{
    display: none;
}
.footer-copyright-bottom {
    display: block;
    margin-top: 20px;
}
}

@media screen and (min-width:788px){
    .footer-copyright{
    display: block;
}
.footer-copyright-bottom {
    display: none;
}
}
/* ================================
   FOOTER HEADINGS
================================ */

.footer-heading {
    font-size: 15px !important;
    font-weight: 700;
    color: var(--primary, #1e3978) !important;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* ================================
   FOOTER LINKS
================================ */

.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-link {
    font-size: 13.5px;
    font-weight: 400;
    color: #334155;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: inline-block;
    overflow-wrap: anywhere;
}

.footer-link:hover {
    color: var(--primary, #1e3978);
    text-decoration: none;
}

/* ================================
   PRODUCT CATEGORY COLUMNS
================================ */

.footer-product-col {
    min-width: 0;
}

.footer-product-col .footer-heading {
    font-size: 15px !important;
    line-height: 1.5;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.footer-product-col .footer-links-list {
    gap: 11px;
}

.footer-product-col .footer-link {
    line-height: 1.5;
}

/* View More Products */
.footer-view-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--primary, #1e3978);
    color: var(--primary, #1e3978);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-view-more span {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.footer-view-more:hover {
    color: #063d7b;
    border-color: #063d7b;
}

.footer-view-more:hover span {
    transform: translateX(4px);
}

/* ================================
   CONTACT INFORMATION
================================ */

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-details,
.footer-working-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-working-hours {
    margin-top: 22px;
}

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

.footer-contact-line {
    font-size: 13.5px;
    line-height: 1.55;
    color: #1e293b;
    margin: 0;
    overflow-wrap: anywhere;
}

.footer-contact-line strong {
    font-weight: 700;
    color: #0f172a;
}

.footer-contact-link {
    color: #334155;
    text-decoration: none;
    line-height: inherit;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: var(--primary, #1e3978);
}

.footer-email-link {
    text-decoration: none !important;
}

/* ================================
   FOOTER BACKGROUND IMAGE
================================ */

.footer-bg-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    line-height: 0;
}

.footer-bg-picture {
    display: block;
    width: 100%;
}

.footer-bg-img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    object-position: bottom center;
    display: block;
}

/* ================================
   LARGE LAPTOPS
================================ */

@media (min-width: 1200px) and (max-width: 1500px) {
    .footer-grid {
        grid-template-columns: 1.15fr 0.75fr 1fr 1.2fr 1.1fr;
        gap: 24px;
    }

    .footer-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ================================
   TABLET LANDSCAPE
================================ */

@media (min-width: 1025px) and (max-width: 1199px) {
    .site-footer {
        padding-top: 55px;
        padding-bottom: 140px;
    }

    .footer-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .footer-logo-img {
        width: 140px;
    }
}

/* ================================
   TABLET PORTRAIT
================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    .site-footer {
        padding-top: 50px;
        padding-bottom: 140px;
    }

    .footer-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .footer-logo-img {
        width: 140px;
    }

    .footer-about-text {
        max-width: 100%;
    }
}

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

@media only screen and (max-width: 767px) {
    .site-footer {
        padding-top: 50px;
        padding-bottom: 120px !important;
    }

    .footer-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 26px;
    }

    /*.footer-grid > .footer-col-about {*/
    /*    order: 1;*/
    /*}*/

    /*.footer-grid > .footer-quick-links {*/
    /*    order: 2;*/
    /*}*/

    .footer-grid > .footer-product-col:nth-of-type(1) {
        order: 3;
    }

    .footer-grid > .footer-product-col:nth-of-type(2) {
        order: 4;
    }

    .footer-grid > .footer-col-contact {
        order: 5;
    }

    .footer-col-about {
        display: flex !important;
    }

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

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

    .footer-about-text {
        font-size: 13px;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .footer-socials {
        margin-top: 4px;
        margin-bottom: 0;
    }

    .footer-copyright {
        margin-top: 12px;
        font-size: 12px;
    }

    .footer-heading {
        font-size: 16px !important;
        margin-bottom: 14px;
    }

    .footer-product-col {
        width: 100%;
    }

    .footer-product-col .footer-heading {
        max-width: 340px;
    }

    .footer-product-col .footer-links-list {
        gap: 9px;
    }

    .footer-view-more {
        margin-top: 16px;
    }

    .footer-contact-line,
    .footer-link {
        font-size: 13.5px;
    }

    .footer-working-hours {
        margin-top: 20px;
    }

    .footer-bg-wrapper {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 140px !important;
        overflow: hidden !important;
        z-index: 1 !important;
        pointer-events: none !important;
        line-height: 0 !important;
    }

    .footer-bg-picture {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .footer-bg-img {
        width: 100% !important;
        height: 100% !important;
        max-height: 140px !important;
        object-fit: cover !important;
        object-position: bottom center !important;
        display: block !important;
        transform: scale(1.65) !important;
        transform-origin: bottom center !important;
    }
}

/* ================================
   FLOATING WHATSAPP BUTTON
================================ */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

/* Mobile WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float a {
        width: 54px;
        height: 54px;
    }

    .whatsapp-icon {
        width: 29px;
        height: 29px;
    }
}
