@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&display=swap');

/* =============================================
   CRITICAL: Force Elementor to NOT clip our widget
   This is what hides the progress bar in editor
   ============================================= */
.elementor-widget-aps_process_slider,
.elementor-widget-aps_process_slider > .elementor-widget-container,
.elementor-widget-aps_process_slider .elementor-widget-container,
[data-widget_type="aps_process_slider.default"],
[data-widget_type="aps_process_slider.default"] > .elementor-widget-container {
  overflow: visible !important;
}

/* ===== VARIABLES ===== */
.aps-wrap {
  --c1: #2FA4E7;
  --c2: #0F4C81;
  --c3: #1F6FB2;
  --c4: #6EC1F3;
  --bg: #B0BEC5;
  --panel: rgba(55,71,79,0.92);
  --wh: #fff;
  --tx: #ddd;
  --ff: 'Lexend', sans-serif;
}
.aps-wrap, .aps-wrap * { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== SECTION ===== */
.aps-wrap {
  background: var(--bg);
  padding: 80px 40px 60px;
  font-family: var(--ff);
  overflow: visible !important;
}

/* ===== HEADER ===== */
.aps-hd { text-align: center; margin-bottom: 50px; }
.aps-tag {
  display: inline-block;
  font-family: var(--ff);
  font-size: 13px; font-weight: 600;
  letter-spacing: 3px; color: var(--c2);
  text-transform: uppercase; margin-bottom: 10px;
}
.aps-h2 {
  font-family: var(--ff) !important;
  font-size: 48px !important; font-weight: 800 !important;
  color: #263238 !important;
  margin: 0 0 8px !important; padding: 0 !important;
  line-height: 1.1 !important;
}
.aps-sub {
  font-family: var(--ff);
  font-size: 16px; font-weight: 500;
  color: var(--c1); margin: 0; letter-spacing: .5px;
}

/* ===== SLIDER BOX ===== */
.aps-box {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* ===== SLIDES ===== */
.aps-s {
  display: flex !important;
  flex-direction: row !important;
  width: 100%;
  opacity: 0; visibility: hidden;
  position: absolute; top: 0; left: 0; z-index: 1;
}
.aps-s.on {
  opacity: 1; visibility: visible;
  position: relative; z-index: 5;
}

/* Animations */
.aps-s.entering {
  position: absolute !important; z-index: 10;
  animation-duration: .6s;
  animation-timing-function: cubic-bezier(.4,0,.2,1);
  animation-fill-mode: forwards;
}
.aps-s.entering.er { animation-name: apsIR; }
.aps-s.entering.el { animation-name: apsIL; }
.aps-s.exiting {
  position: absolute !important; z-index: 8;
  animation-duration: .6s;
  animation-timing-function: cubic-bezier(.4,0,.2,1);
  animation-fill-mode: forwards;
}
.aps-s.exiting.xl { animation-name: apsOL; }
.aps-s.exiting.xr { animation-name: apsOR; }

@keyframes apsIR { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:translateX(0)} }
@keyframes apsIL { from{opacity:0;transform:translateX(-60px)} to{opacity:1;transform:translateX(0)} }
@keyframes apsOL { from{opacity:1;transform:translateX(0)} to{opacity:0;transform:translateX(-60px)} }
@keyframes apsOR { from{opacity:1;transform:translateX(0)} to{opacity:0;transform:translateX(60px)} }

/* Fade */
.aps-wrap[data-anim="fade"] .aps-s.entering { animation-name: apsFI !important; }
.aps-wrap[data-anim="fade"] .aps-s.exiting  { animation-name: apsFO !important; }
@keyframes apsFI { from{opacity:0} to{opacity:1} }
@keyframes apsFO { from{opacity:1} to{opacity:0} }

/* ===== IMAGE HALF ===== */
.aps-img {
  width: 50%; flex: 0 0 50%;
  position: relative; overflow: hidden;
}
.aps-img img {
  display: block; width: 100%; height: 100%;
  min-height: 450px; object-fit: cover;
}

/* ===== CONTENT HALF ===== */
.aps-cnt {
  width: 50%; flex: 0 0 50%;
  position: relative;
  background: var(--panel);
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}

/* Watermark */
.aps-wm {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--ff); font-size: 100px; font-weight: 900;
  color: rgba(255,255,255,.04);
  text-transform: uppercase; line-height: .9;
  text-align: center; white-space: nowrap;
  pointer-events: none; letter-spacing: 4px;
  z-index: 0; user-select: none;
}

/* Badge */
.aps-badge {
  position: relative; z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c4));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff); font-size: 22px; font-weight: 700;
  color: var(--wh); margin: 0 0 20px; padding: 0;
  box-shadow: 0 4px 20px rgba(47,164,231,.4);
  line-height: 1; flex-shrink: 0;
}

/* Step Title */
.aps-stitle {
  position: relative; z-index: 2;
  font-family: var(--ff) !important;
  font-size: 52px !important; font-weight: 900 !important;
  color: var(--c1) !important;
  margin: 0 0 16px !important; padding: 0 !important;
  letter-spacing: 2px !important; line-height: 1 !important;
  text-transform: uppercase;
}

