/* ====================================================
   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 {
    /* width: 34px;
    height: 34px; */
    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.8);
        opacity: 0;
    }
}

.contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 335px;
    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;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 999;
}

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

.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-info {
    flex: 1;
}

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

.panel-info h3 {
    font-size: 16px;
    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;
    /* gap: 10px; */
    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 {
    flex-shrink: 0;
    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 {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.3;
    font-weight: 400;
}

.contact-arrow {
    margin-left: auto;
    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;
}


/* ====================================================
   Custom NovaStar Footer
   ==================================================== */
.custom-footer {
    background-color: #262626;
    color: #ffffff63;
}

.custom-footer .footer-top {
    border-top: calc(5 / var(--container_vw)) solid #005fb6;
    padding: calc(40 / var(--container_vw)) 0;
    border-bottom: 1px solid #666;
}

.custom-footer .footer-row-nova {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.custom-footer .footer-col-nova {
    flex: 1;
    min-width: 200px;
}

.custom-footer .col-social {
    flex: 0.8;
}

.custom-footer .col-subscribe {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.custom-footer h3,
.custom-footer h2 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-footer .mt-2 {
    margin-top: 25px;
}

.custom-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer ul li {
    margin-bottom: 15px;
}

.custom-footer ul li a {
    color: #ffffffc9;
    font-size: 14px;
    transition: 0.3s ease;
    padding: 3px 0;
}

.custom-footer ul li a:hover {
    color: #ffffff;
    border-bottom: 1px solid #FFF;
}

.custom-footer .social-icons {
    display: flex;
    gap: 12px;
}

.custom-footer .social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #8c8c8c;
    color: #212224;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.custom-footer .social-circle svg,
.custom-footer .social-circle img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.custom-footer .social-circle:hover {
    background-color: #ffffff;
}

.custom-footer .btn-subscribe {
    border: calc(2 / var(--container_vw)) solid #005fb6;
    border-radius: calc(5 / var(--container_vw));
    min-width: 100%;
    min-height: calc(38 / var(--container_vw));
    font-weight: 700;
    background-color: #005fb6;
    transition: background-color .3s, color .3s;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    padding: 0 calc(20 / var(--container_vw));
    color: #FFF;
}

@media (min-width: calc(964px)) {
    .custom-footer .btn-subscribe {
        /* min-width: calc(307 / var(--container_vw)); */
        min-height: calc(28 / var(--container_vw));
        font-size: calc(12 / var(--container_vw));
    }
}

.custom-footer .btn-subscribe:hover {
    background-color: #fff;
    color: #005fb6;
}

.custom-footer .footer-bottom-bar {
    padding: calc(20 / var(--container_vw)) 0;
    font-weight: 300;
    background-color: #262626;
    color: #ffffff63;
    font-size: 13px;
}

.custom-footer .footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.custom-footer .footer-logo img {
    height: calc(56 / var(--container_vw));
    width: auto;
}

.custom-footer .footer-copyright {
    text-align: right;
}

.custom-footer .footer-copyright.footer-bottom-flex {
    width: 100%;
}

.custom-footer h2 a {
    color: #ffffff;
    text-decoration: none;
}

.custom-footer h2 a:hover {
    color: #ffffff;
    opacity: 0.8;
}

.custom-footer .footer-copyright p {
    margin: 0;
}

.custom-footer .footer-copyright a {
    color: #a3a3a3;
    text-decoration: none;
    transition: color 0.3s;
}

.custom-footer .footer-copyright a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .custom-footer .footer-row-nova {
        gap: 40px;
    }

    .custom-footer .col-subscribe {
        justify-content: flex-start;
        flex: 100%;
    }

    .custom-footer .btn-subscribe {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .custom-footer .footer-col-nova {
        flex: 100%;
    }

    .custom-footer .footer-bottom-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .custom-footer .footer-copyright {
        text-align: center;
    }
}

@media (min-width: calc(1280px - 60px)) {
    .custom-footer .ctnr {
        max-width: 1000px;
    }
}

@media (min-width: calc(1366px - 60px)) {
    .custom-footer .ctnr {
        max-width: 1120px;
    }
}