.about-us {
    width: 100%;
    height: auto;
    /* padding-left: 2rem;
    padding-right: 2rem; */
    /* padding-top: 10%; */
    padding-bottom: 0;
    font-family: 'Poppins', sans-serif;
    color: black;
    position: relative;
    z-index: 3;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-us-wrapper {
    height: auto;
    width: 100%;
    /* max-width: 1440px; */
}

.about-us-hero {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    background-color: white;
    padding-bottom: 4rem;
}

.about-us-hero-title {
    font-size: 2rem;
    color: #222222;
    /* margin-bottom: 10rem; */
    text-transform: uppercase;
}

.images-carousel {
    display: flex;
    gap: 2rem;
    align-items: center;
    /* flex-wrap: wrap; */
    margin-top: 2rem;
    width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}


.images-carousel img {
    object-fit: cover;
    border-radius: 6px;
}

.images-carousel img:nth-of-type(odd) {
    height: 39rem;
    width: 33rem;
}

.images-carousel img:nth-of-type(even) {
    height: 29rem;
    width: 23rem;
}



/* approach */

.about-us-approach {
    width: 100%;
    height: auto;
    padding-top: 10rem;
    padding-bottom: 10rem;
    position: relative;
}


.about-us-approach-text {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 10rem;
    height: auto;
    width: 100%;
    padding: 14rem 0;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 4;
}

.about-us-approach-text-content {
    width: 50%;
}

.about-us-approach-text-content h2 {
    font-size: 6.4rem;
    font-weight: 400;
    color: #222222;
    margin-bottom: 5rem;
}

.about-us-approach-text-content p {
    font-size: 2rem;
    font-weight: 400;
    color: #222222;
    margin-bottom: 5rem;
}

.about-us-approach-cards-container {
    position: relative;
    /* background-color: transparent; */
    padding: 10rem 0;
}

.about-us-approach-cards {
    width: 40%;
    height: auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    row-gap: 25rem;
    z-index: 4;
}

.about-us-approach-card {
    width: 40rem;
    height: 47rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    filter: grayscale(100%);
    position: sticky;
    top: 30%;
}

.about-us-approach-card:nth-of-type(1) {
    transform: rotate(-30deg);
}

.about-us-approach-card:nth-of-type(2) {
    transform: rotate(-15deg);
}

.about-us-approach-card:nth-of-type(3) {
    transform: rotate(15deg);
}


/* story */


.about-us-story {
    width: 100%;
    height: auto;
    background-color: black;
    padding-top: 10rem;
}

.about-us-story-left {
    margin-top: 5rem;
}

.about-us-story-header {
    font-size: 6.4rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.about-us-button {
    background-color: white;
    color: black;
    border: 1px solid black;
    width: max-content;
    font-size: 1.6rem;
}

.about-us-button:hover {
    background-color: black;
    color: white;
    border: 1px solid white;
    transition: all 0.3s ease-in-out;
}

.about-us-story-right-side-top-description span {
    color: black;
}

.about-us-story-right-side-bottom {
    width: 100%;
    height: 45%;
    background-color: black;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
}

.about-hooks {
    background-color: black;
    color: white;
}

.hook-text-container {
    padding: 6rem 0;
}

.about-us-team {
    background-color: black;
    padding: 6rem 0;
}

.about-us-team-title {
    font-size: 2rem;
    font-weight: 400;
    color: white;
}

.about-us-team-header {
    font-size: 13.5rem;
    margin-bottom: 5rem;
    line-height: 110%;
    color: #363636;
    transition: all 0.3s ease-in-out forwards;
}

.about-us-team-header:hover {
    color: white;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .about-us {
        padding-top: 15%;
    }

    .about-us-story-container {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .about-us-hero-title {
        font-size: 1.8rem;
        /* margin-bottom: 15rem; */
    }

    .images-carousel img:nth-of-type(odd) {
        height: 35rem;
        width: 27rem;
    }

    .images-carousel img:nth-of-type(even) {
        height: 25rem;
        width: 19rem;
    }

    .about-us-approach-cards {
        padding: 25rem 0;
        padding-left: 10rem !important;
    }

    .about-us-approach-card:nth-of-type(1) {
        transform: rotate(-15deg);
    }

    .about-us-approach-card:nth-of-type(2) {
        transform: rotate(-8deg);
    }

    .about-us-approach-card:nth-of-type(3) {
        transform: rotate(8deg);
    }

    .about-us-approach-card {
        width: 28rem;
        height: 30rem;
        top: 15%;
    }

    .about-us-team-title {
        font-size: 1.8rem;

    }

    .about-us-team-header {
        font-size: 10rem;
    }
}

@media (max-width: 768px) {
    .about-us-story-container {
        flex-direction: column;
        padding-left: 0rem;
        padding-right: 0rem;
    }

    .about-us-story-left-side {
        width: 100%;
        padding-top: 10rem;
        padding-left: 2rem;
    }

    .about-us-story-right-side {
        width: 100%;
    }

    .about-us-story-right-side-bottom,
    .about-us-story-right-side-top {
        padding-left: 2rem;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .about-us-approach-card {
        top: 25%;
    }
}

/* Tablet and below */
@media (max-width: 500px) {
    .about-us {
        padding-top: 20%;
        padding-left: 0rem;
        padding-right: 0rem;
    }

    .about-us-approach {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .about-us-approach-cards,
    .about-us-approach-text-content {
        width: 100%;
    }

    .about-us-approach-cards {
        /* background-color: rgba(0, 0, 0, 0.1); */
        padding: 0;
    }

    .about-us-approach-text {
        padding: 7rem 0;
        position: relative;
    }

    .about-us-approach-cards {
        padding: 7rem 0;
    }

    .about-us-approach-cards {
        row-gap: 15rem;
    }

    .about-us-hero-title {
        font-size: 1.6rem;
        /* margin-bottom: 10rem; */
    }

    .images-carousel {
        gap: 1.5rem;
    }

    .images-carousel img:nth-of-type(odd) {
        height: 30rem;
        width: 23rem;
    }

    .images-carousel img:nth-of-type(even) {
        height: 22rem;
        width: 15rem;
    }

    .about-us-team-title {
        font-size: 1.6rem;
    }

    .about-us-team-header {
        font-size: 8rem;
        margin-bottom: 4rem;
    }

    .about-us-approach-card {
        top: 10vh;
    }
}

#team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-sizing: border-box;
}

#team-overlay .team-name {
    font-weight: 600;
    color: #000;
    font-size: 20px;
    margin-bottom: 4px;
}

#team-overlay .team-position {
    color: gray;
    font-size: 18px;
    opacity: 0.85;
}






