.cards-slider-component {
position: relative;
width: 100%;
overflow-x: hidden !important;
}
.cards-slider-component::before,
.cards-slider-container::before {
display: none !important;
}
.cards-slider-wrapper {
position: relative;
z-index: 2;
width: 100%;
box-sizing: border-box;
overflow: hidden;
}
.cards-slider-main-title {
max-width: 1440px;
margin-left: auto;
margin-right: auto;
padding-left: 26px;
margin-bottom: 0;
padding-bottom: 40px;
position: relative;
z-index: 3;
}
.cards-slider-main-title::before {
content: "";
position: absolute;
top: -100px;
bottom: 0;
left: -50vw;
right: -50vw;
background-color: #f4f7f6;
z-index: -1;
}
.cards-slider-container {
width: 100%;
max-width: 1440px;
margin: 0 auto;
overflow: hidden !important;
position: relative;
padding: 0 !important;
background-color: #fff;
}
.cards-slider-container::-webkit-scrollbar,
.cards-slider-component::-webkit-scrollbar {
display: none !important;
width: 0 !important;
height: 0 !important;
}
.cards-slider-track {
display: flex;
gap: 0;
will-change: transform;
width: 100%;
}
.cards-slider-item {
flex: 0 0 25%;
min-width: 25%;
max-width: 25%;
display: flex;
flex-direction: column;
padding: 60px 26px 26px;
text-decoration: none;
color: #050b14;
position: relative;
box-sizing: border-box;
overflow: hidden;
z-index: 1;
transition: color 0.45s cubic-bezier(0.25, 1, 0.5, 1);
-webkit-tap-highlight-color: transparent;
}
@media (min-width: 1920px) {
.cards-slider-item {
padding: 120px 26px 26px;
}
}
.cards-slider-item::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
background-color: rgba(0, 0, 0, 0.55);
transform: translateY(-101%);
transition: transform 0.55s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.cards-slider-item::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-image:
linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--bg-image);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
opacity: 0;
transform: scale(1);
will-change: transform, opacity;
transition:
transform 0.65s cubic-bezier(0.25, 1, 0.5, 1),
opacity 0.4s ease;
}
.cards-slider-item:hover::after,
.cards-slider-item.is-tapped::after {
transform: translateY(0);
}
.cards-slider-item:hover::before,
.cards-slider-item.is-tapped::before {
opacity: 1;
transform: scale(1.08);
}
.cards-slider-item:hover .cards-slider-title,
.cards-slider-item.is-tapped .cards-slider-title,
.cards-slider-item:hover .cards-slider-desc,
.cards-slider-item.is-tapped .cards-slider-desc,
.cards-slider-item:hover .cards-item-pure-arrow,
.cards-slider-item.is-tapped .cards-item-pure-arrow {
color: #fff;
}
.cards-slider-icon {
width: 72px;
height: 72px;
margin-bottom: 24px;
}
.cards-slider-icon img {
width: 100%;
height: 100%;
object-fit: contain;
filter: none;
transition: filter 0.4s ease;
}
.cards-slider-item:hover .cards-slider-icon img,
.cards-slider-item.is-tapped .cards-slider-icon img {
filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(100deg)
brightness(0.9);
}
.cards-slider-title {
margin-bottom: 24px;
text-align: start;
position: relative;
z-index: 2;
color: #4c4c57;
display: inline-block;
width: 100%;
font-weight: 600;
font-size: 22px;
line-height: 120%;
transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.cards-slider-title span:before {
display: none;
}
.cards-slider-desc {
color: #4c4c57;
margin-bottom: auto;
font-weight: 400;
font-size: 18px;
line-height: 150%;
transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.cards-slider-item .cards-item-pure-arrow {
display: block;
position: relative;
z-index: 5;
width: auto;
height: auto;
color: #85d1ae;
font-size: 1.8rem;
line-height: 1;
text-align: left;
margin-top: 0;
padding: 20px 0 10px 0;
margin-left: -26px;
margin-right: -26px;
padding-left: 26px;
padding-right: 26px;
margin-bottom: -26px;
cursor: pointer;
transform: scaleX(1);
transform-origin: left center;
transition:
color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.cards-slider-item:hover .cards-item-pure-arrow,
.cards-slider-item.is-tapped .cards-item-pure-arrow {
transform: translateX(5px) scaleX(1.15);
}
a.cards-slider-item:focus {
outline: none;
}
.cards-slider-arrows {
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
max-width: 1540px;
pointer-events: none;
z-index: 10;
}
.cards-slider-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background-color: #ccebda66;
border: none;
color: #85d1ae;
font-size: 40px;
display: flex;
align-items: center;
justify-content: center;
line-height: 0;
padding-bottom: 8px;
border-radius: 50%;
cursor: pointer;
pointer-events: auto;
transition:
opacity 0.2s ease,
background-color 0.2s ease;
}
.arrow-prev {
left: 10px !important;
}
.arrow-next {
right: 10px !important;
}
.cards-slider-component .cards-slider-dots {
display: none;
position: relative;
margin-top: 24px;
width: 100%;
justify-content: center;
align-items: center;
gap: 12px;
z-index: 10;
padding-bottom: 24px;
}
.cards-slider-component .cards-slider-dot {
display: inline-block;
width: 8px;
height: 8px;
background-color: rgba(12, 36, 25, 0.24);
cursor: pointer;
box-sizing: border-box;
flex-shrink: 0;
border-radius: 100%;
box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}
.cards-slider-component .cards-slider-dot.active {
background-color: #0c2419;
}
.cards-slider-component .container {
max-width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}
@media (max-width: 1480px) {
.cards-slider-container {
max-width: 100%;
padding: 0 !important;
}
}
@media (max-width: 1200px) {
.cards-slider-item {
flex: 0 0 33.333%;
min-width: 33.333%;
max-width: 33.333%;
}
}
@media (max-width: 992px) {
.cards-slider-container {
max-width: 100% !important;
padding: 0 !important;
}
.cards-slider-main-title {
padding-left: 20px;
padding-right: 20px;
}
.cards-slider-item {
flex: 0 0 50%;
min-width: 50%;
max-width: 50%;
padding: 40px 20px 26px;
}
.cards-slider-arrows {
display: none;
}
.cards-slider-component .cards-slider-dots {
display: flex;
}
}
@media (max-width: 576px) {
.cards-slider-item {
flex: 0 0 100%;
min-width: 100%;
max-width: 100%;
padding: 20px 20px 26px;
}
}