/*==========================WORK WITH US============================*/

/*Hero*/
.hero-careers {
    width: 100%;
    height: 350px;
    background-image: url("../img/hero-careers.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-careers h1 {
    padding: 0;
}

.careers-heading-wrapper {
    width: 100%;
    text-align: center;
}



/*Belong*/
section.belong {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.belong-content {
    grid-column: col-start / span 6;
    padding: 60px 0;
}

.belong-content p {
    margin: 20px 0;
}

.belong-img {
    grid-column: col-start 8 / span 5;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background-image: url('../img/belong.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow);
    z-index: 3;
}

.belong .blue-bg {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: var(--gradient-md);
    z-index: 1;
}




section.difference {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.difference-content {
    grid-column: col-start 6 / span 7;
    padding: 60px 0;
}

.difference-content p {
    margin: 20px 0;
}

.difference-img {
    grid-column: col-start / span 4;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    background-image: url('../img/bonneville-difference.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow);
    z-index: 3;
}

.difference .blue-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: var(--gradient-md);
    z-index: 1;
}




/*Volunteer Opportunities*/

section.volunteer {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
    background: var(--gradient-md);
}

.volunteer-content {
    grid-column: col-start 6 / span 7;
    padding: 27px 0;
}

.volunteer-content p {
    margin: 20px 0 30px 0;
}

.volunteer .light-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: var(--gray-lt);
    z-index: 1;
}

.volunteer-img {
    grid-column: col-start / span 4;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background-image: url('../img/road-home.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow);
    z-index: 3;
}

.volunteer-content a:active, .volunteer-content a:visited, .volunteer-content a {
    text-decoration: none;
    color: var(--blue-blk);
}

.volunteer-content a:hover {
    color: var(--blue-lt);
}



/*Testimonials*/

section.testimonials {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.testimonial-wrapper {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials h2 {
    margin-bottom: 150px;
}

.testimonial {
    width: 100%;
    max-width: 800px;
    box-shadow: var(--shadow);
    position: relative;
    padding: 50px 100px 20px 100px;
    overflow: visible;
}

.testimonial img {
    position: absolute;
    width: 175px;
    height: auto;
    top: -80px;
    left: 150px;
    box-shadow: var(--shadow);
}

.testimonial .title {
    position: absolute;
    left: 45%;
}

.testimonial .content {
    margin-top: 120px;
}

.testimonial h4 {
    font-size: 1em;
    font-weight: 400;
}

.testimonials .controls {
    margin-top: 20px;
    width: 50%;
    display: flex;
    justify-content: space-around;
}

.testimonials .controls span {
    font-family: 'Poppins', sans-serif;
    font-size: 70px;
    font-weight: 800;
    color: var(--blue-drk);
    cursor: pointer;
}

.testimonials .controls span:hover {
    color: var(--blue-md);
    cursor: pointer;
}

.positions-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}





/*Media Queries*/


@media (max-width: 1200px){

    .belong-content {
        grid-column: col-start / span 7;
    }

    .belong-img {
        grid-column: col-start 9 / span 4;
        aspect-ratio: 4 / 5;
    }
}






@media (max-width: 992px){

    .hero-careers {
        height: 200px;
        padding: 20px;
    }

    section.belong, section.our-values, section.goals, section.volunteer, section.testimonials, section.difference {
        padding: 75px 100px;
    }

    .belong .blue-bg {
        display: none;
    }

    .belong-content {
        grid-column: col-start / span 12;
        padding-top: 0;
        padding-bottom: 20px;
    }

    .belong-img {
        grid-column: col-start / span 12;
        aspect-ratio: 3 / 2;
    }

    .difference .blue-bg {
        display: none;
    }

    .difference-content {
        grid-column: col-start / span 12;
        padding-top: 0;
        padding-bottom: 20px;
    }

    .difference-img {
        display: none;
    }

    .volunteer .light-bg {
        display: none;
    }

    .volunteer-img {
        grid-column: col-start 3 / span 8;
        margin-bottom: 40px;
    }

    .volunteer-content {
        grid-column: col-start / span 12;
    }

    .testimonial {
        padding: 50px 8% 20px 8%;
    }
    .testimonials h2 {
        margin-bottom: 50px;
    }

    .testimonial img {
        display: none;
    }

    .testimonial .title {
        position: inherit;
        width: 100%;
        left: 0;
        text-align: center;
    }

    .testimonial .content {
        margin-top: 30px;
        
    }

    .testimonial-wrapper {
        height: auto;
    }

    .testimonials .controls {
        position: absolute;
        justify-content: space-between;
        top: 200px;
    }

    .testimonials .controls span:hover {
        color: var(--blue-drk);
        cursor: pointer;
    }

    
}

@media (max-width: 768px){

    section.belong, section.goals, section.volunteer, section.testimonials, section.our-values, section.difference {
        padding: 50px 10%;
    }


    .volunteer-img {
        grid-column: col-start 2 / span 10;
    }

    .testimonial h3 {
        margin-bottom: 0;
    }

    .testimonial .content {
        margin-top: 30px;
        
    }

    .testimonials .controls {
        margin-top: 30px;
        width: 100%;
    }

    .testimonial-wrapper {
        height: auto;
    }

    .testimonials .controls {
        width: 95%;
        top: 165px;
    }
}



@media (max-width: 450px) {
    .volunteer-img {
        grid-column: col-start / span 12;
    }
}