.media_full_width .video_file video {
  width: 100%;
  border-radius: 24px;
}


.img_with_text {
  position: relative;
  display: inline-block;
}

.image_s img {
  display: block;
  width: 100%;
  height: auto;
}

.text_over_img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 12px;
    padding: 224px 110px;
}
.img_with_text {
  height: 587px;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;

}
.text_over_img p {
  font-weight: 400;
  font-size: 20px;
  line-height: 105%;
  letter-spacing: 0%;
  text-align: center;
  margin: 0px;
}
.video_popup_sec .image img {
  max-height: 700px;
  object-fit: cover;
}
.heading_sec {
  text-align: center;
  margin-bottom: 30px;
}
.heading_sec p {
  font-weight: 400;`
  margin: 0px;
  text-transform: uppercase;
  font-size: 18px;
}
.media_full_width .p3-full-image-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 18px;
}
.media_full_width .p3-full-image-section img {
  height: 100%;
  left: 0;
  position: absolute;
  top: -90px;
  transform: scale(1.2) translateZ(0);
  transition: transform .2s ease-out;
  width: 100%;
  object-position: top;
  object-fit: cover;
  border-radius: 18px;
}
.media_full_width {
  position: relative;
}
.media_full_width:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  z-index: 9;
  border-radius: 18px;
  bottom: 0;
}

.desktop_img {
  display: block;
}

.mobile_img {
  display: none;
}

 @media screen and (max-width: 1024px) {
.media_full_width .p3-full-image-section {
    height: 55vh;
}
    #hs_cos_wrapper_widget_1743052316950 .media_full_width, 
   #hs_cos_wrapper_widget_1743052456815 .media_full_width, 
   #hs_cos_wrapper_module_1743052366624 .media_full_width{
    height: 80vh;
}

   .img_with_text {
    height: auto;
 
}

}

 @media screen and (max-width: 768px) {
#hs_cos_wrapper_widget_1743052316950 .media_full_width, 
   #hs_cos_wrapper_widget_1743052456815 .media_full_width, 
   #hs_cos_wrapper_module_1743052366624 .media_full_width {
    height: 58vh;
}
}

@media only screen and (max-width: 767px) {
  .media_full_width .p3-full-image-section {
    height: 40vh;
  }
  .media_full_width .p3-full-image-section img {
    position: unset;
    transform: none !important;
  }

  .text_over_img {
    padding: 150px;
}
  
}

@media only screen and (max-width: 550px) {
  .media_full_width .p3-full-image-section {
    height: 30vh;
}
     .text_over_img {
    padding: 100px !important;
}
  #hs_cos_wrapper_widget_1743052316950 .media_full_width, #hs_cos_wrapper_widget_1743052456815 .media_full_width, #hs_cos_wrapper_module_1743052366624 .media_full_width {
    height: 40vh;
}
}

@media only screen and (max-width: 430px) {
  #hs_cos_wrapper_widget_1743052316950 .media_full_width, #hs_cos_wrapper_widget_1743052456815 .media_full_width, #hs_cos_wrapper_module_1743052366624 .media_full_width {
    height: 32vh;
}
  
}

@media (max-width: 575px) {
  .desktop_img {
    display: none;
  }
  .mobile_img {
    display: block;
  }
}


@media (min-width: 320px) and (max-width: 380px) {
.media_full_width .p3-full-image-section {
    height: 25vh;
}
      .text_over_img {
    padding: 70px !important;
}
  #hs_cos_wrapper_widget_1743052316950 .media_full_width, #hs_cos_wrapper_widget_1743052456815 .media_full_width, #hs_cos_wrapper_module_1743052366624 .media_full_width {
    height: 28vh;
}

}
