﻿:root {
    --primary: #001F3F;
    --secondary: #FF6B35;
    --background: #F8FAFF;
    --text: #1A2B4C;
    --light-gray: #E8F0FE;
    --border-color: #D1E0FF;
    --success-color: #34A853;
    --warning-color: #FBBC05;
    --danger-color: #EA4335;
    --primary-color: #001F3F;
    --primary-dark: #000F1F;
    --secondary-color: #FF6B35;
    --action-color: #FF6B35;
    --text-color: #1A2B4C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
}

body {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(1, 31, 63, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    color: white !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span {
    color: var(--secondary);
    font-size: 16px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: white;
        font-weight: 500;
        transition: color 0.3s;
        padding: 5px 0;
        position: relative;
    }

        .nav-links a:hover {
            color: var(--secondary);
        }

        .nav-links a.active {
            color: var(--secondary);
            font-weight: 600;
        }

            .nav-links a.active:after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: var(--secondary);
                border-radius: 2px;
            }

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
}

    .btn:hover {
        background-color: #E55A2B;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    }

.btn-register{
    padding: 5px 15px !important;
}
.btn-register:hover {
    color: antiquewhite !important;
}

.btn-secondary {
    padding: 5px 15px !important;
    display: inline-block;
    background-color: white;
    color: var(--primary-color) !important;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
}
    .btn-secondary:hover {
        background-color: var(--action-color);
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    }

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 36px;
        color: var(--primary);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-title h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--secondary);
            border-radius: 2px;
        }

    .section-title p {
        color: var(--text);
        max-width: 700px;
        margin: 20px auto 0;
        font-size: 18px;
        opacity: 0.8;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text);
    }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    background-color: white;
    color: var(--text);
}

    .form-control:focus {
        border-color: var(--secondary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    }

.footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

    .footer-logo span {
        color: var(--secondary);
    }

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-links h4:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background-color: var(--secondary);
    }

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-links a:hover {
        color: var(--secondary);
    }

.footer-contact h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-contact h4:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background-color: var(--secondary);
    }

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact p a {
    text-decoration: none;
    color: white;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 3px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        gap: 15px;
        align-items: flex-start;
    }

        .nav-links.active {
            display: flex;
        }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .btn-large {
        padding: 14px 30px;
        font-size: 16px;
    }

    .footer-content {
        gap: 30px;
    }
}
