.refinancing-work {padding: 50px 0 80px;}
.refinancing-work .title-block {text-align: center;}
.refinancing-work .title-gif {display: inline-flex;position: relative;}
.refinancing-work .step-block h3 {font-size: 24px; color: #434343;}
.refinancing-work .step-box.align-baseline { align-items: baseline;max-width: 826px; width: 100%;}
.refinancing-work .step-box.align-inherit { align-items: inherit;}
.refinancing-work .title-gif {display: inline-flex;position: relative;}
.refinancing-work .title-gif i.animated-img {position: absolute;}
.refinancing-work .title-gif i.animated-img img {max-width: 100%; display: block;}
.refinancing-work .title-gif i.animated-img.line-img {width: 140px;}
.refinancing-work .title-gif i.animated-img.curve-line-img {width: 127px;}
.refinancing-work .title-gif i.animated-img.curve-triple-img {width: 127px;}
.refinancing-work .title-gif i.animated-img.circle-curve-img {width: 100px;}

.refinancing-work h2 {font-size: 54px;}
.refinancing-work h2 span {color: #f90081;}
.refinancing-work .title-gif img {position: absolute;left: -61px;top: -64px;transform: scaleX(1);width: 118px;}
.refinancing-work .center-block {max-width: 826px; margin: 10px auto 0;}

.refinancing-work .title-gif.right i.animated-img.line-img {transform: rotate(55deg);}
.refinancing-work .title-gif.left i.animated-img.curve-line-img {transform: rotate(-6deg) scaleX(-1);}
.refinancing-work .title-gif.left i.animated-img.curve-triple-img {transform: rotate(-39deg);}
.refinancing-work .title-gif.right i.animated-img.curve-triple-img {transform: rotate(20deg);}
.refinancing-work .title-gif.left i.animated-img.circle-curve-img {transform: rotate(-52deg);}
.video-hide{
  display:none;
}

/* .video-block {border-radius: 27px; position: relative;} */
.video-block { border-radius: 27px; position: relative; max-height: 407px; max-width: 720px; width: 100%; margin: 0 auto;}
.video-block img {width: 100%;}
.video-block iframe {border-radius: 27px; max-height: 407px !important;   height: 100%;}
.step-block {display: flex; flex-wrap: wrap; justify-content: center; margin-top: 20px;}
.step-block .step-box {border-radius: 19px; padding: 16px 24px; box-shadow: 0 4px 4px rgba(0,0,0,.25); margin-top: 30px; display: flex; gap:0 20px;}
.step-block .step-box .no {width: 59px; height: 59px; min-width: 59px; border-radius: 100%; font-style: normal; display: flex; align-items: center; justify-content: center; font-family:Cosmica-SemiBold,sans-serif; font-size: 25px; font-weight: 600;} 
.step-block .step-box .no.pink {background-color:#FFEAF5; color:#F90081;}
.step-block .step-box .no.green {background-color:#E1F5D8; color:#5FC03B;}
.step-block .step-box .no.blue {background-color:#D5ECFE; color:#2A9CFC;}
.step-block .step-box .no.orange {background-color:#FFEBD4; color:#FD962E;}
.step-block .step-box p {margin-bottom: 15px;}
.step-block .step-box p:last-child {margin: 0;}
.step-block .button-global {font-size: 25px;height: 76px;line-height: 76px;margin-top: 47px;min-width: 355px;padding: 0;text-align: center;}
@media only screen and (max-width: 1440px) {
  .refinancing-work {padding: 50px 0 60px;}
}
@media only screen and (max-width: 1199px) {
  .refinancing-work h2 {font-size: 44px;}
  .refinancing-work .title-gif img {left: -46px;top: -55px;width: 100px;}
  .step-block .button-global {font-size: 18px;height: 57px;line-height: 57px;margin-top: 47px;min-width: 260px;}
  .step-block {margin-top: 0;}
  .step-block .step-box {padding: 10px 10px; gap:0 10px;}
  .step-block .step-box .no {width: 46px; height: 46px; min-width: 46px; font-size: 19px;}
}

@media only screen and (max-width: 991px) {
  .refinancing-work .title-gif {max-width: 320px;}
  .refinancing-work .title-gif i.animated-img.line-img {width: 100px;}
  .refinancing-work .title-gif i.animated-img.curve-line-img {width: 100px;}
  .refinancing-work .title-gif i.animated-img.curve-triple-img {width: 100px;}
  .refinancing-work .title-gif i.animated-img.circle-curve-img {width: 75px;}
  .refinancing-work .title-gif.left i.animated-img.circle-curve-img {transform: rotate(-52deg);}
}

@media only screen and (max-width: 767px) {
  .step-block .button-global {
    margin-top: 24px;
  }
  .refinancing-work .step-block .step-box {
    /*     margin-bottom: 30px; */
    /*     margin-top: 0px; */
  }
  /*   .refinancing-work .step-block .step-box:has(+ .button-global) {
  margin-bottom: 0;
} */
  .refinancing-work .step-block .step-box:first-child {
    margin-top: 0 !important;
  }
  .refinancing-work .center-block {margin: 0 auto;}
  .refinancing-work .container {padding-left: 0; padding-right: 0;}
  .refinancing-work h2 {font-size: 34px;}
  .refinancing-work h2 span {display: block; font-size: 34px;}
  .refinancing-work .title-gif img {left: -9px;top: -48px;width: 94px;}
  .refinancing-work .step-block h3 {
    font-size: 18px;
  }
  .refinancing-work .title-gif {
    max-width: 100%;
  }
}

.iframe_wrapper iframe {
  height: 400px !important;
}

/* new css */

@media(max-width:575px){
  .iframe_wrapper iframe {
    height: auto !important;
  }
}

@media (max-width:375px){
  .refinancing-work h2 {
    font-size: 30px;
  }
  .refinancing-work h2 span {
    font-size: 30px;
  }
}
}
/* end new css */