@media (max-width: 768px) {
    #Career-sec2 .vacancy-description {
        width: 150%; /* reduce width for tablets */
        font-size: 13px;
        padding: 10px;
    }
}


@media (max-width:1260px) {
    .focus-area {
        width: 74%;
    }
}

@media (max-width:1160px) {
    #mainformheading {
        width: 100%;
    }

    #submitBtn {
        margin-top: 30px;
    }

    .sec8formdiv {
        justify-content: flex-start;
        gap: 20px;
    }
}

@media (min-width:1140px) {
     .r-a-d1 {
        width: 100%;
    }
}

@media (max-width:1140px) {
    .r-a-d {
        width: 560px;
    }

    .sec2d img:first-child {
        width: 95%;
        height: 160px;
    }

    .innovation-r-d img {
        width: 100%;
    }

    .rdsec2d1 {
        width: 98%;
    }

    .r-d-sec4-content {
        width: 85%;
    }

    .r-d-sec4-content p {
        font-size: 16px;
    }

    .contact-formdiv1 label {
        font-size: 13px !important;
    }
}

@media (max-width:1048px) {
    .formdiv1 {
        flex-direction: column;
        gap: 5px;
    }

    #message {
        height: 80px !important;
    }

    #submitBtn {
        margin: 10px 0;
    }

    .formdiv1 div {
        width: 100%;
    }

    .form form input,
    .form form select,
    #phone-no1 {
        width: 93%;
    }

    .form {
        width: 50%;
    }

    #mainformheading {
        width: 90%;
        font-size: 28px;
    }

    .cform {
        gap: 20px;
    }
    br{
        display: block;
    }
}

@media (max-width: 800px) {
    .f1 {
        flex-direction: column;
    }

    #f1id {
        width: 60%;
        gap: 20px;
    }

    .innovation-r-d p {
        font-size: 18px;
    }

    .focus-area {
        width: 100%;
    }

    .form form {
        gap: 1px !important;
    }
}

@media (max-width:530px) {
    #imageContent{
        top: 19vh;
    } 
}

@media (max-width:768px) {
h2{
  font-size: 24px !important;
}
    .allPages {
        width: 50%;
        height: 100vh;
        border-radius: 10px;
        background: #e9edf6;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: fixed;
        top: 0vh;
        right: -55%;
        transition: right 0.8s ease;
    }

    .cross-btn {
        display: flex;
    }

    .allPages a {
        padding: 5px 5px;
        color: black;
        margin-left: 10px;
    }

    .menu-icon {
        display: block;
    }

    #imageContent h2 {
        line-height: 50px;
    }

    #imageContent h2 {
        width: 80vw;
    }

    #imageContent p {
        width: 75vw;
    }

    .sec2d img:first-child {
        width: 95%;
        height: 160px;
    }

    .about-image p {
        width: 90%;
        font-size: 20px;
    }

    #imageContent-1 h2 {
        font-size: 50px;
        width: 50vw;
        line-height: 45px;
    }

    #imageContent-1 p {
        font-size: 18px;
        width: 50vw;
    }

    .certifications-slider {
        justify-content: center;
    }

    .rdsec2d1 {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .innovation-r-d {
        width: 70%;
    }

    .innovation-r-d {
        width: 65%;
        padding-bottom: 20px;
    }

    .r-d-sec4-content {
        width: 80%;
        position: absolute;
        left: 10%;
        top: 20%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #imageContent2 h2 {
        font-size: 45px;
        color: white;
    }

    #imageContent2 p {
        width: 60vw;
    }

    br{
        display: none;
    }

}

@media (max-width:656px) {
    .focus-area-c2 {
        width: 300px;
        height: 370px;
    }

    .focus-area-c2 p {
        width: 60%;
    }

    .sec8formdiv {
        flex-direction: column;
        justify-content: center;
    }

    .form {
        width: 85%;
    }

    .iform {
        width: 100%;
        height: 40vh;
        background-attachment: fixed;
    }

    .formdiv {
        gap: 20px;
        margin-bottom: 30px;
    }

    .AddressContent,
    .AddressContent p {
        gap: 5px;
        width: 100%;
    }

    .formdiv1 {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .cform {
        width: 98%;
    }

    #message {
        width: 96% !important;
    }

}

