/* ====================================================
   Back to top button
   ==================================================== */
.backtotop {
    cursor: pointer;
    background: var(--color-secondary);
    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-secondary);
    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-secondary);
    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-secondary);
    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-secondary);
    font-size: 20px;
}

/* Footer Stylesheet */
.footer {
    background-color: var(--bv-primary, #572401);
    color: #e5e5e5;
    padding: 50px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer a {
    color: #e5e5e5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--bv-secondary, #b1820b);
}

/* Outer layout */
.footer .footer-inner {
    display: grid;
    grid-template-columns: 1.35fr 1.25fr 0.9fr 1.3fr;
    column-gap: 32px;
    row-gap: 30px;
    padding-bottom: 45px;
}

/* Headings inside footer columns */
.footer .footer-col h2,
.footer .footer-col h3,
.footer .footer-heading {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 22px;
    position: relative;
    line-height: 1.3;
}

/* Brand column */
.footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer .footer-brand-desc p,
.footer .footer-brand-desc {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.footer .footer-brand-desc img {
    max-width: 240px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 5px;
}

.footer .footer-brand-desc strong {
    color: #ffffff;
}

/* Social icons list */
.footer .footer-social-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer .footer-social-list ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-social-list li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.footer .footer-social-list li p {
    margin: 0;
}

/* Circular button styling for social items */
.footer .footer-social-list a,
.footer .social-circle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bv-secondary, #b1820b);
    color: #ffffff !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    overflow: hidden;
}

.footer .footer-social-list a:hover,
.footer .social-circle-btn:hover {
    /* background-color: #ffffff; */
    color: var(--bv-primary, #572401) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Icon inside circular button - smaller size */
.footer .footer-social-list a img,
.footer .footer-social-list li img,
.footer .footer-social-list img {
    width: 18px !important;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer .footer-social-list a:hover img,
.footer .footer-social-list li:hover img {
    transform: scale(1.1);
}

.footer .footer-social-list svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer .footer-social-list i {
    font-size: 16px;
}

/* Contact Details */
.footer .footer-contact ul,
.footer .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer .footer-contact li,
.footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.footer .footer-contact li img,
.footer .footer-contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--bv-secondary, #b1820b);
}

.footer .footer-contact li a,
.footer .footer-contact-text {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer .footer-contact li a:hover,
.footer a.footer-contact-text:hover {
    color: var(--bv-secondary, #b1820b);
}

/* Quick links */
.footer .footer-links-col ul,
.footer .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer .footer-links-col li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .footer-links-col li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .footer-links-col li a::before {
    content: "\203A";
    color: #FFF;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.footer .footer-links-col li a:hover {
    color: #FFF;
    transform: translateX(4px);
}

/* Map Column */
/* .footer .footer-map-col,
.footer .footer-map-wrap {
    width: 100%;
    height: 190px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(177, 130, 11, 0.35);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    background-color: #f0f0f0;
} */

.footer .footer-map-col iframe,
.footer .footer-map-wrap iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

/* Footer Bottom Bar */
.footer .footer-bottom {
    background-color: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(177, 130, 11, 0.2);
    padding: 16px 0;
    text-align: center;
}

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

.footer .copyright,
.footer .copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

.footer .copyright strong {
    color: #ffffff;
}

.footer .copyright a,
.footer .copyright .bivaco-link {
    color: #FFF;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.footer .copyright a:hover,
.footer .copyright .bivaco-link:hover {
    opacity: 0.85;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .footer .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
        row-gap: 35px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding-top: 40px;
    }

    .footer .footer-inner {
        grid-template-columns: 1fr;
        row-gap: 30px;
        padding-bottom: 35px;
    }

    .footer .footer-heading {
        margin-bottom: 16px;
    }

    .footer .footer-map-wrap {
        height: 180px;
    }

    .footer .copyright {
        font-size: 12px;
    }

    .footer .footer-bottom-inner {
        justify-content: center;
    }
}

/* ====================================================
   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-secondary);
    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-secondary);
    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: 350px;
    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-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.panel-info h3 {
    font-size: 14px;
    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;
}