/**
 * Services Slider Widget Styles
 */

:root {
    --smarteco-blue: #1E5BC6;
    --content-area-1: 1360px;
    --content-area-2: 1130px;
}

.smarteco-services-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.smarteco-services-slider .swiper-container {
    width: 100%;
    padding-top: 40px;
    margin-top: -40px;
}

.smarteco-services-slider .swiper-slide {
    width: 325px;
    height: auto;
}

/* Auto width slides */
.smarteco-services-slider .swiper-slide[data-swiper-slide-index] {
    width: auto;
}

.smarteco-service-item {
    background: #F3F7FC;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 325px;
    width: 325px;
    height: 480px;
    display: flex;
    flex-direction: column;
    gap: 54px;
}

.smarteco-service-item:hover {
    /*transform: translateY(-10px);*/
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);*/
}

.smarteco-service-icon {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smarteco-service-icon i,
.smarteco-service-icon svg {
    transition: all 0.3s ease;
}

.smarteco-service-item:hover .smarteco-service-icon i,
.smarteco-service-item:hover .smarteco-service-icon svg {
    transform: scale(1.1);
}

.smarteco-service-item .header-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-category-tag {
    display: inline-block;
    padding: 4px 8px;
    background: transparent;
    color: var(--smarteco-blue);
    border: 1px solid var(--smarteco-blue);
    border-radius: 4px;
}

.smarteco-service-title {
    color: var(--smarteco-blue);
    font-family: 'Ubuntu', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
    margin: 0;
}

.content-wrapper {
    width: 100%;
    /*margin-top: 54px;*/
    flex: 1;
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 12px 0;
    text-align: left;
}

.content-wrapper p:last-child {
    margin-bottom: 0;
}

.link-wrapper {
    width: 100%;
    position: relative
}

.link-wrapper .button {
    width: 100%;
    padding: 16px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--smarteco-blue);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.link-wrapper .button:hover {
    background-color: #1E5BC67F;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 0 0 12px 20px;
    padding: 0;
    text-align: left;
}

.content-wrapper li {
    font-size: 16px;
    line-height: 1;
    color: #666666;
}

.content-wrapper strong {
    font-weight: 600;
}

.content-wrapper a {
    color: var(--smarteco-blue);
    text-decoration: underline;
}

.smarteco-service-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Swiper Navigation */
.smarteco-services-slider .swiper-button-next,
.smarteco-services-slider .swiper-button-prev {
    color: #000000;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    right: unset;
    left: unset;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.smarteco-services-slider .swiper-button-next::after,
.smarteco-services-slider .swiper-button-prev::after {
    display: none;
}

/* Swiper Pagination */
.smarteco-services-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cccccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.smarteco-services-slider .swiper-pagination-bullet-active {
    background: #4CAF50;
    width: 30px;
    border-radius: 6px;
}

.smarteco-services-slider .swiper-wrapper {
    padding-top: 80px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.smarteco-services-slider .navigation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 24px;
    right: calc((100vw - var(--content-area-2)) / 2) !important;
    height: 32px;
}

/* Responsive Styles */

@media (width <= 1160px) {
    .smarteco-services-slider .navigation-wrapper {
        right: 20px !important;
    }
}

@media (width <= 768px) {
    .smarteco-service-item {
        padding: 30px 20px;
    }

    .smarteco-service-icon {
        font-size: 36px;
    }

    .smarteco-service-title {
        font-size: 20px;
    }

    .smarteco-service-description {
        font-size: 14px;
    }

    .smarteco-services-slider .navigation-wrapper {
        right: 20px;
        top: 24px;
    }
}
