#about .background img {
    object-position: top center;
    filter: none;
    position: relative;
}


.title {
    height: auto;
    position: relative;
    width: 95%;
    max-width: 1920px;
    margin: auto;
}

.title .about-title {
    color: var(--0AC7E0);
    font-size: 40px;
    position: absolute;
    left: 0;
    transform: rotate(90deg);
    letter-spacing: 5px;
}

.title .about-subtitle {
    color: var(--5B5B5B);
    font-size: 35px;
    letter-spacing: 10px;
}

.title .color {
    width: 500px;
    height: 5px;
    background: linear-gradient(90deg, var(--D8D8D8) 50%, var(--00A9CC) 50%);
    margin: 40px auto;
}

.title .content {
    color: var(--5B5B5B);
    font-size: 18px;
    letter-spacing: 3px;
    text-align: center;
}

.team-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 80%;
    max-width: 1500px;
    margin: 5% auto;
}

.team-card {
    position: relative;
    background-color: white;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
    width: 50%;
}

.team-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #00a6c2, #66d0da);
    z-index: 1;
}

.team-card h2 {
    font-size: 30px;
    color: var(--5B5B5B);
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.team-card div {
    font-size: 16px;
    color: var(--5B5B5B);
    line-height: 2;
    letter-spacing: 2px;
    text-align: justify;
}

.team-image {
    width: 70%;
    max-height: 500px;
    z-index: 1;
}

.team-image.left {
    margin-left: -50%;
}

.team-image.right {
    margin-right: -50%;
}


@media (max-width: 991.98px) {
    
    .title {
        padding: 20px 0;
        width: 90%;
    }

    .title .about-title {
        position: relative;
        transform: rotate(0deg);
        font-size: 35px;
    }

    .title .color {
        width: 50%;
        margin: 20px auto;
    }

    .title .about-subtitle {
        font-size: 30px;
    }

    .team-section {
        margin: 70px auto;
    }

    .team-section.left{
        flex-direction: column-reverse;
        align-items: center;
    }

    .team-section.right{
        flex-direction: column;
        align-items: center;
    }

    .team-image.left,
    .team-image.right {
        margin-left: 0%;
        margin-right: 0%;
        width: 90%;
    }

    .team-card {
        width: 90%;
        padding: 30px;
    }

}


@media (max-width: 425px) {

    .title {
        min-height: auto;
        max-height: none;
    }

    .team-section {
        width: 90%;
        margin: 50px auto;
    }
}