.sc-spaces-tabs {
    width: 100%;
}

/* Tabs Navigation */
.sc-st-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sc-st-tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.sc-st-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transform: scaleX(0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.sc-st-tab-btn:hover {
    color: #333333;
}

.sc-st-tab-btn.active {
    color: #333333;
    font-weight: 600;
}

.sc-st-tab-btn.active::after {
    background-color: #333333;
    transform: scaleX(1);
}

/* Tabs Content */
.sc-st-tabs-content {
    position: relative;
}

.sc-st-tab-content {
    display: none;
    opacity: 0;
    padding: 60px 0;
}

.sc-st-tab-content.active {
    display: block;
    opacity: 1;
}

.sc-st-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Text Content */
.sc-st-text-content {
    flex: 1;
}

.sc-st-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
    color: #222222;
    margin: 0 0 30px 0;
}

.sc-st-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.sc-st-feature-item {
    font-size: 16px;
    color: #333333;
    font-weight: 400;
}

/* Highlight Box */
.sc-st-highlight-box {
    display: inline-block;
    background-color: #4a5568;
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 8px;
    margin-top: 10px;
}

.sc-st-highlight-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.sc-st-highlight-desc {
    font-size: 13px;
    opacity: 0.85;
}

/* Image */
.sc-st-image-wrapper {
    width: 50%;
    flex-shrink: 0;
}

.sc-st-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Animations */
.sc-st-tab-content.animate-fade .sc-st-text-content,
.sc-st-tab-content.animate-fade .sc-st-image-wrapper {
    animation: stFade 0.6s ease forwards;
}

.sc-st-tab-content.animate-fade-up .sc-st-text-content,
.sc-st-tab-content.animate-fade-up .sc-st-image-wrapper {
    animation: stFadeUp 0.6s ease forwards;
}

.sc-st-tab-content.animate-fade-down .sc-st-text-content,
.sc-st-tab-content.animate-fade-down .sc-st-image-wrapper {
    animation: stFadeDown 0.6s ease forwards;
}

.sc-st-tab-content.animate-fade-left .sc-st-text-content {
    animation: stFadeLeft 0.6s ease forwards;
}

.sc-st-tab-content.animate-fade-left .sc-st-image-wrapper {
    animation: stFadeRight 0.6s ease forwards;
}

.sc-st-tab-content.animate-fade-right .sc-st-text-content {
    animation: stFadeRight 0.6s ease forwards;
}

.sc-st-tab-content.animate-fade-right .sc-st-image-wrapper {
    animation: stFadeLeft 0.6s ease forwards;
}

.sc-st-tab-content.animate-zoom-in .sc-st-text-content,
.sc-st-tab-content.animate-zoom-in .sc-st-image-wrapper {
    animation: stZoomIn 0.6s ease forwards;
}

.sc-st-tab-content.animate-slide-up .sc-st-text-content,
.sc-st-tab-content.animate-slide-up .sc-st-image-wrapper {
    animation: stSlideUp 0.6s ease forwards;
}

/* Staggered animation delay for image */
.sc-st-tab-content .sc-st-image-wrapper {
    animation-delay: 0.15s !important;
}

@keyframes stFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes stFadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stFadeLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes stFadeRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes stZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .sc-st-content-wrapper {
        gap: 40px;
    }

    .sc-st-title {
        font-size: 30px;
    }

    .sc-st-image-wrapper {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .sc-st-tabs-nav {
        gap: 20px;
    }

    .sc-st-tab-btn {
        font-size: 14px;
        padding: 12px 0;
    }

    .sc-st-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .sc-st-text-content {
        order: 1;
    }

    .sc-st-image-wrapper {
        width: 100%;
        order: 0;
    }

    .sc-st-title {
        font-size: 26px;
        text-align: center;
    }

    .sc-st-features-list {
        align-items: center;
    }

    .sc-st-highlight-box {
        display: block;
        text-align: center;
    }

    .sc-st-tab-content {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .sc-st-tabs-nav {
        gap: 15px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .sc-st-tab-btn {
        flex-shrink: 0;
        font-size: 13px;
    }

    .sc-st-title {
        font-size: 22px;
    }

    .sc-st-feature-item {
        font-size: 14px;
    }

    .sc-st-highlight-title {
        font-size: 14px;
    }

    .sc-st-highlight-desc {
        font-size: 12px;
    }

    .sc-st-tab-content {
        padding: 30px 0;
    }
}
