/* Custom Elementor Widgets - Tabs Slider */

.cew-tabs-slider {
/*     background-color: #0a0a0a; */
    border-radius: 12px;
    overflow: visible;
    padding: 0 40px;
}

/* Image Container - Peek Carousel */
.cew-image-container {
    position: relative;
    width: 100%;
/*     height: 400px; */
    margin-bottom: 16px;
    /* Overflow visible so side slides peek out */
    overflow: visible;
}

/* Outer wrapper clips the outer edges so peek slides don't bleed outside */
.cew-image-container-outer {
    overflow: visible;
    margin: 0 -40px;
    padding: 0;
    position: relative;
}

/* The track holds all slides in a row */
.cew-slides-track {
    display: flex;
    position: relative;
/*     height: 400px; */
/*     height: 360px; */
/* 	gap: 100px; */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cew-image-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    opacity: 0.6;
    visibility: visible;
    transition: none;
    padding: 0 50px;
/*     padding: 0; */
    box-sizing: border-box;
}

.cew-image-slide.active {
	opacity: 1;
}
/* Peek slides left/right: scale down slightly to reveal center slide dominance */
.cew-image-slide .cew-slide-inner {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
/*     transform: scale(0.88); */
    opacity: 0.5;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s ease;
/* 	border-radius: 24px; */
/*     border: 1px solid var(--Grayscale-900, #1A1918); */
    background: var(--Grayscale-950, #0E0E0D);
}

.cew-image-slide.active .cew-slide-inner {
    transform: scale(1);
    opacity: 1;
}

.cew-image-slide img {
    width: 100%;
    height: 100%;
/*     object-fit: cover; */
    display: block;
}
@media(max-width: 1400px){
	.cew-image-slide img {
	    object-fit: cover;
	}
	.cew-image-slide .cew-slide-inner {
		border-radius: 24px;
		border: 1px solid var(--Grayscale-900, #1A1918);
	}
}


/* Remove old animation classes - track-based sliding handles movement */
.cew-image-slide.slide-out-left,
.cew-image-slide.slide-out-right,
.cew-image-slide.slide-in-left,
.cew-image-slide.slide-in-right {
    animation: none;
}

/* Loading Circle */
.cew-loading-circle {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    z-index: 10;
}

.cew-loading-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.cew-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.cew-circle-progress {
    fill: none;
    stroke: #00d9ff;
    stroke-width: 4;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.cew-tab-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Tabs Navigation */
.cew-tabs-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.cew-nav-arrow {
    background-color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #ffffff;
}

.cew-nav-arrow:hover {
    background-color: #2a2a2a;
    transform: scale(1.1);
}

.cew-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cew-nav-arrow:disabled:hover {
    background-color: #1a1a1a;
    transform: scale(1);
}

.cew-tabs-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.cew-tabs-list {
    display: flex;
    gap: 0;
    position: relative;
	justify-content: space-between;
	border-bottom: 2px solid #1A1918;
}
button.cew-tab-item{
	border-bottom: 2px solid transparent;
}
button.cew-tab-item:hover, button.cew-tab-item.active {
    background-color: transparent;
    border-bottom: 2px solid #F25A2F;
}
button.cew-tab-item {
    border-radius: 0;
}
.cew-tab-item {
    background: none;
    border: none;
	width: 20%;
    min-height: 70px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 0;
    position: relative;
}

.cew-tab-item:hover {
/*     color: #cccccc; */
}

.cew-tab-item.active {
/*     color: #ffffff; */
}

.cew-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #ff4400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 3px 0 0;
	display: none;
}

/* Description Container */
.cew-description-container {
    position: relative;
    min-height: 80px;
    overflow: hidden;
	max-width: 700px;
    margin: 0 auto;
}

.cew-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: none;
}

.cew-description.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: slideUpFade 0.6s ease-out forwards;
}
.cew-description-container
 {
    margin-top: 48px;
}

/* Slide track animation */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1280px){
	.cew-slides-track {
/* 		height: 308px; */
		height: auto;
	}
}
@media (max-width: 768px) {
    .cew-tabs-slider {
        padding: 20px;
    }

    .cew-image-container,
    .cew-slides-track {
        height: 300px;
        margin-bottom: 30px;
    }

    .cew-image-container-outer {
        margin: 0 -20px;
        padding: 0 20px;
    }

    .cew-tabs-navigation {
        gap: 10px;
    }

    .cew-tabs-list {
/*         gap: 20px; */
    }

    .cew-tab-item {
        font-size: 12px;
    }

    .cew-nav-arrow {
        width: 35px;
        height: 35px;
    }

    .cew-loading-circle {
        width: 80px;
        height: 80px;
    }

    .cew-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cew-image-container,
    .cew-slides-track {
        height: 250px;
    }

    .cew-tabs-list {
/*         gap: 15px; */
    }

    .cew-tab-item {
        font-size: 11px;
        letter-spacing: 1px;
    }
}
