/* Services Slider Styles */
.fs-services-slider-section {
    padding: 40px 0;
    margin: 0 auto;
}

/* Section Header Row */
.fs-services-slider-header {
    margin-bottom: 2rem;
    display: flex;
    width: 100%;
}

.fs-services-slider-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
    color: #1c2d3a;
}

.fs-services-all-button {
    display: inline-flex;
    align-items: center;
    color: var(--fs-color-success);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--fs-color-success);
    padding: 8px 16px;
}

.fs-services-all-button i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.fs-services-all-button:hover {
    color: #d62b39;
    border-color: #d62b39;
}

.fs-services-all-button:hover i {
    transform: translateX(3px);
}

/* Second Row: Carousel + Description */
.fs-services-carousel-row {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.fs-services-slider-navigation {
    display: flex;
    gap: 10px;
}

.fs-services-slider-navigation button.circle {
    width: 65px;
    height: 45px;
    border-radius: 40%;
    background-color: #fff;
    border: 1px solid var(--fs-color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
	margin-bottom:unset !important;
}

.fs-services-slider-navigation button.circle:hover {
    background-color: var(--fs-color-success);
}

.fs-services-slider-navigation button.circle i {
    font-size: 26px;
    color: var(--fs-color-success);
}
.fs-services-slider-navigation button.circle:hover i{
	color: #fff;
}

.fs-services-slider-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
}

/* Card List / Carousel */
.fs-services-slider-container {
    position: relative;
    width: 100%;
    padding: 10px 0 30px;
    overflow: visible;
	max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
	margin-left:130px;
}

/* Fix for Swiper container */
.fs-services-slider-container .swiper-wrapper {
    display: flex;
    width: 100%;
}

/* Service Item Styles */
.swiper-slide {
    height: auto; /* Allow slides to be their natural height */
    width: auto; /* Let Swiper handle the width */
}

.fs-service-item {
    border: 1px solid #d4dde6;
    border-radius: 16px;
    padding: 30px;
    height: 400px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px;
    min-width: 300px;
    max-width: 100%; /* Allow cards to fill their container */
    box-sizing: border-box; /* Include padding in width calculation */
}


/* Top wrap styling */
.service-card_top-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
	height:100%;
    margin-bottom: 20px;
}

.service-card_top-wrap i {
    font-size: 36px;
    color: var(--fs-color-success);
    flex-shrink: 0;
}

.service-card_top-wrap > div {
    flex-grow: 1;
}

.fs-service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    color: #1c2d3a;
}

.spacer-xs-small {
    height: 8px;
}

.fs-service-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Bottom wrap styling */
.service-card_bottom-wrap {
    margin-top: auto;
}

/* Button styling */
.button-tertiary-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-tertiary-arrow:hover {
    opacity: 0.8;
}

.button-tertiary_arrow-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.button-tertiary-arrow:hover .button-tertiary_arrow-icon {
    transform: translate(3px, -3px);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .fs-services-slider-header {
        flex-direction: column;
    }
    
    .fs-services-slider-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .fs-services-all-button {
        margin-top: 10px;
        align-self: flex-start;
    }
    
    .fs-services-slider-navigation {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .fs-services-slider-subtitle {
        text-align: center;
        margin: 0 auto;
    }
    
    .fs-service-item {
        padding: 20px;
        min-width: 260px;
    }
    
    .fs-service-title {
        font-size: 18px;
    }
    
    .fs-service-description {
        font-size: 14px;
    }
    
    .service-card_top-wrap {
        flex-direction: column;
        gap: 10px;
    }
} 