.hero-slider-wrapper,
.hero-slider-wrapper .swiper-slide {
  width: 100%;
  margin: auto;
  border-radius: 48px;
  overflow: hidden;
  margin-top: 0px !important;
}

.slide-image {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
}

.slide-image:before {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.slide-inner {
  display: flex;
  justify-content: flex-start;
  background: #fff;
  padding: 102px 48px 98px 48px;
  gap: 83px;
}

.slide-form {
  width: 37.9%;
  overflow: hidden;
  background: #fff;
  z-index: 1;
  border-radius: 24px;
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.1);
}

.slide-form h3 {
  margin-bottom: 27px;
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  color: #fff;
}

.slide-content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 46px;
}

.slide-content {
  width: 46%;
  position: relative;
  padding-top: 55px;
  padding-bottom: 110px;
}

.slide-content h2 {
  margin-bottom: 27px;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.22;
  color: #fff;
}

.form-element-field8 .customText-cover > .full a {
  width: 80px;
  height: 80px;
  display: inline-flex;
  background: #f7f7f7;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  color: #696665;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.form-element-field8 .absolute-false .full img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: all 0.1s ease-in-out;

}
.form-element-field8 .absolute-false .full .imgs-hover {
    display: none;
    opacity: 0;
}
.form-element-field8 .absolute-false .full a:hover .imgs-hover {
    display: block;
    opacity: 1;
}
.form-element-field8 .absolute-false .full a:hover .imgs-block  {
    display: none;
    opacity: 0;
}

.slide-form .form-element-field8 .absolute-false a:hover {
  background: #00bfff;
  color: #fff;
}

.slide-form .form-element-field8 .absolute-false .full p {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.slide-form .heading-cover span {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  vertical-align: middle;
  margin-bottom: 16px;
  color: #24272c;
}

.form-page-0 .customText-cover span {
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
}

.customText-cover span a {
  color: #00a8d0 !important;
}

.video-wrap {
  display: inline-flex;
  align-items: center;
  max-width: 200px;
  width: 100%;
  margin-left: 47px;
}

.video-btn {
  position: relative;
  width: 56px;
  height: 56px;
}

.video-wrap > p {
  margin-left: 40px;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 110.00000000000001%;
  margin-bottom: 0;
}

.video-btn i {
  font-size: 52px;
  background-color: #00bfff;
  color: #fff;
  border-radius: 100%;
}

/* Vòng tròn trắng bên ngoài */
.video-btn::before,
.video-btn::after {
  content: "";
  position: absolute;
  border: 8px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  opacity: 0;
  animation: ripple 2s infinite;
}

/* Vòng tròn thứ 2 lệch nhịp */
.video-btn::after {
  animation-delay: 1s;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-form .formcraft-css .fc-form {
  box-shadow: unset;
}

.form-cover input,
.form-cover textarea,
.form-cover select {
  padding: 16px 16px !important;
  border-radius: 14px !important;
  border: 1px solid #ededed !important;
  background-color: transparent !important;
  color: #696665 !important;
}
.form-cover input[type=checkbox]{
    padding: 10px !important;
    border-radius: 0px !important;
}
.form-element-type-checkbox .form-element-html {
    padding-bottom: 0 !important;
}

.formcraft-css input[type=checkbox], .formcraft-css input[type=radio] {
    padding: 10px !important;
}
html .formcraft-css .fc-form .form-element-type-fileupload .form-element-html {
    padding: 0 !important;
}
html .formcraft-css .fc-form .form-element .checkbox-cover>div label a {
    color: #00A8D0;
}
.slide-home .slide-form .fc-pagination-cover {
  display: none !important;
}

.slide-form .form-element-type-customText:first-child .customText-cover,
.slide-form .form-element-type-heading:first-child .heading-cover {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.slide-form .field-cover.customText-cover p {
  margin: 0 !important;
}

.slide-form .field-cover.heading-cover {
  padding: 0em 1.5em !important;
  padding-bottom: 0em !important;
}

.slide-form .prev-next > div span{
  padding: 14px 14px !important;
  text-transform: capitalize !important;
  letter-spacing: 0px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 140%;
  border-radius: 14px !important;
  opacity: 1 !important;
  background: #00a8d0 !important;
  color: #fff !important;
  transition: all 0.3s ease-in-out;
}
.slide-form .prev-next > div span:hover{
  background: #000000 !important;
}
.slide-form .formcraft-css .inactive.page-next ,
.slide-form .formcraft-css .inactive.page-prev {
    background: #ededed !important;
    color: #000000 !important;
    opacity: 0.5 !important;
    cursor: no-drop;
}

.slide-form .prev-next {
  letter-spacing: 0px !important;
  border-radius: 0px !important;
  box-shadow: unset !important;
  padding: 0px 30px 30px 30px !important;
  margin: 0 !important;
  border-radius: 14px !important;
}


.slide-form .formcraft-css .prev-next > div:last-child {
  border-left: 1px solid transparent !important;
}

.slide-form .formcraft-css .prev-next > div {
  width: 47.5% !important;
}

.slide-form .formcraft-css > .formcraft-icon {
  display: none !important;
}
html .formcraft-css .powered-by {
    display: none !important;
}

html
  .formcraft-css
  .fc-form
  .form-element
  .submit-cover.wide-true
  .submit-button {
  position: relative;
  padding: 14px 24px 14px 24px;
  background-color: #00a8d0;
  border-radius: 14px;
  display: inline-block;
  color: #ffff;
  outline: none;
  overflow: hidden;
  letter-spacing: 0px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
}

html .formcraft-css .fc-pagination .page-number {
  width: 80px;
  height: 80px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 100% !important;
  background: #f7f7f7;
  box-shadow: unset !important;
  font-size: 30px !important;
  line-height: 100%;
  color: #000000;
}

html .formcraft-css .fc-pagination > div.active .page-number {
  transform: scale(1) !important;
}

html .formcraft-css .fc-pagination .page-name {
  text-transform: capitalize !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 140% !important;
  color: #000000;
}

html .formcraft-css .fc-pagination > div.active .page-name {
  color: #000000 !important;
}

html .formcraft-css .fc-pagination > div {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
}
html .formcraft-css .fc-form .form-element .field-cover .formcraft-icon {
    line-height: 1.9em !important;
}
.formcraft-css
  .fc-form.fc-form-8
  .form-element
  .field-cover
  input[type="radio"] {
  padding: 10px !important;
}

.formcraft-css input[type="checkbox"]:before,
.formcraft-css input[type="radio"]:before {
  left: 9px !important;
  top: 9px !important;
  height: 5px !important;
  width: 10px !important;
  border-left: 2px solid #00a8d0 !important;
  border-bottom: 2px solid #00a8d0 !important;
}

.formcraft-css
  .fc-form.fc-form-8
  .form-element
  .field-cover
  input[type="radio"]:checked,
.formcraft-css
  .fc-form.fc-form-8
  .form-element
  .field-cover
  input[type="checkbox"]:checked {
  border-color: #0093b7 !important;
}

/* Pagination container */
.tf-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: absolute;
  bottom: 20% !important;
  left: 44% !important;
  z-index: 2;
  color: #fff;
  /* transform: translateX(-50%); */
}

.swiper-pagination {
  position: relative !important;
}

.swiper-pagination-bullet {
  opacity: 0.2 !important;
  width: 125px;
  height: 1px;
  background: #fff !important;
  margin: 0 2.5px !important;
  position: relative;
}
.swiper-pagination-bullet::before {
  content: '';
  width: 100%;
  height: 10px;
  background-color: transparent;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background-color: #fff !important;
}

.tf-slider-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  gap: 16px;
}

.tf-slider-progress .bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.tf-slider-progress .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  /* màu progress */
  transform-origin: left;
  transform: scaleX(1);
  transition: transform linear;
}

