/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
    overflow-x: hidden;
    background: #f6f6f6;
}

:root {
    --main: #500B71;
    --dark: #EEDB31;
    --shopping: #ae4323;
    --accent: #ae4323;
    --shadow-s: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-m: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-l: 0 20px 60px rgba(0,0,0,0.3);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--main); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--dark); }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

header > * {
    pointer-events: auto;
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: absolute;
    left: 0;
    top: 20px;
    background: #FFF8DC;
    border-radius: 0 50px 50px 0;
    box-shadow: var(--shadow-l);
    height: 90px;
    z-index: 10004;
    pointer-events: auto;
}
.logo img { width: 120px; height: 70px; }

.ci .cis video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center /* 將影片內容置中 */
}

nav {
    display: flex;
    padding: 10px 20px;
    position: absolute;
    top: 20px;
    right: 0;
    height: 90px;
    align-items: center;
    gap: 5px;
    border-radius: 50px 0 0 50px;
    box-shadow: var(--shadow-s);
    background: white;
    z-index: 10003;
    pointer-events: auto;
}

.ni {
    position: relative;
    width: 140px;
    height: 25px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    pointer-events: auto !important;
}

.ni a {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    text-decoration: none;
}

.ni span {
    position: absolute;
    width: calc(100% - 35px);
    text-align: left;
    left: 35px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.en {
    color: var(--main);
    transform: translateY(0);
}

.en::after {
    content: '';
    position: absolute;
    left: 0;
    width: 60px;
    height: 2px;
    background: #333;
    bottom: -3px;
    border-radius: 2px;
}

.ch {
    color: #999;
    transform: translateY(25px);
}

.ch::after {
    content: '';
    position: absolute;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--main);
    bottom: -3px;
    border-radius: 2px;
}

