.services-slider-container-297e8eff {
    box-sizing: border-box;
    width: 100%;
}

.ss-inner-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 0.6fr;
    gap: 40px;
    align-items: center;
    box-sizing: border-box;
}

/* Content Left Panel Styling */
.ss-content-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.ss-slide-content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.ss-slide-content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ss-slide-title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.ss-slide-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.ss-btn-wrapper {
    margin-top: 10px;
}

.ss-slide-btn {
    display: inline-block;
    border: 2px solid #111111;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* Image Visual Panel Styling */
.ss-visual-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.ss-image-panel {
    grid-column: 1;
    grid-row: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ss-image-panel.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.ss-number-card {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Vertical Tab Panel Styling */
.ss-tabs-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ss-nav-tab {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-left: 3px solid #eeeeee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ss-nav-tab.active {
    border-left-color: var(--ss-accent-297e8eff);
}

.ss-tab-num {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.6;
    margin-bottom: 4px;
}

.ss-nav-tab.active .ss-tab-num {
    color: var(--ss-accent-297e8eff);
    opacity: 1;
}

.ss-tab-label {
    font-size: 16px;
    font-weight: 600;
}

/* Responsive Styles for Tablets and Mobile Devices */
@media (max-width: 1024px) {
    .ss-inner-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ss-slide-title {
        font-size: 30px;
    }

    .ss-slide-content {
        gap: 15px;
    }

    .ss-image-panel {
        min-height: 380px !important;
    }

    /* Convert vertical tabs to horizontal selector beneath content/image */
    .ss-tabs-panel {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        border-bottom: 1px solid #eeeeee;
        gap: 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .ss-nav-tab {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 8px 4px;
        flex-shrink: 0;
    }

    .ss-nav-tab.active {
        border-bottom-color: var(--ss-accent-297e8eff);
        border-left-color: transparent;
    }
}

@media (max-width: 767px) {
    .ss-slide-title {
        font-size: 26px;
    }

    .ss-image-panel {
        min-height: 280px !important;
    }

    .ss-tabs-panel {
        gap: 15px;
    }

    .ss-tab-label {
        font-size: 14px;
    }
}
