/* Media Queries  */

@media screen and (max-width: 1440px){
    

    .our_specialties_section .our_specialties_right_shape {
        top: 110px;
    }

   
}

@media screen and (max-width: 1199px){
    

    .our_specialties_section {
        padding: 95px 0 75px;
    }
    .our_specialties_heading_content h5 {
        margin-bottom: 8px;
    }
    .our_specialties_heading_content h2 {
        margin-bottom: 15px;
    }
    .our_specialties_heading_content p {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .specialties_content {
        margin-bottom: 42px;
    }
    .s1 {
        padding-right: 10px;
    }
    .specialties_content .specialties_name {
        font-size: 16px;
        line-height: 22px;
    }
    .specialties_content .specialties_paragraph {
        font-size: 16px;
        line-height: 20px;
    }
    .s1::after {
        right: -70px;
    }
    .specialties_content::after {
        height: 65px;
        width: 65px;
        font-size: 38px;
        line-height: 56px;
    }
    .s2 {
        padding-right: 45px;
    }
    .s3 {
        padding-right: 45px;
    }
    .s4::after {
        right: -65px;
    }
    .specialties_left_line img {
        height: 380px;
    }
    .s5 {
        padding-left: 10px;
    }
    .s5::after {
        left: -70px;
    }
    .s6 {
        padding-left: 48px;
    }
    .s6::after {
        left: -28px;
    }
    .s7 {
        padding-left: 48px;
    }
    .s7::after {
        left: -28px;
    }
    .s8 {
        padding-left: 24px;
    }
    .s8::after {
        left: -65px;
    }
    .specialties_right_line img {
        height: 380px;
    }
    .our_specialties_section .our_specialties_right_shape {
        top: 115px;
    }
    .our_specialties_section .our_specialties_right_shape img {
        width: 240px;
    }

    
}

@media screen and (max-width: 991px){
    

    .our_specialties_section {
        padding: 65px 0 25px;
    }
    .our_specialties_heading_content h5 {
        margin-bottom: 5px;
    }
    .our_specialties_heading_content h2 {
        margin-bottom: 12px;
    }
    .our_specialties_heading_content p {
        margin-bottom: 25px;
        padding: 0;
    }
    .s1 {
        padding-top: 15px;
    }
    .s1::after {
        top: 15px;
    }
    .specialties_content::after {
        height: 60px;
        width: 60px;
        font-size: 36px;
        line-height: 52px;
    }
    .s5 {
        padding-top: 15px;
    }
    .s5::after {
        top: 15px;
    }
    .specialties_left_line {
        top: 30px;
    }
    .specialties_left_line img {
        height: 370px;
    }
    .specialties_right_line {
        top: 30px;
    }
    .specialties_right_line img {
        height: 370px;
    }
    .our_specialties_section .specialties_image{
        padding-top: 60px;
    }
    .our_specialties_section .our_specialties_right_shape {
        top: 50px;
    }
    .our_specialties_section .our_specialties_right_shape img {
        width: 150px;
    }

    
}

@media screen and (max-width: 767px){
   
    
    .our_specialties_section {
        padding: 55px 0 30px;
    }
    .our_specialties_heading_content h2 {
        margin-bottom: 8px;
    }
    .our_specialties_heading_content p {
        margin-bottom: 20px;
    }
    .s1 {
        padding-top: 0;
        padding-right: 0;
    }
    .specialties_content {
        margin-bottom: 25px;
        text-align: left;
        padding-left: 42px;
    }
    .specialties_content::after {
        height: 55px;
        width: 55px;
        font-size: 32px;
        line-height: 45px;
    }
    .s1::after {
        top: 0;
        right: unset;
        left: -22px;
    }
    .s2 {
        padding-right: 0;
    }
    .s2::after {
        top: 0;
        right: unset;
        left: -22px;
    }
    .s3 {
        padding-right: 0;
    }
    .s3::after {
        top: 0;
        right: unset;
        left: -22px;
    }
    .s4 {
        padding-right: 0;
    }
    .s4::after {
        top: 0;
        right: unset;
        left: -22px;
    }
    .specialties_left_line {
        display: none;
    }
    .s5 {
        padding-top: 0;
    }
    .s5::after {
        top: 0;
        left: -22px;
    }
    .s6::after {
        left: -22px;
    }
    .s7::after {
        left: -22px;
    }
    .s8::after {
        left: -22px;
    }
    .specialties_right_line {
        display: none;
    }
    .our_specialties_section .our_specialties_right_shape {
        top: 35px;
    }
    .our_specialties_section .our_specialties_right_shape img {
        width: 95px;
    }

   
}

 @media screen and (max-width: 575px){
    

    .our_specialties_section {
        padding: 55px 0 35px;
    }
    .our_specialties_heading_content p {
        margin-bottom: 20px;
    }
    .specialties_content {
        margin-bottom: 22px;
        padding-left: 55px;
    }
    .specialties_content .specialties_name {
        font-size: 14px;
        line-height: 20px;
    }
    .specialties_content .specialties_paragraph {
        font-size: 14px;
        line-height: 18px;
    }
    .specialties_content::after {
        height: 45px;
        width: 45px;
        font-size: 26px;
        line-height: 34px;
    }
    .s1::after {
        left: 0;
    }
    .s2::after {
        left: 0;
    }
    .s3::after {
        left: 0;
    }
    .s4::after {
        left: 0;
    }
    .s5::after {
        left: 0;
    }
    .s6::after {
        left: 0;
    }
    .s7::after {
        left: 0;
    }
    .s8::after {
        left: 0;
    }
    .our_specialties_section .our_specialties_right_shape img {
        width: 85px;
    }

    
}