.ni:hover .en { transform: translateY(-25px); }
.ni:hover .ch { transform: translateY(0); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10005;
    position: fixed;
    right: 30px;
    top: 30px;
    pointer-events: auto !important;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #07ADA3;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero Section */
.hero {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    background: #f6f6f6;
    position: relative;
    overflow: visible;
}

.hl {
    position: absolute;
    bottom: 120px;
    left: 100px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ht { margin-bottom: 0; display: flex; flex-direction: column; }

.tl {
    display: flex;
    align-items: center;
    font-size: 80px;
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 0;
}

.tl:first-child { margin-bottom: -6px; }
.tl:nth-child(2) { gap: 0; margin-bottom: -6px; }
.tl:nth-child(3) { display: flex; align-items: center; gap: 40px; }
.ts { color: var(--main); }

.to {
    color: transparent;
    -webkit-text-stroke: 3px var(--main);
    position: absolute;
    left: 280px;
    top: 6px;
    font-size: 150px;
    font-weight: 900;
    line-height: 0.8;
}

.st { font-size: 32px; color: gray; white-space: normal; font-weight: 400; }

.hr {
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    z-index: 1;
}

.ci {
    width: 650px;
    height: 650px;
    border-radius: 50%;
    overflow: hidden;
    animation: bounce 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    background: white;
    position: relative;
}

.cis {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cis video {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.cd {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0;
    animation: dropAndBounce 1.5s ease-out forwards;
    z-index: 0;
}

@keyframes dropAndBounce {
    0% { transform: translateY(-150%); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(0); opacity: 0.6; }
}

.cd-1 { width: 380px; height: 380px; left: -100px; top: -80px; }
.cd-2 { width: 220px; height: 220px; right: -50px; top: 100px; }
.cd-3 { width: 420px; height: 420px; left: -120px; bottom: 20px; }
.cd-4 { width: 260px; height: 260px; right: -80px; bottom: 80px; }
.cd-5 { width: 350px; height: 350px; left: 500px; bottom: 10px; }

.hero-design-mix {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-bg-text-left {
    position: absolute;
    top: 65%;
    right: 10%;
    font-size: 90px;
    font-weight: 900;
    color: rgba(0, 92, 170, 0.08);
}

.hero-badge-left {
    position: absolute;
    top: 75%;
    right: 15%;
    width: 100px;
    height: 100px;
    border: 5px solid rgba(0, 92, 170, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: rgba(16, 81, 87, 0.6);
    text-align: center;
    line-height: 1.3;
    transform: rotate(12deg);
}

.hero-tag-left {
    position: absolute;
    top: 80%;
    right: 10%;
    padding: 10px 20px;
    background: rgba(0, 92, 170, 0.12);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(16, 81, 87, 0.7);
    transform: rotate(5deg);
}

.hero-bg-text-right {
    position: absolute;
    top: 18%;
    right: 5%;
    font-size: 90px;
    font-weight: 900;
    color: rgba(255, 227, 41, 0.5);
}

.hero-badge-right {
    position: absolute;
    top: 28%;
    right: 15%;
    width: 100px;
    height: 100px;
    border: 5px solid rgba(255, 227, 41, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: rgba(255, 227, 41, 0.6);
    text-align: center;
    line-height: 1.3;
    transform: rotate(12deg);
}

.hero-tag-right {
    position: absolute;
    top: 35%;
    right: 10%;
    padding: 10px 20px;
    background: rgba(255, 227, 41, 0.10);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 227, 41, 0.6);
    transform: rotate(5deg);
}

/* Sections */
.news-section {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    background: #f6f6f6;
}

.bc, .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.atit, .about-title {
    font-size: 70px;
    font-weight: 900;
    color: var(--main);
}

.about-subtitle {
    font-size: 24px;
    letter-spacing: 8px;
    margin-bottom: 10px;
    color: #666;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 20px;
    position: relative;
}

.about-content {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    letter-spacing: 3px;
}

.news .row {
    display: flex;
    justify-content: center;
    gap: 120px; /* 從 80px 改成 120px */
}
#ABOUT .about-row {
    display: flex;
    justify-content: center;
    gap: 150px !important;
    column-gap: 150px !important;
}

#ABOUT .about-row .col-md-6,
#ABOUT .about-row .col-lg-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.news .about-content {
    text-align: justify;
}

/* Cards */
.card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    height: 300px;
    border: 4px solid gray;
}

.card:hover {
    border-color: var(--main);
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    justify-items: center;
}

.scard {
    height: auto !important;
    min-height: 250px;
    overflow: hidden;
}

.scard .cc {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.cc { height: 100%; }

.scard .ic {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
}

.scard .ic img {
    width: 100%;
    height:100%;
    object-fit: cover;
}

.cta { height: auto !important; }

.scard .cta {
    flex: 1;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: white;
}

.scard .tit {
    font-size: 21px;
    font-weight: 900;
    color: var(--main);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--main);
    width: 100%;
    text-align: center;
}

.scard .desc {
    font-size: 16px;
    color: #666;
    text-align: left;
    line-height: 1.8;
    width: 100%;
}

.desc {
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.8;
    text-align: left;
}

/* 課程彈窗 */
.course-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.course-modal.active {
    display: flex;
}

.course-modal-content {
    background: white;
    border-radius: 25px;
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from { transform: scale(0.5) translateY(-100px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.course-modal .cb {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #333;
    transition: all 0.3s;
}

.course-modal .cb:hover {
    background: var(--main);
    color: white;
    transform: rotate(90deg);
}

.course-carousel {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.course-info {
    padding: 40px;
    background: #E6E6E6; /* K10 淺灰色 */
}

.course-category {
    color: #00d1b4;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.course-description {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* 影片容器 */
.video-container {
    width: 100%;
    height: auto;
    min-height: 300px;
    position: relative;
    background: white;
    overflow: hidden;
}

.card-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 1;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: var(--main);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.video-play-btn.playing {
    font-size: 24px;
    padding-left: 0;
}

/* 候選人卡片網格 */
.candidate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.candidate-card {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 3px solid transparent;
}

.candidate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.candidate-card:hover::before {
    transform: scaleX(1);
}

.candidate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--main);
}

.candidate-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.candidate-image {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.candidate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.candidate-card:hover .candidate-image img {
    transform: scale(1.1);
}

.candidate-info {
    flex: 1;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.candidate-name {
    font-size: 28px;
    font-weight: 900;
    color:var(--main);
    margin-bottom: 12px;
}

.candidate-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    width: 100%;
}

.candidate-dept {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 500;
}

.candidate-theme {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--main);
    line-height: 1.5;
}

/* Photo Carousel - 重新命名避免衝突 */
.concert-photo-carousel {
    padding: 0;
    margin: 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.concert-carousel-track {
    display: flex;
    gap: 0;
    animation: photoCarouselScroll 40s linear infinite;
    width: max-content;
    will-change: transform;
}

.concert-carousel-track:hover { 
    animation-play-state: paused; 
}

@keyframes photoCarouselScroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

.concert-photo-item {
    flex-shrink: 0;
    width: 600px;
    height: 400px;
    position: relative;
    overflow: hidden;
	transition: transform 0.3s ease;
}

.concert-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	transition: transform 0.3s ease; 
}
.concert-photo-item:hover img {
    transform: scale(1.1);  /* 新增這段：圖片再放大一點 */
}

/* 手機版調整 */
@media (max-width: 768px) {
    .concert-carousel-track {
        animation: photoCarouselScroll 30s linear infinite;
    }
    
    .concert-photo-item { 
        width: 350px; 
        height: 250px; 
    }
}

@media (max-width: 480px) {
    .concert-carousel-track {
        animation: photoCarouselScroll 25s linear infinite;
    }
    
    .concert-photo-item { 
        width: 280px; 
        height: 200px; 
    }
}
.concert-photo-item:hover {
    transform: scale(1.05);  /* 新增這段：滑鼠過去時放大 1.05 倍 */
    z-index: 10;
}

/* Footer */
.footer-main {
    background: #2d2d2d;
    padding: 0;
    position: relative;
    min-height: 500px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
    position: relative;
	min-height: 500px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 預設靠左 */
}
.footer-column:first-child {
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 120px;
    margin-bottom: 20px;
}

.footer-slogan {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-link:hover {
    color: #EEDB31;
    transform: translateX(5px);
}

.footer-link svg {
    flex-shrink: 0;
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-link:hover svg {
    color: #EEDB31;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.copyright-text {
    font-size: 16px;
    color: #666;
    letter-spacing: 4px;
}

/* 圖片展示區塊 */
.footer-column.image-showcase {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
}

.image-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 15px 20px;
    position: relative;
    z-index: 1;
}

.image-showcase-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-showcase-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.image-showcase-item:nth-child(2) { grid-column: 1; grid-row: 2; }
.image-showcase-item:nth-child(3) { grid-column: 1; grid-row: 3; }
.image-showcase-item:nth-child(4) { grid-column: 2; grid-row: 1; }
.image-showcase-item:nth-child(5) { grid-column: 2; grid-row: 2; }

.image-showcase-item img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
    background: white;
    padding: 10px;
}

.image-showcase-text {
    width: 100%;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 992px) {
    .menu-toggle { display: flex !important; }
    header { padding: 15px 20px; background: transparent; }
    .logo { height: 60px; padding: 8px 15px; top: 15px; z-index: 10003; }
    .logo img { width: 80px; height: 45px; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        border-radius: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,.2);
        transition: right .4s;
        overflow-y: auto;
        gap: 0;
        z-index: 10002;
    }

    nav.active { right: 0; }

    .ni {
        width: 100%;
        height: auto;
        padding: 20px 0;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
        overflow: visible;
    }

    .ni:hover .en,
    .ni:hover .ch {
        transform: none !important;
    }

    .ni span {
        position: static;
        transform: none !important;
        display: block;
        width: 100%;
        left: 0;
        margin-bottom: 5px;
    }

    .en {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
        transform: none !important;
    }

    .en::after { display: none; }

    .ch {
        font-size: 13px;
        transform: none !important;
        color: var(--main);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bc, .container-fluid { padding: 0 20px; }
    .atit, .about-title { font-size: 40px; }
    .about-subtitle { font-size: 18px; letter-spacing: 4px; }
    .cg { grid-template-columns: 1fr; padding: 0 20px; gap: 20px; }
    .card { max-width: 100%; height: 280px; border-radius: 20px; border-width: 3px; }
    .card:hover { transform: scale(1.02); }
    .scard { height: auto; min-height: 450px; }
    .scard .ic { height: 180px; }
    .scard .cta { padding: 25px 20px; gap: 12px; }
    .scard .tit { font-size: 20px; padding-bottom: 12px; border-bottom-width: 2px; }
    .scard .desc { font-size: 15px; line-height: 1.7; }

    .hero {
        padding: 0;
        height: auto;
        min-height: 80vh;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
    }

    .hr { position: static; transform: none; width: 100%; height: 400px; margin-top: 0; order: 1; }
    .ci { width: 100%; height: 400px; border-radius: 0; box-shadow: none; }
    .cd { display: none; }
    .hl { position: static; width: 100%; padding: 15px 20px; order: 2; left: 0; bottom: 0; }
    .ht { width: 100%; }
    .tl { font-size: 40px; line-height: 1.2; margin-bottom: 5px; flex-wrap: wrap; }
    .to { position: static; font-size: 70px; -webkit-text-stroke: 2px #E46317; margin: 10px 0; }
    .tl:nth-child(3) { flex-direction: row; gap: 15px; align-items: center; }
    .st { font-size: 16px; text-align: left; width: auto; white-space: nowrap; }

    .hero-bg-text-left { font-size: 50px; top: 10%; left: 3%; }
    .hero-badge-left { width: 70px; height: 70px; font-size: 12px; top: 20%; left: 10%; }
    .hero-tag-left { font-size: 10px; padding: 6px 12px; top: 28%; left: 5%; }
    .hero-bg-text-right { font-size: 45px; top: 15%; right: 2%; }
    .hero-badge-right { width: 60px; height: 60px; font-size: 11px; top: 23%; right: 8%; }
    .hero-tag-right { font-size: 10px; padding: 6px 12px; top: 30%; right: 5%; }

    .concert-photo-item { width: 350px; height: 250px; }

    .candidate-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 30px;
    }
    
    .candidate-image {
        height: 300px;
    }
    
    .candidate-info {
        padding: 25px 20px;
    }
    
    .candidate-name {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .candidate-desc {
        font-size: 14px;
    }
    
    .candidate-dept {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .candidate-theme {
        font-size: 15px;
    }

    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 20px;
    }

    .footer-logo {
        width: 100px;
    }

    .footer-heading {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-link {
        font-size: 14px;
    }

    .copyright-text {
        font-size: 12px;
        line-height: 1.6;
    }

    .course-modal {
        padding: 0;
    }
    
    .course-modal-content {
        border-radius: 0;
        max-width: 100%;
        height: 100vh;
        overflow-y: auto;
    }
    
    .course-carousel {
        height: 300px;
    }
    
    .course-info {
        padding: 30px 20px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }

    .video-container {
        height: 180px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-bg-text-left { font-size: 40px; top: 8%; }
    .hero-badge-left { width: 60px; height: 60px; font-size: 10px; top: 18%; }
    .hero-tag-left { font-size: 9px; padding: 5px 10px; top: 25%; }
    .hero-bg-text-right { font-size: 35px; top: 12%; }
    .hero-badge-right { width: 50px; height: 50px; font-size: 9px; top: 20%; }
    .hero-tag-right { font-size: 9px; padding: 5px 10px; top: 27%; }
}

@media (max-width: 1200px) {
    .candidate-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .candidate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 40px;
    }
}
/* Tablet Design - iPad & Similar Devices */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Container adjustments */
    .bc, .container-fluid {
        padding: 0 40px;
    }

    /* Header & Navigation */
    .logo {
        width: 90px;
        height: 90px;
        left: 15px;
        top: 15px;
    }

    .logo img {
        width: 70px;
        height: 70px;
    }

    nav {
        padding: 8px 15px;
        height: 80px;
        gap: 3px;
    }

    .ni {
        width: 120px;
        height: 22px;
    }

    .ni span {
        font-size: 12px;
        left: 30px;
    }

    /* Hero Section */
    .hero {
        min-height: 90vh;
    }

    .hl {
        left: 60px;
        bottom: 100px;
    }

    .tl {
        font-size: 60px;
    }

    .tl:first-child {
        margin-bottom: -5px;
    }

    .tl:nth-child(2) {
        margin-bottom: -5px;
    }

    .tl:nth-child(3) {
        gap: 30px;
    }

    .to {
        font-size: 120px;
        left: 220px;
        top: 5px;
        -webkit-text-stroke: 2.5px var(--main);
    }

    .st {
        font-size: 26px;
    }

    .hr {
        width: 550px;
        height: 550px;
        left: 58%;
    }

    .ci {
        width: 550px;
        height: 550px;
    }

    .cd-1 {
        width: 320px;
        height: 320px;
        left: -80px;
        top: -60px;
    }

    .cd-2 {
        width: 180px;
        height: 180px;
        right: -40px;
        top: 80px;
    }

    .cd-3 {
        width: 350px;
        height: 350px;
        left: -100px;
        bottom: 15px;
    }

    .cd-4 {
        width: 220px;
        height: 220px;
        right: -60px;
        bottom: 60px;
    }

    .cd-5 {
        width: 280px;
        height: 280px;
        left: 420px;
        bottom: 8px;
    }

    .hero-bg-text-left {
        font-size: 70px;
        top: 70%;
        right: 8%;
    }

    .hero-badge-left {
        width: 85px;
        height: 85px;
        font-size: 14px;
        top: 78%;
        right: 12%;
    }

    .hero-tag-left {
        font-size: 13px;
        padding: 8px 16px;
        top: 83%;
        right: 8%;
    }

    .hero-bg-text-right {
        font-size: 70px;
        top: 15%;
        right: 4%;
    }

    .hero-badge-right {
        width: 85px;
        height: 85px;
        font-size: 14px;
        top: 25%;
        right: 12%;
    }

    .hero-tag-right {
        font-size: 13px;
        padding: 8px 16px;
        top: 32%;
        right: 8%;
    }

    /* Sections */
    .news-section {
        padding: 60px 0;
    }

    .atit, .about-title {
        font-size: 55px;
    }

    .about-subtitle {
        font-size: 20px;
        letter-spacing: 6px;
    }

    .section-header {
        margin-bottom: 50px;
        gap: 15px;
    }

    .about-content {
        font-size: 18px;
        line-height: 1.7;
        letter-spacing: 2px;
    }

    .news .row {
        gap: 60px;
    }

    /* Cards Grid */
    .cg {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 40px;
        max-width: 1200px;
    }

    .card {
        max-width: 450px;
        height: 280px;
    }

    .scard {
        min-height: 380px;
    }

    .scard .ic {
        height: 180px;
    }

    .scard .cta {
        padding: 30px 25px;
        gap: 12px;
    }

    .scard .tit {
        font-size: 19px;
        padding-bottom: 12px;
    }

    .scard .desc {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Candidate Grid */
    .candidate-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 40px;
        max-width: 1200px;
    }

    .candidate-image {
        height: 220px;
    }

    .candidate-info {
        padding: 22px 18px;
    }

    .candidate-name {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .candidate-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .candidate-dept {
        font-size: 13px;
        margin-bottom: 7px;
    }

    .candidate-theme {
        font-size: 15px;
    }

    /* Course Modal */
    .course-modal {
        padding: 15px;
    }

    .course-modal-content {
        max-width: 700px;
    }

    .course-carousel {
        height: 400px;
    }

    .course-info {
        padding: 35px;
    }

    .course-category {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .course-description {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .carousel-prev,
    .carousel-next {
        width: 45px;
        height: 45px;
        font-size: 26px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    /* Photo Carousel */
    .concert-photo-item {
        width: 500px;
        height: 350px;
    }

    .concert-carousel-track {
        animation: photoCarouselScroll 35s linear infinite;
    }

    /* Video Container */
    .video-container {
        min-height: 280px;
    }

    .video-play-btn {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    /* Footer */
    .footer-main {
        min-height: 450px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        padding: 50px 40px 35px 40px;
        min-height: 450px;
    }

    .footer-column.image-showcase {
        width: 35%;
        padding: 35px 25px 50px 25px;
    }

    .image-showcase-grid {
        gap: 12px 15px;
    }

    .image-showcase-item img {
        max-height: 130px;
        padding: 8px;
    }

    .image-showcase-text {
        font-size: 13px;
    }

    .footer-logo {
        width: 110px;
        margin-bottom: 18px;
    }

    .footer-slogan {
        font-size: 13px;
    }

    .footer-heading {
        font-size: 18px;
        margin-bottom: 18px;
        letter-spacing: 1.5px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-link {
        font-size: 14px;
        padding: 6px 0;
        gap: 10px;
    }

    .footer-bottom {
        padding: 22px 0;
    }

    .copyright-text {
        font-size: 15px;
        letter-spacing: 3px;
    }
}

/* Tablet Portrait Mode - Specific adjustments */
@media (max-width: 820px) and (min-width: 769px) and (orientation: portrait) {
    .hero {
        min-height: 85vh;
    }

    .hl {
        left: 40px;
        bottom: 80px;
    }

    .tl {
        font-size: 50px;
    }

    .to {
        font-size: 100px;
        left: 180px;
    }

    .st {
        font-size: 22px;
    }

    .hr {
        width: 480px;
        height: 480px;
        left: 60%;
    }

    .ci {
        width: 480px;
        height: 480px;
    }

    .cg {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .candidate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column.image-showcase {
        grid-column: 1 / -1;
        width: 100%;
        position: relative;
        margin-top: 20px;
    }

    .footer-column.image-showcase::after {
        display: none;
    }
}
.showcase-container {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.showcase-section {
    flex: 1;
}

.showcase-title {
    color: #333; /* 深色文字 */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--main);
    text-align: center; /* 文字置中 */
}

.image-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; /* 圖片置中 */
}

.image-showcase-item img {
    max-width: 100%;
    height: auto;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .showcase-container {
        flex-direction: column;
        gap: 30px;
    }
}


/* ==================== 響應式設計 - 完整版本 ==================== */

/* 1. 大螢幕 (1920px+) */
@media (min-width: 1920px) {
    .bc, .container-fluid {
        max-width: 1800px;
    }
    
    .cg {
        max-width: 1800px;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .hero {
        padding: 0 100px;
    }
    
    .hl {
        left: 150px;
    }
    
    .hr {
        width: 750px;
        height: 750px;
    }
    
    .ci {
        width: 750px;
        height: 750px;
    }
    
    .tl {
        font-size: 100px;
    }
    
    .to {
        font-size: 180px;
        left: 300px;
    }
    
    .candidate-grid {
        max-width: 1800px;
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 2. 標準桌面 (1440px - 1919px) */
@media (max-width: 1919px) and (min-width: 1440px) {
    .bc, .container-fluid {
        max-width: 1400px;
    }
    
    .cg {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .candidate-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 3. 小桌面 (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .bc, .container-fluid {
        max-width: 1200px;
        padding: 0 50px;
    }
    
    .hero {
        min-height: 95vh;
    }
    
    .hl {
        left: 80px;
        bottom: 110px;
    }
    
    .tl {
        font-size: 70px;
    }
    
    .to {
        font-size: 140px;
        left: 250px;
    }
    
    .st {
        font-size: 28px;
    }
    
    .hr {
        width: 600px;
        height: 600px;
        left: 56%;
    }
    
    .ci {
        width: 600px;
        height: 600px;
    }
    
    .cg {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        padding: 0 50px;
    }
    
    .candidate-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .atit, .about-title {
        font-size: 60px;
    }
    
    .about-content {
        font-size: 19px;
    }
    
    .footer-grid {
        padding: 55px;
    }
}

/* 4. 平板橫向 (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .bc, .container-fluid {
        padding: 0 40px;
    }

    .logo {
        width: 90px;
        height: 90px;
        left: 15px;
        top: 15px;
    }

    .logo img {
        width: 70px;
        height: 70px;
    }

    nav {
        padding: 8px 15px;
        height: 80px;
        gap: 3px;
    }

    .ni {
        width: 120px;
        height: 22px;
    }

    .ni span {
        font-size: 12px;
        left: 30px;
    }

    .hero {
        min-height: 90vh;
    }

    .hl {
        left: 60px;
        bottom: 100px;
    }

    .tl {
        font-size: 60px;
    }

    .tl:first-child {
        margin-bottom: -5px;
    }

    .tl:nth-child(2) {
        margin-bottom: -5px;
    }

    .tl:nth-child(3) {
        gap: 30px;
    }

    .to {
        font-size: 120px;
        left: 220px;
        top: 5px;
        -webkit-text-stroke: 2.5px var(--main);
    }

    .st {
        font-size: 26px;
    }

    .hr {
        width: 550px;
        height: 550px;
        left: 58%;
    }

    .ci {
        width: 550px;
        height: 550px;
    }

    .cd-1 {
        width: 320px;
        height: 320px;
        left: -80px;
        top: -60px;
    }

    .cd-2 {
        width: 180px;
        height: 180px;
        right: -40px;
        top: 80px;
    }

    .cd-3 {
        width: 350px;
        height: 350px;
        left: -100px;
        bottom: 15px;
    }

    .cd-4 {
        width: 220px;
        height: 220px;
        right: -60px;
        bottom: 60px;
    }

    .cd-5 {
        width: 280px;
        height: 280px;
        left: 420px;
        bottom: 8px;
    }

    .hero-bg-text-left {
        font-size: 70px;
        top: 70%;
        right: 8%;
    }

    .hero-badge-left {
        width: 85px;
        height: 85px;
        font-size: 14px;
        top: 78%;
        right: 12%;
    }

    .hero-tag-left {
        font-size: 13px;
        padding: 8px 16px;
        top: 83%;
        right: 8%;
    }

    .hero-bg-text-right {
        font-size: 70px;
        top: 15%;
        right: 4%;
    }

    .hero-badge-right {
        width: 85px;
        height: 85px;
        font-size: 14px;
        top: 25%;
        right: 12%;
    }

    .hero-tag-right {
        font-size: 13px;
        padding: 8px 16px;
        top: 32%;
        right: 8%;
    }

    .news-section {
        padding: 60px 0;
    }

    .atit, .about-title {
        font-size: 55px;
    }

    .about-subtitle {
        font-size: 20px;
        letter-spacing: 6px;
    }

    .section-header {
        margin-bottom: 50px;
        gap: 15px;
    }

    .about-content {
        font-size: 18px;
        line-height: 1.7;
        letter-spacing: 2px;
    }

    .news .row {
        gap: 60px;
    }

    .cg {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 40px;
        max-width: 1200px;
    }

    .card {
        max-width: 450px;
        height: 280px;
    }

    .scard {
        min-height: 380px;
    }

    .scard .ic {
        height: 180px;
    }

    .scard .cta {
        padding: 30px 25px;
        gap: 12px;
    }

    .scard .tit {
        font-size: 19px;
        padding-bottom: 12px;
    }

    .scard .desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .candidate-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 40px;
        max-width: 1200px;
    }

    .candidate-image {
        height: 220px;
    }

    .candidate-info {
        padding: 22px 18px;
    }

    .candidate-name {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .candidate-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .candidate-dept {
        font-size: 13px;
        margin-bottom: 7px;
    }

    .candidate-theme {
        font-size: 15px;
    }

    .course-modal {
        padding: 15px;
    }

    .course-modal-content {
        max-width: 700px;
    }

    .course-carousel {
        height: 400px;
    }

    .course-info {
        padding: 35px;
    }

    .course-category {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .course-description {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .carousel-prev,
    .carousel-next {
        width: 45px;
        height: 45px;
        font-size: 26px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .concert-photo-item {
        width: 500px;
        height: 350px;
    }

    .concert-carousel-track {
        animation: photoCarouselScroll 35s linear infinite;
    }

    .video-container {
        min-height: 280px;
    }

    .video-play-btn {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .footer-main {
        min-height: 450px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        padding: 50px 40px 35px 40px;
        min-height: 450px;
    }

    .footer-column.image-showcase {
        padding: 35px 25px 50px 25px;
    }

    .image-showcase-grid {
        gap: 12px 15px;
    }

    .image-showcase-item img {
        max-height: 130px;
        padding: 8px;
    }

    .image-showcase-text {
        font-size: 13px;
    }

    .footer-logo {
        width: 110px;
        margin-bottom: 18px;
    }

    .footer-slogan {
        font-size: 13px;
    }

    .footer-heading {
        font-size: 18px;
        margin-bottom: 18px;
        letter-spacing: 1.5px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-link {
        font-size: 14px;
        padding: 6px 0;
        gap: 10px;
    }

    .footer-bottom {
        padding: 22px 0;
    }

    .copyright-text {
        font-size: 15px;
        letter-spacing: 3px;
    }
}

/* 5. 平板直向 (820px - 1023px) */
@media (max-width: 1023px) and (min-width: 820px) {
    .hero {
        min-height: 85vh;
    }

    .hl {
        left: 40px;
        bottom: 80px;
    }

    .tl {
        font-size: 50px;
    }

    .to {
        font-size: 100px;
        left: 180px;
    }

    .st {
        font-size: 22px;
    }

    .hr {
        width: 480px;
        height: 480px;
        left: 60%;
    }

    .ci {
        width: 480px;
        height: 480px;
    }

    .cg {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        padding: 0 40px;
    }

    .candidate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        padding: 0 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 45px 35px;
    }

    .footer-column.image-showcase {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 20px;
    }
}

/* 6. 小平板 (768px - 819px) */
@media (max-width: 819px) and (min-width: 768px) {
    .menu-toggle { 
        display: flex !important; 
    }
    
    header { 
        padding: 15px 20px; 
        background: transparent; 
    }
    
    .logo { 
        height: 60px; 
        padding: 8px 15px; 
        top: 15px; 
        z-index: 10003; 
    }
    
    .logo img { 
        width: 80px; 
        height: 45px; 
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        border-radius: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,.2);
        transition: right .4s;
        overflow-y: auto;
        gap: 0;
        z-index: 10002;
    }

    nav.active { 
        right: 0; 
    }

    .ni {
        width: 100%;
        height: auto;
        padding: 20px 0;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
        overflow: visible;
    }

    .ni:hover .en,
    .ni:hover .ch {
        transform: none !important;
    }

    .ni span {
        position: static;
        transform: none !important;
        display: block;
        width: 100%;
        left: 0;
        margin-bottom: 5px;
    }

    .en {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
        transform: none !important;
    }

    .en::after { 
        display: none; 
    }

    .ch {
        font-size: 13px;
        transform: none !important;
        color: var(--main);
    }

    .hero {
        height: auto;
        min-height: 80vh;
        flex-direction: column;
        padding: 0;
    }

    .hr { 
        position: static; 
        transform: none; 
        width: 100%; 
        height: 450px; 
        margin-top: 0; 
        order: 1; 
    }
    
    .ci { 
        width: 100%; 
        height: 450px; 
        border-radius: 0; 
    }
    
    .cd { 
        display: none; 
    }
    
    .hl { 
        position: static; 
        width: 100%; 
        padding: 20px 30px; 
        order: 2; 
        left: 0; 
        bottom: 0; 
    }
    
    .ht { 
        width: 100%; 
    }
    
    .tl { 
        font-size: 50px; 
        line-height: 1.2; 
        margin-bottom: 8px; 
    }
    
    .to { 
        position: static; 
        font-size: 80px; 
        -webkit-text-stroke: 2px var(--main); 
        margin: 10px 0; 
    }
    
    .st { 
        font-size: 18px; 
    }

    .hero-bg-text-left { 
        font-size: 60px; 
        top: 12%; 
        left: 5%; 
    }
    
    .hero-badge-left { 
        width: 75px; 
        height: 75px; 
        font-size: 13px; 
        top: 22%; 
        left: 12%; 
    }
    
    .hero-tag-left { 
        font-size: 11px; 
        padding: 7px 14px; 
        top: 30%; 
        left: 8%; 
    }
    
    .hero-bg-text-right { 
        font-size: 55px; 
        top: 16%; 
        right: 4%; 
    }
    
    .hero-badge-right { 
        width: 70px; 
        height: 70px; 
        font-size: 12px; 
        top: 25%; 
        right: 10%; 
    }
    
    .hero-tag-right { 
        font-size: 11px; 
        padding: 7px 14px; 
        top: 32%; 
        right: 6%; 
    }

    .bc, .container-fluid { 
        padding: 0 30px; 
    }
    
    .atit, .about-title { 
        font-size: 48px; 
    }
    
    .about-subtitle { 
        font-size: 19px; 
        letter-spacing: 5px; 
    }
    
    .cg { 
        grid-template-columns: repeat(2, 1fr); 
        padding: 0 30px; 
        gap: 25px; 
    }

    .candidate-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 30px;
    }

    .footer-column.image-showcase {
        width: 100%;
    }
}

/* 7. 大手機/小平板 (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
    .menu-toggle { 
        display: flex !important;
        right: 20px;
        top: 20px;
    }

    .logo { 
        height: 55px; 
        padding: 6px 12px; 
        top: 18px; 
    }
    
    .logo img { 
        width: 70px; 
        height: 40px; 
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 90px 25px 25px;
        border-radius: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,.2);
        transition: right .4s;
        overflow-y: auto;
        gap: 0;
        z-index: 10002;
    }

    nav.active { 
        right: 0; 
    }

    .ni {
        width: 100%;
        height: auto;
        padding: 18px 0;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
        overflow: visible;
    }

    .ni span {
        position: static;
        transform: none !important;
        display: block;
        width: 100%;
        left: 0;
        margin-bottom: 5px;
    }

    .en {
        font-size: 15px;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
        transform: none !important;
    }

    .en::after { 
        display: none; 
    }

    .ch {
        font-size: 12px;
        transform: none !important;
        color: var(--main);
    }

    .hero {
        height: auto;
        min-height: 75vh;
        flex-direction: column;
        padding: 0;
    }

    .hr { 
        width: 100%; 
        height: 400px; 
        position: static;
        order: 1;
    }
    
    .ci { 
        width: 100%; 
        height: 400px; 
        border-radius: 0; 
    }
    
    .cd { 
        display: none; 
    }
    
    .hl { 
        position: static; 
        width: 100%; 
        padding: 18px 25px; 
        order: 2; 
    }
    
    .tl { 
        font-size: 45px; 
        line-height: 1.2; 
        margin-bottom: 6px; 
    }
    
    .to { 
        position: static; 
        font-size: 75px; 
        -webkit-text-stroke: 2px var(--main); 
        margin: 8px 0; 
    }
    
    .st { 
        font-size: 17px; 
    }

    .hero-bg-text-left { 
        font-size: 55px; 
        top: 10%; 
        left: 3%; 
    }
    
    .hero-badge-left { 
        width: 70px; 
        height: 70px; 
        font-size: 12px; 
        top: 20%; 
        left: 10%; 
    }
    
    .hero-tag-left { 
        font-size: 10px; 
        padding: 6px 12px; 
        top: 28%; 
        left: 5%; 
    }

    .bc, .container-fluid { 
        padding: 0 25px; 
    }
    
    .atit, .about-title { 
        font-size: 42px; 
    }
    
    .about-subtitle { 
        font-size: 18px; 
        letter-spacing: 4px; 
    }

    .about-content {
        font-size: 17px;
        line-height: 1.8;
    }
    
    .cg { 
        grid-template-columns: 1fr; 
        padding: 0 25px; 
        gap: 22px; 
    }
    
    .card { 
        max-width: 100%; 
        height: 290px; 
    }

    .scard { 
        min-height: 420px; 
    }

    .scard .ic { 
        height: 190px; 
    }

    .scard .cta { 
        padding: 28px 22px; 
    }

    .scard .tit { 
        font-size: 20px; 
    }

    .scard .desc { 
        font-size: 15px; 
    }

    .candidate-grid {
        grid-template-columns: 1fr;
        padding: 0 25px;
        gap: 28px;
    }
    
    .candidate-image {
        height: 280px;
    }

    .concert-photo-item { 
        width: 400px; 
        height: 280px; 
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 38px 25px;
    }

    .course-modal {
        padding: 0;
    }
    
    .course-modal-content {
        border-radius: 0;
        max-width: 100%;
        height: 100vh;
    }
    
    .course-carousel {
        height: 320px;
    }
}

/* 8. 標準手機 (480px - 599px) */
@media (max-width: 599px) and (min-width: 480px) {
    .menu-toggle { 
        display: flex !important;
        width: 45px;
        height: 45px;
        right: 18px;
        top: 18px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .logo { 
        height: 50px; 
        padding: 5px 10px; 
        top: 16px; 
    }
    
    .logo img { 
        width: 65px; 
        height: 38px; 
    }

    nav {
        width: 260px;
        padding: 85px 22px 22px;
    }

    .ni {
        padding: 16px 0;
    }

    .en {
        font-size: 14px;
    }

    .ch {
        font-size: 11px;
    }

    .hero {
        min-height: 70vh;
    }

    .hr { 
        height: 360px; 
    }
    
    .ci { 
        height: 360px; 
    }
    
    .hl { 
        padding: 16px 22px; 
    }
    
    .tl { 
        font-size: 38px; 
        margin-bottom: 5px; 
    }
    
    .to { 
        font-size: 65px; 
        margin: 6px 0; 
    }
    
    .st { 
        font-size: 15px; 
    }

    .hero-bg-text-left { 
        font-size: 48px; 
        top: 9%; 
        left: 2%; 
    }
    
    .hero-badge-left { 
        width: 65px; 
        height: 65px; 
        font-size: 11px; 
        top: 18%; 
        left: 8%; 
    }
    
    .hero-tag-left { 
        font-size: 9px; 
        padding: 5px 10px; 
        top: 26%; 
        left: 4%; 
    }
    
    .hero-bg-text-right { 
        font-size: 42px; 
        top: 14%; 
        right: 2%; 
    }
    
    .hero-badge-right { 
        width: 58px; 
        height: 58px; 
        font-size: 10px; 
        top: 22%; 
        right: 8%; 
    }
    
    .hero-tag-right { 
        font-size: 9px; 
        padding: 5px 10px; 
        top: 29%; 
        right: 5%; 
    }

    .bc, .container-fluid { 
        padding: 0 22px; 
    }
    
    .atit, .about-title { 
        font-size: 38px; 
    }
    
    .about-subtitle { 
        font-size: 17px; 
        letter-spacing: 3px; 
    }

    .about-content {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .cg { 
        padding: 0 22px; 
        gap: 20px; 
    }
    
    .card { 
        height: 280px; 
        border-radius: 18px;
    }

    .scard { 
        min-height: 400px; 
    }

    .scard .ic { 
        height: 180px; 
    }

    .scard .cta { 
        padding: 26px 20px; 
        gap: 12px;
    }

    .scard .tit { 
        font-size: 19px; 
        padding-bottom: 11px;
    }

    .scard .desc { 
        font-size: 14px; 
    }

    .candidate-grid {
        padding: 0 22px;
        gap: 26px;
    }
    
    .candidate-image {
        height: 270px;
    }

    .candidate-name {
        font-size: 23px;
    }

    .concert-photo-item { 
        width: 350px; 
        height: 250px; 
    }

    .footer-grid {
        padding: 36px 22px;
        gap: 26px;
    }

    .footer-heading {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .footer-link {
        font-size: 13px;
    }

    .course-carousel {
        height: 300px;
    }

    .course-info {
        padding: 32px 22px;
    }

    .video-container {
        min-height: 250px;
    }
    
    .video-play-btn {
        width: 58px;
        height: 58px;
        font-size: 23px;
    }
}

/* 9. 小手機 (375px - 479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .menu-toggle { 
        display: flex !important;
        width: 42px;
        height: 42px;
        right: 15px;
        top: 15px;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
    }

    .logo { 
        height: 48px; 
        padding: 5px 10px; 
        top: 14px; 
    }
    
    .logo img { 
        width: 60px; 
        height: 35px; 
    }

    nav {
        width: 250px;
        padding: 80px 20px 20px;
    }

    .ni {
        padding: 15px 0;
    }

    .en {
        font-size: 14px;
    }

    .ch {
        font-size: 11px;
    }

    .hero {
        min-height: 65vh;
    }

    .hr { 
        height: 340px; 
    }
    
    .ci { 
        height: 340px; 
    }
    
    .hl { 
        padding: 15px 20px; 
    }
    
    .tl { 
        font-size: 36px; 
        margin-bottom: 4px; 
    }
    
    .to { 
        font-size: 60px; 
        -webkit-text-stroke: 1.8px var(--main);
        margin: 5px 0; 
    }
    
    .st { 
        font-size: 14px; 
    }

    .st p {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .feature-tags {
        margin-top: 30px !important;
        gap: 12px !important;
    }

    .feature-tags span {
        font-size: 12px !important;
        padding: 8px 16px !important;
    }

    .hero-bg-text-left { 
        font-size: 42px; 
        top: 8%; 
        left: 2%; 
    }
    
    .hero-badge-left { 
        width: 60px; 
        height: 60px; 
        font-size: 10px; 
        top: 16%; 
        left: 7%; 
        border-width: 4px;
    }
    
    .hero-tag-left { 
        font-size: 8px; 
        padding: 5px 10px; 
        top: 24%; 
        left: 3%; 
    }
    
    .hero-bg-text-right { 
        font-size: 38px; 
        top: 13%; 
        right: 2%; 
    }
    
    .hero-badge-right { 
        width: 55px; 
        height: 55px; 
        font-size: 9px; 
        top: 21%; 
        right: 7%; 
        border-width: 4px;
    }
    
    .hero-tag-right { 
        font-size: 8px; 
        padding: 5px 10px; 
        top: 28%; 
        right: 4%; 
    }

    .bc, .container-fluid { 
        padding: 0 20px; 
    }
    
    .atit, .about-title { 
        font-size: 36px; 
    }
    
    .about-subtitle { 
        font-size: 16px; 
        letter-spacing: 3px; 
    }

    .about-content {
        font-size: 15px;
        line-height: 1.75;
    }
    
    .news-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 45px;
    }
    
    .cg { 
        padding: 0 20px; 
        gap: 18px; 
    }
    
    .card { 
        height: 270px; 
        border-radius: 16px;
        border-width: 3px;
    }

    .scard { 
        min-height: 380px; 
    }

    .scard .ic { 
        height: 170px; 
    }

    .scard .cta { 
        padding: 24px 18px; 
        gap: 10px;
    }

    .scard .tit { 
        font-size: 18px; 
        padding-bottom: 10px;
        border-bottom-width: 2px;
    }

    .scard .desc { 
        font-size: 14px; 
        line-height: 1.7;
    }

    .candidate-grid {
        padding: 0 20px;
        gap: 24px;
    }
    
    .candidate-image {
        height: 260px;
    }

    .candidate-info {
        padding: 22px 18px;
    }

    .candidate-name {
        font-size: 22px;
        margin-bottom: 9px;
    }

    .candidate-desc {
        font-size: 13px;
    }

    .candidate-dept {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .candidate-theme {
        font-size: 14px;
    }

    .concert-photo-item { 
        width: 320px; 
        height: 230px; 
    }

    .footer-grid {
        padding: 35px 20px;
        gap: 25px;
    }

    .footer-logo {
        width: 95px;
    }

    .footer-heading {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer-link {
        font-size: 13px;
        gap: 10px;
    }

    .footer-link svg {
        width: 20px;
        height: 20px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .copyright-text {
        font-size: 11px;
        letter-spacing: 2px;
        line-height: 1.6;
    }

    .course-carousel {
        height: 280px;
    }

    .course-info {
        padding: 30px 20px;
    }

    .course-category {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .course-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .carousel-prev,
    .carousel-next {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dot.active {
        width: 25px;
    }

    .video-container {
        min-height: 230px;
    }
    
    .video-play-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .showcase-container {
        gap: 25px;
    }

    .showcase-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom-width: 2px;
    }

    .image-showcase-grid {
        gap: 12px;
    }

    .image-showcase-item img {
        max-height: 110px;
        padding: 6px;
    }
}

/* 10. 極小手機 (320px - 374px) */
@media (max-width: 374px) {
    .menu-toggle { 
        display: flex !important;
        width: 40px;
        height: 40px;
        right: 12px;
        top: 12px;
    }

    .menu-toggle span {
        width: 18px;
        height: 2px;
    }

    .logo { 
        height: 45px; 
        padding: 4px 8px; 
        top: 12px; 
    }
    
    .logo img { 
        width: 55px; 
        height: 32px; 
    }

    nav {
        width: 240px;
        padding: 75px 18px 18px;
    }

    .ni {
        padding: 14px 0;
    }

    .en {
        font-size: 13px;
    }

    .ch {
        font-size: 10px;
    }

    .hero {
        min-height: 60vh;
    }

    .hr { 
        height: 320px; 
    }
    
    .ci { 
        height: 320px; 
    }
    
    .hl { 
        padding: 12px 16px; 
    }
    
    .tl { 
        font-size: 32px; 
        margin-bottom: 3px; 
    }
    
    .to { 
        font-size: 55px; 
        -webkit-text-stroke: 1.5px var(--main);
        margin: 4px 0; 
    }
    
    .st { 
        font-size: 13px; 
    }

    .st p {
        font-size: 13px !important;
        padding: 7px 14px !important;
    }

    .feature-tags {
        margin-top: 25px !important;
        gap: 10px !important;
    }

    .feature-tags span {
        font-size: 11px !important;
        padding: 7px 14px !important;
    }

    .hero-bg-text-left { 
        font-size: 36px; 
        top: 7%; 
        left: 1%; 
    }
    
    .hero-badge-left { 
        width: 55px; 
        height: 55px; 
        font-size: 9px; 
        top: 15%; 
        left: 6%; 
        border-width: 3px;
    }
    
    .hero-tag-left { 
        font-size: 7px; 
        padding: 4px 8px; 
        top: 22%; 
        left: 2%; 
    }
    
    .hero-bg-text-right { 
        font-size: 34px; 
        top: 12%; 
        right: 1%; 
    }
    
    .hero-badge-right { 
        width: 50px; 
        height: 50px; 
        font-size: 8px; 
        top: 20%; 
        right: 6%; 
        border-width: 3px;
    }
    
    .hero-tag-right { 
        font-size: 7px; 
        padding: 4px 8px; 
        top: 27%; 
        right: 3%; 
    }

    .bc, .container-fluid { 
        padding: 0 16px; 
    }
    
    .atit, .about-title { 
        font-size: 32px; 
    }
    
    .about-subtitle { 
        font-size: 15px; 
        letter-spacing: 2px; 
    }

    .about-content {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .news-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
    
    .cg { 
        padding: 0 16px; 
        gap: 16px; 
    }
    
    .card { 
        height: 260px; 
        border-radius: 14px;
        border-width: 2px;
    }

    .scard { 
        min-height: 360px; 
    }

    .scard .ic { 
        height: 160px; 
    }

    .scard .cta { 
        padding: 22px 16px; 
        gap: 9px;
    }

    .scard .tit { 
        font-size: 17px; 
        padding-bottom: 9px;
        border-bottom-width: 2px;
    }

    .scard .desc { 
        font-size: 13px; 
        line-height: 1.65;
    }

    .candidate-grid {
        padding: 0 16px;
        gap: 22px;
    }
    
    .candidate-image {
        height: 240px;
    }

    .candidate-info {
        padding: 20px 16px;
    }

    .candidate-name {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .candidate-desc {
        font-size: 12px;
    }

    .candidate-dept {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .candidate-theme {
        font-size: 13px;
    }

    .concert-photo-item { 
        width: 280px; 
        height: 200px; 
    }

    .footer-grid {
        padding: 32px 16px;
        gap: 22px;
    }

    .footer-logo {
        width: 85px;
        margin-bottom: 14px;
    }

    .footer-slogan {
        font-size: 11px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 14px;
        letter-spacing: 1px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-link {
        font-size: 12px;
        padding: 5px 0;
        gap: 8px;
    }

    .footer-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .copyright-text {
        font-size: 10px;
        letter-spacing: 1.5px;
        line-height: 1.6;
    }

    .course-modal-content {
        border-radius: 0;
    }

    .course-carousel {
        height: 260px;
    }

    .course-info {
        padding: 28px 18px;
    }

    .course-category {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .course-description {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .carousel-prev {
        left: 6px;
    }

    .carousel-next {
        right: 6px;
    }

    .carousel-dots {
        bottom: 15px;
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 22px;
    }

    .course-modal .cb {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .video-container {
        min-height: 210px;
    }
    
    .video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        padding-left: 4px;
    }

    .showcase-container {
        gap: 22px;
    }

    .showcase-title {
        font-size: 15px;
        margin-bottom: 10px;
        padding-bottom: 7px;
    }

    .image-showcase-grid {
        gap: 10px;
    }

    .image-showcase-item img {
        max-height: 100px;
        padding: 5px;
        border-radius: 8px;
    }

    .image-showcase-text {
        font-size: 11px;
    }

    .footer-column.image-showcase {
        padding: 28px 18px 38px 18px;
        border-radius: 12px;
    }
}

/* 11. 橫向模式調整 (所有裝置) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hr {
        height: 350px;
    }

    .ci {
        height: 350px;
    }

    .hl {
        padding: 12px 20px;
    }

    .tl {
        font-size: 30px;
        margin-bottom: 2px;
    }

    .to {
        font-size: 50px;
        margin: 3px 0;
    }

    .st {
        font-size: 12px;
    }

    .st p {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    .feature-tags {
        margin-top: 20px !important;
        gap: 8px !important;
    }

    .feature-tags span {
        font-size: 10px !important;
        padding: 6px 12px !important;
    }

    .hero-bg-text-left,
    .hero-bg-text-right {
        font-size: 30px;
    }

    .hero-badge-left,
    .hero-badge-right {
        width: 45px;
        height: 45px;
        font-size: 8px;
        border-width: 2px;
    }

    .hero-tag-left,
    .hero-tag-right {
        font-size: 7px;
        padding: 3px 7px;
    }
}

/* 12. 高解析度螢幕優化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card,
    .candidate-card,
    .footer-link svg {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .tl,
    .to,
    .atit,
    .about-title {
        text-rendering: optimizeLegibility;
    }
}

/* 手機版響應式修正 - 768px以下 */
@media (max-width: 768px) {
    /* === 漢堡選單修正 === */
    .menu-toggle { 
        display: flex !important;
        position: fixed !important;
        right: 20px !important;
        top: 20px !important;
        z-index: 10005 !important;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        width: 50px;
        height: 50px;
    }
    
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--main);
    }
    
    /* === Header修正 === */
    header { 
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    
    .logo { 
        position: fixed !important;
        height: 70px; 
        padding: 10px 15px; 
        top: 15px;
        left: 0;
        z-index: 10004;
        background: #FFF8DC;
        border-radius: 0 50px 50px 0;
    }
    
    .logo img { 
        width: 100px; 
        height: 50px; 
    }

    /* === 導航選單修正 === */
    nav {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        border-radius: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,.3);
        transition: right 0.4s ease;
        overflow-y: auto;
        gap: 0;
        z-index: 10002;
    }

    nav.active { 
        right: 0 !important; 
    }

    .ni {
        width: 100%;
        height: auto;
        padding: 20px 0;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
        overflow: visible;
    }

    .ni:hover .en,
    .ni:hover .ch {
        transform: none !important;
    }

    .ni span {
        position: static !important;
        transform: none !important;
        display: block;
        width: 100%;
        left: 0;
        margin-bottom: 5px;
    }

    .en {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
        transform: none !important;
    }

    .en::after { 
        display: none; 
    }

    .ch {
        font-size: 13px;
        transform: none !important;
        color: var(--main);
    }

    /* === Hero Section 修正 === */
    .hero {
        height: auto !important;
        min-height: 80vh;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        position: relative;
    }

    .hr { 
        position: relative !important;
        transform: none !important;
        width: 100%; 
        height: 450px; 
        margin: 0;
        order: 1;
        left: 0 !important;
        top: 0 !important;
    }
    
    .ci { 
        width: 100%; 
        height: 450px; 
        border-radius: 0;
        animation: none;
    }
    
    .cd { 
        display: none !important;
    }
    
    .hl { 
        position: relative !important;
        width: 100%; 
        padding: 25px 20px;
        order: 2;
        left: 0 !important;
        bottom: 0 !important;
        transform: none !important;
    }
    
    .ht { 
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .tl { 
        font-size: 45px !important;
        line-height: 1.2;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }
    
    .tl:first-child {
        margin-bottom: 5px !important;
    }
    
    .tl:nth-child(2) {
        margin-bottom: 5px !important;
    }
    
    .to { 
        position: static !important;
        font-size: 75px !important;
        -webkit-text-stroke: 2px var(--main);
        margin: 10px 0;
        left: 0 !important;
        top: 0 !important;
    }
    
    .tl:nth-child(3) {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .st { 
        font-size: 18px;
        text-align: left;
        width: auto;
    }

    /* === Hero 裝飾元素修正 === */
    .hero-bg-text-left { 
        font-size: 50px;
        top: 5%;
        left: 3%;
    }
    
    .hero-badge-left { 
        width: 70px;
        height: 70px;
        font-size: 12px;
        top: 12%;
        left: 8%;
    }
    
    .hero-tag-left { 
        font-size: 10px;
        padding: 6px 12px;
        top: 18%;
        left: 5%;
    }
    
    .hero-bg-text-right { 
        font-size: 45px;
        top: 8%;
        right: 2%;
    }
    
    .hero-badge-right { 
        width: 60px;
        height: 60px;
        font-size: 11px;
        top: 15%;
        right: 8%;
    }
    
    .hero-tag-right { 
        font-size: 10px;
        padding: 6px 12px;
        top: 20%;
        right: 5%;
    }

    /* === 其他區塊修正 === */
    .bc, .container-fluid { 
        padding: 0 20px; 
    }
    
    .atit, .about-title { 
        font-size: 40px; 
    }
    
    .about-subtitle { 
        font-size: 18px;
        letter-spacing: 4px;
    }
    
    .cg { 
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }
    
    .card { 
        max-width: 100%;
        height: 280px;
        border-radius: 20px;
        border-width: 3px;
    }
    
    .card:hover { 
        transform: scale(1.02);
    }
    
    .scard { 
        height: auto;
        min-height: 450px;
    }
    
    .scard .ic { 
        height: 180px;
    }
    
    .scard .cta { 
        padding: 25px 20px;
        gap: 12px;
    }
    
    .scard .tit { 
        font-size: 20px;
        padding-bottom: 12px;
        border-bottom-width: 2px;
    }
    
    .scard .desc { 
        font-size: 15px;
        line-height: 1.7;
    }

    /* === 候選人卡片修正 === */
    .candidate-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 30px;
    }
    
    .candidate-image {
        height: 300px;
    }
    
    .candidate-info {
        padding: 25px 20px;
    }
    
    .candidate-name {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .candidate-desc {
        font-size: 14px;
    }
    
    .candidate-dept {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .candidate-theme {
        font-size: 15px;
    }

    /* === Footer修正 === */
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 20px;
    }

    .footer-logo {
        width: 100px;
    }

    .footer-heading {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-link {
        font-size: 14px;
    }

    .copyright-text {
        font-size: 12px;
        line-height: 1.6;
    }

    /* === 課程彈窗修正 === */
    .course-modal {
        padding: 0;
    }
    
    .course-modal-content {
        border-radius: 0;
        max-width: 100%;
        height: 100vh;
        overflow-y: auto;
    }
    
    .course-carousel {
        height: 300px;
    }
    
    .course-info {
        padding: 30px 20px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }

    /* === 影片容器修正 === */
    .video-container {
        height: 180px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* 480px以下極小手機 */
@media (max-width: 480px) {
    .menu-toggle {
        width: 45px;
        height: 45px;
        right: 15px;
        top: 15px;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .logo {
        height: 60px;
        padding: 8px 12px;
    }
    
    .logo img {
        width: 85px;
        height: 42px;
    }
    
    .hr {
        height: 380px;
    }
    
    .ci {
        height: 380px;
    }

    
    .hl {
        padding: 20px 15px;
    }
    
    .tl {
        font-size: 38px !important;
    }
    
    .to {
        font-size: 65px !important;
    }
    
    .st {
        font-size: 16px;
    }
    
    .hero-bg-text-left { 
        font-size: 40px;
        top: 8%;
    }
    
    .hero-badge-left { 
        width: 60px;
        height: 60px;
        font-size: 10px;
        top: 18%;
    }
    
    .hero-tag-left { 
        font-size: 9px;
        padding: 5px 10px;
        top: 25%;
    }
    
    .hero-bg-text-right { 
        font-size: 35px;
        top: 12%;
    }
    
    .hero-badge-right { 
        width: 50px;
        height: 50px;
        font-size: 9px;
        top: 20%;
    }
    
    .hero-tag-right { 
        font-size: 9px;
        padding: 5px 10px;
        top: 27%;
    }
    
    .bc, .container-fluid {
        padding: 0 15px;
    }
    
    .atit, .about-title {
        font-size: 35px;
    }
    
    .about-subtitle {
        font-size: 16px;
        letter-spacing: 3px;
    }
    
    .cg {
        padding: 0 15px;
        gap: 18px;
    }
    
    .card {
        height: 270px;
    }
}