/* ====================================================
   PARTNER SECTION (Khối Đối tác đồng hành)
   ==================================================== */
.partner-section {
    padding: 40px 0 35px 0;
    background: transparent;
}

.partner-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.partner-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 24px 0;
    text-align: center;
    font-family: var(--font-family, "Roboto", sans-serif);
}

.partner-slider {
    margin: 0 -6px;
}

.partner-slider .partner-item {
    overflow: hidden;
    margin: 6px;
    outline: none !important;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
}

.partner-card {
    background: #ffffff;
    /* border: 1px solid #e2e8f0; */
    border-radius: 12px;
    /* height: 64px; */
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    text-decoration: none !important;
    cursor: pointer;
    outline: none !important;
}

.partner-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-3, #0c55a5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.partner-card img {
    /* max-height: 38px; */
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ====================================================
   SITE FOOTER NEW (Matching Image Design)
   ==================================================== */
.site-footer-new {
    background-color: #f8fafc;
    border-top: 1px solid #edf2f7;
    padding: 50px 0 0;
    color: #475569;
    font-family: var(--font-family, "Roboto", sans-serif);
}

.site-footer-new .footer-main-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.1fr 1.1fr 1.1fr 1.8fr;
    gap: 36px;
    padding-bottom: 40px;
}

/* Cột 1: Logo & Brand */
.site-footer-new .footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer-new .footer-col-brand h1,
.site-footer-new .footer-col-brand h2,
.site-footer-new .footer-col-brand h3,
.site-footer-new .footer-col-brand h4 {
    margin: 0 0 14px 0;
    padding: 0;
    font-size: inherit;
    font-weight: normal;
    line-height: normal;
}

.site-footer-new .footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

.site-footer-new .footer-logo-img,
.site-footer-new .footer-col-brand img,
.site-footer-new .footer-col-brand .image {
    height: 70px;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-footer-new .footer-col-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 14px 0;
}

.site-footer-new .footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.site-footer-new .social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.site-footer-new .social-icon-btn:hover {
    background: var(--color-3, #0c55a5);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Cột Tiêu đề */
.site-footer-new .footer-col:not(.footer-col-brand) h1,
.site-footer-new .footer-col:not(.footer-col-brand) h2,
.site-footer-new .footer-col:not(.footer-col-brand) h3,
.site-footer-new .footer-col:not(.footer-col-brand) h4,
.site-footer-new .footer-col-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Danh sách Links */
.site-footer-new .footer-col ul,
.site-footer-new .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer-new .footer-col ul li,
.site-footer-new .footer-links-list li {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.site-footer-new .footer-col ul li a,
.site-footer-new .footer-links-list li a {
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.site-footer-new .footer-col ul li a:hover,
.site-footer-new .footer-links-list li a:hover {
    color: var(--color-3, #0c55a5);
    transform: translateX(3px);
}

/* Cột Liên hệ */
.site-footer-new .footer-col-contact ul,
.site-footer-new .footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer-new .footer-col-contact ul li,
.site-footer-new .footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
}

.site-footer-new .footer-col-contact ul li img,
.site-footer-new .footer-col-contact ul li .image,
.site-footer-new .footer-contact-info .contact-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.site-footer-new .footer-col-contact ul li a,
.site-footer-new .footer-contact-info a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-footer-new .footer-col-contact ul li a:hover,
.site-footer-new .footer-contact-info a:hover {
    color: var(--color-3, #0c55a5);
}

/* Thanh Copyright bên dưới */
.site-footer-new .footer-bottom-bar {
    border-top: 1px solid #e2e8f0;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer-new .copyright-text,
.site-footer-new .copyright-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.site-footer-new .footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer-new .footer-bottom-links footer,
.site-footer-new .footer-bottom-links p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.site-footer-new .footer-bottom-links h1,
.site-footer-new .footer-bottom-links h2,
.site-footer-new .footer-bottom-links h3,
.site-footer-new .footer-bottom-links h4,
.site-footer-new .footer-bottom-links h5,
.site-footer-new .footer-bottom-links h6 {
    display: none !important;
    margin: 0;
}

.site-footer-new .footer-bottom-links a {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-new .footer-bottom-links a:hover {
    color: var(--color-3, #0c55a5);
}

.site-footer-new .footer-bottom-links .sep {
    color: #cbd5e1;
    font-size: 12px;
}

@media (max-width: 1380px) {
    .footer-bottom-links {
        padding-right: 40px;
    }
}

/* Responsive Footer */
@media (max-width: 992px) {
    .site-footer-new .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .site-footer-new .footer-col-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .partner-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .site-footer-new .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .site-footer-new .footer-col-brand {
        grid-column: span 2;
    }

    .site-footer-new .footer-col:nth-child(4),
    .site-footer-new .footer-col-contact {
        grid-column: span 2;
    }

    .site-footer-new .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer-new {
        padding: 30px 0 0;
    }

    .footer-bottom-links {
        padding-right: 0;
    }
}

@media (max-width: 360px) {
    .site-footer-new .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer-new .footer-col-brand,
    .site-footer-new .footer-col:nth-child(4),
    .site-footer-new .footer-col-contact {
        grid-column: span 1;
    }
}

/* ====================================================
   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: 99;
}

.trigger-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-3);
    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 {
    border-radius: 50%;
    object-fit: cover;
}

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

.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-3);
    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.6);
        opacity: 0;
    }
}

.contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

@media (max-width: 576px) {
    .contact-panel {
        width: 310px;
    }
}

.contact-panel.open {
    opacity: 1;
    visibility: visible;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px 0;
    background: transparent;
    color: #0f172a;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-avatar img {
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.panel-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    line-height: 1.2;
}

.panel-info span {
    font-size: 13px;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    flex-shrink: 0;
}

.close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.panel-greeting {
    padding: 0;
    font-size: 14px;
    color: #475569;
    margin: 0 0 16px 0;
    border-bottom: none;
    line-height: 1.5;
    font-weight: 400;
}

.contact-list {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none !important;
    background: #edf5fd;
    border: 1px solid #d0e4ff;
    color: #0f172a !important;
    transition: all 0.2s ease;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    background: #e2f0fe;
    border-color: #3b82f6;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.contact-item .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
}

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

.contact-text {
    flex: 1;
}

.contact-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    line-height: 1.25;
}

.contact-text p {
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.3;
    font-weight: 400;
}

.contact-arrow {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.contact-item:hover .contact-arrow {
    color: #475569;
    transform: translateX(2px);
}

.icon-bvc-member svg {
    width: 30px;
    height: 30px;
    fill: #FFF;
}

.icon-headset {
    fill: #3b82f6;
    width: 38px;
    height: 38px;
}