@media (max-width: 1280px) {
  .slide-inner {
    gap: 45px !important;
  }

  .slide-content {
    width: 60% !important;
  }

  .slide-form {
    width: 40% !important;
  }

  .swiper-pagination-bullet {
    width: 80px !important;
  }
}

@media (max-width: 1200px) {
  .slide-inner {
    gap: 40px !important;
    flex-direction: column;
  }

  .slide-content,
  .slide-form,
  .formcraft-css .fc-form.align-left {
    width: 100% !important;
  }

  .slide-content {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .tf-slider-controls {
    bottom: 4% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .slide-inner {
    padding: 70px 40px 150px 40px !important;
  }
}

@media (max-width: 767px) {
  .slide-inner {
    padding: 70px 15px 150px 15px !important;
  }

  .form-element-field8 .customText-cover > .full a {
    width: 60px !important;
    height: 60px !important;
  }

  .form-element-field8 .absolute-false .full a img {
    width: 30px !important;
    height: 30px !important;
  }

  html .formcraft-css .fc-pagination .page-number {
    width: 50px;
    height: 50px;
    font-size: 20px !important;
  }

  html .formcraft-css .fc-pagination .page-name {
    padding: 0px 17px;
  }

  .slide-form .heading-cover span {
    font-size: 25px !important;
  }
}

@media (max-width: 600px) {
  .slide-content h2 {
    margin-bottom: 10px;
    font-size: 35px;
  }

  html .formcraft-css .fc-form .form-element .form-element-html {
    margin-bottom: -15px !important;
  }

  .slide-form .heading-cover span {
    margin-bottom: 10px !important;
    display: block;
  }

  .swiper-pagination-bullet {
    width: 25px !important;
  }

  .video-wrap {
    display: none;
  }
}

html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-
  .is-required-true
  .field-cover.address-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-
  .is-required-true
  .field-cover.datepicker-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-
  .is-required-true
  .field-cover.dropdown-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-
  .is-required-true
  .field-cover.email-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-
  .is-required-true
  .field-cover.oneLineText-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-
  .is-required-true
  .field-cover.textarea-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-false
  .is-required-true
  .field-cover.address-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-false
  .is-required-true
  .field-cover.datepicker-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-false
  .is-required-true
  .field-cover.dropdown-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-false
  .is-required-true
  .field-cover.email-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-false
  .is-required-true
  .field-cover.oneLineText-cover::after,
html
  .formcraft-css
  .fc-form.label-placeholder.remove-asterisk-false
  .is-required-true
  .field-cover.textarea-cover::after {
  display: none !important;
}
html
  .formcraft-css
  .fc-form
  .form-element.error-field
  .form-element-html
  input[type="password"],
html
  .formcraft-css
  .fc-form
  .form-element.error-field
  .form-element-html
  input[type="tel"],
html
  .formcraft-css
  .fc-form
  .form-element.error-field
  .form-element-html
  input[type="text"],
html
  .formcraft-css
  .fc-form
  .form-element.error-field
  .form-element-html
  select,
html
  .formcraft-css
  .fc-form
  .form-element.error-field
  .form-element-html
  textarea {
  border-color: red !important;
}
