/* ====================================================
   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: #041628;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 0 0 0;
    color: #cbd5e1;
    font-family: var(--font-family, "Roboto", sans-serif);
}

.site-footer-new .footer-main-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.15fr 1.15fr 1.8fr;
    gap: 0;
    padding-bottom: 10px;
}

/* Vertical Dividers on Columns */
.site-footer-new .footer-col {
    padding: 0 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
}

.site-footer-new .footer-col:first-child {
    padding-left: 0;
}

.site-footer-new .footer-col:last-child {
    padding-right: 0;
    border-right: none;
}

/* Cột 1: Logo, Slogan & Giới thiệu */
.site-footer-new .footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    margin-bottom: 14px;
}

.site-footer-new .footer-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.site-footer-new .footer-brand-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.site-footer-new .footer-brand-name {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-footer-new .footer-brand-slogan {
    font-size: 12.5px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.2;
}

.site-footer-new .footer-brand-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0;
    max-width: 95%;
}

/* Cột 2 & Cột 3: Tiêu đề & Danh sách Links */
.site-footer-new .footer-col-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 18px 0;
    line-height: 1.3;
}

.site-footer-new .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.site-footer-new .footer-links-list li {
    margin: 0;
    padding: 0;
}

.site-footer-new .footer-links-list li a {
    font-size: 13.5px;
    color: #cbd5e1;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-block;
}

.site-footer-new .footer-links-list li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Cột 4: KẾT NỐI VỚI CHÚNG TÔI */
.site-footer-new .footer-social-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.site-footer-new .social-item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.site-footer-new .social-item-card:hover {
    transform: translateY(-3px);
}

.site-footer-new .social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer-new .social-item-card:hover .social-circle {
    transform: scale(1.08);
}

.site-footer-new .social-fb {
    background: #1877f2;
}

.site-footer-new .social-zalo {
    background: #0068ff;
}

.site-footer-new .social-zalo .zalo-text {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-footer-new .social-tiktok {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer-new .social-youtube {
    background: #ff0000;
}

.site-footer-new .social-email {
    background: #0284c7;
}

.site-footer-new .social-label {
    font-size: 11.5px;
    font-weight: 500;
    color: #cbd5e1;
    transition: color 0.2s ease;
    text-align: center;
}

.site-footer-new .social-item-card:hover .social-label {
    color: #ffffff;
}

/* Thanh Copyright bên dưới */
.site-footer-new .footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer-new .copyright-text {
    font-size: 13px;
    color: #94a3b8;
}

.site-footer-new .footer-bottom-slogan {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.site-footer-new .footer-bottom-slogan .heart-icon {
    color: #cbd5e1;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.site-footer-new .footer-bottom-slogan:hover .heart-icon {
    stroke: #ef4444;
    color: #ef4444;
    transform: scale(1.15);
}

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

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

    .site-footer-new .footer-social-row {
        gap: 8px;
    }

    .site-footer-new .social-circle {
        width: 34px;
        height: 34px;
    }
}

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

    .site-footer-new .footer-col {
        padding: 0;
        border-right: none;
    }

    .site-footer-new .footer-col-brand {
        grid-column: span 2;
        padding-bottom: 14px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    }

    .site-footer-new .footer-col-social {
        grid-column: span 2;
        padding-top: 10px;
        border-top: 1px dashed rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 600px) {
    .site-footer-new {
        padding: 35px 0 0;
    }

    .partner-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

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

    .site-footer-new .footer-col-brand,
    .site-footer-new .footer-col-social {
        grid-column: span 1;
    }

    .site-footer-new .footer-social-row {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }

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

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