.ai-matter-slider-section {
    padding: 60px 10px;
    overflow: hidden;
}

.ai-matter-slider-header {
    margin: 0 auto 50px;
    text-align: center;
}

.ai-matter-heading {
    font-family: "DM Sans", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: -2px;
    color: #182439;
    margin-bottom: 20px;
}

.ai-matter-description {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -1px;
    color: #8794AA;
    max-width: 700px;
    margin: 0 auto;
}

.ai-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: auto;
}

.ai-slider-track {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 15px 0px;
}

.ai-slider-track::-webkit-scrollbar {
    display: none;
}

.ai-card {
    flex: 0 0 20%;
    min-height: 300px;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, .10);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    scroll-snap-align: start;
    border: 1px solid #E4F4FF;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;
    box-sizing: border-box;
}


.ai-card.first-visible {
    border-radius: 20px 0 0 20px;
}

.ai-card.last-visible {
    border-radius: 0 20px 20px 0;
}

.ai-card:hover {
    box-shadow: none;
    transform: scale(1.02);
    z-index: 20;
    background: #0071BC;
    border: none;
    border-radius: 18px;
}


.ai-card-icon img {
    object-fit: cover;
}

.ai-card-title {
    font-family: "DM Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #182439;
    margin-bottom: 15px;
    transition: .3s ease;
}

.ai-card-description {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -1px;
    color: #182439;
    transition: .3s ease;
}

.ai-card:hover .ai-card-title,
.ai-card:hover .ai-card-description {
    color: #ffffff;
}

.ai-card:hover .ai-card-icon img {
    filter: brightness(0) invert(1);
}

.ai-slider-navigation {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.ai-slider-arrow {
	padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform .3s ease, opacity .3s ease;
}

.ai-slider-arrow:hover {
	transform: translateY(-2px);
    opacity: .85;
}

.ai-slider-arrow img {
    display: block;
    width: 25px;
    height: auto;
}

.ai-slider-wrapper .prev,
.ai-slider-wrapper .next {
    display: block;
/*     margin: 0px auto 0; */
}

.ai-slider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.ai-slider-wrapper .prev,
.ai-slider-wrapper .next {
    position: static;
}

.ai-slider-wrapper .prev {
/*     margin-right: 20px; */
}

.ai-slider-wrapper .next {
/*     margin-left: 20px; */
}

.ai-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
	margin-top: 40px;
}

.ai-card,
.ai-card:focus,
.ai-card:focus-visible,
.ai-card *:focus,
.ai-card *:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}


@media (max-width: 991px) {

    .ai-matter-heading {
        font-size: 34px;
        line-height: 42px;
    }

    .ai-card {
        flex: 0 0 50%;
    }

    .ai-slider-track {
        gap: 10px;
        padding: 15px 6px;
    }

    .ai-card:hover {
        transform: scale(1);
        border-radius: 20px;
    }
	
	.ai-slider-wrapper{
		align-items: normal;
	 }

}

@media (max-width: 767px) {

    .ai-matter-slider-section {
        padding: 20px 8px;
    }

    .ai-matter-heading {
        font-size: 28px;
        line-height: 36px;
    }

    .ai-matter-description {
        font-size: 16px;
    }


    .ai-card {
        flex: 0 0 100%;
		border: 2px solid #E4F4FF;
       min-height: 250px;
    }

    .ai-card-title {
        font-size: 20px;
    }

    .ai-card-description {
        font-size: 16px;
    }

}