:root {
    --primary-color: #0F4C81; /* Classic Blue */
    --secondary-color: #D32F2F; /* Red */
    --text-color: #333333;
    --bg-overlay: rgba(255, 255, 255, 0.85);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, 'Microsoft JhengHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f4f4f4;
}

body > header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    margin-right: 15px;
}

.logo-container h1 {
    margin: 0;
    font-size: 24px;
    color: var(--text-color);
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    display: inline-block;
    position: relative;
    margin-left: 20px;
}

.dropdown .dropbtn {
    margin-left: 0;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-left: 0;
    font-weight: normal;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f4f4f4;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* offset for header */
}

.hero-content {
    background: var(--bg-overlay);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 20px;
}

.hero-content h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 100px auto 40px auto;
    padding: 20px;
}

.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.content-box {
    background: var(--bg-overlay);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    color: #222;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

.ai-team-member {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ai-team-member img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    margin-right: 30px;
    object-fit: cover;
}

.ai-info {
    flex: 1;
}

.showcase-link {
    display: inline-block;
    margin: 5px 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.showcase-link:hover {
    text-decoration: underline;
}

.contact-info {
    text-align: center;
    font-size: 20px;
    margin: 40px 0;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.contact-notice {
    text-align: center;
    font-size: 16px;
    color: #666;
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px 10px;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-container img {
        height: auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 10px auto;
    }

    .logo-container h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 5px;
    }

    .nav-links a, .dropdown {
        margin: 5px 12px;
        font-size: 16px;
    }

    .dropdown .dropbtn {
        margin: 0;
    }

    .dropdown-content a {
        margin: 0;
    }

    .ai-team-member {
        flex-direction: column;
        align-items: center;
    }
    
    .ai-team-member img {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 300px;
    }
    
    .hero {
        padding-top: 180px;
    }
    
    .container {
        margin: 180px auto 40px auto;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h2 {
        font-size: 26px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}
