/* video */
#main .main-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
#main .main-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.volume-btn {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.volume-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.volume-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#muteIcon {
    width: 100%;
    height: 100%;
    display: block;
}

#unmuteIcon {
    width: 100%;
    height: 100%;
    display: none;
}
@media (max-width: 768px) {
    .volume-btn {
        width: 50px;
        height: 50px;
        left: 5px;
    }

    .volume-btn img {
        width: 90%;
        height: 90%;
    }
}
@media (max-width: 480px) {
    .volume-btn {
        width: 45px;
        height: 45px;
        left: 5px;
    }

    .volume-btn img {
        width: 85%;
        height: 85%;
    }
}
/*@media (max-width: 1023px) {*/
/*    #main .main-video { padding-top: 130%; }*/
/*}*/

/* section1 */
#section1 {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 980;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#section1 .container { height: 100%;position: relative; }
#section1 .section1_banner {
    width: 26%;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out infinite;
}
#section1 .section1_banner1 { top: 46%;left: 24%;animation-delay: 0s; }
#section1 .section1_banner2 { top: 40%;left: 42%;animation-delay: 0.5s; }
#section1 .section1_banner3 { top: 46%;left: 60%;animation-delay: 1s; }
#section1 .section1_banner4 { top: 40%;left: 80%;animation-delay: 1.5s; }
#section1 .section1_title1 { width: 36%;position: absolute;transform: translate(-50%, -50%);top: 94%;left: 28%; }
#section1 .section1_title2 { width: 42%;position: absolute;transform: translate(-50%, -50%);top: 94%;left: 70%; }

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 1023px) {
    #section1 { aspect-ratio: 480 / 980; }
    #section1 .section1_banner { width: 80%;animation: slideInOut 8s ease-in-out infinite; }
    #section1 .section1_banner1 { top: 46%;left: 40%;animation-name: slideInOut1; }
    #section1 .section1_banner2 { top: 40%;left: 48%;animation-name: slideInOut2; }
    #section1 .section1_banner3 { top: 34%;left: 56%;animation-name: slideInOut3; }
    #section1 .section1_banner4 { top: 28%;left: 64%;animation-name: slideInOut4; }
    #section1 .section1_title1 { width: 80%;top: 82%;left: 50%; }
    #section1 .section1_title2 { width: 88%;top: 94%;left: 50%; }

    @keyframes slideInOut1 {
        0% { opacity: 0; transform: translate(100%, -50%); }
        10% { opacity: 1; transform: translate(-50%, -50%); }
        90% { opacity: 1; transform: translate(-50%, -50%); }
        100% { opacity: 0; transform: translate(100%, -50%); }
    }
    @keyframes slideInOut2 {
        0% { opacity: 0; transform: translate(100%, -50%); }
        10% { opacity: 0; transform: translate(100%, -50%); }
        20% { opacity: 1; transform: translate(-50%, -50%); }
        80% { opacity: 1; transform: translate(-50%, -50%); }
        90% { opacity: 0; transform: translate(100%, -50%); }
        100% { opacity: 0; transform: translate(100%, -50%); }
    }
    @keyframes slideInOut3 {
        0% { opacity: 0; transform: translate(100%, -50%); }
        20% { opacity: 0; transform: translate(100%, -50%); }
        30% { opacity: 1; transform: translate(-50%, -50%); }
        70% { opacity: 1; transform: translate(-50%, -50%); }
        80% { opacity: 0; transform: translate(100%, -50%); }
        100% { opacity: 0; transform: translate(100%, -50%); }
    }
    @keyframes slideInOut4 {
        0% { opacity: 0; transform: translate(100%, -50%); }
        30% { opacity: 0; transform: translate(100%, -50%); }
        40% { opacity: 1; transform: translate(-50%, -50%); }
        60% { opacity: 1; transform: translate(-50%, -50%); }
        70% { opacity: 0; transform: translate(100%, -50%); }
        100% { opacity: 0; transform: translate(100%, -50%); }
    }

}


/* section2 */
#section2 {
    position: relative;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#section2 .container { height: 100%;position: relative; }

.section2_card {
    position: relative;
    width: 100%;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    z-index: 1;
    margin: 0.5rem;
}

.section2_card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(to right, #4ce7fd, #446dff);
    border-radius: 1rem;
    z-index: -1;
}
.section2_card_content { background-color: #ffffff;padding: 2rem;border-radius: 1rem;position: relative;z-index: 2; }
.section2_title { display: flex;justify-content: start;align-items: center;margin-bottom: 1rem;padding: 0 1rem; }
.section2_icon { width: 4rem;margin-right: 1rem; }
.section2_title div { color: #4EBDE7;font-size: 2rem;font-weight: 700; }
.section2_text { color: #666666;font-size: 1.2rem;text-align: justify; }

@media (max-width: 1023px) {
    /*#section2 { aspect-ratio: 480 / 980; }*/
    #section2 { padding: 2rem 0; }
    .section2_card { margin: 0.5rem 0.5rem 1rem; }
    .section2_card_content { padding: 1rem; }
    .section2_title { justify-content: space-between; }
    .section2_icon { width: 3.5rem; }
    .section2_title div { font-size: 1.6rem; }
    .section2_text { font-size: 1rem; }

}

/* section3 */
#section3 { position: relative;width: 100%; }
#section3 .container { height: 100%;position: relative; }
.section3_icon { width: 8rem;margin-bottom: 1rem; }
.section3_title { color: #4EBDE7;font-size: 2rem;font-weight: 700;margin-bottom: 1rem; }
.section3_text { color: #666666;font-size: 1.2rem;text-align: center;margin-bottom: 2rem; }

@media (max-width: 1023px) {
    #section3 { padding: 2rem 0; }
    .section3_icon { width: 6rem; }
    .section3_title { font-size: 1.8rem;text-align: center; }
    .section3_title1 { font-size: 1.5rem; }
    .section3_title2 { font-size: 1rem; }
    .section3_text { font-size: 1rem; }
}

/* section4 */
#section4 { position: relative;width: 100%; }
.section4_module { width: 100%;position: relative; }
.section4_module .container { display: flex;justify-content: space-between;align-items: center;position: relative; }
.section4_module_img { width: 30%; }
.section4_module_bg {
    width: 100%;height: 80%;background-color: rgba(189, 221, 255, 0.25);
    position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: -1;
}
.section4_module_text { width: 40%;display: flex;flex-direction: column;justify-content: center;align-items: start; }
.section4_title { color: #4EBDE7;font-size: 2rem;font-weight: 700;text-align: justify;margin-bottom: 1rem; }
.section4_title span { font-weight: 400; }
.section4_text { color: #666666;font-size: 1.2rem;text-align: justify;margin-bottom: 1rem; }

@media (max-width: 1023px) {
    #section4 { padding: 2rem 0; }
    .section4_module { padding: 1rem;margin-bottom: 1rem; }
    .section4_module_bg { height: 100%; }
    .section4_module_img { width: 38%; }
    .section4_module_text { width: 60%; }
    .section4_title { font-size: 1.2rem; }
    .section4_text { font-size: 0.8rem; }
    #section4 .apply_btn { height: 2rem; }
}
