.about {
    padding: 80px 0 40px 0;
}

.title_about {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title {
    text-transform: uppercase;
    color: var(--color-active);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.title_about h3 {
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* SLIDER */
.slider_about {
    width: 100%;
    max-width: 100%;
    position: relative;
    min-height: 650px;
}

.slider_img {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.slider_img img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.description_item {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

.description_item>h3 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    vertical-align: middle;
    width: 100%;
    max-width: 400px;
}

.detail_item {
    width: 100%;
    line-height: 1.5;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1px;
    padding-left: 1rem;
    border-left: 1px solid var(--color-active);
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
    min-height: 650px;
    overflow: visible;
}

.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    opacity: 0;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(0.7);
    transition: all 0.7s ease;
    z-index: 0;
}

.carousel-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.carousel-item.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 3;
}

.carousel-item.next {
    opacity: 0.6;
    transform: translate(-20%, -50%) scale(0.85);
    z-index: 1;
}

.carousel-item.prev {
    opacity: 0.6;
    transform: translate(-80%, -50%) scale(0.85);
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    height: 48px;
    width: 48px;
    cursor: pointer;
    z-index: 4;
    border-radius: 50%;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--color-active);
}

.carousel-btn.prev-btn {
    left: 22px;
}

.carousel-btn.next-btn {
    right: 22px;
}

/* WORK FLOW */
.work_flow {
    padding: 80px 0px;
    background-image: url('../images/background/bg-overview.jpg');
}

.list_work_flow {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 3rem;
    height: 465px;
    overflow: hidden;
    position: relative;
}

.work_flow_desc {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    position: relative;
}

.vertical_line {
    position: absolute;
    top: 0;
    left: 11px;
    width: 1px;
    height: 100%;
    background-color: #00000062;
    z-index: 1;
}

.work_flow_item {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    padding-left: 2rem;
}

.work_flow_item .item_img {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
}

.item_img h3 {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    text-transform: uppercase;
}

.work_flow_item .dot {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #000;
    transition: background-color 0.3s;
    vertical-align: middle;
    position: absolute;
    left: 5px;
}

.work_flow_item .dot::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 85px;
    background-color: #0000001d;
    z-index: 1;
}

.work_flow_item:last-child .dot::after {
    display: none;
}

.work_flow_item.active .item_img h3 {
    color: var(--color-blue);
}

.work_flow_item.active .dot {
    background-color: var(--color-blue);
    transform: scale(1.2);
}

.work_flow_photos {
    position: relative;
    height: 100%;
}

.work_flow_photo {
    display: none;
    height: 100%
}

.work_flow_photo.active {
    display: block;
}

.work_flow_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: calc((100% - 2 * .75rem) / 3);
    gap: .75rem;
    height: 100%;
    max-height: 465px;
}

.post_img {
    width: 100%;
    height: 100%;
}

.post_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row_2 {
    grid-row: span 2;
}

.row_3 {
    grid-row: span 3;
}

.row_2_col_2 {
    grid-area: 2 / 2 / 4 / 3;
}

.row_1_col_2 {
    grid-area: 1 / 2 / 3 / 3;
}

.row_3_col_2 {
    grid-area: 3 / 1 / 4 / 3;
}

/* TEAM */
.section_team {
    padding: 80px 0;
}

#owl_team {
    margin-top: 3rem;
}

.team_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .85rem;
    padding-bottom: 1.75rem;
    background-color: #F5F5F5;
}

.team_item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {

    .about,
    .work_flow {
        padding: 30px 0;
    }

    .title_about h3 {
        font-size: 1.5rem;
    }

    .carousel {
        min-height: 350px;
    }

    .slider_about {
        min-height: 350px;
    }

    .carousel-btn {
        height: 24px;
        width: 24px;
        font-size: .75rem;
    }

    .list_work_flow {
        grid-template-columns: 1fr;
        height: auto;
    }

    .item_img img {
        min-width: 100px;
    }

    .team_item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .work_flow_grid {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        max-height: none;
    }

    .row_2 {
        grid-row: auto;
    }

    .row_2_col_2 {
        grid-area: auto;
    }

    .row_3_col_2 {
        grid-area: auto;
    }

    .row_1_col_2 {
        grid-area: auto;
    }

    .description_item h3 {
        font-size: 24px;
    }
}

@media (max-width:575px) {
    .carousel {
        min-height: 250px;
    }

    .slider_about {
        min-height: 250px;
    }

    .description_item {
        display: none;
    }

}