/* ==========================================================
   NHẬT NAM TECHNOLOGY
   FOOTER CSS
   Version: Final 01
========================================================== */


/* ==========================================================
   01. FOOTER MAIN
========================================================== */

.nn-footer {
    position: relative;
    background: #123524;
    color: #d1d5db;
    padding: 70px 0 0;
    overflow: hidden;
}


/* subtle top accent */

.nn-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #15803d 0%,
        #16a34a 50%,
        #22c55e 100%
    );
}


/* ==========================================================
   02. FOOTER BRAND
========================================================== */

.nn-footer-brand {
    max-width: 360px;
}


.nn-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    text-decoration: none;
}


.nn-footer-logo img {
    display: block;

    max-width: 190px;
    width: auto;
    height: auto;

    object-fit: contain;
}


.nn-footer-brand h3 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 1.15rem;
    font-weight: 700;

    letter-spacing: 0.01em;
}


.nn-footer-description {
    margin: 0;

    color: #94a3b8;

    font-size: 0.94rem;
    line-height: 1.75;
}


/* ==========================================================
   03. FOOTER COLUMN
========================================================== */

.nn-footer-column {
    height: 100%;
}


.nn-footer-column h4,
.nn-footer-links h4 {
    position: relative;

    margin: 0 0 22px;

    padding-bottom: 12px;

    color: #ffffff;

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: 0.02em;
}


/* small green line below title */

.nn-footer-column h4::after,
.nn-footer-links h4::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 38px;
    height: 2px;

    background: #22c55e;

    border-radius: 10px;
}


/* ==========================================================
   04. FOOTER LINKS
========================================================== */

.nn-footer-links {
    margin: 0;
}


.nn-footer-links ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.nn-footer-links li {
    margin: 0;
    padding: 0;
}


.nn-footer-links li + li {
    margin-top: 10px;
}


.nn-footer-links a {
    display: inline-flex;

    align-items: flex-start;
    gap: 8px;

    color: #94a3b8;

    font-size: 0.9rem;
    line-height: 1.55;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.nn-footer-links a:hover {
    color: #4ade80;

    transform: translateX(3px);
}


/* icons */

.nn-footer-links a i {
    flex: 0 0 auto;

    margin-top: 3px;

    color: #22c55e;

    font-size: 0.82rem;

    transition: color 0.25s ease;
}


.nn-footer-links a:hover i {
    color: #86efac;
}


/* ==========================================================
   05. FOOTER CONTACT
========================================================== */

.nn-footer-contact {
    display: flex;

    align-items: flex-start;
    gap: 10px;

    margin: 0 0 14px;

    color: #94a3b8;

    font-size: 0.92rem;
    line-height: 1.6;
}


.nn-footer-contact i {
    flex: 0 0 auto;

    margin-top: 4px;

    color: #22c55e;

    font-size: 0.9rem;
}


.nn-footer-contact a {
    color: #cbd5e1;

    text-decoration: none;

    transition: color 0.25s ease;
}


.nn-footer-contact a:hover {
    color: #4ade80;
}


/* ==========================================================
   06. FOOTER CTA
========================================================== */

.nn-footer-cta {
    margin-top: 22px;
}


.nn-footer-cta .nn-btn-primary {
    display: inline-flex;

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

    gap: 8px;

    min-height: 44px;

    padding: 10px 18px;

    border: 1px solid #16a34a;
    border-radius: 8px;

    background: #16a34a;

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.nn-footer-cta .nn-btn-primary:hover {
    background: #15803d;
    border-color: #15803d;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(22, 163, 74, 0.25);
}


/* ==========================================================
   07. FOOTER BOTTOM
========================================================== */

.nn-footer-bottom {
    margin-top: 55px;

    padding: 22px 0;

    border-top: 1px solid rgba(148, 163, 184, 0.16);

    color: #64748b;

    font-size: 0.82rem;
}


.nn-footer-bottom strong {
    color: #94a3b8;

    font-weight: 600;
}


.nn-footer-bottom p {
    line-height: 1.6;
}


/* ==========================================================
   08. FOOTER RESPONSIVE
========================================================== */


/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 991.98px) {

    .nn-footer {
        padding-top: 60px;
    }


    .nn-footer-brand {
        max-width: 100%;
    }


    .nn-footer-logo img {
        max-width: 175px;
    }


    .nn-footer-column h4,
    .nn-footer-links h4 {
        margin-bottom: 18px;
    }


    .nn-footer-bottom {
        margin-top: 45px;
    }

}


/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .nn-footer {
        padding-top: 52px;
    }


    .nn-footer-brand {
        max-width: 100%;
    }


    .nn-footer-logo {
        margin-bottom: 18px;
    }


    .nn-footer-logo img {
        max-width: 165px;
    }


    .nn-footer-brand h3 {
        font-size: 1.05rem;
    }


    .nn-footer-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }


    .nn-footer-column h4,
    .nn-footer-links h4 {
        font-size: 0.96rem;
    }


    .nn-footer-links a {
        font-size: 0.88rem;
    }


    .nn-footer-bottom {
        margin-top: 40px;

        padding: 20px 0;
    }


    .nn-footer-bottom .text-md-end {
        text-align: left !important;
    }

}


/* ----------------------------------------------------------
   SMALL MOBILE
---------------------------------------------------------- */

@media (max-width: 575.98px) {

    .nn-footer {
        padding-top: 45px;
    }


    .nn-footer-logo img {
        max-width: 150px;
    }


    .nn-footer-links li + li {
        margin-top: 9px;
    }


    .nn-footer-cta .nn-btn-primary {
        width: 100%;
    }


    .nn-footer-bottom {
        font-size: 0.78rem;
    }

}

.nn-footer-social {
    margin-top: 28px;
}

.nn-footer-social h5 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 600;
}

.nn-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nn-social-links a {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;

    color: #cbd5e1;

    text-decoration: none;

    transition: all 0.25s ease;
}

.nn-social-links a:hover {
    color: #ffffff;
    background: #16a34a;
    border-color: #16a34a;

    transform: translateY(-2px);
}