@charset "utf-8";
/* CSS Document */

/* =========================================================
   SECTION UPDATE DAN MODEN
   HEN WAH ENTERPRISE SDN. BHD.
========================================================= */


/* =========================================================
   FOOTER BASE
========================================================= */

.modern-footer {
    position: relative;

    width: 100%;

    background: #17191c;

    color: #ffffff;

    overflow: hidden;
}


.modern-footer-container {
    width: 90%;
    max-width: 1280px;

    margin: 0 auto;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.modern-footer-main {

    display: grid;

    grid-template-columns:
        1.35fr
        1fr
        1.15fr
        0.7fr;

    gap: 55px;

    padding: 75px 0 65px;

}


/* =========================================================
   BRAND
========================================================= */

.modern-footer-brand {
    max-width: 330px;
}


.modern-footer-logo {
    display: inline-flex;

    align-items: center;

    text-decoration: none;

    margin-bottom: 25px;
}


.modern-footer-logo img {

    display: block;

    width: auto;

    max-width: 230px;

    height: auto;

    max-height: 75px;

    object-fit: contain;

}


.modern-footer-description {

    margin: 0;

    font-size: 14px;

    line-height: 1.8;

    color: #b5b7ba;

}


.modern-footer-tagline {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;

}


.modern-footer-tagline span {

    display: block;

    width: 28px;

    height: 2px;

    background: #ffffff;

}


.modern-footer-tagline p {

    margin: 0;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    color: #d5d6d8;

}


/* =========================================================
   FOOTER COLUMN
========================================================= */

.modern-footer-column h3 {

    margin: 0 0 25px;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.3px;

    color: #ffffff;

}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.modern-footer-contact {

    display: flex;

    flex-direction: column;

    gap: 18px;

}


.modern-contact-row {

    display: flex;

    align-items: flex-start;

    gap: 13px;

}


.modern-contact-row i {

    width: 17px;

    margin-top: 4px;

    flex-shrink: 0;

    font-size: 13px;

    color: #aeb1b5;

}


.modern-contact-row p {

    margin: 0;

    font-size: 13px;

    line-height: 1.7;

    color: #b5b7ba;

}


.modern-contact-row a {

    color: #b5b7ba;

    text-decoration: none;

    transition: 0.25s ease;

}


.modern-contact-row a:hover {

    color: #ffffff;

}


/* =========================================================
   FACTORY
========================================================= */

.modern-factory-block {

    margin-bottom: 8px;

}


.modern-factory-name {

    display: block;

    margin-bottom: 12px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.5px;

    color: #ffffff;

}


/* =========================================================
   QUICK LINKS
========================================================= */

.modern-footer-links nav {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.modern-footer-links nav a {

    width: fit-content;

    color: #b5b7ba;

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.modern-footer-links nav a:hover {

    color: #ffffff;

    transform: translateX(4px);

}


/* =========================================================
   FOOTER BUTTON
========================================================= */

.modern-footer-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 28px;

    padding: 11px 17px;

    background: #ffffff;

    color: #17191c;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    border-radius: 3px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.modern-footer-button:hover {

    background: #dcdcdc;

    transform: translateY(-2px);

}


.modern-footer-button i {

    font-size: 11px;

}


/* =========================================================
   CTA AREA
========================================================= */

.modern-footer-cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 38px 0;

    border-top: 1px solid rgba(255,255,255,0.10);

    border-bottom: 1px solid rgba(255,255,255,0.10);

}


.modern-footer-cta span {

    display: block;

    margin-bottom: 10px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #aeb1b5;

}


.modern-footer-cta h2 {

    margin: 0;

    font-size: 25px;

    line-height: 1.35;

    font-weight: 500;

    color: #ffffff;

}


/* CTA BUTTON */

.modern-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 14px 22px;

    background: transparent;

    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.35);

    border-radius: 3px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;

}


.modern-cta-button:hover {

    background: #ffffff;

    color: #17191c;

    border-color: #ffffff;

}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.modern-footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 25px 0;

}


.modern-footer-bottom p {

    margin: 0;

    font-size: 11px;

    color: #85888c;

}


.modern-footer-bottom-links {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-wrap: wrap;

    justify-content: flex-end;

}


.modern-footer-bottom-links span {

    font-size: 10px;

    color: #85888c;

}


/* =========================================================
   LARGE LAPTOP
========================================================= */

@media (max-width: 1150px) {

    .modern-footer-main {

        grid-template-columns:
            1.2fr
            1fr
            1fr;

        gap: 45px;

    }


    .modern-footer-links {

        grid-column: 1 / -1;

    }


    .modern-footer-links nav {

        flex-direction: row;

        flex-wrap: wrap;

        gap: 20px;

    }


    .modern-footer-button {

        margin-top: 20px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .modern-footer-container {

        width: 92%;

    }


    .modern-footer-main {

        grid-template-columns: 1fr 1fr;

        gap: 45px 35px;

        padding: 60px 0 50px;

    }


    .modern-footer-brand {

        grid-column: 1 / -1;

        max-width: 600px;

    }


    .modern-footer-links {

        grid-column: auto;

    }


    .modern-footer-cta {

        align-items: flex-start;

        flex-direction: column;

    }


    .modern-footer-bottom {

        align-items: flex-start;

        flex-direction: column;

    }


    .modern-footer-bottom-links {

        justify-content: flex-start;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .modern-footer-container {

        width: 90%;

    }


    .modern-footer-main {

        display: flex;

        flex-direction: column;

        gap: 40px;

        padding: 50px 0 45px;

    }


    .modern-footer-brand {

        max-width: 100%;

    }


    .modern-footer-logo img {

        max-width: 200px;

        max-height: 65px;

    }


    .modern-footer-description {

        font-size: 13px;

        line-height: 1.75;

    }


    .modern-footer-column h3 {

        margin-bottom: 20px;

        font-size: 15px;

    }


    .modern-footer-contact {

        gap: 16px;

    }


    .modern-contact-row p {

        font-size: 13px;

    }


    .modern-footer-links nav {

        gap: 13px;

    }


    .modern-footer-links nav a {

        font-size: 13px;

    }


    .modern-footer-cta {

        padding: 35px 0;

    }


    .modern-footer-cta h2 {

        font-size: 22px;

    }


    .modern-cta-button {

        width: 100%;

        box-sizing: border-box;

    }


    .modern-footer-bottom {

        padding: 22px 0;

        gap: 12px;

    }


    .modern-footer-bottom p {

        font-size: 10px;

        line-height: 1.6;

    }


    .modern-footer-bottom-links {

        gap: 6px;

    }


    .modern-footer-bottom-links span {

        font-size: 9px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .modern-footer-logo img {

        max-width: 175px;

    }


    .modern-footer-description {

        font-size: 12px;

    }


    .modern-footer-cta h2 {

        font-size: 20px;

    }

}

