/* --- CONTAINER --- */
.ss-services-elem {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
    padding: 0 40px;
}

/* --- ROW WRAPPER (Transparent wrapper) --- */
.ss-line-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    background: transparent !important;
    border-radius: 8px;
    width: 100% !important;
    overflow: visible;
    gap: 0 !important;
    column-gap: 0;
    padding: 0;
    margin: 25px auto;
    box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 28%);
}

/* --- LEFT PANEL (Solid Color) --- */
.ss-left-wrap {
    width: 25% !important;
    flex: 0 0 25% !important;
    background-color: var(--line-color, #1a5e30) !important;
    background-image: none !important;
    color: #fff;
    padding: 20px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    position: relative;
    z-index: 2;
    border-radius: 8px 0 0 8px !important;
    margin: 0 !important;
}

.ss-left-wrap h2 {
    font-size: 1.5rem !important;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700 !important;
    margin: 0 0 14px 0 !important;
    color: #fff !important;
    line-height: 1.2 !important;
}

.ss-left-wrap p {
    font-size: 0.9rem;
    font-family: "Poppins", sans-serif;
    opacity: 0.92;
    margin: 0;
    line-height: 1.6;
    color: #fff;
}

/* --- RIGHT PANEL (Light Background) --- */
.ss-right-wrap {
    width: 75% !important;
    flex: 0 0 75% !important;
    background-color: var(--line-light, #f4fcf7) !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    padding: 30px 40px !important;
    border-radius: 0 8px 8px 0 !important;
    margin: 0 !important;
}

/* CAROUSEL */
.ss-n-carousel {
    width: 100%;
    padding: 0 32px !important;
    margin: 0 !important;
    position: relative;
    display: flex;
    align-items: center;
}

.e-n-carousel {
    width: 100%;
}

.swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

.swiper-slide {
    height: 100% !important;
    display: flex !important;
    padding: 0 12px;
    align-items: stretch !important;
    justify-content: center !important; /* Center horizontally */
    min-height: 200px; /* Ensure consistent height */
    box-sizing: border-box;
}

/* --- THE CARD (White Box) --- */
.ss-card {
    background: #fff !important;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    transition: all 0.3s ease;
}

.ss-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.ss-card>.e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
}

/* --- CARD TYPOGRAPHY --- */
.ss-card-title {
    font-weight: 700 !important;
    color: var(--line-color, #1a5e30) !important;
    font-size: 16px !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3;
}

.ss-card-title p {
    margin: 0 !important;
    font-weight: 700 !important;
    color: var(--line-color, #1a5e30) !important;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1.1em;
    line-height: 1.1em;
}

.ss-card-desc {
    flex-grow: 1;
    margin-bottom: 15px !important;
    display: flex;
    flex-direction: column;
}

.ss-card-desc p {
    font-size: 13px;
    font-family: "Poppins", sans-serif;
    color: #000 !important;
    line-height: 16px;
    font-weight: 400 !important;
    margin: 0 !important;
}

.ss-card-cta {
    margin-top: auto !important;
    font-family: "Poppins", sans-serif;
}

.ss-card-cta a {
    color: var(--line-color) !important;
    font-weight: 600 !important;
    font-family: "Poppins", sans-serif;
    font-size: 12px !important;
    text-transform: capitalize !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
    border: none !important;
    transition: gap 0.2s ease;
}

.ss-card-cta a:hover {
    gap: 10px;
}

.ss-card-cta .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}

.ss-card-cta .elementor-button-icon {
    order: 2;
    margin-left: 5px !important;
    margin-right: 0 !important;
}

.ss-card-cta a svg {
    fill: var(--line-color) !important;
    width: 10px;
    height: 10px;
}

/* --- ARROWS --- */
.elementor-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #444 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s ease;
}

.elementor-swiper-button:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.elementor-swiper-button svg {
    width: 11px;
    height: 11px;
    fill: #333 !important;
}

.elementor-swiper-button-prev {
    left: 0;
}

.elementor-swiper-button-next {
    right: 0;
}

/* Mobile */
@media (max-width: 991px) {
    .ss-services-elem {
        padding: 0 20px;
    }

    .ss-line-row {
        flex-direction: column !important;
        min-height: auto;
    }

    .ss-left-wrap {
        width: 100% !important;
        flex: 0 0 auto !important;
        padding: 35px 30px;
        border-radius: 8px 8px 0 0 !important;
        margin-bottom: 0 !important;
    }

    .ss-right-wrap {
        width: 100% !important;
        flex: 0 0 auto !important;
        padding: 20px 20px 24px !important;
        border-radius: 0 0 8px 8px !important;
        margin-top: 0 !important;
    }

    .ss-card {
        padding: 20px 18px;
    }

    .ss-n-carousel {
        padding: 0 24px !important;
    }

    .swiper-slide {
        min-height: 150px;
    }

    .elementor-swiper-button-prev {
        left: 0;
    }

    .elementor-swiper-button-next {
        right: 0;
    }
}
