section.details {
    background-color: #f3f7fd;
    text-align: center;
    padding-bottom: 20px;
}
.link-section{
    margin: 20px 20px;
}
.link-section2{
    margin: 15px 55px;
}
a.link-text {
    
    padding:20px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
}
section.details h2.head {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #707378;
    padding-top: 40px;
}

.details-block {
    width: 100%;
    height: 420px;
    display: flex;
    margin: 20px 0;
}

.details-block .img {
    min-width: 390px;
    max-width: 390px;
}

.details-block img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    z-index: 1;
}

.details-block .text {
    text-align: left;
    background-color: white;
    border-radius: 0 20px 20px 0;
    padding: 30px 44px 0 39px;
}

.details-block h3 {
    font-family: "Open Sans Bold", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    color: #40454b;
}

.details-block p {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.44;
    letter-spacing: normal;
    text-align: justify;
    color: rgba(0, 0, 0, 0.85);

}

.details-block .btn {
    border-radius: 25px;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.4px;
    color: #ffffff;
    padding: 6px 12px;
    margin: 14px 10px 0 0;
}

/*  Media Queries for mobile view start */
@media screen and (max-width: 767px){
   
.link-section2 {
   
    margin: -47px -1px 50px!important;
}
    
    
}
@media screen and (max-width: 767px){
    .link-section {
       
        margin: 0px -1px 50px!important;
    }
}

@media screen and (max-width: 846px){
.details .details-block .link-section a, .details .details-block .link-section2 a {
    display: block !important;
    text-align: left !important;
    font-size: 12px !important;
}
   .details-block .text {
    text-align: left;
    background-color: white;
    padding: 30px 44px 0 39px;
}  
.link-section3 {
    margin: -50px 0px;
}
}
@media screen and (max-width: 767px){
.details .details-block .link-section a, .details .details-block .link-section2 a {
    display: block !important;
    text-align: left !important;
    font-size: 18px !important;
}
    .details-block img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 1;
}

.details .details-block {
    height: auto !important; 
}
.details .details-block {
    display: block !important;
}
.details .details-block .img {
    min-width: 80% !important; 
    max-width: 100% !important; 
    height: 230px !important;
    padding-left: 20px;
    padding-right:20px;
    padding-bottom:20px;
    padding-top: 20px;
    background-color: white;
    border-radius: 20px 20px 0 0;
}
.details .details-block .text {
  text-align: center !important;
}
.home_details .details-block p {
    font-size: 16px;
}
.home_details .link-section a{
   text-align: center !important;
   float: none;
}

}
/* Media Queries for mobile view end */



@media (max-width: 1199px) {
   .details-block .text {
    text-align: left;
    background-color: white;
    padding: 30px 44px 0 39px;
}
    .details-block {
        height: 294px;
        margin: 30px 0 20px 0;
    }

    .details-block .img {
        min-width: 273px;
        max-width: 273px;
    }

    .details-block .img img {
        object-fit: cover;
    }

    .details-block .text {
        padding: 21px 31px 1px 27px;
    }
    .details-block .text1 {
        padding: 21px 31px 5px 27px;
    }

    .details-block h3 {
        font-size: 25px;
        color: #40454b;
    }

    .details-block p {
        font-size: 18px;
    }

    .details-block .btn {
        font-size: 13px;
        padding: 12px 47px;
        margin: 05px 28px 0 0;
    }
    
    
}

@media (max-width: 767px) {
    .details-block .text {
        border-radius: 0 0 20px 20px;
    }
}

/* Media Queries start for mobile view 1-09-22*/


@media screen and (max-width: 767px){
.details-block .img .mob_img{
    display: block!important;
    object-fit: cover;
}
.link-section3 {
    margin: 15px 0px;
}
}

/* Media Queries for mobile view end */


/* Media Queries start for desktop view 1-09-22*/

@media only screen and (min-width : 768px) {
.details-block .img .desk_img{
 display: block !important;
}
 .scroller {
     display:none;
 }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
  /* For landscape layouts only */
}



/*  Media Queries for Tablet view start */
@media screen and (min-width: 768px) and (max-width: 1000px) {
    
.details-block .link-section,.details-block .link-section2 {
    margin: 0px !important;
    display: inline-block;
}

.details .details-block .link-section a, .details .details-block .link-section2 a {
    display: inline-block !important;
    text-align: left !important;
    font-size: 10px !important;
}
.details-block p{
    margin-bottom: 0px !important;
}
    
}

@media screen and (min-width:768px) and (max-width:1200px) {
 
    .home_details .details-block {
        height: auto !important;
        margin: 15px 0 15px 0 !important;
     }
      .home_details .details-block p {
        font-size: 15px;
    }
    .home_details .details-block h3 {
        font-size: 20px;
        color: #40454b;
    }

}

