/* ===================================================
   WORK SPACES SLIDER SECTION
   =================================================== */
.work-spaces-slider {
    padding: 100px 0;
    background-color: var(--color-soft-white);
    position: relative;
    overflow: hidden;
}

.ws-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.ws-header {
    text-align: center;
    margin-bottom: 60px;
}

.ws-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(23, 198, 79, 0.1);
    color: var(--color-signal-green);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.ws-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-dark-teal);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Slider Layout */
.ws-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Controls */
.ws-controls,
.ws-btn {
    display: none !important;
}

.ws-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(7, 42, 48, 0.1);
    color: var(--color-dark-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ws-btn:hover {
    background: var(--color-dark-teal);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(7, 42, 48, 0.2);
}

/* Slider Track */
.ws-track-container {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    /* Space for shadows */
    margin: -40px 0;
}

.ws-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Slide Card */
.ws-card {
    flex: 0 0 600px;
    /* Fixed width for consistency */
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95);
    opacity: 0.7;
    height: 480px;
    /* Fixed height */
    display: flex;
    flex-direction: column;
}

/* Active State */
.ws-card.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.ws-card-img-wrapper {
    height: 60%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ws-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.ws-card:hover .ws-card-img {
    transform: scale(1.05);
}

.ws-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 42, 48, 0.2) 100%);
}

/* Card Content */
.ws-card-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #fff;
}

/* Connecting Line */
.ws-card-line {
    position: absolute;
    top: 0;
    left: 32px;
    width: 40px;
    height: 4px;
    background: var(--color-signal-green);
    border-radius: 0 0 4px 4px;
}

.ws-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark-teal);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.ws-card-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #556060;
}

/* Responsive */
@media (max-width: 1024px) {
    .ws-card {
        flex: 0 0 85%;
        height: auto;
        min-height: 420px;
    }

    .ws-controls {
        display: none;
        /* Hide custom controls on tablet, use swipe */
    }
}

@media (max-width: 768px) {
    .ws-slider-wrapper {
        gap: 0;
    }

    .ws-card {
        flex: 0 0 85%;
        margin-right: 16px;
    }

    .ws-card-title {
        font-size: 24px;
    }
}