/* Slide Left and Right Animation */
.slide-left-right-animation {
    animation-name: slide-left-right;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes slide-left-right {
    from {
        left: -10%;
    }

    to {
        left: calc(0%);
    }
}

/* Slide Right and Left Animation */
.slide-right-left-animation {
    animation-name: slide-right-left;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes slide-right-left {
    from {
        left: 0%;
    }

    to {
        left: calc(-10%);
    }
}

/* Reusable Tab */
[tab] {
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

[tab-target] {
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

[tab-target].active {
    display: block;
    opacity: 1;
}

/* General Active Tab State */
[tab].active {
    background-color: rgba(86, 112, 152, 1) !important;
    color: #FFF !important;
}

/* Brand Tab */
[tab-group].brand-tab [tabs] .active {
    position: relative;
    color: #FFF;
    background: rgba(86, 112, 152, 1);
}

/* FAQ Tab */
[tab-group].faq-tab [tabs] .active {
    position: relative;
    color: #FFF;
    background: rgba(86, 112, 152, 1);
}

/* Reusable Dropdown */
[dropdown-content] {
    opacity: 0;
    visibility: hidden;
}

[dropdown].active [dropdown-content] {
    opacity: 1;
    visibility: visible;
}

[dropdown-content]:not(.our-products-dropdown)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.3);
    z-index: -1;
}

[dropdown].active .arrow-image {
    transform: rotate(180deg);
}

/* Reusable Modal */
.modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Accordion */
[accordion-menu-content] {
    max-height: 0;
    opacity: 0;
}

[accordion-menu-content].active {
    max-height: 1000px;
    opacity: 1;
}

[accordion-menu-container]>div.active .arrow-image-inactive {
    opacity: 0;
}

[accordion-menu-container]>div.active .arrow-image-active {
    opacity: 1;
}