/* ---MAIN STYLES--- */

.main_section {
    padding: 7.5vw 0;
    border-radius: 0 0 2vw 2vw;
}

.main_section .main_box {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
}

.main_section .info_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5vw;
}

.main_section .media_box {
    overflow: hidden;
}

.main_section .media_item {
    position: relative;
    height: 30vw;
    margin: 0 .5vw;
    border-radius: 1vw;
    overflow: hidden;
    cursor: pointer;
    transition: .5s;
}

.main_section .media_item:hover {
    transform: scale(.98);
}

.main_section .media_item img {
    transition: .5s;
}

.main_section .media_item:hover img {
    transform: scale(1.05);
}

.main_section .swiper-wrapper {
    transition-timing-function: linear;
}

@media (max-width: 996px) {
    .main_section {
        padding: 22.5vw 0 10vw 0;
        border-radius: 0 0 6vw 6vw;
    }
    .main_section .main_box {
        gap: 5vw;
    }
    .main_section .media_box {
        overflow: hidden;
    }
    .main_section .media_item {
        height: 60vw;
        margin: 0 1.25vw;
        border-radius: 3vw;
    }
}


/* ---TIME LINE STYLES */

.time_line_section {
    position: relative;
    height: 250vw;
    padding: 5vw 0;
    border-radius: 2vw;
    background: var(--dark);
}

.time_line_section .time_line_box {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.time_line_section .heading_box {
    position: absolute;
    top: 7vw;
    left: 50%;
    transform: translate(-50%, 0);
}

.time_line_section .heading_box h2 {
    color: var(--orange);
    text-align: center;
}

.time_line_section .scroll_box {
    display: flex;
    will-change: transform;
    transition: transform 0.1s;
    padding: 0 5vw;
    transform: translate(0, 5vw);
}

.time_line_section .timeline_item {
    width: 40vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1vw;
}

.time_line_section .timeline_item .media_item {
    position: relative;
    width: 30vw;
    height: 20vw;
    margin-bottom: 2.5vw;
    border-radius: 1vw;
    overflow: hidden;
    transition: .5s;
    cursor: pointer;
}

.time_line_section .timeline_item .media_item:hover {
    transform: scale(.98);
}

.time_line_section .timeline_item .media_item img {
    transition: .5s;
}

.time_line_section .timeline_item .media_item:hover img {
    transform: scale(1.05);
}

.time_line_section .timeline_item .info_box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5vw;
    text-align: center;
    padding: 2.5vw 1.5vw 0 1.5vw;
}

.time_line_section .timeline_item .info_box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: .15vw;
    background: #ffffff50;
}

.time_line_section .timeline_item:first-child .info_box::before {
    width: 50%;
}

.time_line_section .timeline_item:last-child .info_box::before {
    width: 50%;
    right: inherit;
    left: 0;
}

.time_line_section .timeline_item .info_box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    transform: translate(50%, -50%);
    width: 1.25vw;
    height: 1.25vw;
    border-radius: 50%;
    background: white;
}

.time_line_section .timeline_item .title_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5vw;
}

.time_line_section .timeline_item .info_box span {
    color: var(--orange);
    font-size: 1.7vw;
    font-weight: 500;
}

.time_line_section .timeline_item .info_box h2 {
    color: white;
    font-size: 1.25vw;
}

.time_line_section .timeline_item .info_box p {
    color: white;
}

@media (max-width: 996px) {
    .time_line_section {
        height: inherit;
        padding: 10vw 0;
        border-radius: 6vw;
    }
    .time_line_section .time_line_box {
        height: inherit;
        position: inherit;
        flex-direction: column;
        align-items: center;
        gap: 5vw;
    }
    .time_line_section .heading_box {
        position: inherit;
        top: inherit;
        left: inherit;
        transform: translate(0, 0);
    }
    .time_line_section .scroll_box {
        display: flex;
        flex-direction: column;
        will-change: inherit;
        transition: inherit;
        padding: 0 5vw;
        transform: translate(0, 0);
    }
    .time_line_section .timeline_item {
        position: relative;
        width: 100%;
        gap: 5vw;
    }
    .time_line_section .timeline_item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: .4vw;
        height: 100%;
        background: #ffffff50;
    }
    .time_line_section .timeline_item:first-child:before,
    .time_line_section .timeline_item:last-child:before {
        display: none;
    }
    .time_line_section .timeline_item:last-child .media_box {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .time_line_section .timeline_item:last-child .media_box::before {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: .4vw;
        height: calc(100% + 5vw);
        background: #ffffff50;
    }
    .time_line_section .timeline_item .media_item {
        width: 65vw;
        height: 50vw;
        margin-bottom: 0;
        border-radius: 3vw;
    }
    .time_line_section .timeline_item .info_box {
        gap: 1.5vw;
        padding: 0 5vw 10vw 5vw;
    }
    .time_line_section .timeline_item:last-child .info_box {
        padding: 0 5vw 0 5vw;
    }
    .time_line_section .timeline_item .info_box::before,
    .time_line_section .timeline_item:last-child .info_box::before {
        display: none;
    }
    .time_line_section .timeline_item:first-child .info_box::before {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: .4vw;
        height: 100%;
        background: #ffffff50;
    }
    .time_line_section .timeline_item .info_box::after {
        top: 0;
        right: inherit;
        left: 0;
        transform: translate(calc(-50% + .2vw), 0);
        width: 3vw;
        height: 3vw;
        background: var(--orange);
    }
    .time_line_section .timeline_item .title_box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5vw;
    }
    .time_line_section .timeline_item .info_box span {
        font-size: 5vw;
    }
    .time_line_section .timeline_item .info_box h2 {
        color: white;
        font-size: 4vw;
    }
}