/* Description */
.aps-desc {
  position: relative; z-index: 2;
  font-family: var(--ff); font-size: 15px; font-weight: 400;
  color: var(--tx); line-height: 1.75;
  margin: 0; padding: 0; max-width: 480px;
}

/* ===== ARROWS ===== */
.aps-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--wh);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s ease;
  outline: none; padding: 0; line-height: 0;
}
.aps-arr:hover {
  background: var(--c1); border-color: var(--c1);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(47,164,231,.5);
}
.aps-arr:active { transform: translateY(-50%) scale(.96); }
.aps-arr.prev { left: 16px; }
.aps-arr.next { right: 16px; }

/* ===== PROGRESS BAR ===== */
.aps-prog {
  position: relative;
  max-width: 1000px;
  margin: 48px auto 0;
  padding: 0 30px;
  height: 48px;
  overflow: visible !important;
}

.aps-track {
  position: absolute;
  top: 50%; left: 30px; right: 30px;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(255,255,255,.35);
  border-radius: 4px;
  overflow: hidden;
  z-index: 1;
}
.aps-fill {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--c1), var(--c4));
  border-radius: 4px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(47,164,231,.4);
}

.aps-dots {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  align-items: center; height: 100%;
}

.aps-dot {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.4);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative; outline: none; padding: 0;
}
.aps-dot span {
  font-family: var(--ff);
  font-size: 16px; font-weight: 700;
  color: #546E7A; line-height: 1;
  transition: all .3s ease;
}

/* Completed */
.aps-dot.done {
  border-color: var(--c1);
  background: var(--c1);
  box-shadow: 0 2px 12px rgba(47,164,231,.3);
}
.aps-dot.done span { color: var(--wh); }

/* Active */
.aps-dot.act {
  border-color: var(--c1);
  background: linear-gradient(135deg, var(--c1), var(--c4));
  transform: scale(1.18);
  box-shadow: 0 4px 20px rgba(47,164,231,.5);
}
.aps-dot.act span { color: var(--wh); font-weight: 800; }
.aps-dot.act::after {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid var(--c1);
  opacity: 0; animation: apsPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes apsPulse {
  0%,100% { opacity:0; transform:scale(1); }
  50% { opacity:.4; transform:scale(1.15); }
}

.aps-dot:hover:not(.act) {
  border-color: var(--c1);
  background: rgba(47,164,231,.15);
  transform: scale(1.08);
}
.aps-dot:hover:not(.act) span { color: var(--c2); }

/* ===== CTA ===== */
.aps-cta { text-align: center; margin-top: 48px; }
.aps-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff); font-size: 14px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--wh) !important;
  background: linear-gradient(135deg, var(--c2), var(--c3)) !important;
  text-decoration: none !important;
  padding: 16px 40px; border-radius: 50px;
  transition: all .3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(15,76,129,.3);
  border: none; cursor: pointer;
}
.aps-btn:hover {
  background: linear-gradient(135deg, var(--c3), var(--c1)) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15,76,129,.4);
  color: var(--wh) !important;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .aps-wrap{padding:60px 24px 50px}
  .aps-s{flex-direction:column!important}
  .aps-img{width:100%!important;flex:none!important;height:300px}
  .aps-img img{min-height:300px}
  .aps-cnt{width:100%!important;flex:none!important;padding:36px 32px}
  .aps-wm{font-size:60px}
  .aps-badge{width:52px;height:52px;font-size:20px;margin-bottom:16px}
  .aps-stitle{font-size:38px!important}
  .aps-desc{font-size:14px}
  .aps-arr{width:42px;height:42px}
  .aps-arr.prev{left:10px}.aps-arr.next{right:10px}
}
@media(max-width:768px){
  .aps-wrap{padding:50px 16px 40px}
  .aps-hd{margin-bottom:36px}
  .aps-h2{font-size:34px!important}
  .aps-box{border-radius:12px}
  .aps-img{height:220px}.aps-img img{min-height:220px}
  .aps-cnt{padding:28px 24px}
  .aps-wm{font-size:44px}
  .aps-badge{width:46px;height:46px;font-size:18px;margin-bottom:12px}
  .aps-stitle{font-size:30px!important;letter-spacing:1px!important}
  .aps-desc{font-size:13px;line-height:1.7}
  .aps-arr{width:36px;height:36px}
  .aps-arr svg{width:18px;height:18px}
  .aps-prog{margin-top:32px;padding:0 16px}
  .aps-dot{width:38px;height:38px}.aps-dot span{font-size:14px}
  .aps-cta{margin-top:36px}
  .aps-btn{padding:14px 32px;font-size:13px}
}
@media(max-width:480px){
  .aps-img{height:180px}.aps-img img{min-height:180px}
  .aps-cnt{padding:24px 20px}
  .aps-wm{font-size:36px}
  .aps-badge{width:42px;height:42px;font-size:16px}
  .aps-stitle{font-size:26px!important}
  .aps-desc{font-size:12.5px}
  .aps-dot{width:34px;height:34px}.aps-dot span{font-size:13px}
  .aps-track{height:3px}
}
