/* Insight Into Taiwan Page Styles */

:root {
    --heading-large: 3.125vw;
    --heading-medium: 2.08333vw;
    --heading-small: 1.5625vw;
    --body-text-large: 1.5625vw;
    --body-text-medium: 1.25vw;
}

@media (max-width: 991px) {
    :root {
        --heading-large: 32px;
        --heading-medium: 24px;
        --heading-small: 20px;
        --body-text-large: 18px;
        --body-text-medium: 16px;
    }
}

/* Base Styles */
body {
    font-family: 'Noto Sans TC', 'Red Hat Display', sans-serif;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: var(--heading-large);
    margin: 0;
}

.wrapper {
    padding: 0;
}

/* Custom Cursor */
.custom-cursor {
    width: 26px;
    height: 32px;
    background-image: url('../images/cursor.png');
    background-size: contain;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* Banner Section */
#banner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1920 / 1050;
}

#banner .mobile {
    display: none;
}

#banner .banner-img,
#banner .banner-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#banner .banner-hover-img {
    opacity: 0;
    transition: opacity 0.3s;
}

#banner .join {
    position: absolute;
    bottom: 4vw;
    left: 55vw;
    width: 15.1042vw;
    height: 17.1875vw;
    background: transparent;
    border: none;
    z-index: 10;
}

#banner .join:hover ~ .banner-hover-img,
#banner .join:focus ~ .banner-hover-img,
#banner .join:active ~ .banner-hover-img {
    opacity: 1;
}

/* Description Section */
#desc {
    position: relative;
    background-color: rgb(0, 182, 136);
}

#desc::before {
    content: '';
    z-index: 1;
    width: 5.20833vw;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 5.46875vw;
    right: 13.5417vw;
    background-size: contain;
    background-image: url('../images/desktop-desc-circle-pink.png');
}

#desc::after {
    content: '';
    z-index: 1;
    width: 5.20833vw;
    aspect-ratio: 1 / 1;
    position: absolute;
    bottom: 1.82292vw;
    right: 31.7708vw;
    background-size: contain;
    background-image: url('../images/desktop-desc-circle-yellow.png');
}

#desc .col-4 {
    aspect-ratio: 800 / 689;
    background-image: url('../images/desktop-desc.gif');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

#desc .col-8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 7.55208vw 0 5.46875vw;
}

#desc .title {
    color: rgb(235, 233, 224);
    margin-bottom: 1.5625vw;
    font-weight: 700;
    font-size: var(--body-text-large) !important;
}

#desc p {
    color: rgb(52, 39, 25);
    text-align: justify;
    font-size: var(--body-text-medium) !important;
}

/* About Section */
#about p {
    color: rgb(235, 233, 224);
}

#about .col-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 163, 246);
}

#about .col-4 * {
    color: rgb(119, 99, 41);
}

#about .col-8 {
    padding: 5.20833vw;
    background-color: rgb(119, 99, 41);
}

#about .col-8 p {
    font-size: var(--body-text-large) !important;
}

.sub-title {
    font-size: var(--heading-medium) !important;
    font-weight: 700;
}

/* Feature Section */
#feature {
    padding: 9.375vw 0;
}

#feature h3 {
    margin-bottom: 0.78125vw;
    font-weight: 700;
    font-size: var(--heading-small) !important;
}

#feature p {
    font-size: var(--body-text-medium) !important;
}

#feature .row {
    gap: 5.20833vw;
    justify-content: center;
}

#feature .col-md-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 17.7083vw;
}

#feature .col-md-3 .icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 1.30208vw;
}

#feature .col-md-3 p {
    color: rgb(119, 99, 41);
}

#feature .col-md-3:nth-child(1) .icon {
    background-image: url('../images/icon-1.svg');
}

#feature .col-md-3:nth-child(1) h3 {
    color: rgb(0, 182, 136);
}

#feature .col-md-3:nth-child(2) .icon {
    background-image: url('../images/icon-2.svg');
}

#feature .col-md-3:nth-child(2) h3 {
    color: rgb(205, 183, 66);
}

#feature .col-md-3:nth-child(3) .icon {
    background-image: url('../images/icon-3.svg');
}

#feature .col-md-3:nth-child(3) h3 {
    color: rgb(119, 99, 41);
}

#feature .col-md-3:nth-child(4) .icon {
    background-image: url('../images/icon-4.svg');
}

#feature .col-md-3:nth-child(4) h3 {
    color: rgb(255, 163, 246);
}

/* Join Section */
#join {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(119, 99, 41);
    position: relative;
    padding: 4.6875vw 0 11.9792vw;
}

#join::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url('../images/join.svg');
    width: 100%;
    aspect-ratio: 1920 / 164;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#join h2,
#join .sub-title {
    color: rgb(255, 163, 246);
}

#join h3 {
    font-size: var(--heading-small) !important;
    font-weight: 700;
}

#join li {
    font-size: var(--body-text-medium) !important;
}

#join .steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.64583vw;
    padding-top: 4.6875vw;
}

#join .steps .step {
    position: relative;
    border-radius: 35px;
    border: 0.520833vw solid rgb(235, 233, 224);
    width: 100%;
    max-width: 57.2917vw;
    padding: 3.125vw 5.46875vw;
}

#join .steps .step .icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-55%, -50%);
    max-width: 4.6875vw;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#join .steps .step .icon::before {
    content: 'Step';
    font-family: 'Red Hat Display', sans-serif;
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translate(0, -50%);
    font-weight: 700;
    font-size: var(--body-text-large);
    color: rgb(235, 233, 224);
}

#join .steps .step * {
    color: rgb(235, 233, 224);
}

#join .steps .step .col-md-4,
#join .steps .step .col-md-8 {
    display: flex;
    align-items: center;
}

