﻿
.video-section {
    padding: 40px 20px;
    background: #f5f7fa;
}

/* 標題 */
.section-title {
    text-align: center;
    font-size: 28px;
    color: #074BA7;
    margin-bottom: 30px;
}

/* 卡片容器 */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* 卡片 */
.card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    /*width: 320px;*/
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Hover效果（重點） */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* 圖片區 */
.card-img {
    position: relative;
}

.card-img img {
    width: 100%;
    display: block;
}

/* 播放按鈕 */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,130,218,0.85);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 22px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
}

/* 內容 */
.card-body {
    padding: 15px;
}

.card-body h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.card-body p {
    font-size: 14px;
    color: #777;
}

/* Hero 背景 */
.hero {
    background: linear-gradient(
        to right,
        #EEF3FF 0%,
        #D6E6FA 45%,
        #B5D1F3 100%
    );
    /*padding: 80px 20px;*/

     padding: 30px 20px;
}

/* 內容區 */
.hero-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 左側文字 */
.hero-left {
    width: 65%;
    /*text-align:right;
    margin-right:20em;*/
}

.hero-left h1 {
    font-size: 42px;
    color: #0D004D;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-left p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

/* 按鈕 */
.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #0D004D;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: #1C0A70;
}

/* 右側圖片 */
.hero-right {
    width: 40%;
    text-align: center;
    margin-right:5em;
}

.hero-right img {
    max-width: 100%;
    opacity: 0.95;
}

/* ========================= */
/* 📱 RWD */
/* ========================= */

@media (max-width: 992px) {

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-left h1 {
        font-size: 30px;
    }

    .hero-left p {
        font-size: 16px;
    }

    .hero-right {
        margin-top: 30px;
    }
}

/* ========================= */
/* 📱 RWD 設計 */
/* ========================= */

/* 平板 */
@media (max-width: 992px) {
    .card {
        width: 100%;
    }
}

/* 手機 */
@media (max-width: 600px) {
    .card {
        width: 100%;
    }

    .section-title {
        font-size: 22px;
    }
}