/* ---INFO STYLES--- */

.info_section {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
    padding: 5vw;
}

.info_section .title_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2.5vw;
}

.info_section .content_box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5vw;
}

.info_section .info_box h3 {
    font-size: 1.7vw;
}

.info_section .media_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info_section .media_item {
    position: relative;
    width: 100%;
    height: 40vw;
    border-radius: 1vw;
    cursor: pointer;
    overflow: hidden;
    transition: .5s;
}

.info_section .media_item:hover {
    transform: scale(.98);
}

@media (max-width: 996px) {
    .info_section {
        gap: 5vw;
        padding: 10vw 5vw;
    }
    .info_section .title_box {
        gap: 5vw;
    }
    .info_section .content_box {
        grid-template-columns: 1fr;
        gap: 5vw;
    }
    .info_section .info_box h3 {
        font-size: 4vw;
    }
    .info_section .media_item {
        height: 100vw;
        border-radius: 3vw;
    }
}


/* ---SERVICES_STYLES--- */

.services_section {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
}

.services_section .title_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2.5vw;
}

.services_section .services_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1vw;
}

.services_section .services_item {
    position: relative;
    width: calc(100% / 3 - 1vw);
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 2vw;
    border-radius: 1vw;
    background: #E6E3DC20;
    cursor: pointer;
    transition: .5s;
}

.services_section .services_item:hover {
    transform: scale(.98);
    background: #E6E3DC40;
}

.services_section .services_item span {
    position: absolute;
    top: 2vw;
    right: 2vw;
    color: #E6E3DC90;
    font-size: .8vw;
    font-weight: 500;
}

.services_section .media_box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3vw;
    height: 3vw;
    padding: 1vw;
    border-radius: .5vw;
    background: #E6E3DC40;
}

.services_section .media_box i {
    color: white;
    font-size: 2vw;
}

.services_section .services_item h2 {
    font-size: 1.5vw;
}

@media (max-width: 996px) {
    .services_section {
        gap: 5vw;
    }
    .services_section .title_box {
        gap: 5vw;
    }
    .services_section .services_box {
        gap: 5vw;
    }
    .services_section .services_item {
        width: 100%;
        gap: 2.5vw;
        padding: 5vw;
        border-radius: 2.5vw;
    }
    .services_section .services_item span {
        top: 5vw;
        right: 5vw;
        font-size: 3vw;
    }
    .services_section .media_box {
        width: 10vw;
        height: 10vw;
        padding: 2vw;
        border-radius: 1vw;
    }
    .services_section .media_box i {
        font-size: 6vw;
    }
    .services_section .services_item h2 {
        font-size: 4vw;
    }
}


/* ---BORN STYLES--- */

.born_section {
    padding: 5vw;
}

.born_section .born_box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5vw;
}

.born_section .media_item {
    position: relative;
    height: 100%;
    border-radius: 1vw;
    cursor: pointer;
    overflow: hidden;
    transition: .5s;
}

.born_section .media_item:hover {
    transform: scale(.98);
}

.born_section .info_box {
    padding: 2vw;
    border-radius: 1vw;
    background: var(--dark);
}

.born_section .info_box h2,
.born_section .info_box p {
    color: white;
}

@media (max-width: 996px) {
    .born_section {
        padding: 10vw 5vw;
    }
    .born_section .born_box {
        grid-template-columns: 1fr;
        gap: 5vw;
    }
    .born_section .media_item {
        height: 100vw;
        border-radius: 3vw;
    }
    .born_section .info_box {
        padding: 10vw 5vw;
        border-radius: 3vw;
    }
}