/* 全局樣式 */
body {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    font-size: 1.4rem; /* Increase base font size (default is usually 1rem = 16px) */
}

/* 英雄區塊 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero/bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

/* 金色文字 */
.gold-text {
    color: #FFD700;
}

/* 課程卡片 */
.course-card {
    border: 1px solid #FFD700;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255,215,0,0.2);
}

/* 學員見證頭像 */
.testimonial-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFD700;
}

/* CTA區塊 */
.cta-section {
    background-color: #1a1a1a;
    padding: 60px 0;
}

/* 頁尾 */
.footer {
    background-color: #000;
    color: white;
    padding: 30px 0;
}

/* Carousel樣式 */
#teachingCarousel {
    border: 3px solid #FFD700;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,215,0,0.5);
}

.carousel-indicators button.active {
    background-color: #FFD700;
}

.carousel-caption {
    bottom: 20px;
    left: 10%;
    right: 10%;
}



/* 自定義Carousel樣式 */
#groupPhotoCarousel {
    max-width: 600px; /* 控制最大寬度 */
    margin: 0 auto; /* 居中 */
}

#groupPhotoCarousel .carousel-item img {
    max-height: 500px; /* 控制圖片最大高度 */
    object-fit: cover; /* 保持圖片比例 */
}

#groupPhotoCarousel .carousel-caption {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 10px 20px;

}

/* WhatsApp浮動按鈕樣式 */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn i {
    font-size: 24px;
    margin-right: 8px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Modal樣式調整 */
.modal-content {
    border: 3px solid #ffc107;
}

.modal-header {
    border-bottom: 1px solid #ffc107;
}

/* 響應式調整 */
@media (max-width: 576px) {
    .whatsapp-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .whatsapp-btn i {
        font-size: 20px;
        margin-right: 5px;
    }
}
