html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: whitesmoke;
}

/* �W�[�ɯ�C��r�j�p */
.navbar-nav .nav-link {
    font-size: 1.1rem; /* �վ�r��j�p */
    font-weight: 500; /* �y�L�[�� */
    padding: 0.5rem 1rem; /* �W�[���Z���I���ϰ��j */
}

/* 允許下拉式選單的標題換行（例如：論文投稿(Submission)） */
.navbar .nav-link.dropdown-toggle {
    white-space: normal;
    /* 避免把每個中文字切成單字換行，改用 break-word 只在必要時換行 */
    overflow-wrap: break-word;
    word-break: normal;
}
.navbar .dropdown-item {
    font-size: 1.05rem; /* �U�Կ�涵�ؤ]�y�L��j */
}

/* �D�n�t�� */
:root {
    --primary-color: #1a5276;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #6c757d;
    --font-primary: 'Noto Sans TC', Arial, sans-serif;
    --font-secondary: 'Noto Serif TC', serif;
    --transition: all 0.3s ease;
}

/* �����˦� */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    transition: var(--transition);
}

    a:hover {
        color: var(--primary-color);
        text-decoration: none;
    }

.btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.en-text {
    font-family: var(--font-secondary);
    color: var(--text-light);
    font-style: italic;
    font-size: 0.85rem;
}

/* ������T (�䴩�ۭq�Ϥ�) */
.hero-banner {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.sub-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
    color: white;
}

.conference-date {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

    .conference-date i {
        color: var(--accent-color);
        margin-right: 8px;
    }

.ml-3 {
    margin-left: 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* �϶����D */
.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto 30px;
}

/* 區塊英文副標題 */
.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 5px;
}

.en-title {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 5px;
}

/* ²���϶� */
.intro-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.7;
    font-weight: 700; /* �ϥβ��� */
}

.intro-divider {
    height: 1px;
    background-color: #eee;
    margin: 25px 0;
}

/* ���n�ɵ{ (��i�� - ��e������) */
.dates-table {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

    .date-item:last-child {
        border-bottom: none;
    }

    .date-item:hover {
        background-color: rgba(52, 152, 219, 0.05);
    }

.date-info {
    flex: 0 0 60%; /* �W�[�e�ץH�e�ǧ�h��r */
}

.date-label {
    font-weight: 700; /* �ϥβ��� */
    color: var(--primary-color);
    font-size: 1.1rem;
    white-space: normal; /* ���\���� */
    line-height: 1.4;
}

.date-label-en {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 600; /* �ϥβ��� */
    white-space: normal; /* ���\���� */
}

.date-value {
    flex: 0 0 35%;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    text-align: right;
    white-space: nowrap; /* �T�O����b�@����� */
    background-color: rgba(52, 152, 219, 0.08);
    padding: 10px 15px;
    border-radius: 6px;
}

.date-item.highlight {
    background-color: rgba(243, 156, 18, 0.1);
}

    .date-item.highlight .date-label {
        color: var(--accent-color);
    }

    .date-item.highlight .date-value {
        background-color: var(--accent-color);
        color: white;
    }

/* ��ʩI�~ */
.cta-section {
    background: linear-gradient(rgba(26, 82, 118, 0.9), rgba(26, 82, 118, 0.9)), url('/Content/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
    opacity: 0.9;
    font-weight: 500;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* �T�����վ� */
@media (max-width: 992px) {
    .section-padding {
        padding: 50px 0;
    }

    .main-title {
        font-size: 2rem;
    }

    .sub-title {
        font-size: 1.4rem;
    }

    .date-item {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 80px 0 60px;
    }

    .main-title {
        font-size: 1.7rem;
    }

    .sub-title {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .date-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .date-info {
        margin-bottom: 15px;
        width: 100%;
    }

    .date-value {
        width: 100%;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* �򥻰ʵe */
.animate__animated {
    animation-duration: 1s;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

