:root {
  --percent: 50%;
}
.enhanced-img-compare-container {
  position: relative;
  width: 600px;
  height: auto  ;
  margin: 20px auto;
  border-radius: 9px;
  overflow: hidden;
  user-select: none;
  touch-action: none; 
  max-width: 100%;
}
.enhanced-img-compare-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.img-after {
  clip-path: inset(0 0 0 var(--percent));
}

.img-before {
  clip-path: inset(0 calc(100% - var(--percent)) 0 0);
}

.enhanced-img-divider {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: white;
  left: var(--percent);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0px 4px 1px 0px rgba(0, 0, 0, 0.25);
}

.enhanced-img-handle {
  position: absolute;
  top: 50%;
  left: var(--percent);
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  cursor: ew-resize;
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.65);
  z-index: 3;
}

.enhanced-img-label {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 17px;
  font-size: 11px;
  font-family: Montserrat-Regular; 
  color: white;
  background: #00000080;
  border-radius: 34px;
  line-height: 100%;
  z-index: 4;
  padding: 2px 8px;
  height: 30px;
  width: 75px;
  backdrop-filter: blur(12px)
}

.label-before {
  left: 10px;
  bottom: 10px;
}
.label-after {
  right: 10px;
  bottom: 10px;
  background: #005FE5;
  border: 1px solid #FFFFFF;
  font-family: Montserrat-Bold; 
}

.upload-box {
  background-color: #fff;
  border: 1px dashed #575D68;
  background-color: #F2F3F4;
  border-radius: 10px;
  padding: 29px 48px 34px;
  width: 100%;
  max-width: 100%;
  height: 192px;
}
.upload-box:hover{
  background-color: #E2E4E6;
}
.upload-img-icon {
  width: 400px;
  height: 56px;
  background-color: #0069ff;
  box-shadow: 1px 1px 3px 0px #0000004D;
  border-radius: 6px;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}
.upload-image-text {
  font-family: "Montserrat-Bold";
  font-size: 21px;
  line-height: 25.6px;
  color: #FFFFFF;
  margin-left: 11px;
}
.drop-img {
  font-family: "Montserrat-Medium";
  font-size: 20px;
  color: #575D68;
  line-height: 26.82px;
  margin-top: 25px;
}

.hidden {
  display: none;
}
.ai-flyer-stepper{
  margin-top:0px !important;
  padding:50px 0;
}
.steper-line.short {
  position: absolute;
  height: 690px;
  width: 3px;
  background: #0069ff;
  border-radius: 50px;
  margin: auto;
  top: 115px;
  left: 49%;
}
.ef-card6{
  border: 2px solid rgba(255, 255, 255, 0);
  background-color: #E3FFFE;
  border-radius: 10px;
}
.ef-card6:hover{
  border: 2px solid #027C78!important;
}
.fm-card-feature-benefit{
  font-family:Montserrat-Bold;
  font-size:20px;
  color:#575D68;
  margin: 0;
  margin-top:12px ;
}
.fm-card-feature-benefit-2{
  font-family:Montserrat-SemiBold;
  font-size:16px;
  padding: 7px 10px;
  border-radius: 5px;
  margin-top:12px ;
  display: inline-block;
}
.ai-bg-rm-card {
  min-height: 400px;
  max-height: 520px;
}
.policy-text {
  color:#575D68;
  font-size: 14px;
  line-height: 17.07px;
  font-family: "Montserrat-Regular";
  margin-top: 15px;
}
@media screen and (max-width: 1300px) {
  .upload-box {
    padding: 20px 20px 25px;
    height: auto;
  }
  .benefits-sec{
    margin-top: 20px !important;
  }
}

@media screen and (max-width: 992px) {
  .steper-line.short {
    height: 650px;
  }
  .upload-box {
    padding: 10px;
  }
  .drop-img{
    font-size: 17px;
  }
  .upload-img-icon{
    width: 340px;
  }
  .poster-title{
    font-size: 32px !important;
  }
  .poster-subtitle{
    font-size: 17px !important;
    margin: 0 auto 15px !important;
  }
}
@media screen and (max-width: 900px) {
  .upload-box {
    background: transparent;
    border: none;
    margin: 0 !important;
    padding: 0 !important;
  }
  .drop-img{
    display: none;
  }
  .upload-img-icon{
    margin-top: 30px;
    max-width: 100%;
  }
}
@media screen and (max-width: 913px) {
  .steper-line.short {
    height: 597px;
  }
}
@media screen and (max-width: 767px) {
  .ai-bg-rm-card {
    max-width: none;
    max-height: 414px !important;
    min-height: 280px !important;
    width: auto;
  }
  .enhanced-img-compare-container{
    max-width: 600px;
    margin:0;
  }
  .poster-subtitle,.policy-text{
    text-align: center !important; 
  }
}
@media screen and (width: 768px) {
  .steper-line.short {
    height: 712px !important;
    top: 40px;
  }
}

@media screen and (max-width: 825px)  {
  .steper-line.short {
      height: 654px;
  }
}

@media screen and (max-width: 450px) {
  .ai-bg-rm-card {
    max-width: none;
    max-height: 500px !important;
    min-height: 280px !important;
    width: auto;
  }
  .sec-first-button-svg{
    margin: 0px !important;
  }
}