﻿
        body {
            font-family: 'jf-openhuninn';
            transition: background-color 0.3s ease, color 0.3s ease;
            background-color: #0F1419;
            color: #E2E8F0;
        }

        /* Light Mode Styles (蝐喟?? */
        body:not(.dark-mode) {
            background-color: #FAF8F3;
            color: #1A202C;
        }

        body:not(.dark-mode) .custom-navbar {
            background-color: #FFFFFF;
            border-bottom-color: #E5E5E5;
        }

        body:not(.dark-mode) .navbar-brand,
        body:not(.dark-mode) .nav-link {
            color: #1A202C !important;
        }

        body:not(.dark-mode) .nav-link:hover {
            color: #FF6B35 !important;
        }

        body:not(.dark-mode) .btn-theme-toggle {
            color: #1A202C;
        }

        body:not(.dark-mode) .btn-contact,
        body:not(.dark-mode) .btn-github {
            color: #FFFFFF !important;
        }

        body:not(.dark-mode) .btn-contact:hover,
        body:not(.dark-mode) .btn-github:hover {
            color: #FFFFFF !important;
        }

        body:not(.dark-mode) .hero-section {
            background-color: #FAF8F3;
        }

        body:not(.dark-mode) section {
            background-color: #FAF8F3;
            color: #1A202C;
        }

        body:not(.dark-mode) section.bg-light {
            background-color: #F5F3ED !important;
            color: #1A202C;
        }

        body:not(.dark-mode) .hero-description {
            color: #1A202C;
        }

        body:not(.dark-mode) .hero-subtitle {
            color: #1A202C;
        }

        body:not(.dark-mode) .hero-subtitle-item {
            color: #1A202C;
        }

        body:not(.dark-mode) .stats-section {
            background-color: #F5F3ED;
            border: 1px solid #E5E5E5;
        }

        body:not(.dark-mode) .stat-number,
        body:not(.dark-mode) .stat-label {
            color: #1A202C;
        }

        body:not(.dark-mode) footer {
            background-color: #1A202C !important;
            color: #FFFFFF;
        }

        body:not(.dark-mode) a {
            color: #2563EB;
        }

        body:not(.dark-mode) a:hover {
            color: #FF6B35;
        }

        body:not(.dark-mode) .hero-logo-circle {
            background-color: #E5E5E5;
        }

        /* Navigation Bar Styles */
        .custom-navbar {
            background-color: #1A202C;
            padding: 15px 30px;
            border-bottom: 1px solid #2D3748;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }

        .navbar-brand {
            color: #FFFFFF !important;
            font-size: 1.3rem;
            font-weight: bold;
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .nav-logo-red {
            color: #FF0000;
            margin-right: 5px;
        }

        .nav-logo-white {
            color: #FFFFFF;
        }

        .custom-navbar .navbar-nav {
            gap: 20px;
        }

        .custom-navbar .nav-link {
            color: #FFFFFF !important;
            font-size: 1rem;
            padding: 8px 15px;
            transition: color 0.3s ease;
        }

        .custom-navbar .nav-link:hover {
            color: #FF6B35 !important;
        }

        .btn-theme-toggle {
            background: transparent;
            border: none;
            color: #FFFFFF;
            cursor: pointer;
            padding: 8px 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .btn-theme-toggle:hover {
            transform: rotate(15deg);
            color: #FF6B35;
        }

        .theme-icon {
            width: 24px;
            height: 24px;
            stroke: currentColor;
        }

        .navbar-toggler {
            border-color: rgba(255, 255, 255, 0.3);
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* Dark Mode Styles */
        body.dark-mode {
            background-color: #0F1419;
            color: #E2E8F0;
        }

        body.dark-mode .custom-navbar {
            background-color: #1A202C;
            border-bottom-color: #2D3748;
        }

        body.dark-mode .hero-section {
            background-color: #0F1419;
        }

        body.dark-mode section {
            background-color: #0F1419;
            color: #E2E8F0;
        }

        body.dark-mode section.bg-light {
            background-color: #0F1419 !important;
            color: #E2E8F0;
        }

        body.dark-mode .hero-description {
            color: #E2E8F0;
        }

        body.dark-mode .hero-title-red,
        body.dark-mode .hero-title-orange {
            color: inherit;
        }

        body.dark-mode .hero-subtitle {
            color: #E2E8F0;
        }

        body.dark-mode .hero-subtitle-item {
            color: #E2E8F0;
        }

        body.dark-mode footer {
            background-color: #1A202C !important;
        }

        body.dark-mode a {
            color: #60A5FA;
        }

        body.dark-mode a:hover {
            color: #FF6B35;
        }

        body.dark-mode .btn-contact,
        body.dark-mode .btn-github {
            color: #FFFFFF !important;
        }

        body.dark-mode .btn-contact:hover,
        body.dark-mode .btn-github:hover {
            color: #FFFFFF !important;
        }

        /* Statistics Section Styles */
        .stats-section {
            background-color: #1A202C;
            padding: 40px 20px;
            border-radius: 15px;
            margin: 40px auto;
            max-width: 1200px;
            transition: background-color 0.3s ease;
            border: 1px solid #E5E5E5;
        }

        .stat-item {
            padding: 5px;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            color: #FFFFFF;
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .stat-label {
            font-size: 1rem;
            color: #FFFFFF;
            opacity: 0.9;
        }

        body.dark-mode .stats-section {
            background-color: #0F1419;
            border: 1px solid #E5E5E5;
        }

        body.dark-mode .stat-number,
        body.dark-mode .stat-label {
            color: #FFFFFF !important;
        }

        @media (max-width: 768px) {
            .stats-section {
                margin: 20px 15px;
                padding: 30px 15px;
                border-radius: 12px;
            }

            .stat-number {
                font-size: 2rem;
            }

            .stat-label {
                font-size: 0.9rem;
            }
        }

        /* Hero Section Styles */
        .hero-section {
            background-color: #1A202C;
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 60px 0;
            position: relative;
            overflow: hidden;
            transition: background-color 0.3s ease;
        }

        .hero-content {
            padding: 40px;
            z-index: 2;
        }

        .hero-title {
            font-size: 4.5rem;
            font-weight: bold;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero-title-red {
            color: #FF0000;
            display: inline-block;
        }

        .hero-title-orange {
            color: #FF6B35;
            display: inline-block;
            font-size: 3.5rem;
        }

        .hero-subtitle {
            color: #FFFFFF;
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 20px;
            line-height: 1.3;
            min-height: 3.5rem;
            position: relative;
            overflow: hidden;
        }

        .hero-subtitle-item {
            position: absolute;
            width: 100%;
            left: 0;
            top: 0;
            opacity: 0;
            animation: fadeInOut 9s infinite;
        }

        .hero-subtitle-item:nth-child(1) {
            animation-delay: 0s;
        }

        .hero-subtitle-item:nth-child(2) {
            animation-delay: 3s;
        }

        .hero-subtitle-item:nth-child(3) {
            animation-delay: 6s;
        }

        @keyframes fadeInOut {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }
            5% {
                opacity: 1;
                transform: translateY(0);
            }
            30% {
                opacity: 1;
                transform: translateY(0);
            }
            35% {
                opacity: 0;
                transform: translateY(-20px);
            }
            100% {
                opacity: 0;
                transform: translateY(-20px);
            }
        }

        .hero-description {
            color: #FFFFFF;
            font-size: 1.2rem;
            margin-bottom: 40px;
            line-height: 1.6;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn-contact {
            background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
            color: #FFFFFF;
            border: none;
            padding: 15px 35px;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: inline-block;
        }

        .btn-contact:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
            color: #FFFFFF;
        }

        .btn-github {
            background-color: #000000;
            color: #FFFFFF;
            border: 2px solid #FF6B35;
            padding: 15px 35px;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: inline-block;
        }

        .btn-github:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
            color: #FFFFFF;
            background-color: #1a1a1a;
        }

        .hero-logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            position: relative;
            overflow: visible;
        }

        .hero-logo-circle {
            width: 500px;
            height: 500px;
            background-color: #2D3748;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            margin: -50px 0;
            padding: 10px;
        }

        .hero-logo {
            width: 70%;
            height: 70%;
            z-index: 1;
        }

        .hero-profile-img {
            width: calc(100% - 20px);
            height: calc(100% - 20px);
            object-fit: cover;
            border-radius: 50%;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 3rem;
            }

            .hero-title-orange {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 2rem;
                min-height: 3rem;
            }

            .hero-logo-circle {
                width: 400px;
                height: 400px;
                margin: -30px auto;
            }

            .hero-content {
                text-align: center;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-logo-container {
                padding: 20px;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-title-orange {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1.5rem;
                min-height: 2.5rem;
            }

            .hero-description {
                font-size: 1rem;
            }

            .hero-logo-circle {
                width: 300px;
                height: 300px;
                margin: -20px auto;
            }

            .hero-logo-container {
                padding: 20px;
            }

            .btn-contact,
            .btn-github {
                padding: 12px 25px;
                font-size: 1rem;
            }
        }
    


    .timeline {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        max-width: 600px;
        position: relative;
    }

    .timeline li {
        position: relative;
        margin: 20px 0;
        padding-left: 40px;
    }

    .timeline li::before {
        content: '';
        position: absolute;
        top: 0;
        left: 20px;
        width: 10px;
        height: 10px;
        background: #007bff;
        border-radius: 50%;
    }

    .timeline li::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 24px;
        width: 2px;
        height: calc(100% + 20px);
        background: #007bff;
    }

    .timeline li:last-child::after {
        display: none;
    }

    .timeline-content {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: left;
    }

    .timeline-content h4 {
        color: #000;
        margin-top: 0;
        font-size: 18px;
        font-weight: bold;
    }

    .timeline-content p {
        margin: 0;
        font-size: 14px;
        color: #555;
    }

    /* 我的CV按鈕樣式 */
    #resume .btn-success {
        color: #FFFFFF !important;
    }

    #resume .btn-success:hover {
        color: #FFFFFF !important;
    }