@media (max-width:600px) {
    .sec3image {
        width: 400px;
    }

    .sec3image p {
        font-size: 18px;
    }

    .sec6inner {
        width: 400px;
    }

    .r-a-d {
        width: 400px;
    }

    .sec2d img:first-child {
        height: 160px;
    }

    .r-d-sec4-content {
        width: 95%;
        position: absolute;
        left: 4%;
        top: 5%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .r-d-sec4-content h2 {
        font-size: 40px;
    }

    .form form label {
        font-size: 13px;
    }



}

@media (max-width:540px) {
    .r-a-d {
        width: 95%;
    }

    br {
        display: block;
    }
#sec1 {

    height: 60vh;
}

    #imageContent-1 h2 {
        width: 90vw;
    }

    .image-content {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .sec8formdiv-2 {
        padding: 10px;
    }

    .respo-form-contact {
        width: 100%;
    }

    #product-p p {
        font-size: 13px;
        margin: 9px 0;
    }

    .image-content-info img {
        width: 96%;
    }

    .product-all-info {
        padding: 10px 0 20px 10px;
    }

    .image-content-info {
        gap: 15px;
    }

    .product-all-info a {
        margin-top: 5px;
    }
}

@media (max-width:480px) {
    .formdiv1 {
        flex-direction: column;
    }

    .form form input,
    .form form select,
    #phone-no1,
    #message {
        width: 100% !important;
    }

    .cform {
        width: 85%;
    }

    #countryCode {
        width: 20% !important;
    }

    .iform {
        height: 30vh;
    }

    #mainformheading {
        font-size: 21px;
    }

}

@media (max-width:426px) {
    .conAdd {
        justify-content: center;
    }

    #conAdd1 {
        position: static;
        gap: 5px;
    }

    #conAdd1 p {
        font-size: 15px;
        gap: 5px;
    }

    #conAdd1 img {
        width: 9px;
    }

    .allPages {
        width: 55%;
        right: -55%;
    }

    .sec3image {
        width: 300px;
    }

    .sec3image p {
        font-size: 15px;
    }

    .sec6inner {
        width: 300px;
    }

    .r-a-d {
        width: 300px;
    }

    .sec6inner h2 {
        font-size: 25px;
    }

    #imageContent {
        gap: 5px;
        top: 20vh;
    }

    #imageContent h2,
    #imageContent2 h2 {
        font-size: 35px;
        line-height: 35px;
        width: 85vw;
    }

   

    #imageContent h2 {
        line-height: 34px;
    }

    .sec2d img:first-child {
        height: 140px;
        width: 150px;
    }

    .about-image p {
        width: 96%;
        font-size: 18px;
        padding: 5px 5px;
    }

    .comingSoon {
        font-size: 50px;
    }

    .innovation-r-d p {
        font-size: 15px;
    }

    #r-d-sec3-p {
        width: 69%;
        font-size: 15px;
    }

    #imageContent2 p {
        font-size: 15px;
    }

    .form form input,
    .form form select,
    #phone-no1,
    #message {
        width: 100% !important;
    }

    .last-time-form {
        width: 90%;
    }

}

@media (max-width:425px) {

    .allPages {
        width: 70%;
                right: -70%;
    }

    .form form input,
    .form form select,
    #phone-no1,
    #message {
        width: 100% !important;
    }

}

@media (max-width:376px) {
    .sec2d img:first-child {
        width: 60%;
    }

    .r-d-sec4-content h2 {
        font-size: 35px;
    }

    .r-d-sec4-content p {
        font-size: 15px;
    }

    .respo-form-contact p {
        font-size: 13px;
    }

    .image-content-info p {
        font-size: 13px;
    }
}

@media (max-width:350px) {
    .sec2d img:first-child {
        width: 60%;
    }

    #imageContent-1 h2,
    #imageContent2 h2 {
        font-size: 45px;
        width: 90vw;
        line-height: 42px;
    }

    #imageContent-1 p {
        width: 85vw;
    }
}