﻿footer {
    background: url("../../css_moi/pic/bgFoot.png") center no-repeat;
    background-size: cover;
    position: relative;
    color: #fff;
}

    footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../../css_moi/pic/bgFootOverlay.png") top center no-repeat;
        background-size: cover;
        display: block;
        pointer-events: none;
        z-index: 0;
    }

    footer #footInfo .left .logo img:hover {
        box-shadow: none;
    }

.fab-item:hover {
    transform: scale(1.15);
    box-shadow: 0 0.375rem 1.125rem rgba(25,118,210,0.6);
    cursor: pointer;
}

/* ===== GLOW KHI MỞ ===== */
.fab-container.active .fab-main {
    box-shadow: 0 0 1.25rem rgba(10,113,128,0.6);
}

header {
    position: sticky;
    top: 0;
    z-index: 8999;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

header.scrolled .logo img {
    transition: 0.3s all ease-in-out;
}
    /* Khi scroll mới có bóng */
    header.scrolled {
        box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.1);
    }
     header.scrolled .logo img {
        width: 14rem; 
    }
/* CONTAINER RIÊNG */
.fab-container {
    position: fixed;
    right: 0rem;
    z-index: 9999;
}

.fab1 {
    top: 40%;
}

.fab2 {
    top: calc(40% + 4.0625rem);
}

.fab3 {
    top: calc(40% + 8.125rem);
}

.fab4 {
    top: calc(40% + 12.1875rem);
}

/* ITEM */
.fab-item {
    display: flex;
    align-items: center;
    width: 3.125rem;
    height: 3.125rem;
    background: #15AC8C;
    border-radius: 3.125rem 0 0 3.125rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 5px 0 5px 5px;
    text-decoration: none; /* bỏ gạch chân */
}

    /* ICON WRAP */
    .fab-item .icon {
        width: 2.5rem;
        height: 2.5rem;
        background: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        /* ICON */
        .fab-item .icon i {
            color: #15AC8C;
            font-size: 1.125rem;
        }

    /* TEXT */
    .fab-item span {
        opacity: 0;
        width: 0;
        white-space: nowrap;
        overflow: hidden;
        margin-left: 0.625rem;
        transition: 0.3s;
        color: #fff;
    }

    /* ACTIVE */
    .fab-item.active {
        width: 11.25rem;
    }

        /* SHOW TEXT */
        .fab-item.active span {
            opacity: 1;
            width: auto;
            margin-right: 0.9375rem;
        }

    .fab-item:hover {
        width: 11.25rem;
    }
        /* show text */

        .fab-item:hover span {
            opacity: 1;
            width: auto;
            margin-right: 0.9375rem;
        }

#menuTop {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

    #menuTop > li {
        position: relative;
    }

        #menuTop > li > a {
            display: block;
        }

/* Ẩn menu cấp 2 */
.subMenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 11.25rem;
    background: #025e5c;
    z-index: 100000;
}

    .subMenu li a {
        display: block;
        padding: 0.625rem;
        color: #fff;
    }

/* Hover hiện menu */
#menuTop > li:hover .subMenu {
    display: block;
}

.anh_logo {
    object-fit: contain !important;
}
