.ashapura-slider {
position: relative;
width: 100vw;
max-width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: 0;
height: var(--ashapura-height, 800px);
min-height: 600px;
overflow: hidden;
isolation: isolate;
background: #222;
font-family: 'Heebo', Arial, sans-serif;
--ashapura-accent: #20a9df;
--ashapura-overlay: .38;
--ashapura-transition-speed: 300ms;
box-sizing: border-box;
}
.ashapura-slider *,
.ashapura-slider *::before,
.ashapura-slider *::after {
box-sizing: border-box;
} .ashapura-slider__track,
.ashapura-slide {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.ashapura-slide {
opacity: 0;
visibility: hidden;
z-index: 0;
transition:
opacity 300ms ease,
visibility 300ms ease;
}
.ashapura-slide.is-active {
opacity: 1;
visibility: visible;
z-index: 1;
} .ashapura-slide__image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
transform: none;
transition: none;
} .ashapura-slider[data-zoom="yes"]
.ashapura-slide.is-active
.ashapura-slide__image {
transform: none;
} .ashapura-slide__shade {
position: absolute;
inset: 0;
z-index: 1;
background: rgba(
0,
0,
0,
var(--ashapura-overlay, .38)
);
} .ashapura-slide__content {
position: relative;
z-index: 2;
width: 74%;
max-width: 1280px;
height: 100%;
margin: 0 auto;
padding: 45px 0 70px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
color: #fff;
} .ashapura-slide__eyebrow {
font-family: 'Barlow', sans-serif;
font-size: clamp(17px, 1.5vw, 23px);
font-weight: 500;
line-height: 1.4;
letter-spacing: .03em;
margin: 0 0 18px;
padding: 0;
color: #fff;
opacity: 0;
transform: none;
} .ashapura-slide__heading {
font-family: 'Barlow', 'Heebo', sans-serif;
font-size: clamp(42px, 5vw, 76px);
font-weight: 700;
line-height: 1.13;
letter-spacing: -.025em;
width: 100%;
max-width: 950px;
margin: 0 0 30px;
padding: 0;
color: #fff;
text-transform: none;
text-shadow: 0 2px 5px rgba(0, 0, 0, .12);
opacity: 0;
transform: none;
} .ashapura-slide__description {
font-family: 'Heebo', Arial, sans-serif;
font-size: clamp(16px, 1.4vw, 21px);
font-weight: 400;
line-height: 1.65;
width: 100%;
max-width: 800px;
margin: 0 0 30px;
padding: 0;
color: #fff;
opacity: 0;
transform: none;
} .ashapura-slide__actions {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
gap: 20px;
opacity: 0;
transform-style: preserve-3d;
perspective: 800px;
} .ashapura-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 204px;
min-height: 68px;
padding: 0 28px;
border: 2px solid var(--ashapura-accent, #20a9df);
border-radius: 4px;
background: var(--ashapura-accent, #20a9df);
color: #fff !important;
font-family: 'Barlow', 'Heebo', sans-serif;
font-size: 16px;
font-weight: 600;
line-height: 1.3;
letter-spacing: 0;
text-transform: none;
text-decoration: none !important;
transition:
background .3s ease,
color .3s ease,
border-color .3s ease;
}
.ashapura-btn--solid,
.ashapura-btn--outline {
background: var(--ashapura-accent, #20a9df);
color: #fff !important;
}
.ashapura-btn:hover,
.ashapura-btn--solid:hover,
.ashapura-btn--outline:hover {
background: #168ec2;
border-color: #168ec2;
color: #fff !important;
} .ashapura-slider__arrow {
position: absolute;
z-index: 5;
top: 35%;
transform: translateY(-50%);
width: 48px;
height: 48px;
margin: 0;
padding: 0;
border: 0;
border-radius: 0;
background: rgba(0, 0, 0, .58);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background .25s ease;
}
.ashapura-slider__arrow:hover {
background: rgba(0, 0, 0, .85);
}
.ashapura-slider__arrow span {
display: block;
width: 11px;
height: 11px;
border-top: 2px solid #fff;
border-right: 2px solid #fff;
}
.ashapura-slider__arrow--prev {
left: 34px;
}
.ashapura-slider__arrow--prev span {
transform: rotate(-135deg);
margin-left: 5px;
}
.ashapura-slider__arrow--next {
right: 34px;
}
.ashapura-slider__arrow--next span {
transform: rotate(45deg);
margin-right: 5px;
} .ashapura-slider__dots {
position: absolute;
z-index: 5;
left: 50%;
bottom: 35px;
display: flex;
align-items: center;
gap: 10px;
transform: translateX(-50%);
}
.ashapura-slider__dot {
width: 17px;
height: 17px;
padding: 0;
border: 0;
border-radius: 0;
background: rgba(255, 255, 255, .45);
cursor: pointer;
transition: background .25s ease;
}
.ashapura-slider__dot.is-active {
width: 17px;
height: 17px;
border-radius: 0;
background: #fff;
}  .ashapura-slide.is-active
.ashapura-slide__eyebrow {
animation: ashapura-rs-eyebrow 1s ease both;
animation-delay: 800ms;
} .ashapura-slide.is-active
.ashapura-slide__heading {
animation: ashapura-rs-heading 1s ease both;
animation-delay: 1000ms;
} .ashapura-slide.is-active
.ashapura-slide__description {
animation: ashapura-rs-description 1s ease both;
animation-delay: 1400ms;
} .ashapura-slide.is-active
.ashapura-slide__actions {
animation:
ashapura-rs-buttons
1s
cubic-bezier(.68, -.55, .265, 1.55)
both;
animation-delay: 2400ms;
} @keyframes ashapura-rs-eyebrow {
from {
opacity: 0;
}
to {
opacity: 1;
}
} @keyframes ashapura-rs-heading {
0% {
opacity: 0;
transform: translateX(100%) skewX(-85deg);
}
100% {
opacity: 1;
transform: translateX(0) skewX(0);
}
} @keyframes ashapura-rs-description {
0% {
opacity: 0;
transform: translateX(100%) skewX(-45deg);
}
100% {
opacity: 1;
transform: translateX(0) skewX(0);
}
} @keyframes ashapura-rs-buttons {
0% {
opacity: 0;
transform: rotateY(360deg);
}
100% {
opacity: 1;
transform: rotateY(0);
}
} @media (max-width: 1024px) {
.ashapura-slider {
height: min(var(--ashapura-height, 800px), 760px);
min-height: 600px;
}
.ashapura-slide__content {
width: 82%;
padding-top: 65px;
}
.ashapura-slide__heading {
font-size: clamp(42px, 6vw, 62px);
max-width: 850px;
}
.ashapura-slide__description {
max-width: 680px;
}
.ashapura-slider__arrow--prev {
left: 15px;
}
.ashapura-slider__arrow--next {
right: 15px;
}
.ashapura-btn {
min-height: 58px;
min-width: 180px;
}
} @media (max-width: 767px) {
.ashapura-slider {
height: var(--ashapura-mobile-height, 620px);
min-height: 520px;
}
.ashapura-slide__image {
background-position: center center;
}
.ashapura-slide__shade {
background: rgba(0, 0, 0, .48);
}
.ashapura-slide__content {
width: 78%;
padding: 65px 0 75px;
justify-content: flex-start;
}
.ashapura-slide__eyebrow {
font-size: 15px;
margin-bottom: 15px;
}
.ashapura-slide__heading {
font-size: clamp(32px, 8.5vw, 46px);
line-height: 1.15;
letter-spacing: -.015em;
margin-bottom: 20px;
}
.ashapura-slide__description {
font-size: 15px;
line-height: 1.55;
margin-bottom: 22px;
}
.ashapura-slide__actions {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.ashapura-btn {
min-width: 175px;
min-height: 49px;
padding: 0 20px;
font-size: 14px;
}
.ashapura-slider__arrow {
top: 48%;
width: 36px;
height: 36px;
}
.ashapura-slider__arrow--prev {
left: 7px;
}
.ashapura-slider__arrow--next {
right: 7px;
}
.ashapura-slider__arrow span {
width: 9px;
height: 9px;
}
.ashapura-slider__arrow--prev span {
margin-left: 4px;
}
.ashapura-slider__arrow--next span {
margin-right: 4px;
}
.ashapura-slider__dots {
bottom: 22px;
gap: 8px;
}
.ashapura-slider__dot,
.ashapura-slider__dot.is-active {
width: 12px;
height: 12px;
}
} @media (max-width: 380px) {
.ashapura-slider {
height: 580px;
}
.ashapura-slide__content {
width: 76%;
padding-top: 55px;
}
.ashapura-slide__heading {
font-size: 31px;
}
.ashapura-slide__description {
font-size: 14px;
}
.ashapura-btn {
min-width: 155px;
min-height: 45px;
font-size: 13px;
}
} @media (prefers-reduced-motion: reduce) {
.ashapura-slider *,
.ashapura-slider *::before,
.ashapura-slider *::after {
animation: none !important;
transition: none !important;
}
.ashapura-slide.is-active
.ashapura-slide__eyebrow,
.ashapura-slide.is-active
.ashapura-slide__heading,
.ashapura-slide.is-active
.ashapura-slide__description,
.ashapura-slide.is-active
.ashapura-slide__actions {
opacity: 1 !important;
transform: none !important;
}
}