#join .steps .step .col-md-8 {
    padding-right: 0;
}

#join .steps .step ul {
    margin: 0;
    padding: 0 0 0 15px;
    line-height: 2;
}

#join .steps .step a {
    font-weight: 700;
    background-color: rgb(255, 163, 246);
    color: rgb(119, 99, 41);
    margin: 0 5px;
    padding: 2px 10px;
    border-radius: 10px;
    text-decoration: none;
}

#join .steps .step a:hover {
    background-color: rgb(0, 182, 136);
    color: rgb(235, 233, 224);
}

#join .steps .step:nth-child(1) .icon {
    background-image: url('../images/step-1.svg');
}

#join .steps .step:nth-child(2) .icon {
    background-image: url('../images/step-2.svg');
}

#join .steps .step:nth-child(3) .icon {
    background-image: url('../images/step-3.svg');
}

/* Bottom Section */
#bottom .col-5 {
    display: flex;
    flex-direction: column;
}

#bottom .col-5 .webinars,
#bottom .col-5 .sign-up {
    min-height: 28.6458vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#bottom .col-5 .webinars {
    background-color: rgb(0, 182, 136);
}

#bottom .col-5 .webinars h2 {
    color: rgb(235, 233, 224);
}

#bottom .col-5 .webinars .sub-title {
    color: rgb(235, 233, 224);
}

#bottom .col-5 .sign-up {
    background-color: rgb(205, 183, 66);
}

#bottom .col-5 .sign-up h2 {
    color: rgb(52, 39, 25);
}

#bottom .col-5 .sign-up .arrow {
    width: 11.0938vw;
    aspect-ratio: 213 / 70;
    background-image: url('../images/arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 1.82292vw;
}

#bottom .coming-soon {
    width: fit-content;
    background-color: rgb(255, 163, 246);
    color: rgb(119, 99, 41);
    padding: 1.30208vw 5.72917vw;
    border-radius: 35px;
    margin-top: 11.1979vw;
    margin-left: 5.98958vw;
}

/* Footer Styles */
#wrapper-footer-full {
    background-color: #20255d;
    padding: 48px 0 51px;
}

#wrapper-footer-full h4 {
    color: #fff;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 400;
}

#wrapper-footer-full .footer-main-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 10px;
}

#wrapper-footer-full .footer-title {
    font-size: 24px;
    font-weight: 400;
    color: rgb(249, 176, 64);
    margin-top: 20px;
    margin-bottom: 0;
}

#wrapper-footer-full .footer-title:first-child {
    margin-top: 0;
}

#wrapper-footer-full ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#wrapper-footer-full li {
    margin-bottom: 0;
}

#wrapper-footer-full a,
#wrapper-footer-full p,
#wrapper-footer-full li,
#wrapper-footer-full .detail {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
}

#wrapper-footer-full a:hover {
    color: #fff;
    opacity: 0.8;
}

#wrapper-footer-full .btn-yb {
    display: inline-block !important;
    width: 41px !important;
    height: 31px !important;
    background: url('../images/btn-yb.svg') center/contain no-repeat !important;
    border-radius: 0 !important;
    border: none !important;
}

#wrapper-footer-full .social {
    margin-top: 10px;
}

#wrapper-footer {
    background-color: #1a1f4d;
    padding: 20px 0;
}

#wrapper-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0;
    text-align: center;
}

/* Navbar Styles */
.navbar {
    background-color: transparent !important;
    padding: 15px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    height: auto;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
}

.nav-top-cotaniner {
    background-color: #20255d;
    padding: 8px 0;
}

.nav-top-cotaniner a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    #banner {
        aspect-ratio: 700 / 1305;
    }

    #banner .desktop {
        display: none;
    }

    #banner .mobile {
        display: block;
    }

    #banner .join {
        bottom: 8vw;
        left: 25vw;
        width: 50vw;
        height: 25vw;
    }

    #desc {
        flex-direction: column;
    }

    #desc .col-4,
    #desc .col-8 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #desc .col-4 {
        aspect-ratio: 700 / 510;
        background-image: url('../images/desktop-desc.gif');
    }

    #desc .col-8 {
        padding: 8vw 5vw;
    }

    #desc::before,
    #desc::after {
        width: 15vw;
    }

    #about {
        flex-direction: column;
    }

    #about .col-4,
    #about .col-8 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #about .col-4 {
        padding: 8vw 5vw;
    }

    #about .col-8 {
        padding: 8vw 5vw;
    }

    #feature {
        padding: 15vw 5vw;
    }

    #feature .row {
        flex-direction: column;
        gap: 10vw;
    }

    #feature .col-md-3 {
        max-width: 100%;
        width: 60%;
        margin: 0 auto;
    }

    #join {
        padding: 10vw 5vw 25vw;
    }

    #join .steps {
        width: 100%;
        gap: 8vw;
        padding-top: 8vw;
    }

    #join .steps .step {
        max-width: 100%;
        padding: 8vw 5vw 5vw;
        border-width: 3px;
        margin-left: 15vw;
    }

    #join .steps .step .icon {
        max-width: 12vw;
    }

    #join .steps .step .icon::before {
        left: -60px;
        font-size: 14px;
    }

    #join .steps .step .col-md-4,
    #join .steps .step .col-md-8 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #bottom {
        flex-direction: column;
    }

    #bottom .col-md-4,
    #bottom .col-md-8,
    #bottom .col-5,
    #bottom .col-7 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #bottom .col-5 .webinars,
    #bottom .col-5 .sign-up {
        min-height: 50vw;
    }

    #bottom .coming-soon {
        margin: 15vw auto;
        padding: 4vw 10vw;
    }
}

/* Row flex display */
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Skip link */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
