/*=======START CAROUSEL=========*/
.mySlides {display: none;}
img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    margin: auto;
}

/* Caption text */
.text {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    text-shadow: 2.5px 2.5px 8px var(--light-color);
    line-height: 3rem;
}

.text1 {
    & h2 {
        font-size: 2rem;
        color: var(--dark-color);
    }

    & .h1DIPI {
        color: var(--primary-color);
        font-size: 3.5rem;
        font-weight: 800;
        overflow: hidden;
    }

    & h1 {
        color: var(--dark-color);
        font-size: 1.5rem;
        font-weight: 500;
    }
}

/* Number text (1/3 etc) */
.numbertext {
    display: none;
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: none;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {font-size: 11px}
}
/*=======END CAROUSEL=========*/

/*==============START CAREER GROWTH=============*/

.careerGrowth {
    border-bottom: solid 1rem var(--primary-color);
    width: 100vw;
    max-width: 100vw;
    padding: 5rem 6.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.growthText {
    order: 2;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: auto;
    font-family: "Poppins", sans-serif;
    margin-left: 4rem;


    & h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        color: var(--primary-color);
        font-family: "Barlow Condensed", sans-serif;
    }

    & h3 {
        width: 85%;
        margin-bottom: 2rem;
        color: var(--dark-color);
        font-weight: 500;
    }
}

.careerIMG{
    order: 1;
    & img {
        width: 500px;
        object-fit: scale-down;
        box-shadow: 10px 10px var(--primary-color);
    }
}


/*================END CAREER GROWTH=============*/

/*==================START JOB LISTINGS===============*/

.jobListings {
    padding-top: 2rem;
    width: 100vw;
    border-top:solid 0.5rem var(--secondary-color);

    .jobLatest {
        font-family: "Poppins", sans-serif;
        color: var(--primary-color);
        text-align: center;
    }

    .jobLatestDescription {
        padding: 0 5rem;
        width: 100%;
        text-align: center;
        font-family: "Poppins", sans-serif;
        font-weight: 600;
    }
}

.jobs {
    margin: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    justify-content: space-between;
}

.jobCards {
    width: fit-content;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    & .jobTitle {
        display: flex;
        align-items: center;
        justify-content: left;

        & img {
            width: 5rem;
        }

        & h1 {
            margin-left: 1rem;
            font-size: 2.5rem;
            line-height: 2.5rem;
            color: var(--dark-color);
            overflow: hidden;
        }
    }

    & .jobDescription {

        & h2 {
            padding-top: 1rem;
            padding-bottom: 0.7rem;
            font-family: "Poppins", sans-serif;
            font-size: 1.2rem;
            line-height: 1.2rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        & h3 {
            color: var(--dark-color);
            font-family: "Poppins", sans-serif;
        }

        & .qualificationList {
            font-family: "Poppins", sans-serif;
            /*margin-left: 1rem;*/
            display: flex;
            flex-direction: column;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--dark-color);

            & img {
                width: 1rem;
            }
        }
    }

    & .applyA {
        font-family: "Poppins", sans-serif;
        text-decoration: none;
        font-weight: 700;
        color: var(--dark-color);
        text-align: center;
    }

    & .apply {
        margin: 1rem 0;
        padding: 0.5rem;
        border-radius: 0.8rem;
        background: var(--secondary-color);
        width: 100%;
    }

    transition: ease 0.3s;
}

.jobCards:hover {
    transform: scale(105%);
    box-shadow: 0.5rem 0.5rem var(--secondary-color);
    border: solid 0.2rem var(--secondary-color);
}

/*====================END JOB LISTINGS===============*/

/*====================START PRESIDENT MESSAGE===============*/

.presMessage {
    width: 100vw;
    height: 100vh;
    background: url("https://res.cloudinary.com/djrigb7ok/image/upload/v1757038803/dipi_blur_hztw2i.png") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    .message {
        width: 80%;
        height: auto;
        padding: 2rem 3rem;
        background: rgba(244, 244, 244, 0.75);
        text-align: center;

        h1 {
            font-family: 'Times New Roman', Times, serif;
            color: var(--primary-color);
            text-shadow: 0.1rem 0.1rem 0 var(--secondary-color);

        }
        p {
            font-family: 'Times New Roman', Times, serif;
            color: var(--dark-color);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        h3, h4 {
            font-family: 'Times New Roman', Times, serif;
            color: var(--primary-color);
        }
    }
}


/*======================END PRESIDENT MESSAGE===============*/

/*================START MOBILE RESPONSIVENESS=============*/

@media (max-width: 600px) {
    .careerGrowth {
        padding: 3rem;
        flex-direction: column;
    }

    .growthText{
        margin-left: 0;
        & h3 {
            width: 100%;
        }
    }

    .careerIMG {
        order: 2;
        & img {
            width: 100%;
            object-fit: scale-down;
            box-shadow: 0.7rem 0.7rem var(--primary-color);
        }
    }

    .presMessage {
        height: 170vh;
        
        .message {
            height: 170vh;
        }
    }


}

/*==================END MOBILE RESPONSIVENESS=============*/
