/* Media queries for the home page on different devices */
/* -----Media Queries for the for the Homw page----*/
@media screen and (max-width: 1500px) {
    .service-contact-container {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .service-contact-form {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Media queries for screens with a minimum width 1200px on the main subsidiaries section */
@media screen and (min-width: 1200px) {
    .mission-vision {
        width: 100%;
        position: absolute;
        bottom: 140px;
        display: flex;
        margin: auto;
        column-gap: 120px;
    }
    
    .vision-card1 {
        background-color: rgb(255, 255, 255);
        width: 300px;
        height: 330px;
        border-radius: 10%;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
    
    .vision-card2 {
        background-color: rgb(255, 255, 255);
        width: 300px;
        height: 330px;
        border-radius: 10%;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
}

@media screen and (min-width: 1028px) {
    .service-contact-container {
        padding: 1rem;
    }
}

@media screen and (min-width: 1000px) {
    .service-contact-container {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .service-contact-form {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Screen with a maximum width of 992px */
@media screen and (max-width: 992px){
    .vision-card1 {
        background-color: rgb(255, 255, 255);
        width: 35%;
        height: 37%;
        margin: auto;
    }
    .vision-card2 {
        background-color: rgb(255, 255, 255);
        width: 33%;
        height: 30%;
        margin: auto;
    }
    .service-contact-form {
        max-width: 100%;
        flex-direction: column;
    }
}

/* mission and vision with subsidiaries description and header */
/* Queries for image slider on the home page */
@media screen and (max-width: 768px){
    .slider{
        height: 400px;
    }
}

/* Screens with a minimum width of 768px */
@media screen and (min-width: 768px){
    .mission-vision {
        display: flex;
        justify-content: center;
        position: relative;
        bottom: 100px;
        vertical-align: top;
    }
    select {
        width: 100%; /* Make it full width on mobile */
        font-size: 14px; /* Reduce font size if needed */
        /* Add other styles to adjust as needed */
        padding: 18px 1px;
    }
}

@media screen and (min-width: 601px){
    .mission-vision {
        display: flex;
        justify-content: center;
        position: relative;
        bottom: 80px;
        vertical-align: top;
    }
    .vision-card1 {
        background-color: rgb(255, 255, 255);
        width: 250px;
        height: 330px;
    }

    .vision-card2 {
        background-color: rgb(255, 255, 255);
        width: 250px;
        height: 330px;
    }
}

@media only screen and (max-width: 600px) {
    .wrapper-main {
        width: 100%;
        margin: auto;
    }
    .mission-vision {
        display: flex;
        position: relative;
        bottom: 40px;
        column-gap: 0px;
    }

    .vision-card1 {
        background-color: rgb(255, 255, 255);
        width: 30%;
        height: 30%;
        margin: auto;
    }

    .vision-card2 {
        background-color: rgb(255, 255, 255);
        width: 30%;
        height: 30%;
    }
    .content-words h2 {
        font-size: 1rem;
    }
    .content-words p {
        line-height: 0.9rem;
        font-size: 0.6rem;
    }

    .vision-card2 .content-words p {
        line-height: 0.7rem;
        font-size: 0.6rem;
    }

    .vision-card img {
        width: 2rem;
    }

    .subsidiaries-container{
        box-sizing: border-box;
        position: relative;
        bottom: 50px;
        margin: auto;
    }
    .Sub-section .sub-description {
        inline-size: 100%;
        padding: 1rem;
        text-align: left;
    }
    .sHeader-description {
        width: 100%;    
    }

    .container1 {
        width: 100%;
        margin: auto;
    }

    .year-2019-2020 {
        display: flex;
        flex-direction: column;
        margin: auto;
        column-gap: 8rem;
        line-height: 1.6rem;
        text-align: left;
        font-size: 1.2rem;
        color: #8C8C8C;
    }

    .year-2021-2022 {
        display: flex;
        flex-direction: column;
        margin: auto;
        column-gap: 8rem;
        line-height: 1.6rem;
        text-align: left;
        font-size: 1.2rem;
        color: #8C8C8C;
    }

    .year-2023-2024 {
        display: flex;
        flex-direction: column;
        margin: auto;
        column-gap: 8rem;
        line-height: 1.6rem;
        text-align: left;
        font-size: 1.2rem;
        color: #8C8C8C;
    }
    .content {
        padding-bottom: 0;
    }
    .vision-content {
        padding: 5px 10px;
    }   
}

@media screen and (max-width: 624px) {
    .subs-cards {
        margin: auto;
        justify-content: center;
        max-width: 100%;
    }
}

@media screen and (max-width: 601px){
    .service-contact-form {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px){
    .Sub-section .sub-description {
        margin-bottom: 120px;
        padding-top: 20px;
    }
    .sdg-12-13,
    .sdg-12-14,
    .sdg-12-15 {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }
    .sdg-12,
    .sdg-13 {
        inline-size: 100%;
    }
    .service-contact-form {
        flex-direction: column;
        padding: 0 10px;
    }
    input[type="email"],
    input[type="text"],
    input[type="tel"] {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    input[type="tel"] {
        margin-bottom: 0.5rem;
    }
    .general-services {
        width: 100%;
    }
    .form-1 h4:nth-child(2) {
        padding-top: 5px;
    }
    .form-2 {
        padding-top: 20px;
        /* padding-bottom: 70px; */
    }
    .social-media-btn {
        column-gap: 0;
    }
    .form-2 textarea {
        width: 100%;
        padding-top: 0.5rem;
    }
    .btn-request {
        margin-top: 0.4rem;
    }
    .first-input input {
        display: grid;
    }
}

/* @media screen and (max-width: 500px){
    .service-contact-form {
        max-width: 100%;
        flex-direction: column;
    }

    .first-input input {
        display: grid;
    }
} */





