/* ====================================================
   Back to top button
   ==================================================== */
.backtotop {
    cursor: pointer;
    background: var(--color-3);
    bottom: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px;
    position: fixed;
    right: 12px;
    text-align: center;
    text-transform: uppercase;
    width: 40px;
    z-index: 999;
    border-radius: 4px;
    border: 1px solid #FFF;
}

.backtotop svg {
    width: 26px;
    height: 18px;
    margin-bottom: -1px;
}

.backtotop svg path {
    stroke: #fff;
}

/* ====================================================
   Support Widget / Contact Panel
   ==================================================== */
.support-widget {
    position: fixed;
    bottom: 69px;
    right: 15px;
    z-index: 9999;
}

.trigger-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-5);
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 167, 84, 0.4);
    transition: transform 0.2s;
}

.trigger-btn:hover {
    transform: scale(1.05);
}

.trigger-btn .icon-bvc-member img {
    /* width: 34px;
    height: 34px; */
    border-radius: 50%;
    object-fit: cover;
}

.trigger-btn .icon-close-main {
    display: none;
    width: 22px;
    height: 22px;
    fill: #111;
}

.trigger-btn.active .icon-bvc-member {
    display: none;
}

.trigger-btn.active .icon-close-main {
    display: block;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-5);
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: #1a1c22;
    border: 1px solid rgba(212, 167, 84, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.contact-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--color-3);
    color: #fff;
}

.panel-title {
    display: grid;
    grid-template-columns: 38px auto;
    align-items: center;
    gap: 10px;
}

.panel-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.panel-info h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    /* color: #111; */
}

.panel-info span {
    font-size: 11px;
    /* color: #333; */
    display: flex;
    align-items: center;
    gap: 4px;
}

.online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ecc71;
    display: inline-block;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.panel-greeting {
    padding: 14px 16px;
    font-size: 13px;
    color: #bbb;
    margin: 0;
    border-bottom: 1px solid #2a2c32;
}

.contact-list {
    padding: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #eee;
    transition: background 0.2s;
    gap: 10px;
}

.contact-item:hover {
    background: rgba(212, 167, 84, 0.1);
    text-decoration: none;
}

.contact-item .icon-wrap {
    flex-shrink: 0;
}

.contact-item .icon-wrap img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.contact-text strong {
    font-size: 16px;
    font-weight: 600;
    color: #eee;
}

.contact-text p {
    font-size: 13px;
}

.contact-arrow {
    margin-left: auto;
    color: var(--color-5);
    font-size: 20px;
}



footer {
    padding: 30px 0 15px;
    background-color: var(--color-2);
}

.footer-top {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .95);
    z-index: 0;
}

.footer-top__row {
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo p>img {
    max-width: 300px;
    width: 100%;
}

.footer-address h2 {
    font-size: 18px;
    color: var(--color-3);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-top ul {
    margin-left: 18px;
}

.footer-top ul li {
    line-height: 26px;
}

.footer-address .social ul li {
    list-style: none;
}

.footer-address .social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.footer-address .social h3 {
    display: flex;
}

.footer-address .social h3 img {
    width: 100px !important;
}

.footer-address .social ul li img {
    width: 30px;
}

.footer-address .social ul {
    display: flex;
    gap: 10px;
}

.footer-address .social ul a {
    display: flex;
}

.footer-content h2 {
    color: var(--color-3);
    text-transform: uppercase;
    font-size: 15px;
    position: relative;
    margin-bottom: 12px;
}

.footer-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 65px;
    height: 2px;
    border-radius: 30px;
    background-color: var(--color-3);
}

.footer-content.contact {
    margin-top: 30px;
}

.footer-content.contact .cs-row {
    margin: 0;
}

.footer-content.contact .cs-col {
    padding-right: 6px;
    padding-left: 6px;
}

.footer-content.contact h2 {
    margin-bottom: 20px;
}

.footer-content.contact .col-md-8 {
    margin-left: -12px;
}

.footer-content.contact h3 {
    font-size: 13px;
    font-weight: 400;
}

.footer-content.contact h3 a {
    color: var(--color-5);
    display: block;
    margin-top: 5px;
    font-size: 17px;
}

.person-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.person-contact .item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.footer-content.contact img {
    width: 40px;
}

.person-contact .item .sdt {
    color: var(--color-5);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.footer-bottom .tag {
    background-color: #eaeaea;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px;
    min-width: 200px;
}

.footer-bottom .tag img {
    width: 20px;
}

/* .footer-bottom .tag:hover {
    background-color: var(--color-3);
    color: var(--color-2);
} */

.copyright {
    background-color: #eaeaea;
    padding: 10px 0;
}

.copyright .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 40px;
    justify-content: space-between;
    align-items: center;
}

.copyright .social-link .flex-center {
    display: flex;
    gap: 10px;
}

.copyright .social-link a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-3);
}

.copyright .social-link img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.copyright .inner p {
    position: relative;
}


@media (max-width: 992px) {
    .footer-content {
        margin-top: 15px;
    }

    /* .doi-tac-slider {
        padding-bottom: 30px;
    } */

    .doi-tac-slider .slick-dots {
        bottom: -5px;
        margin-top: 20px;
    }

    .backtotop {
        right: 10px;
    }

    #button-contact-vr {
        display: none;
    }

    .copyright .inner p:first-child::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-bottom .tag {
        width: calc(25% - 10px);
    }

    .footer-content.contact>.cs-row>.row {
        margin: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 550px) {
    .person-contact {
        gap: 15px;
        justify-content: space-around;
    }

    .footer-bottom .tag {
        width: calc(50% - 10px);
    }

    .person-contact .info h3 {
        text-align: center;
    }

    .copyright .inner p {
        text-align: center;
        font-size: 13px;
    }

    .footer-content.contact>.cs-row>.row {
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer-content.contact .col-md-8 {
        margin-left: 0;
    }

    .copyright .inner {
        justify-content: center;
    }
}

/* Đối tác  */
.doi-tac-slider .slick-slide {
    margin: 0 8px;
    background-color: var(--color-2);
    padding: 5px;
    border-radius: 5px;
    height: auto;
}

.doi-tac-slider .slick-list {
    margin: 0 -8px;
}

.doi-tac-slider .item img {
    border-radius: 5px;
}

.doi-tac {
    background: linear-gradient(0deg, var(--color-3), var(--color-4));
    padding: 20px 0;
}

.doi-tac-slider .slick-dots li.slick-active {
    background-color: var(--color-5);
}
