.scf-slider { position: relative; overflow: hidden; }
.scf-slider__wrapper { position: relative; }

/* Prevent flash-of-unstyled-content: hide until JS initializes the slider */
.scf-slider { opacity: 0; visibility: hidden; transition: opacity 320ms ease, visibility 0ms linear 320ms; }
.scf-slider.is-initialized { opacity: 1; visibility: visible; transition-delay: 0ms; }
.scf-slide { position: relative; }
.scf-slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.scf-slide__inner {
   position: absolute;
   left: 5%;
   bottom: 8%;
   z-index: 2;
   padding: 40px 24px;
   color: #fff;
   max-width: 52%;
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   justify-content: flex-end;
}
.scf-slide__title { font-size: 32px; margin: 0 0 10px; }
.scf-slide__subtitle { font-size: 14px; opacity: .9; margin-bottom: 8px; }
.scf-slide__content { font-size: 16px; max-width: 720px; }
.scf-slide__link {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   margin-top: 18px;
   padding: 1.35em 0.9em !important; /* vertical 1.35em, horizontal 0.9em */
   background: #0EB4F1;
   color: #ffffff;
   text-decoration: none;
   border: 1px solid #0EB4F1;
   border-radius: 10px;
   font-family: "Inter", Roboto, sans-serif;
   font-size: 16px;
   font-weight: 600;
}
.scf-slide__link:hover {
   background: #0ea1d7; /* user-specified hover */
   color: #ffffff;
   text-decoration: none;
}

/* If the link contains an Elementors icon span, ensure SVG size fits */
.scf-slide__link .elementor-button-icon,
.scf-slide__link .e-font-icon-svg,
.scf-slide__link svg {
   width: 16px;
   height: 16px;
   display: inline-block;
   color: #ffffff;
   fill: #ffffff;
}

/* Ensure paths inside SVG render white */
.scf-slide__link .elementor-button-icon svg path,
.scf-slide__link svg path {
   fill: #ffffff !important;
}

/* Pager (dots) styling: circles that morph to pill on active */
.scf-slider__pager {
   position: absolute;
   left: 50%;
   bottom: 18px;
   transform: translateX(-50%);
   z-index: 1;
   display: flex;
   gap: 8px;
   align-items: center;
   justify-content: center;
}
.scf-slider__pager .swiper-pagination-bullet {
   width: 10px;
   height: 10px;
   background: rgba(255,255,255,0.85);
   opacity: 1;
   border-radius: 50%;
   transition: width 360ms cubic-bezier(.2,.9,.2,1), background 360ms ease, border-radius 360ms ease;
   display: inline-block;
}
.scf-slider__pager .swiper-pagination-bullet-active {
   width: 34px;
   background: #ffffff;
   border-radius: 999px;
}

/* Responsive: reduce text size and widths on smaller screens */
@media (max-width: 1200px) {
   .scf-slide__inner { max-width: 60%; padding: 28px 20px; }
}
@media (max-width: 992px) {
   .scf-slider { --scf-slider-height: 70vh; }
   .scf-slide__inner { left: 4%; bottom: 6%; max-width: 70%; padding: 20px; }
   .scf-slide__title { font-size: 34px; }
}
@media (max-width: 767px) {
   .scf-slider { --scf-slider-height: 55vh; }
   .scf-slide__inner { position: absolute; left: 6%; right: 6%; bottom: 6%; max-width: none; padding: 16px; }
   .scf-slide__title { font-size: 24px; }
   .scf-slide__link { padding: 10px 14px; }
   .scf-slider__pager { bottom: 12px; }
}
.scf-slider__nav { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); pointer-events: none; }
.scf-slider__prev, .scf-slider__next { pointer-events: auto; }
.swiper-container { width: 100%; height: auto; }

/* Basic overlay style */
.scf-slide__overlay { position: absolute; inset: 0; z-index: 1;}

/* --- Wrapper-controlled slider height --- */
.scf-slider { --scf-slider-height: 100vh; }

.scf-slider__wrapper,
.swiper-container {
   height: var(--scf-slider-height) !important;
}

.scf-slider__wrapper .scf-slider__pager,
.scf-slider__wrapper .swiper-pagination {
   left: 50% !important;
   transform: translateX(-50%) !important;
   right: auto !important;
   width: auto !important;
   display: flex !important;
   justify-content: center !important;
   bottom: 30px;
}

.swiper-wrapper,
.swiper-slide,
.scf-slide {
   height: 100% !important;
}

@media (max-width: 1200px) {
   .scf-slider { --scf-slider-height: 80vh; }
}
@media (max-width: 992px) {
   .scf-slider { --scf-slider-height: 70vh; }
}
@media (max-width: 767px) {
   .scf-slider { --scf-slider-height: 75vh; }
}

.scf-slide__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,0.57); }
