:root {
    --primary-color: #333;
    --secondary-color: #666;
    --background-color: #fff;
}

body {
    font-family: '微軟正黑體', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

/* 導航欄樣式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid rgb(167, 167, 167);
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    height: 70px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    font-size: 18px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #666;
    transition: color 0.3s ease-in-out;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.menu-button:hover {
    transform: scale(1.1);
}

/* 調整主要內容區域，為固定導航欄留出空間 */
.latest-posts {
    margin-top: 120px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .nav-links {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        max-height: 500px;
        padding: 20px;
    }

    .nav-links a {
        padding: 15px 20px;
        display: block;
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active a {
        transform: translateY(0);
        opacity: 1;
    }

    /* 為每個連結添加延遲動畫 */
    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links a:nth-child(5) { transition-delay: 0.5s; }
    .nav-links a:nth-child(6) { transition-delay: 0.6s; }
    .nav-links a:nth-child(7) { transition-delay: 0.7s; }
}

/* Banner 樣式 */
.banner {
    position: relative;
    width: 100%;
    height: 95vh;
    overflow: hidden;
    margin-top: 60px;
    background-image: url('../assets/images/banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 2;
}

.banner-content {
    text-align: center;
    max-width: 800px;
}

.banner-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 500;
    color: #333;
}

.banner-title {
    font-size: 4em;
    margin: 0;
    line-height: 1.2;
    color: white;
    font-family: 'Times New Roman', serif;
}

.banner-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: #F8D7DA;
    right: 40%;
    top: 20%;
    z-index: 1;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: #fff;
    right: 10%;
    bottom: 20%;
    z-index: 1;
}

.shape-leaf {
    left: 10%;
    top: 20%;
    opacity: 0.8;
    z-index: 1;
}

@media (max-width: 768px) {
    .banner {
        height: 80vh;
    }

    .banner-container {
        padding: 20px;
    }

    .banner-content {
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }

    .banner-title {
        font-size: 2.5em;
    }

    .banner-tag {
        margin-bottom: 15px;
    }
}

/* 更小螢幕的額外調整 */
@media (max-width: 480px) {
    .banner-title {
        font-size: 2em;
    }
}

/* Footer 樣式 */
.footer {
    background-color: #fff;
    padding: 100px 0 60px;
    border-top: 1px solid rgb(167, 167, 167);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-left {
    flex: 1;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-name {
    font-size: 2em;
    color: #333;
    font-family: 'Times New Roman', serif;
}

.company-slogan {
    font-size: 1.1em;
    color: #666;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: baseline;
    gap: 15px;
    color: #666;
    font-size: 1.1em;
}

.contact-text a {
    color: #333;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.contact-label {
    min-width: 80px;
    color: #333;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.social-links a:hover {
    color: #666;
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-map {
    flex: 1;
    height: 400px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.copyright {
    color: #999;
    font-size: 0.9em;
}

@media (max-width: 1024px) {
    .footer {
        padding: 80px 0 40px;
    }

    .footer-main {
        gap: 60px;
    }

    .footer-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-map {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* 特色服務樣式 */
.features {
    padding: 150px 0;
    background-color: #fff;
}

.features-title {
    text-align: center;
    font-size: 3.5em;
    margin-bottom: 50px;
    color: #333;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}

.feature-icon {
    margin-bottom: 10px;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke: #333;
}

.feature-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1em;
}

@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .features-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* 關於我們樣式 */
.about {
    padding: 100px 0;
    background-color: var(--background-color);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: flex;
    align-items: center;
    /* gap: 60px; */
    margin-bottom: 100px;
}

.about-content:last-child {
    margin-bottom: 0;
}

.about-content.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    color: var(--secondary-color);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 40px;
    margin-top: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

@media (max-width: 1024px) {
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }

    .about-content.reverse {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }

    .about-image img {
        height: 300px;
    }

    .about-text p {
        font-size: 1em;
    }
}

/* 預約流程樣式 */
.booking {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.booking-header {
    text-align: center;
    margin-bottom: 50px;
}

.booking-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.booking-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.booking-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1000px;
}

.booking-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #333;
}

.step-icon svg {
    width: 35px;
    height: 35px;
}

.step-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.booking-action {
    margin-top: 20px;
}

.booking-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #333;
}

.booking-btn:hover {
    background: transparent;
    color: #333;
}

@media (max-width: 768px) {
    .booking {
        padding: 60px 0;
    }

    .booking-title {
        font-size: 2rem;
    }

    .booking-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booking-step {
        padding: 20px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon svg {
        width: 30px;
        height: 30px;
    }

    .booking-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* 頁面Banner樣式 */
.page-banner-01, .page-banner-02, .page-banner-03, .page-banner-04, .page-banner-05, .page-banner-06, .page-banner-07 {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 90px;
}

.page-banner-01 {
    background-image: url('../assets/images/about-us-banner.png');
}

.page-banner-02 {
    background-image: url('../assets/images/services-banner.png');
}

.page-banner-03 {
    background-image: url('../assets/images/transportation-banner.png');
}

.page-banner-04 {
    background-image: url('../assets/images/skills-training-banner.png');
}

.page-banner-05 {
    background-image: url('../assets/images/recruitment-banner.png');
}

.page-banner-06 {
    background-image: url('../assets/images/knowledge-banner.png');
}

.page-banner-07 {
    background-image: url('../assets/images/bg.jpg');
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.banner-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.banner-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .page-banner {
        height: 400px;
    }

    .banner-title {
        font-size: 2.5em;
    }

    .banner-description {
        font-size: 1em;
    }
}

/* About頁面特定樣式 */
.about-section {
    padding: 150px 0;
    background-color: var(--background-color);
}

.about-section .about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section .about-content {
    display: flex;
    align-items: center;
    /* gap: 60px; */
    /* margin-bottom: 120px; */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-section .about-content:last-child {
    margin-bottom: 0;
}

.about-section .about-content.reverse {
    flex-direction: row-reverse;
}

.about-section .about-text {
    flex: 1;
}

.about-section .about-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-section .about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-section .about-image:hover img {
    transform: scale(1.05);
}

.about-section .about-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-section .about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-section .about-text p {
    color: var(--secondary-color);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .about-section .about-content {
        gap: 40px;
        margin-bottom: 80px;
    }

    .about-section .about-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-section .about-content {
        flex-direction: column;
        text-align: center;
        margin-bottom: 60px;
    }

    .about-section .about-content.reverse {
        flex-direction: column;
    }

    .about-section .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-section .about-image img {
        height: 300px;
    }
}

/* 治療師團隊樣式 */
.team-members {
    margin: 80px auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 40px 30px;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 0;
}

.member-name {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.member-title {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.member-description {
    color: var(--secondary-color);
}

.member-description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.member-certificates {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: center;
}

.member-certificates li {
    position: relative;
    padding: 5px 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.member-certificates li::before {
    display: none;
}

@media (max-width: 1024px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .team-members {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto;
    }

    .team-member {
        padding: 30px 20px;
    }
}

.about-text.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text.center .about-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 治療師團隊樣式 */
.team-profile {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.team-profile:last-child {
    margin-bottom: 0;
}

.team-profile.reverse {
    flex-direction: row-reverse;
}

.team-info {
    flex: 1;
}

.team-image {
    flex: 1;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
}

.team-name {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-position {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.team-description {
    color: var(--secondary-color);
    font-size: 1.1em;
    line-height: 1.8;
}

.team-description p {
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
    .team-profile {
        gap: 40px;
        padding: 0 40px;
    }

    .team-image img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .team-profile {
        flex-direction: column-reverse;
        padding: 0 20px;
        margin-bottom: 60px;
    }

    .team-profile.reverse {
        flex-direction: column-reverse;
    }

    .team-image img {
        height: 400px;
    }

    .team-name {
        font-size: 2.2em;
    }

    .team-social {
    justify-content: center;
    }
}

/* Slideshow 樣式 */
.about-content.environment {
    flex-direction: column;
    /* gap: 80px; */
    padding: 60px 0;
}

.about-content.environment .about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content.environment .about-title {
    font-size: 2.8em;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-content.environment .about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
}

.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    background-color: white;
    padding: 20px;
}

.slides {
    display: none;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.slides.active {
    display: block;
}

.slides img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.slides:hover img {
    transform: none;
}

.slide-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 20px 40px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 300px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.8em;
    transition: all 0.3s ease;
    border-radius: 50%;
    /* background: rgba(0, 0, 0, 0.3); */
    backdrop-filter: blur(5px);
    text-decoration: none;
    /* border: 2px solid rgba(255, 255, 255, 0.5); */
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    width: 70px;
    height: 70px;
}

.dots {
    position: absolute;
    bottom: 32px;
    width: 96%;
    text-align: center;
    z-index: 1;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 2px solid white;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: white;
    transform: scale(1.3);
}

.fade {
    display: none;
}

@keyframes fadeEffect {
    from {
        transform: translateX(20px);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .slideshow-container {
        margin: 0 20px;
    }

    .slides img {
        height: 500px;
    }

    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }

    .prev {
        left: 20px;
    }

    .next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .about-content.environment {
        padding: 60px 0;
    }

    .about-content.environment .about-text {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .about-content.environment .about-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .about-content.environment .about-title::after {
        width: 60px;
        height: 2px;
    }

    .slideshow-container {
        margin: 0 10px;
        padding: 10px;
        border-radius: 20px;
    }

    .slides {
        border-radius: 15px;
    }

    .slides img {
        height: 350px;
    }

    .slide-caption {
        bottom: 35px;
        padding: 12px 25px;
        font-size: 1.1em;
        min-width: 220px;
        border-radius: 30px;
    }

    .prev, .next {
        display: none;
    }

    .dots {
        bottom: 20px;
    }

    .dot {
        height: 8px;
        width: 8px;
        margin: 0 6px;
    }
}

@media (max-width: 375px) {
    .about-content.environment {
        padding: 40px 0;
    }

    .about-content.environment .about-title {
        font-size: 1.8em;
    }

    .slides img {
        height: 280px;
    }

    .slide-caption {
        bottom: 25px;
        padding: 10px 20px;
        font-size: 1em;
        min-width: 200px;
    }

    .prev, .next {
        display: none;
    }

    .dots {
        bottom: 15px;
    }

    .dot {
        height: 6px;
        width: 6px;
        margin: 0 4px;
    }
}

.services {
    padding: 150px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    margin-bottom: 150px;
    background-color: #fff;
    overflow: hidden;
    min-height: 400px;
}

.service-image {
    width: 50%;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 300px 300px 10px 10px;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0)); */
}

.service-content {
    width: 50%;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.service-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-note {
    color: #888;
    font-style: italic;
    margin: 0;
    padding-right: 20px;
}

.service-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-btn:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        min-height: auto;
    }

    .service-image,
    .service-content {
        width: 100%;
    }

    .service-image {
        height: 300px;
    }

    .service-content {
        width: 80%;
        padding: 30px 20px;
    }

    .service-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .service-note {
        padding-right: 0;
    }

    .service-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .service-card {
        padding: 12px;
    }

    .service-title {
        font-size: 1.3em;
    }
}

.service-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.service-price .price {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
}

.service-price .duration {
    font-size: 1.1em;
    color: #666;
    padding-left: 15px;
    border-left: 2px solid #ddd;
}

.view-parts-btn {
    margin-left: auto;
    padding: 8px 15px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.view-parts-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .service-price {
        flex-wrap: wrap;
        gap: 10px;
    }

    .service-price .price {
        font-size: 1.5em;
    }

    .service-price .duration {
        font-size: 1em;
    }

    .view-parts-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        order: 3;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
    margin: 20px auto;
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.modal-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: 600;
}

.close-modal {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: #f8f9fa;
}

.close-modal:hover {
    background-color: #eee;
    color: #333;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 10px;
}

.part-item {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.part-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-color: var(--primary-color);
}

.part-item h4 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 1.3em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .part-item h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
} */

.part-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 1.05em;
}

.part-item ul {
    margin: 0;
    padding: 0;
}

.part-item ul li {
    list-style: none;
    margin-bottom: 10px;
    color: #666;
    font-size: 1.05em;
}

.part-item li::before {
    content: '✓';
    margin-right: 10px;
    color: var(--primary-color);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        width: 95%;
        margin: 20px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        max-height: 80vh;
        padding: 20px;
    }

    .parts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .part-item {
        padding: 20px;
    }
}

/* 交通資訊樣式 */
.transportation-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.transportation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.transport-block {
    margin-bottom: 80px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.transport-block:last-child {
    margin-bottom: 0;
}

.transport-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.transport-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.transport-content {
    margin-top: 30px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.transport-info {
    flex: 1;
    min-width: 300px;
}

.route-map {
    flex: 2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.transport-item {
    margin-bottom: 30px;
}

.transport-item h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.transport-item p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 5px;
}

.route-steps {
    margin: 40px auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
}

.route-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background-color: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.route-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.route-step p {
    margin: 0 0 20px 0;
    color: var(--secondary-color);
    font-size: 1.1em;
    line-height: 1.4;
}

.route-step img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .route-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .route-steps {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .route-step {
        padding: 20px;
    }

    .route-step img {
        height: 180px;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-description {
    margin-top: 20px;
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .transportation-section {
        padding: 40px 0;
    }

    .transport-block {
        padding: 20px;
    margin-bottom: 40px;
}

    .transport-title {
        font-size: 1.8em;
    }

    .route-step {
        padding: 10px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        margin-right: 15px;
    }

    .route-step p {
        font-size: 1em;
    }

    .transport-content {
        flex-direction: column;
    }

    .transport-info,
    .route-map {
        width: 100%;
    }
}

/* 路線影片樣式 */
.video-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.video-content {
    flex: 2;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

@media (max-width: 768px) {
    .video-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .video-container {
        padding-bottom: 75%; /* 增加高度比例 */
        margin: 0 auto;
        width: 100%;
        max-width: 400px; /* 限制最大宽度 */
    }

    .video-content {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .video-container {
        padding-bottom: 100%; /* 在更小的屏幕上使用正方形比例 */
        max-width: 300px; /* 更小屏幕上的最大宽度 */
    }
}

/* 徵才專區樣式 */
.recruitment-section {
    padding: 200px 0;
    background-color: var(--background-color);
}

.recruitment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.job-position {
    display: flex;
    margin-bottom: 200px;
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.job-position:last-child {
    margin-bottom: 0;
}

.job-image {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.job-position:hover .job-image img {
    transform: scale(1.1);
}

.job-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0));
}

.job-content {
    width: 55%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

.job-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Times New Roman', serif;
}

.job-type {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa;
    color: #666;
    border-radius: 4px;
    font-size: 0.9em;
    margin-bottom: 30px;
}

.job-description h3 {
    font-size: 1.3em;
    color: #333;
    margin: 25px 0 15px;
    font-family: 'Times New Roman', serif;
}

.job-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.job-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.job-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.job-footer {
    margin-top: 40px;
    text-align: left;
}

.join-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.join-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .recruitment-section {
        padding: 80px 0;
    }

    .job-position {
        margin: 0 20px 60px;
    }

    .job-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .recruitment-section {
        padding: 60px 0;
    }

    .job-position {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .job-image {
        width: 100%;
        height: 300px;
    }

    .job-content {
        width: 80%;
        padding: 40px 30px;
    }

    .job-title {
        font-size: 2em;
    }

    .job-footer {
        text-align: center;
    }

    .join-btn {
        text-align: center;
    }
}

.about-massage {
    padding: 140px 0 200px 0;
    background-color: #fff;
    position: relative;
    border-bottom: 1px solid rgb(167, 167, 167);
}

.about-massage-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.about-massage-image {
    width: 45%;
    position: relative;
    margin-left: 150px;
}

.about-massage-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-massage-content {
    position: absolute;
    right: 150px;
    top: 70%;
    transform: translateY(-50%);
    width: 30%;
    padding: 60px;
    /* margin-right: 150px; */
    background-color: #ebebeb;
    z-index: 2;
}

.about-massage-title {
    font-size: 3em;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Times New Roman', serif;
}

.about-massage-description {
    color: #666;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (min-width: 769px) and (max-width: 1023px) {
    .about-massage {
        padding: 80px 0 120px 0;
    }

    .about-massage-container {
        padding: 0 40px;
    }

    .about-massage-image {
        width: 60%;
        margin-left: 40px;
    }

    .about-massage-image img {
        height: 450px;
    }

    .about-massage-content {
        right: 40px;
        width: 40%;
        padding: 40px;
        top: 65%;
    }

    .about-massage-title {
        font-size: 2.5em;
        margin-bottom: 20px;
    }

    .about-massage-description {
        font-size: 1em;
        line-height: 1.6;
    }
}

@media (max-width: 1024px) {
    .about-massage-image {
        width: 70%;
    }

    .about-massage-content {
        width: 50%;
        padding: 40px;
    }

    .about-massage-image img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .about-massage {
        padding: 60px 0;
    }

    .about-massage-container {
        padding: 0 20px;
    }

    .about-massage-image {
        width: 100%;
        margin-left: 0;
    }

    .about-massage-image img {
        height: 350px;
    }

    .about-massage-content {
        position: relative;
        right: auto;
        top: auto;
        transform: translateY(-50px);
        width: 70%;
        margin: 0 auto;
        padding: 30px;
    }

    .about-massage-title {
        font-size: 2em;
        margin-bottom: 15px;
        text-align: center;
    }

    .about-massage-description {
        font-size: 1em;
        line-height: 1.6;
        text-align: center;
    }

    .learn-more-btn {
        margin-left: 37px;
    }
    
}

@media (max-width: 320px) {
    .about-massage {
        padding: 40px 0;
    }

    .about-massage-container {
        padding: 0 15px;
    }

    .about-massage-image img {
        height: 250px;
    }

    .about-massage-content {
        width: 95%;
        padding: 20px;
        transform: translateY(-40px);
    }

    .about-massage-title {
        font-size: 1.8em;
    }

    .about-massage-description {
        font-size: 0.9em;
    }
}

.services-section {
    padding: 150px 0;
    border-bottom: 1px solid rgb(167, 167, 167);
}

.services-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-title-small {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

.services-title {
    font-size: 2.8em;
    color: #333;
    font-family: 'Times New Roman', serif;
}

.see-all-btn {
    padding: 10px 25px;
    border: 1px solid #333;
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.see-all-btn:hover {
    background-color: #333;
    color: #fff;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    /* background-color: #eeeeee; */
    /* border-radius: 20px; */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 5px 0;
}

.service-card-title {
    font-size: 1.5em;
    color: #333;
    margin-top: 15px;
    font-family: 'Times New Roman', serif;
}

.service-card-description {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .services-title {
        font-size: 2.2em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title-small {
        margin-bottom: 20px;
    }

    .service-card-image {
        height: 250px;
    }

    .see-all-btn {
        margin-bottom: 40px;
    }
}

.course-content {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.course-content > div {
    margin-bottom: 80px;
    padding: 0 20px;
}

.course-content > div:last-child {
    margin-bottom: 0;
}

.course-content h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: 'Times New Roman', serif;
    position: relative;
    padding-bottom: 15px;
}

.course-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.course-introduction p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* 課程特色與優勢 */
.course-features table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.course-features th,
.course-features td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.course-features th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    text-align: left;
}

.course-features td:first-child {
    width: 200px;
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
}

.course-features td:last-child {
    color: #666;
    line-height: 1.6;
}

/* 課程目標 */
.course-objectives ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.course-objectives li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
    font-size: 1.1em;
}

.course-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 課程詳情 */
.course-details table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.course-details th,
.course-details td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.course-details th {
    width: 200px;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.course-details td {
    color: #666;
    line-height: 1.6;
}

.course-details td:first-child {
    width: 200px;
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
}

/* 報名區塊 */
.course-registration {
    text-align: center;
    padding: 60px 0;
    background-color: #f8f9fa;
    border-radius: 15px;
    margin-top: 80px;
}

.course-registration h2 {
    text-align: center;
}

.course-registration h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.course-registration p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    line-height: 1.8;
    font-size: 1.1em;
}

.register-button {
    display: inline-block;
    padding: 15px 50px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.register-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .course-content {
        padding: 60px 0;
    }

    .course-content h2 {
        font-size: 2em;
    }

    .course-features td:first-child {
        width: auto;
    }

    .course-details th {
        width: auto;
    }

    .course-features th,
    .course-features td,
    .course-details th,
    .course-details td {
        padding: 15px;
    }

    .course-registration {
        padding: 40px 20px;
    }
}

/* fraud-section */
.fraud-section {
    padding: 200px 100px;
    background-color: #f1f1f1;
}

.fraud-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    color: #4b4b4b;
}

.fraud-section h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f1f1f;
}

.fraud-section h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f1f1f;
}

.fraud-section p, .fraud-section ol li, .fraud-section ul li {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .fraud-section {
        padding: 100px 24px;
    }

    .fraud-container {
        padding: 32px;
    }

    .fraud-section h2 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .fraud-section h3 {
        font-size: 22px;
        margin: 28px 0 14px;
    }
}

@media (max-width: 768px) {
    .fraud-section {
        padding: 80px 20px;
    }

    .fraud-container {
        padding: 24px;
        border-radius: 16px;
    }

    .fraud-section h2 {
        font-size: 26px;
        margin-bottom: 24px;
        padding-bottom: 12px;
    }

    .fraud-section h2::after {
        width: 50px;
        height: 3px;
    }

    .fraud-section h3 {
        font-size: 20px;
        margin: 24px 0 12px;
    }

    .fraud-section p:nth-of-type(1),
    .fraud-section p:last-child {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .fraud-section {
        padding: 60px 16px;
    }

    .fraud-container {
        padding: 20px;
        border-radius: 12px;
    }

    .fraud-section h2 {
        font-size: 27px;
        margin-bottom: 20px;
    }

    .fraud-section h3 {
        font-size: 24px;
        margin: 20px 0 10px;
    }
}