/* ===== 2025 Intro Section 樣式 ===== */

/* ===== 桌面版樣式 (Desktop Styles) ===== */

/* Intro Section 基礎設定 */
.intro {
    position: relative;
    overflow: hidden;
}

/* 背景分割效果 */
.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 280px;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(135deg, rgba(255, 143, 96, 0.8) 0%, rgba(255, 143, 96, 0.8) 50%, rgba(49, 50, 114, 0.9) 50%, rgba(49, 50, 114, 0.9) 100%),
        url('../../img/2025/getty.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    z-index: 1;
}

.intro .container {
    position: relative;
    z-index: 2;
}

/* 右上角圓形裝飾 */
.intro::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: #9196ff;
    border-radius: 50%;
    z-index: 2;
}

/* 顏色交界處圓形裝飾 */
.intro-junction-circle {
    position: absolute;
    bottom: -78px;
    left: 39%;
    width: 150px;
    height: 150px;
    background-color: #F0FF96;
    border-radius: 50%;
    z-index: 3;
}

/* 文字樣式 */
.intro h1 {
    color: #000 !important;
    position: relative;
    display: inline-block;
}

.intro h1::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -60%;
    width: 98px;
    height: 97px;
    background-image: url('../../img/2025/intro_icon1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 4;
}

/* 電腦版文字顏色 */
.intro-h1-span {
    color: #000 !important;
    font-size: 36px !important;
    font-weight: bold;
}

.intro p:not(.intro-h1-span) {
    color: #000 !important;
    font-size: 22px !important;
}

/* 裝飾圓形 */
.intro-shape {
    position: absolute;
    border-radius: 50%;
}

.intro-shape-circle-yellow-1 {
    width: 40px;
    height: 40px;
    background-color: #E7EC97;
    top: 150px;
    right: 350px;
    z-index: 10;
}

