
.glass-tab {
    position: relative;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 16px !important;
}
.red-wave {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: left 0.6s ease;
    z-index: 2;
    display: none;
}

.red-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background:#881720;
    filter: blur(10px);
    transition: all 0.3s ease;
    z-index: -1;
}
.glass-tab.active .red-blur,
.glass-tab:hover .red-blur {
    width: 150%;
    height: 150%;
}
.glass-tab.active .red-wave,
.glass-tab:hover .red-wave {
    left: 0;
    animation: waveSlide 2s ease-in-out infinite;
}
.glass-tab.active,
.glass-tab:hover{
    color: #fff !important;
}

.glass-tab .tab-text{
    color: #ccc;
}

.glass-tab.active .tab-text,
.glass-tab:hover .tab-text{
    color: #fff !important;
}

#Header {
    transition: bottom 0.4s ease-in-out; /* Adds the smooth sliding effect */
}

@keyframes waveSlide {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@media(min-width: 1440px) {
    .main-header.header-metal .header-sticky{
                max-width: 920px;
    }
}

@media(min-width: 998px) {
    .red-wave {
        display: block;
    }
}

/* Mobile Only Styles */
@media (max-width: 768px) {
    /* Hide the pagination dots that are conflicting */
    #bfaf .swiper-pagination, 
    #bfaf .bullets-horizontal {
        display: none !important;
    }

    .swiper-pagination-container {
        position: relative;
    }

    .swiper-pagination-container .dynamic-nav {
        position: absolute;
        bottom: 10px;
        z-index: 10;
        background-color: #181818;
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }

    .swiper-pagination-container .swiper-button-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -30px;
    }
    .swiper-pagination-container .swiper-button-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 20px;
    }
    .swiper-pagination-container .swiper-button-prev::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        background: url('../images/arrow-accent.png') no-repeat center center;
            background-size: auto;
        background-size: cover;
        transform: translate(-50%, -50%) rotate(180deg);
        width: 18px;
        height: 18px;
        transition: all 0.4s ease-in-out;
    }
    .swiper-pagination-container .swiper-button-next::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        background: url('../images/arrow-accent.png') no-repeat center center;
            background-size: auto;
        background-size: cover;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
        transition: all 0.4s ease-in-out;
    }
    .swiper-pagination-container .swiper-button-next::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    .swiper-pagination-container .swiper-button-disabled::after {
        opacity: 0.3;
    }

    /* Force show the navigation arrows if the theme is hiding them */
    #bfaf .swiper-button-next, 
    #bfaf .swiper-button-prev {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #fff; /* Match your brand's white text */
    }
}

/* Desktop Only Styles */
@media (min-width: 769px) {
    /* Keep desktop as-is: hide arrows, show pagination */
    #bfaf .swiper-button-next, 
    #bfaf .swiper-button-prev {
        display: none !important;
    }
}