#benefits {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 50px;

    .tab {
        width: 400px;
        height: auto;

        button {
            display: block;
            padding: 5px 15px 5px 5px;
            margin: 10px 0;
            width: auto;
            border: none;
            outline: none;
            text-align: left;
            cursor: pointer;
            transition: 0.3s;
            font-size: 18px;
            color: var(--black);
            background: transparent;
            position: relative;
        }
        button:after {
            content: '';
            width: 100%;
            height: 10px;
            position: absolute;
            top: 10px;
            right: 5px;
            background: url(../images/icons/caret-right.svg) no-repeat center right transparent;
            background-size: auto 10px;
            z-index: 10;
        }
        button:hover {
            padding-right: 20px;
        }
        button.active:before {
            content: '';
            background: var(--yellow);
            height: 50%;
            padding-right: 20px;
        }
    }
    .tabcontent {
        width: calc(100% - 450px);
        height: auto;

        ul {
            margin-top: 20px;
        }
    }
}

#facility {
    img {
        margin-top: 20px;
        border-radius: var(--border-radius);
    }
}

#team-reviews {
    .circle {
        top: 0;
        left: 80%;
        z-index: -10;
    }

    #reviews {
        .item {
            background: var(--white);
            border: 1px solid var(--white);
            padding: 20px;
            margin-top: 20px;
            border-radius: var(--border-radius);
            width: calc(100% - 20px);
            max-height: 400px;
            overflow-y: auto;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);

            .reviewee {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                justify-content: flex-start;
                align-items: center;
                gap: 20px;

                img {
                    width: 60px;
                    height: 60px;
                    border-radius: 50%;
                    background: var(--yellow);
                }

                p {
                    font-weight: 700;
                    color: var(--black);
                    margin-top: 0;
                    line-height: 110%;

                    span {
                        font-weight: 400;
                        font-size: smaller;
                    }
                }
            }

            .stars {
                width: 105px;
                height: 20px;
                background: url(../images/icons/star.svg) repeat-x top left;
                background-size: auto 20px;
                margin-top: 20px;
            }
        }
        .item:hover,
        .item:focus {
            box-shadow: 0 0 0 rgba(0,0,0,0);
            border: var(--tile-border);
        }
        .item::-webkit-scrollbar {
            width:5px;
        } 
        .item::-webkit-scrollbar-track {
            background: transparent;
        } 
        .item::-webkit-scrollbar-thumb {
            background: var(--yellow);
            border-radius: 3px;
        }
    }
}

#BambooHR {
    margin-top: 20px;
    max-width: 960px;
    padding: 50px;
    border: var(--tile-border);
    border-radius: var(--border-radius);
}

#career {
    .circle {
        -webkit-transform-origin: top right;
                transform-origin: top right;
        top: -10%;
        right: -30%;
        z-index: -10;
    }
}


/*MEDIA QUERIES*/
@media (max-width: 1350px) {
}

@media (max-width: 1250px) {
    #careers {
        .hero-img {
            top: auto;
            bottom: 0;        
        }
    }

    #benefits {
        gap: 20px;

        .tab {
            width: 360px;
        }
        .tabcontent {
            width: calc(100% - 380px);
        }
    }
}

@media (max-width: 1024px) {
    #career {
        .circle {
            -webkit-transform: scale(0.8);
                    transform: scale(0.8);
        }
    }
}

@media (max-width: 960px) {
    #benefits {
        .tab {
            width: 220px;
        }
        .tabcontent {
            width: calc(100% - 240px);
        }
    }

    #BambooHR {
        padding: 20px;
    }

    #career {
        .circle {
            -webkit-transform: scale(0.6);
                    transform: scale(0.6);
        }
    }
}

@media (max-width: 768px) {
    #careers {
        .hero-img {
            max-width: 90%;
        }
    }

    #benefits {
        .tab {
            width: 100%;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: flex-start;
            align-items: flex-start;
            gap: 20px;
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;

            button {
                margin: 10px 0;
                width: 220px;

                span {
                    display: none;
                }
            }
        }
        .tab::-webkit-scrollbar {
            display: none;
        }
        .tabcontent {
            width: 100%;
        }
    }
}

@media (max-width: 600px) {
}

@media (max-width: 532px) {
    #career {
        .circle {
            -webkit-transform: scale(0.4);
                    transform: scale(0.4);
        }
    }
}