.services-section {
    background-color: #F7F7F7;
    padding: 60px 0;
    position: relative;
}

.services-section #servicesRow {
    align-items: flex-end;
}

.services-section #servicesRow > .col-md-4:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
}

.services-col-preview {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-preview {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    opacity: 0.1;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.service-preview.show {
    display: flex;
}

.service-preview .service-image-frame {
    width: 100%;
    max-width: 298px;
    height: 438px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
}

.service-preview .service-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.services-col-active {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-active-image {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.service-active-image.active {
    display: flex;
}

.service-active-image .service-image-frame {
    width: 100%;
    max-width: 350px;
    height: 475px;
    border-radius: 12px;
    overflow: hidden;
}

.service-active-image .service-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

.services-title-wrapper {
    position: relative;
    min-height: 2.5em;
}

.services-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #302f2e;
    margin: 0;
    display: none;
    line-height: 1.2;
}

.services-title.active {
    display: block;
}

.services-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    margin-bottom: 0.5rem;
}

.service-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #BDBDBD;
    cursor: pointer;
    transition: all 0.3s;
}

.service-dot.active {
    background: #004D3A;
    width: 40px;
    height: 10px;
    border-radius: 5px;
}

.services-description-wrapper {
    position: relative;
    min-height: 3em;
}

.services-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #302f2e;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    display: none;
}

.services-description.active {
    display: block;
}

.services-cta-wrapper {
    position: relative;
    margin-top: 0.5rem;
}

.services-section a.services-cta,
.services-section a.btn.services-cta {
    display: none;
    height: 48px;
    min-height: 48px;
    min-width: 160px;
    padding: 0 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff !important;
    background-color: #004D3A !important;
    border: none !important;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
    box-shadow: none;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.services-section a.services-cta:hover,
.services-section a.btn.services-cta:hover {
    color: #fff !important;
    background-color: #005A37 !important;
    border: none !important;
}

.services-section a.services-cta.active,
.services-section a.btn.services-cta.active {
    display: inline-flex;
}

.services-content-item {
    display: none;
}

.services-content-item.active {
    display: block;
}

@media (max-width: 768px) {
    .services-section #servicesRow > .col-md-4:last-child {
        justify-content: start !important;
    }
    .services-col-preview,
    .service-preview.show {
        display: none;
    }
    .services-section .services-title-wrapper,
    .services-section .services-title {
        text-align: center !important;
    }
    .services-section .services-carousel-dots {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .services-section .services-description-wrapper,
    .services-section .services-description {
        text-align: center !important;
    }
    .services-section .services-cta-wrapper {
        text-align: center !important;
    }
}