﻿/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* ================= FEATURE ICON SECTION ================= */
.feature-section {
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 70px 0;
    background: #ffffff;
}

.feature-box {
    text-align: center;
    width: 220px;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

    /* ICON STYLE */
    .feature-box i {
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        color: #0a7a3c;
        border: 3px solid #0a7a3c;
        border-radius: 50%;
        margin: 0 auto 15px;
        transition: 0.3s;
    }

        .feature-box i:hover {
            background: #0a7a3c;
            color: #fff;
            transform: scale(1.1);
        }

    /* TEXT */
    .feature-box h3 {
        font-size: 18px;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .feature-box p {
        font-size: 14px;
        color: #666;
    }

    /* SHOW ON SCROLL */
    .feature-box.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* DELAY ANIMATION */
    .feature-box:nth-child(1) {
        transition-delay: 0s;
    }

    .feature-box:nth-child(2) {
        transition-delay: 0.2s;
    }

    .feature-box:nth-child(3) {
        transition-delay: 0.4s;
    }


/* ================= FOOTER MAIN ================= */
.footer {
    background: linear-gradient(180deg,#ffffff,#f8f9fa);
    border-top: 1px solid #e5e5e5;
    padding-top: 40px;
    color: #000;
    width: 100%;
}

/* FOOTER GRID */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

/* FOOTER COLUMN */
.footer-col {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

    .footer-col.show {
        opacity: 1;
        transform: translateY(0);
    }

/* TITLE */
.footer h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* LOGO */
.footer-logo {
    width: 140px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-bct {
    width: 160px;
    margin-top: 10px;
    transition: 0.3s;
}

    .footer-logo:hover,
    .footer-bct:hover {
        transform: scale(1.1);
    }

/* TEXT */
.footer p {
    font-size: 14px;
    line-height: 1.6;
}

/* BOX GRAY */
.box {
    background: #f3f3f3;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
}

    .box:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

/* LIST */
.footer ul {
    list-style: none;
}

    .footer ul li {
        font-size: 14px;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
        position: relative;
        transition: 0.2s;
    }

        /* UNDERLINE ANIMATION */
        .footer ul li::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 2px;
            background: #007bff;
            transition: 0.3s;
        }

        .footer ul li:hover {
            color: #007bff;
            font-weight: 600;
        }

            .footer ul li:hover::after {
                width: 100%;
            }

/* ================= COPYRIGHT ================= */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #e5e5e5;
    margin-top: 30px;
    padding: 15px 10px;
    font-size: 13px;
    color: #333;
}

/* SOCIAL ICON */
.social {
    margin-top: 10px;
}

    .social i {
        font-size: 18px;
        margin: 0 8px;
        color: #444;
        cursor: pointer;
        transition: 0.4s;
    }

        .social i:hover {
            transform: rotate(360deg) scale(1.2);
            color: #007bff;
        }

/* ================= RESPONSIVE MOBILE ================= */
@media(max-width:768px) {
    .feature-section {
        flex-direction: column;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* FORCE TEXT COLOR (CHỐNG BOOTSTRAP) */
.footer * {
    color: #000 !important;
    opacity: 1 !important;
}
.footer a {
    text-decoration: none;
}
