* {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.bg-purple {
    background-color: #7e74b4!important;
}
.bg-purple2 {
    background-color: #9894c6!important;
}
.bg-purple3 {
    background-color: #7f79b9!important;
}
.bg-purple4 {
    background-color: #712049!important;
}
.bg-purple5 {
    background-color: #8c4a6d!important;
}
.bg-white-opacity-80 {
    background-color: rgba(255,255,255,.8);
}

.text-purple1 {
    color: #6059a1;
}
.text-purple2 {
    color: #712049;
}

.divider {
    background-color: #e1d1db;
    height: 4px;
    border-radius: 2px;
}

.navbar-brand img {
    width: 80px;
    height: auto;
}
.navbar-toggler {
    border: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.nav-link {
    font-weight: 300;
    padding-left: 12px;
    padding-right: 12px;
}

.section {
    position: relative;
}
.section .section-bg, .section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.section .section-bg {
    object-fit: cover;
    z-index: -2;
}
.section .section-overlay {
    z-index: -1;
}

.swiper-button-next, .swiper-button-prev {
    color: #888;
}

.xc-hover {
    margin-top: 20px;
    transition: transform .3s ease;
}
.xc-hover:hover {
    transform: translateY(-20px);
}
.xc-hover .xc-hover-appear {
    max-height: 0;
    transition: max-height .3s ease;
    overflow: hidden;
}
.xc-hover:hover .xc-hover-appear {
    max-height: 1000px;
}
.xc-hover .section-overlay {
    transition: background-color .3s ease;
}
.xc-hover:hover .section-overlay {
    background-color: rgba(98,99,165,.8)!important;
}

.xc-hover2 {
    transition: background-color .3s ease;
    background-color: #9894c6;
    min-height: 290px;
}
.xc-hover2:hover {
    background-color: #fff;
}
.xc-hover2 .xc-hover2-disappear {
    transition: opacity 0.3s;
    opacity: 1;
}
.xc-hover2:hover .xc-hover2-disappear {
    opacity: 0;
}
.xc-hover2 .xc-hover2-appear {
    transition: opacity 0.3s;
    opacity: 0;
}
.xc-hover2:hover .xc-hover2-appear {
    opacity: 1;
}

.rfs-1 {
    font-size: 100px;
    line-height: 100px;
}

.step-line {
    height: 100%;
    width: 2px;
    background-color: #fff;
    position: absolute;
    left: calc(50% - 1px);
    top: 0;
}
.step-line::after {
    content: "";
    background-color: #fff;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 0;
    left: -9px;
}
.step-line::before {
    content: "";
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    background-color: #fff;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    bottom: -2px;
    left: -9px;
}

@media (min-width: 992px) {

    .rfs-1 {
        font-size: 140px;
        line-height: 140px;
    }

    .step-line {
        background-color: transparent;
        height: 45%;
        width: 105%;
        position: absolute;
        left: -2.5%;
        top: 25%;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    .step-line::after {
        content: "";
        background-color: #fff;
        border-radius: 10px;
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        top: -11px;
    }
    .step-line::before {
        content: "";
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
        background-color: #fff;
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        bottom: -11px;
        left: -2px;
    }

}
