@media screen and (min-width:2651px){
    .thankyou_contact::before{
        max-width: 44%;
    }
}
@media screen and (min-width: 1920px) {
    .thankyou_contact::before {
        max-width: 40%;
    }
}
@media screen and (max-width:1600px){
    /* Thankyou Page Css Start  */
    .thankyou_contact::before {
        max-width: 600px;
        max-height: 550px;
    }
    .thankyou_contact .thankyou_details .thankyou_img {
        max-width: 500px;
    }
}
@media screen and (max-width:1200px){
    /* common Css Start  */
    .common_gray_btn {
        font-size: 14px;
        margin-top: 30px;
    }
    /* common Css End  */
    /* Home Page Css Start  */
    .hero_sec .hero_inner .interm_img {
        height: 80vh;
    }
    .hero_contact::before {
        max-width: 600px;
        max-height: 450px;
    }
    .testimonials_sec .testimonials_slider .slide_item .banner_contact {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        padding: 30px 0px 0px;
    }
    .testimonials_sec .testimonials_slider .slide_item .banner_contact::before {
       top: 10px;
        left: -40px;
    }
    /* interest Page Css Start  */
    .interest_sec .interest_inner .interest_img {
        background-color: #706f6e;
        height: 80vh;
        -webkit-clip-path: ellipse(56% 65% at 65% 30%);
                clip-path: ellipse(56% 65% at 65% 30%);
        position: relative;
    }
    .interest_contact::before {
        max-width: 400px;
        max-height: 600px;
    }
    .interest_contact::after {
        width: 100%;
        max-width: 550px;
    }
    .interest_contact .interest_details .sign_form .form-group .form-control {
        height: 50px;
    }
    .interest_contact .interest_details .sign_form .form-group textarea.form-control {
        height: auto;
    }
    .interest_contact .interest_details .sign_form .form-check .form-check-label {
        margin-left: 8px;
        font-size: 14px;
    }
    /* Thankyou Page Css Start  */
    .thankyou_contact::before {
        max-width: 500px;
        max-height: 500px;
        -webkit-clip-path: ellipse(80% 75% at 20% 80%);
                clip-path: ellipse(80% 75% at 20% 80%);
    }


}
@media screen and (max-width:991px){
    .main_title {
        font-size: 50px;
        line-height: 75px;
    }
    .main_title_text {
        font-size: 40px;
        line-height: 45px;
    }
    /* Home Page Css Start  */
    .hero_sec .hero_inner .interm_img {
        height: 70vh;
    }
    .feedback_sec .feedback_contact .freedback_img img {
        height: 500px;
        margin: 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -o-object-fit: contain;
           object-fit: contain;
    }
    .feedback_sec .feedback_contact .freedback_img {
        width: 100%;
        padding-right: 0;
    }
    .testimonials_sec .testimonials_slider .slide_item .banner_contact {
        width: 100%;
        max-width: 100%;
        padding: 30px 70px 0px;
    }
    .testimonials_sec .testimonials_slider .slide_item .banner_contact::before{
        left: 30px;
        top: 10px;
        max-width: 50px;
        height: 50px;
    }
    .testimonials_sec .testimonials_slider .slick-prev {
        left: 15px;
        -webkit-transform: translate(-40px);
            -ms-transform: translate(-40px);
                transform: translate(-40px);
    }
    .testimonials_sec .testimonials_slider .slick-next {
        right: 15px;
        -webkit-transform: translate(40px);
            -ms-transform: translate(40px);
                transform: translate(40px);
    }
    /* interest Page Css Start  */
    .interest_sec .interest_inner .interest_img{
        height: 70vh;
    }
    .interest_contact::before {
        max-width: 700px;
        max-height: 600px;
    }
    /* Thankyou Page Css Start  */
    .thankyou_contact::before {
        max-width: 100%;
        max-height: 500px;
    }
    .thankyou_contact .thankyou_details .thankyou_img {
        width: 100%;
        max-width: 400px;
        margin: 0px auto;
    }
    .interest_contact .imphmlogo_grid{
        position: unset;
        max-width: 100%;
    }
    /* feedback*/
    .feedback_section .feedback_inner .feedback_form .form-group .form-label {
        font-size: 18px;
        padding-right: 20px;
    }
    /*footer*/
    .footer ul.footer_link {
        list-style: none;
        margin: 0;
        padding: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        gap: 10px;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        color: #ffffff;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    .footer p{
        text-align: center;
    }
}
@media screen and (max-width:767px){
    .main_title{
        font-size: 25px;
        line-height: 1.4;
    }
    .common_title{
        font-size: 22px;
    }
    .container{
        padding-left: 28px;
        padding-right: 28px;
    }
    .common_text{
        font-size: 17px;
    }
    .main_header{
        padding: 5px 0 ;
    }
    .main_header img.img-fluid{
        max-width: 60px;
    }
    .main_header .header_text{
        font-size: 18px;
        font-weight: 500;
        color: #000000;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;

    }
    .main_header .header_text span {
        font-family: 'futura_lightregular';
        font-size: 11px;
        font-weight: 500;
        display: inline-block;
        position: absolute;
        top: 4px;
        right: -2px;
    }
    .main_header .container{
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Home Page Css Start  */
    .hero_contact{
        padding: 40px 0px;
    }
    .hero_sec .hero_inner{
        border-bottom-left-radius: 45px;
        border-bottom-right-radius: 45px;
        overflow: hidden;
    }
    .hero_sec .hero_inner .interm_img video{
        border-bottom-left-radius: 45px;
        border-bottom-right-radius: 45px;
        overflow: hidden;
    }
    .hero_sec .hero_inner .text-section{
        z-index: 1;
        -webkit-transform: translate(0px, 0px);
            -ms-transform: translate(0px, 0px);
                transform: translate(0px, 0px);
        left: 0;
        right: 0;
        top: unset;
        bottom: 0;
        padding: 10px;
    }
    .hero_sec .hero_inner .interm_img {
        height: max(45vh , 250px);
        -webkit-clip-path: unset;
                clip-path: unset;
        position: relative;
    }
    .hero_contact::before{
        max-width: 80%;
        max-height: 304px;
    }
    .testimonials_slider .slick-prev {
        left: 35px;
        -webkit-transform: translate(-40px);
            -ms-transform: translate(-40px);
                transform: translate(-40px);
    }
    .testimonials_slider .slick-next {
        right: 35px;
        -webkit-transform: translate(40px);
            -ms-transform: translate(40px);
                transform: translate(40px);
    }
  
    /* interest Page Css Start  */
    .interest_contact .imphm_logo{
        width: 90px;
    }
    .feedback_sec{
        padding: 40px 0;
    }
    .interest_sec .interest_inner .interest_img {
        background-color: #706f6e;
        height: max(45vh , 250px);
        -webkit-clip-path: unset;
                clip-path: unset;
        position: relative;
        border-bottom-left-radius: 45px;
        border-bottom-right-radius: 45px;
        overflow: hidden;
    }
    .interest_sec .interest_inner .text-section {     
        z-index: 1;
        padding: 0;       
        -webkit-transform: translate(0, 0);       
            -ms-transform: translate(0, 0);       
                transform: translate(0, 0);
        left: 0;
        top: unset;
        bottom: 20px;
    }

    /*testimonial*/
    .main_title_text{
        font-size: 22px;
        line-height: 1.2;
    }
    .testimonials_sec .testimonials_slider .slide_item .banner_contact .common_text{
        font-size: 15px;
    }
    .testimonials_sec .testimonials_slider .slide_item .banner_contact{
        padding: 0px 44px 0px;
    }
    .testimonials_sec .testimonials_slider .slide_item .banner_contact::before{
        display: none;
    }
    .testimonials_sec .slick-dots{
        bottom: 0;
    }
    .testimonials_sec .slick-dots li{
        width: auto;
        height: auto;
        margin: 0;
    }
    .testimonials_sec .testimonials_slider .slick-prev,
    .testimonials_sec .testimonials_slider .slick-next{
        width: 35px;
        height: 35px;
    }
    .testimonials_sec .testimonials_slider .slick-prev.slick-arrow:before,
    .testimonials_sec .testimonials_slider .slick-next.slick-arrow:before{
        font-size: 15px;

    }
    .testimonials_sec .testimonials_slider .slick-prev {
        left: 40px;
        -webkit-transform: translate(-40px);
            -ms-transform: translate(-40px);
                transform: translate(-40px);
        top: 10%;
    }
    .testimonials_sec .testimonials_slider .slick-next {
        right: 40px;
        -webkit-transform: translate(40px);
            -ms-transform: translate(40px);
                transform: translate(40px);
        top: 10%;
    }
    .testimonials_sec .slick-dots li button{
        width: auto;
        height: auto;
    }
    .testimonials_sec .testimonials_slider .slick-dots li button:before{
        font-size: 22px;
        width: auto;
        height: auto;
        color: #ffffff;
    }
    .testimonials_sec.bg_light_pink::before{
        width: 150px;
        height: 130px;
        opacity: 1;
    }
    /*Footer*/
    .footer{
        border-bottom: 6px solid #e5a9b1;
    }
    .footer .brand_logo img{
        width: 60px;
    }
    .footer p{
        font-size: 11px !important;
    }
    .footer ul.footer_link li{
        font-size: 12px;
    }
    .footer ul.footer_link li:nth-child(n+2){
        padding-left: 18px;
        margin-left: 10px;
    }

    /*Intrest*/
    .interest_contact{
        padding: 40px 0;
    }
    .interest_contact .imphmlogo_grid{
        display: -ms-grid !important;
        display: grid !important;
    }
    .interest_contact .imphm_logo{
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
    }
    .interest_contact .common_text{
        font-size: 17px !important;
    }
    .interest_contact .common_gray_btn{
        width: 100% !important;
        max-width: 85%;
        text-align: center;   
    }
    .interest_testimonial .slick-dots{
        bottom: -20px;
    }
    .testimonials_sec .testimonials_slider .slick-dots li button:before{
        color: #d6a1a7;
        opacity: 0.5;
    }
    .interest_contact::before {
        max-width: 70%;
        max-height: 345px;
    }
    .interest_contact::after{
        display: none;
    }
    .thankyou_contact .thankyou_details .thankyou_text{
        font-size: 35px;
    }
    .thankyou_contact{
        padding-top: 40px;
        padding-bottom: 0;

    }
    .thankyou_contact .thankyou_details .thankyou_img{
        max-width: 285px;
        margin: unset;
    }   
    .thankyou_contact::before {
        max-width: 80%;
        max-height: 365px;
    }
    /*Thankyou feedback*/
    .thankyou_feedback{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .thankyou_feedback::before{
        display: none;
    }
    .thankyou_feedback .common_title{
        font-size: 26px;
    }
    /* feedback*/
    .feedback_section .feedback_inner .common_text {
        font-size: 18px;
    }
    .feedback_section .feedback_inner .feedback_form .form-group{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .feedback_section .feedback_inner .feedback_form .form-group .form-label
     { padding-right: 0px; font-size: 16px; margin-bottom: 10px; }
    .feedback_section::after{
        content: "";
        display: none;
    }
    .feedback_section .feedback_inner .feedback_form .form-group textarea.form-control{
        min-height: 100px;
    }
    .feedback_section .feedback_inner .feedback_form .common_gray_btn{
        width: 100%;
        max-width: 80%;
        text-align: center;
        margin-top: 50px !important;
        margin-left: 0px;
    }
}

@media screen and (max-width:480px){
    .common_gray_btn {
        font-size: 14px;
        max-width: 90%;
        margin: 30px auto 0px;
        text-align: center;
    }
    .main_header .header_text{
        padding-left: 30px;
    }
    .testimonials_sec .testimonials_inner .common_gray_btn{
        max-width: -webkit-fit-content;
        max-width: -moz-fit-content;
        max-width: fit-content;
    }
}