/* intro_icon2 學士帽圖示 */
.intro-icon2 {
    position: absolute;
    top: 9%;
    right: 7%;
    width: 180px;
    height: 150px;
    background-image: url('../../img/2025/intro_icon2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 4;
}

/* Intro 圖片組效果 */
.intro_icon_group1,
.intro_icon_group2,
.intro_icon_group3 {
    position: absolute;
    z-index: 5;
}

.intro_icon_group1 {
    width: 280px;
    height: auto;
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.intro_icon_group2 {
    width: 280px;
    height: auto;
    top: 35%;
    left: 25%;
    transform: rotate(8deg);
}

.intro_icon_group3 {
    width: 230px;
    height: auto;
    top: 55%;
    left: 15%;
    transform: rotate(-8deg);
}

/* Intro 人物圖片 */
.intro-icon3-person {
    position: absolute;
    bottom: -100px;
    right: 115px;
    width: 350px;
    height: auto;
    z-index: 6;
}

.intro-icon4-person {
    display: none;
}

/* 左側橙色區域裝飾元素 */
.intro-shape-circle-navy-left {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #343579;
    border-radius: 50%;
    top: 25%;
    left: 50px;
    z-index: 3;
}

.intro-shape-semicircle-purple-left {
    position: absolute;
    width: 180px;
    height: 180px;
    background-color: #8B7FD7;
    border-radius: 50%;
    bottom: 150px;
    left: -90px;
    z-index: 3;
}

/* 手機版額外裝飾元素預設隱藏 */
.intro-mobile-circle-blue,
.intro-mobile-circle-yellow-small,
.intro-mobile-circle-purple {
    display: none;
}

/* Intro 底部橙色區塊 - 預設隱藏 */
.intro-bottom-orange {
    display: none;
}

/* ===== 平板版樣式 (Tablet Styles) ===== */
@media (max-width: 900px) {
    .intro {
        height: 987px;
    }

    /* 圖片組 */
    .intro_icon_group1 {
        display: none;
    }

    .intro_icon_group2 {
        display: none;
    }

    .intro_icon_group3 {
        display: none;
    }

    /* 人物圖片和左側裝飾 */
    .intro-icon3-person {
        display: none;
    }

    .intro-icon4-person {
        position: relative;
        display: block;
        width: 500px;
        bottom: 16px;
        right: -80px;
    }
}

@media (max-width: 768px) {
    .intro {
        height: 987px;
        background-image: url('../../img/2025/intro_background.jpg?20250918');
        background-size: cover;
        background-position: center;
        background-repeat: repeat;
        padding-top: 50px;
    }

    .intro::before {
        background-image:
            linear-gradient(120deg, rgba(255, 143, 96, 0.8) 0%, rgba(255, 143, 96, 0.8) 45%, rgba(52, 53, 121, 0.8) 45%, rgba(52, 53, 121, 0.8) 100%),
            url('../../img/2025/getty.png');
        background-size: cover, cover;
        background-position: center, center;
        background-repeat: no-repeat, no-repeat;
    }

    .intro::after {
        display: none;
    }

    .intro-junction-circle {
        width: 120px;
        height: 120px;
        bottom: 25%;
    }

    .intro h1::after {
        width: 50px;
        height: 50px;
        right: -60px;
    }

    .intro-icon2 {
        width: 140px;
        height: 120px;
        right: 4%;
        top: 78%;
    }

    /* 圖片組 - 平板版 */
    .intro_icon_group1 {
        display: none;
        width: 150px;
        top: 8%;
        left: 3%;
    }

    .intro_icon_group2 {
        display: none;
        width: 130px;
        top: 30%;
        left: 20%;
    }

    .intro_icon_group3 {
        display: none;
        width: 120px;
        top: 55%;
        left: 8%;
    }

    /* 人物圖片和左側裝飾 - 平板版 */
    .intro-icon3-person {
        display: none;
        width: 250px;
        bottom: -20px;
        right: -20px;
    }

    .intro-icon4-person {
        position: static;
        display: block;
        width: 400px;
        bottom: -362px;
        right: 70px;
    }

    .intro-shape-circle-navy-left {
        width: 40px;
        height: 40px;
        top: 20%;
        left: 30px;
    }

    .intro-shape-semicircle-purple-left {
        width: 140px;
        height: 140px;
        bottom: 120px;
        left: -70px;
    }

    /* 平板版文字顏色 */
    .intro-h1-span {
        color: #000 !important;
        font-size: 36px !important;
        font-weight: inherit;
    }

    .intro p:not(.intro-h1-span) {
        color: #000 !important;
        font-size: 22px !important;
    }
}

/* ===== 手機版樣式 (Mobile Styles) ===== */
@media (max-width: 480px) {
    .intro span {
        color: #F0FF96;
        font-size: 36px;
        font-weight: bold;
    }

    /* 手機版文字顏色 */
    .intro-h1-span {
        color: #ffffff !important;
        font-size: 28px !important;
        font-weight: bold !important;
    }

    .intro p:not(.intro-h1-span) {
        color: #ffffff !important;
        font-size: 18px !important;
    }

    .intro::before {
        display: none;
    }

    .intro::after {
        display: none;
    }

    .intro-junction-circle {
        width: 100px;
        height: 100px;
        bottom: -7%;
        left: 75%;
    }

    .intro h1::after {
        width: 80px;
        height: 80px;
        right: -100px;
    }

    .intro-shape-circle-yellow-1 {
        display: none;
    }

    .intro-icon2 {
        width: 100px;
        height: 85px;
        right: 4%;
        top: 68%;
    }

    /* 圖片組 - 手機版 */
    .intro_icon_group1 {
        display: none;
        width: 150px;
        top: 5%;
        left: 2%;
    }

    .intro_icon_group2 {
        display: none;
        width: 150px;
        top: 25%;
        left: 15%;
    }

    .intro_icon_group3 {
        display: none;
        width: 130px;
        top: 50%;
        left: 5%;
    }

    /* 人物圖片和左側裝飾 - 手機版 */
    .intro-icon3-person {
        display: none;
        width: 180px;
        bottom: -362px;
        right: 70px;
    }

    .intro-icon4-person {
        display: block;
        position: static;
        width: 287px;
        bottom: -362px;
        right: 70px;
    }

    .intro-shape-circle-navy-left {
        display: none;
    }

    .intro-shape-semicircle-purple-left {
        width: 100px;
        height: 100px;
        bottom: 24px;
        left: -50px;
    }

    /* 手機版額外裝飾圓形 */
    .intro-mobile-circle-blue {
        display: block;
        position: absolute;
        width: 25px;
        height: 25px;
        background-color: #343579;
        border-radius: 50%;
        bottom: 40%;
        left: 20px;
        z-index: 2;
    }

    .intro-mobile-circle-yellow-small {
        display: block;
        position: absolute;
        width: 25px;
        height: 25px;
        background-color: #E7EC97;
        border-radius: 50%;
        bottom: 28%;
        right: 50%;
        z-index: 2;
    }

    .intro-mobile-circle-purple {
        display: block;
        position: absolute;
        width: 60px;
        height: 60px;
        background-color: #8B7FD7;
        border-radius: 50%;
        bottom: 10%;
        right: -30px;
        z-index: 2;
    }

    /* 手機版底部橙色區塊 */
    .intro-bottom-orange {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 31%;
        background-color: #ff8f60;
        z-index: 1;
        clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
    }
}