/* =====================================================
   iTASID 2026 International Congress - Main Stylesheet
   Color Palette derived from Logo:
   - Primary Blue: #1a5fa4 (Logo ring)
   - Dark Blue: #0d4b8a (Darker variant)
   - Teal/Cyan: #00b4d8 (Taipei 101)
   - Cherry Pink: #f472b6 (Cherry blossom)
   - Mountain Green: #4ade80 (Mountains)
   - Brown: #78350f (Bear)
   - Gold Accent: #f59e0b (Detail)
   ===================================================== */

:root {
    /* Primary Colors from Logo */
    --primary-blue: #1a5fa4;
    --primary-dark: #0d4b8a;
    --primary-deeper: #0a3a6e;
    
    /* Accent Colors */
    --accent-teal: #00b4d8;
    --accent-pink: #f472b6;
    --accent-green: #22c55e;
    --accent-gold: #f59e0b;
    --accent-brown: #78350f;
    
    /* Neutral Colors */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 75, 138, 0.9) 0%, rgba(26, 95, 164, 0.85) 50%, rgba(0, 180, 216, 0.7) 100%);
    --gradient-cta: linear-gradient(135deg, var(--accent-pink) 0%, #ec4899 100%);
    
    /* Spacing */
    --navbar-height: 80px;
    --section-padding: 100px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(26, 95, 164, 0.3);
    
    /* =====================================================
       Bootstrap 5 CSS Variables Override
       覆蓋 Bootstrap 預設色系，讓 .text-primary, .btn-primary 等使用自訂色彩
       ===================================================== */
    
    /* Primary - 主色（藍色） */
    --bs-primary: #1a5fa4;
    --bs-primary-rgb: 26, 95, 164;
    
    /* Secondary - 次要色（深藍） */
    --bs-secondary: #0d4b8a;
    --bs-secondary-rgb: 13, 75, 138;
    
    /* Success - 成功（綠色） */
    --bs-success: #22c55e;
    --bs-success-rgb: 34, 197, 94;
    
    /* Info - 資訊（青色） */
    --bs-info: #00b4d8;
    --bs-info-rgb: 0, 180, 216;
    
    /* Warning - 警告（金色） */
    --bs-warning: #f59e0b;
    --bs-warning-rgb: 245, 158, 11;
    
    /* Danger - 危險（粉紅） */
    --bs-danger: #f472b6;
    --bs-danger-rgb: 244, 114, 182;
    
    /* Light */
    --bs-light: #f1f5f9;
    --bs-light-rgb: 241, 245, 249;
    
    /* Dark */
    --bs-dark: #1e293b;
    --bs-dark-rgb: 30, 41, 59;
    
    /* Body */
    --bs-body-color: #1e293b;
    --bs-body-color-rgb: 30, 41, 59;
    --bs-body-bg: #ffffff;
    --bs-body-bg-rgb: 255, 255, 255;
    
    /* Links */
    --bs-link-color: #1a5fa4;
    --bs-link-color-rgb: 26, 95, 164;
    --bs-link-hover-color: #0d4b8a;
    --bs-link-hover-color-rgb: 13, 75, 138;
    
    /* Border */
    --bs-border-color: #e2e8f0;
}

html {
    overflow-x: hidden;
}

body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}

/* Form Placeholder - Lighter Color */
.form-control::placeholder,
.form-select::placeholder {
    color: #adb5bd;
    opacity: 1;
}

/* Select disabled option (placeholder style) */
.form-select option[disabled] {
    color: #adb5bd;
}

/* Make select show placeholder color when disabled option is selected */
.form-select:has(option[disabled]:checked) {
    color: #adb5bd;
}

/* Fallback for browsers that don't support :has() */
.form-select:invalid {
    color: #adb5bd;
}

/* Select2 Placeholder */
.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #adb5bd !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    white-space: nowrap;
    border-radius: 50px;
    transition: var(--transition-normal);
    padding: 0.5rem 1.5rem;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) !important;
}

/* Extra Small Button (for header auth) */
.btn-xs {
    padding: 0.45rem 0.95rem;
    font-size: 0.75rem;
    border-radius: 50px;
}

/* Bootstrap Button Overrides for consistent look */
.btn-primary {
    background: var(--gradient-primary);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(26, 95, 164, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deeper) 100%);
    box-shadow: 0 6px 20px rgba(26, 95, 164, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deeper) 100%);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(13, 75, 138, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-deeper) 0%, #072a52 100%);
    box-shadow: 0 6px 20px rgba(13, 75, 138, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-green) 0%, #16a34a 100%);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    border: 1px solid transparent;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #0891b2 100%);
    border: 1px solid transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-info:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.5);
}

.btn-info:active {
    --bs-btn-active-color: #ffffff;
}

.btn-warning {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-danger {
    background: var(--gradient-cta);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.btn-danger:hover {
    border: 1px solid transparent;
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
}

/* Outline Button Overrides */
.btn-outline-primary {
    --bs-btn-color: var(--primary-blue);
    --bs-btn-border-color: var(--primary-blue);
    --bs-btn-hover-bg: var(--primary-blue);
    --bs-btn-hover-border-color: var(--primary-blue);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline-secondary {
    --bs-btn-color: var(--primary-dark);
    --bs-btn-border-color: var(--primary-dark);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
}

.btn-outline-info {
    --bs-btn-color: var(--accent-teal);
    --bs-btn-border-color: var(--accent-teal);
    --bs-btn-hover-bg: var(--accent-teal);
    --bs-btn-hover-border-color: var(--accent-teal);
}

.btn-outline-danger {
    --bs-btn-color: var(--accent-pink);
    --bs-btn-border-color: var(--accent-pink);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--accent-pink);
    --bs-btn-hover-border-color: var(--accent-pink);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #ec4899;
    --bs-btn-active-border-color: #ec4899;
}

/* Text color classes */
.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--primary-dark) !important; }
.text-success { color: var(--accent-green) !important; }
.text-info { color: var(--accent-teal) !important; }
.text-warning { color: var(--accent-gold) !important; }
.text-danger { color: var(--accent-pink) !important; }

/* Background color classes */
.bg-primary { background-color: var(--primary-blue) !important; }
.bg-secondary { background-color: var(--primary-dark) !important; }
.bg-success { background-color: var(--accent-green) !important; }
.bg-info { background-color: var(--accent-teal) !important; }
.bg-warning { background-color: var(--accent-gold) !important; }
.bg-danger { background-color: var(--accent-pink) !important; }
.bg-light { background-color: var(--bg-light) !important; }

/* Border color classes */
.border-primary { border-color: var(--primary-blue) !important; }
.border-secondary { border-color: var(--primary-dark) !important; }
.border-success { border-color: var(--accent-green) !important; }
.border-info { border-color: var(--accent-teal) !important; }
.border-warning { border-color: var(--accent-gold) !important; }
.border-danger { border-color: var(--accent-pink) !important; }

/* Form label, input check cursor */
.form-check-label, .form-check-input {
    cursor: pointer;
}

/* Alert overrides */
.alert-primary {
    --bs-alert-bg: rgba(26, 95, 164, 0.1);
    --bs-alert-border-color: rgba(26, 95, 164, 0.2);
    --bs-alert-color: var(--primary-dark);
}

.alert-info {
    --bs-alert-bg: rgba(0, 180, 216, 0.1);
    --bs-alert-border-color: rgba(0, 180, 216, 0.2);
    --bs-alert-color: #0891b2;
}

.alert-success {
    --bs-alert-bg: rgba(34, 197, 94, 0.1);
    --bs-alert-border-color: rgba(34, 197, 94, 0.2);
    --bs-alert-color: #16a34a;
}

.alert-warning {
    --bs-alert-bg: rgba(245, 158, 11, 0.1);
    --bs-alert-border-color: rgba(245, 158, 11, 0.2);
    --bs-alert-color: #d97706;
}

.alert-danger {
    --bs-alert-bg: rgba(244, 114, 182, 0.1);
    --bs-alert-border-color: rgba(244, 114, 182, 0.2);
    --bs-alert-color: #ec4899;
}

/* =====================================================
   Base Styles
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   Utility Classes
   ===================================================== */
.section-padding {
    padding: var(--section-padding) 0;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheading {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 900px;
}

/* =====================================================
   Navigation Styles - Split Layout (Logo Left, Menu Right)
   ===================================================== */
.navbar {
    padding: 0.5rem 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.35rem 0;
}

/* Auth Buttons 區塊 */
.navbar-auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Desktop: 讓 navbar-collapse 內容變成上下兩層 */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
    }
    
    /* Auth 在上 */
    .navbar-auth {
        order: 1;
        margin-bottom: 0.35rem;
    }
    
    /* Nav 在下 */
    .navbar-collapse .navbar-nav {
        order: 2;
    }
}

/* Mobile Responsive for Header */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-md);
    }
    
    .navbar-collapse .navbar-nav {
        gap: 0.25rem;
    }
    
    .navbar-collapse .nav-link {
        color: var(--text-dark) !important;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
    }
    
    .navbar-collapse .nav-link:hover {
        background: rgba(26, 95, 164, 0.08);
        color: var(--primary-blue) !important;
    }
    
    /* Mobile: 按鈕顏色修正（白底時要看得見） */
    .navbar-auth .btn-outline-primary {
        color: var(--primary-blue) !important;
        border-color: var(--primary-blue) !important;
        background: transparent !important;
    }
    
    .navbar-auth .btn-outline-primary:hover {
        background: var(--primary-blue) !important;
        color: #ffffff !important;
    }
}

.navbar-brand img {
    height: 70px;
    transition: var(--transition-normal);
}

.navbar.scrolled .navbar-brand img {
    height: 65px;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #ffffff;
    transition: var(--transition-normal);
}

.navbar.scrolled .brand-text {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.85rem !important;
    margin: 0 0.1rem;
    border-radius: 8px;
    transition: var(--transition-normal);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link:focus {
    color: var(--primary-blue);
    background: rgba(26, 95, 164, 0.08);
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    margin-top: 0;
    background: var(--bg-white);
    animation: dropdownFade 0.3s ease;
}

/* 防止右側 dropdown 超出邊界 */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Desktop: Hover to open dropdown */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
    .header-auth .dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    .navbar-nav .nav-item.dropdown > .dropdown-menu,
    .header-auth .dropdown > .dropdown-menu {
        margin-top: 0;
    }
}

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

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bg-light);
    color: var(--primary-blue);
}


/* Navbar Auth Buttons */
.navbar .btn-outline-primary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
}

.navbar .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

.navbar.scrolled .btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.navbar.scrolled .btn-outline-primary:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
}

.navbar .btn-outline-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 50px;
}

.navbar .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

.navbar.scrolled .btn-outline-secondary {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.navbar.scrolled .btn-outline-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .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%2830, 41, 59, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 110px;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 80px; /* Offset for fixed navbar */
        align-items: center; /* Center content vertically */
    }
    
    .hero-content {
        padding-top: 4rem; /* Additional breathing room */
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

/* Floating Orbs Animation */
.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.4) 0%, transparent 70%);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.3) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, transparent 70%);
    top: 30%;
    right: -5%;
    animation-delay: -15s;
    animation-duration: 22s;
}

/* =====================================================
   Welcome Read More Styles
   ===================================================== */
.welcome-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

/* Collapsed state with mask */
.welcome-wrapper.collapsed {
    max-height: 135px; /* Approximately 5 lines */
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.welcome-toggle-btn {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
}

.welcome-toggle-btn:hover {
    color: var(--primary-dark);
}

.welcome-toggle-icon {
    transition: transform 0.3s ease;
}

/* Keyframes for slow bounce animation */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite ease-in-out;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

/* Shimmer Text Effect */
.shimmer-text-gold {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 40%,
        var(--accent-gold) 50%,
        #ffffff 60%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}
.shimmer-text-pink {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 40%,
        var(--accent-pink) 50%,
        #ffffff 60%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 100% center; }
    100% { background-position: -100% center; }
}

/* Glow Text Effect */
.glow-text {
    color: var(--accent-teal) !important;
    -webkit-text-fill-color: var(--accent-teal);
    /* text-shadow: 
        0 0 10px rgba(0, 180, 216, 0.5),
        0 0 20px rgba(0, 180, 216, 0.3),
        0 0 40px rgba(0, 180, 216, 0.2); */
    animation: textGlow 1.2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        /* text-shadow: 
            0 0 10px rgba(0, 180, 216, 0.5),
            0 0 20px rgba(0, 180, 216, 0.3),
            0 0 40px rgba(0, 180, 216, 0.2); */
    }
    100% {
        text-shadow: 
            0 0 15px rgba(0, 180, 216, 0.7),
            0 0 30px rgba(0, 180, 216, 0.5),
            0 0 60px rgba(0, 180, 216, 0.3);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    padding: 1rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--accent-teal);
}

.hero-subtitle {
    font-size: clamp(0.65rem, 2vw, 1.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    text-shadow: 
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 10px rgba(255, 215, 0, 0.2);
}

.hero-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.hero-info-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* Countdown Timer */
.countdown-wrapper {
    margin-bottom: 4rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown-label {
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
    flex: 1 1 0; /* Equal width distribution */
}

/* Mobile Adjustment for Countdown */
@media (max-width: 767.98px) {
    .countdown-wrapper {
        margin-bottom: 2rem; /* 減少底部間距 */
    }
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums; /* Equal width digits */
}

.countdown-unit {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* =====================================================
   About Section
   ===================================================== */
/* =====================================================
   About Section
   ===================================================== */
.about-section {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Ambient Background Blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.bg-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.45), transparent 70%);
    top: -15%;
    left: -8%;
    animation: blob-float 8s ease-in-out infinite;
}

.bg-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.35), transparent 70%);
    top: 30%;
    right: -5%;
    animation: blob-float 10s ease-in-out infinite reverse;
}

.bg-blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(26, 95, 164, 0.3), transparent 70%);
    bottom: -10%;
    left: 20%;
    animation: blob-float 12s ease-in-out infinite;
}

.bg-blob-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
    top: 60%;
    left: 5%;
    animation: blob-float 9s ease-in-out infinite reverse;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.05); }
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + 20px);
}

/* About Content Card - Right Side */
.about-content-card {
    /* Clean style without border */
    padding: 1rem 1rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-logo-small {
    width: 120px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 5px 15px rgba(26, 95, 164, 0.15));
}

/* About section specific title size */
.about-content-card .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .about-content-card {
        padding: 1.5rem;
    }
}



.section-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}



/* Inline Feature Badges */
.about-features-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-badge i {
    font-size: 1rem;
    color: var(--accent-gold);
}

@media (max-width: 575.98px) {
    .about-features-inline {
        flex-wrap: nowrap;
        gap: 0.25rem;
        background: transparent; /* 容器透明 */
        padding: 0;
        box-shadow: none;
        margin-top: 1.5rem;
        align-items: flex-end; /* 底部對齊 */
    }

    .feature-badge {
        flex-direction: column; /* 垂直排列 */
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        width: 33.33%; /* 均分三等份 */
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        height: auto;
    }
    
    .feature-badge:not(:last-child) {
        border-right: none;
    }

    .feature-badge i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        display: block;
        color: var(--primary-blue); /* 深藍色 Icon */
    }
    
    /* 文字區塊變成膠囊 */
    .feature-badge span {
        display: block;
        width: 100%;
        background: var(--gradient-primary);
        color: #ffffff;
        padding: 0.4rem 0.2rem;
        border-radius: 50px;
        font-size: 0.7rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-shadow: var(--shadow-sm);
    }
}

/* Announcements Section - Minimal Style */
/* Announcements Section - Minimal Style */
.announcements-wrapper {
    /* Clean style without border */
    padding: 1rem;
    height: 100%;
    position: relative;
    z-index: 1;
}

.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.announcements-title {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.announcements-title i {
    color: var(--primary-blue);
}

.announcements-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.announcements-link:hover {
    color: var(--accent-teal);
    gap: 0.6rem;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--border-light);
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background: var(--bg-light);
    /* padding-left: 1rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem; */
    border-radius: 8px;
}

.announcement-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    min-width: 48px;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.announcement-date .date-day {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.announcement-date .date-month {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-content {
    flex: 1;
    min-width: 0;
}

.announcement-title {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    transition: var(--transition-fast);
}

.announcement-item:hover .announcement-title {
    color: var(--primary-blue);
}

.announcement-excerpt {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-arrow {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.announcement-item:hover .announcement-arrow {
    transform: translateX(4px);
    color: var(--primary-blue);
}

/* Responsive: About Section */
@media (max-width: 991.98px) {
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .about-logo {
        max-width: 280px;
    }
    
    .floating-card.card-1 {
        top: 5%;
        right: 10px;
    }
    
    .floating-card.card-2 {
        bottom: 5%;
        left: 10px;
    }

    /* Compact wrapper responsive */
    .about-image-wrapper.compact .about-logo {
        max-width: 180px;
    }

    .about-image-wrapper.compact .floating-card.card-1 {
        right: 5%;
    }

    .about-image-wrapper.compact .floating-card.card-2 {
        left: 5%;
    }

    /* Announcements responsive */
    .announcements-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .announcements-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .announcement-item {
        padding: 0.75rem 0.25rem;
        gap: 0.75rem;
    }

    .announcement-item:hover {
        padding-left: 0.5rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .announcement-date {
        min-width: 42px;
        padding: 0.4rem 0.5rem;
    }

    .announcement-date .date-day {
        font-size: 1rem;
    }

    .announcement-title {
        font-size: 0.85rem;
    }

    .announcement-excerpt {
        display: none;
    }

    .announcement-arrow {
        font-size: 0.9rem;
    }
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stat-item {
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-teal);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 767.98px) {
    .stat-icon {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

/* =====================================================
   Speakers Section
   ===================================================== */
.speakers-section {
    background: var(--bg-light);
}

/* Speakers Swiper Carousel */
.speakers-swiper-container {
    position: relative;
    padding: 0 70px;
}

.speakers-swiper {
    overflow: hidden;
    padding: 10px 0 20px;
}

.speakers-swiper .swiper-slide {
    height: auto;
}

.speakers-swiper .speaker-card {
    height: 80%;
}

.speakers-swiper .swiper-wrapper {
    padding-top: 18px;
}

/* Navigation Arrows */
.speakers-prev,
.speakers-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--primary-blue);
    z-index: 10;
    transition: var(--transition-normal);
}

.speakers-prev {
    left: 0;
}

.speakers-next {
    right: 0;
}

.speakers-prev::after,
.speakers-next::after {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.speakers-prev:hover,
.speakers-next:hover {
    background: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.speakers-prev:hover::after,
.speakers-next:hover::after {
    color: #ffffff;
}

/* Mobile: Hide navigation arrows, show partial slides */
@media (max-width: 575.98px) {
    .speakers-swiper-container {
        padding: 0 10px;
    }
    
    .speakers-prev,
    .speakers-next {
        width: 40px;
        height: 40px;
        display: none;
    }
    
    .speakers-swiper .swiper-slide {
        opacity: 0.6;
        transform: scale(0.9);
        transition: opacity 0.3s, transform 0.3s;
    }
    
    .speakers-swiper .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }
}

.speaker-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 80px 1.5rem 1.5rem;
    margin-top: 60px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    background-clip: padding-box;
    overflow: visible;
}

/* Animated Gradient Border */
.speaker-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-pink), var(--accent-gold), var(--accent-teal));
    background-size: 300% 300%;
    animation: gradientBorder 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-card:hover::before {
    opacity: 1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Decorative Elements */
.speaker-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.speaker-card:hover::after {
    transform: scale(2) translate(10px, -10px);
}

/* Circular Photo - Popping Out */
.speaker-image {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 3px var(--accent-teal);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    background-color: #fff;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-image {
    transform: translateX(-50%) translateY(-10px) scale(1.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 4px var(--accent-pink);
}

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

/* Social Links - Floating Around Photo */
.speaker-social {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.speaker-card:hover .speaker-social {
    top: -60px;
    opacity: 1;
}

.speaker-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.speaker-social a:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--accent-pink);
}

/* Speaker Info */
.speaker-info {
    padding-top: 0.5rem;
}

.speaker-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.speaker-title {
    display: inline-block;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speaker-affiliation {
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    padding-top: 0.75rem;
}

.speaker-affiliation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

/* Hover Lift Effect */
.speaker-card:hover {
    transform: translateY(-15px);
}

/* Decorative Dots */
.speakers-swiper .swiper-slide:nth-child(odd) .speaker-card::after {
    background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, transparent 70%);
}

.speakers-swiper .swiper-slide:nth-child(3n) .speaker-card::after {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

/* =====================================================
   Congress Highlights Section
   ===================================================== */
.highlights-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deeper) 100%);
    position: relative;
    overflow: hidden;
}

.highlights-section .subheading,
.highlights-section .section-title,
.highlights-section .section-subtitle {
    color: #ffffff;
}

.highlights-section .subheading {
    color: var(--accent-teal);
}

.highlight-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-teal);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
    transition: all 0.4s ease;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.4);
}

.highlight-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.highlight-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

/* =====================================================
   Sponsors Section
   ===================================================== */
.sponsors-section {
    background: var(--bg-white);
}

.sponsor-tier {
    margin-bottom: 3rem;
}

.sponsor-tier-title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sponsor-tier-title.platinum {
    color: #64748b;
}

.sponsor-tier-title.gold {
    color: var(--accent-gold);
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 1rem;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    height: 120px;
    transition: var(--transition-normal);
}

.sponsor-logo:hover {
    background: var(--bg-white);
}

.sponsor-logo img {
    max-height: 100px; /* Adjusted for 2:1 ratio (600x300 scaled down) */
    width: auto;
    transition: var(--transition-normal);
}

/* Specific style for Sponsors Page items */
.sponsor-item img {
    max-height: 100px;
    width: auto;
}

.sponsor-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Sponsors Swiper */
.sponsors-swiper-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sponsors-swiper {
    overflow: hidden;
    padding: 30px 20px; /* 增加上下左右 padding，讓陰影完整顯示 */
    flex: 1;
}

.sponsors-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sponsors Navigation Arrows */
.sponsors-prev,
.sponsors-next {
    position: relative;
    top: auto;
    transform: none;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--primary-blue);
    z-index: 10;
    transition: var(--transition-normal);
}

.sponsors-prev::after,
.sponsors-next::after {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.sponsors-prev:hover,
.sponsors-next:hover {
    background: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.sponsors-prev:hover::after,
.sponsors-next:hover::after {
    color: #ffffff;
}

.swiper-button-next,
.swiper-button-prev {
    margin-top: 0;
}

/* Mobile: Adjust sponsor swiper */
@media (max-width: 767.98px) {
    .sponsors-prev,
    .sponsors-next {
        width: 35px;
        height: 35px;
    }
    
    .sponsors-prev::after,
    .sponsors-next::after {
        font-size: 0.9rem;
    }
    
    .sponsor-logo {
        padding: 0 1rem;
        height: auto;   /* 還原高度 */
    }
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Geometric Decorations with Animations */
.geo-circle-outline {
    position: absolute;
    left: -80px;
    top: 20%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    border: 4px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

@keyframes geoRotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.geo-arc {
    position: absolute;
    left: 15%;
    top: 20%;
    width: 100px;
    height: 100px;
    border: 12px solid var(--accent-gold);
    border-radius: 50%;
    border-bottom-color: transparent;
    border-left-color: transparent;
    pointer-events: none;
    z-index: 0;
    animation: geoArcSpin 4s ease-in-out infinite;
}

@keyframes geoArcSpin {
    0%, 100% { transform: rotate(-45deg); }
    50% { transform: rotate(45deg); }
}

.geo-square {
    position: absolute;
    left: 20%;
    bottom: 15%;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-teal), #0891b2);
    border-radius: 6px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
    animation: geoSquareFloat 5s ease-in-out infinite;
}

@keyframes geoSquareFloat {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(25deg) translateY(-15px); }
}

.geo-large-circle {
    position: absolute;
    right: -60px;
    top: -30px;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.4), rgba(168, 85, 247, 0.3));
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: geoCirclePulse 6s ease-in-out infinite;
}

@keyframes geoCirclePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

.geo-dots {
    position: absolute;
    right: 20%;
    top: 30%;
    width: 120px;
    height: 90px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 3px, transparent 3px);
    background-size: 15px 15px;
    pointer-events: none;
    z-index: 0;
    animation: geoDotsFlicker 3s ease-in-out infinite;
}

@keyframes geoDotsFlicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

/* Mobile: Adjusted positions and sizes */
@media (max-width: 991.98px) {
    .geo-circle-outline {
        width: 180px;
        height: 180px;
        left: -60px;
        border-width: 3px;
    }
    
    .geo-arc {
        display: none;
    }
    
    .geo-square {
        width: 50px;
        height: 50px;
        left: 8%;
        bottom: 10%;
    }
    
    .geo-large-circle {
        width: 280px;
        height: 280px;
        right: -50px;
        top: -40px;
    }
    
    .geo-dots {
        width: 80px;
        height: 60px;
        right: 8%;
        top: 20%;
        background-size: 10px 10px;
    }
}

.cta-content {
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: #ffffff;
    color: var(--primary-blue);
    font-weight: 700;
    padding: 1.125rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: ctaPulseButton 2s ease-in-out infinite;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: var(--accent-gold);
    color: #ffffff;
}

@keyframes ctaPulseButton {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(0, 180, 216, 0.3);
    }
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--primary-deeper);
    color: #ffffff;
    padding-top: 5rem;
}

.footer-logo {
    height: 70px;
    margin-bottom: 1.5rem;
}

.footer-logo.inverted {
    filter: brightness(0) invert(1);
}

.footer-logo.circled {
    border: 1px solid #fff;
    border-radius: 50%;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact-item a:hover {
    color: var(--accent-teal);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
    color: var(--accent-teal);
    font-size: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.125rem;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent-teal);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 4rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* =====================================================
   Call for Abstracts Page - Guidelines Table
   ===================================================== */
.guidelines-table-container {
    background-color: var(--bg-white);
    border-radius: var(--bs-border-radius);
    padding: 0.5rem;
    border: 1px solid var(--border-light);
}

.guidelines-table th {
    padding-left: 0.5rem;
}

.guidelines-table th.label-col {
    width: 25%;
}

/* =====================================================
   Abstract Form - Author Affiliate Checkboxes
   ===================================================== */
.author-affil-checkbox {
    min-width: 2.2rem;
}

.author-name-input {
    flex: 1;
}

.file-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.file-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* File thumbnail with zoom overlay */
.file-thumbnail-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.file-thumbnail-wrapper .zoom-icon {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(26, 95, 164, 0.8);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.file-thumbnail-wrapper .zoom-icon i {
    color: white;
    font-size: 0.85rem;
}

.file-thumbnail-wrapper:hover .zoom-icon {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.375rem;
    background: rgba(26, 95, 164, 0.6);
}

.file-thumbnail-wrapper:hover .zoom-icon i {
    font-size: 1.5rem;
}

.flex-overflow-fix {
    min-width: 0;
}

.toast-abstract {
    z-index: 1050;
}

.cursor-pointer {
    cursor: pointer;
}

/* =====================================================
   Animations
   ===================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* =====================================================
   Responsive Styles
   ===================================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-white);
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav .nav-link {
        color: var(--text-dark);
        padding: 0.75rem 1rem !important;
    }
    
    .navbar-nav .nav-link:hover {
        color: var(--primary-blue);
        background: var(--bg-light);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-info-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .hero-info-item i {
        font-size: 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .countdown {
        gap: 0.5rem;
        flex-wrap: nowrap; /* Force single line */
    }
    
    .countdown-item {
        min-width: unset;
        flex: none; /* Disable flex sizing */
        width: calc(25% - 0.375rem); /* 4 items minus gap */
        padding: 0.75rem 0.25rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-unit {
        font-size: 0.6rem;
    }
    

    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   Back to Top Button
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* =====================================================
   Loading Animation
   ===================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   Page Header
   ===================================================== */
.page-header {
    background: var(--gradient-primary);
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   Venue Features & Hotels
   ===================================================== */
.venue-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.venue-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.venue-feature-icon i {
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.venue-feature-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.venue-feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.map-container {
    width: 100%;
    height: 450px;
}

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

.venue-info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.venue-info-card h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.venue-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
/* =====================================================
   Venue Card Styles
   ===================================================== */
.venue-card {
    background: var(--bg-white);
    border-radius: 24px;
    height: 100%;
}

.venue-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.venue-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(26, 95, 164, 0.1), rgba(0, 180, 216, 0.1));
    color: var(--primary-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.venue-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.venue-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.venue-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.transport-section .transport-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

.transport-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    background: var(--bg-light);
    transition: var(--transition-fast);
}

.transport-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.transport-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.transport-icon-box.mrt { background: rgba(0, 112, 189, 0.1); color: #0070bd; }
.transport-icon-box.bus { background: rgba(234, 179, 8, 0.1); color: #eab308; }
.transport-icon-box.taxi { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.transport-icon-box.airport { background: rgba(99, 102, 241, 0.1); color: #6366f1; }

.transport-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.transport-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
    line-height: 1.4;
}

.transport-content small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .transport-grid {
        grid-template-columns: 1fr;
    }
    .venue-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }
}

/* =====================================================
   Floor Plan Card Styles
   ===================================================== */
.floor-plan-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.floor-plan-title {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.floor-plan-subtitle {
    font-size: 0.875rem;
}

.floor-plan-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.floor-plan-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.floor-plan-wrapper:hover .floor-plan-image {
    transform: scale(1.02);
}

.floor-plan-wrapper .zoom-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floor-plan-wrapper:hover .zoom-overlay {
    opacity: 1;
    transform: scale(1.1);
}

/* =====================================================
   Map Card Styles
   ===================================================== */
.map-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.map-title {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.map-subtitle {
    font-size: 0.875rem;
}

.map-card .map-container {
    flex: 1;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

/* =====================================================
   Committee Section Styles
   ===================================================== */
.committee-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.committee-section-title {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
}

.committee-section-title i {
    color: var(--accent-teal);
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
}

.committee-table th,
.committee-table td {
    padding: 0.75rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid var(--border-light);
}

.committee-table tr:last-child th,
.committee-table tr:last-child td {
    border-bottom: none;
}

.committee-table th {
    width: 35%;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(26, 95, 164, 0.03);
    text-align: left;
}

.committee-table td {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Badge style override */
.committee-table .badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
    font-weight: 500;
}

.hosted-by {
    background: linear-gradient(135deg, rgba(26, 95, 164, 0.05) 0%, rgba(0, 180, 216, 0.05) 100%);
}

.hosted-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hosted-logo {
    width: 100px;
    height: auto;
    flex-shrink: 0;
}

.hosted-text {
    text-align: left;
}

.hosted-org {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.4;
}

.hosted-abbr {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-teal);
    margin: 0.25rem 0 0 0;
}

@media (max-width: 576px) {
    .hosted-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hosted-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .committee-section {
        padding: 1.25rem 1rem;
    }

    .committee-table th,
    .committee-table td {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }

    .committee-table th {
        background: transparent;
        border-bottom: none;
        padding-bottom: 0.25rem;
        font-size: 0.9rem;
    }

    .committee-table td {
        padding-top: 0;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .committee-table tr:last-child td {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.taiwan-info-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.taiwan-info-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.taiwan-info-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.taiwan-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* =====================================================
   News Featured
   ===================================================== */
.news-featured {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.news-featured-image {
    height: 100%;
    min-height: 400px;
    position: relative;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--accent-pink);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-featured-content {
    padding: 3rem;
}

.news-featured-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.newsletter-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    padding: 1rem 1.5rem;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
}

/* =====================================================
   Speaker Cards Large
   ===================================================== */
.speaker-card-lg {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.speaker-image-lg {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.speaker-image-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info-lg {
    padding: 2rem;
}

.speaker-badge-keynote {
    display: inline-block;
    background: var(--accent-gold);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.speaker-info-lg h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.speaker-affiliation-lg {
    color: var(--accent-teal);
    font-weight: 600;
    margin-bottom: 1rem;
}

.speaker-topic {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.speaker-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.speaker-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.speaker-benefits li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* =====================================================
   Submission Page
   ===================================================== */
.submission-alert {
    background: rgba(0, 180, 216, 0.1);
    border-left: 4px solid var(--accent-teal);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.submission-list {
    padding-left: 1.5rem;
}

.submission-list li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.structure-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.structure-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.topic-item {
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-dark);
}

.sidebar-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.sidebar-card h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.date-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.date-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.date-list li:last-child {
    border-bottom: none;
}

.date-label {
    color: var(--text-muted);
}

.date-value {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

/* =====================================================
   Award Cards
   ===================================================== */
.award-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid;
    height: 100%;
    transition: var(--transition-normal);
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.award-card.gold {
    border-color: #fbbf24;
}

.award-card.silver {
    border-color: #94a3b8;
}

.award-card.bronze {
    border-color: #d97706;
}

.award-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.award-card.gold .award-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff;
}

.award-card.silver .award-icon {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #ffffff;
}

.award-card.bronze .award-icon {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
}

.award-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.award-prize {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.award-criteria {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: left;
}

.award-criteria li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.award-criteria i {
    color: var(--accent-teal);
    margin-right: 0.5rem;
}

.eligibility-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.eligibility-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eligibility-icon i {
    font-size: 1rem;
}

.eligibility-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.process-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-top: 3px solid var(--accent-pink);
}

.process-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-card h5 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.award-policy-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-left: 5px solid var(--accent-pink);
}
.policy-icon {
    font-size: 1.8rem;
    color: var(--accent-pink);
    flex-shrink: 0;
}
.policy-text p {
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--text-secondary);
}
.policy-text strong {
    color: var(--accent-pink);
}
@media (max-width: 768px) {
    .award-policy-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

/* =====================================================
   Eligibility Timeline
   ===================================================== */
.eligibility-timeline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), rgba(236, 72, 153, 0.3));
}

.timeline-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-cta);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.timeline-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    flex: 1;
    display: flex;
    align-items: center;
}

.timeline-content p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .eligibility-timeline {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .timeline-item:not(:last-child)::after {
        display: none;
    }
}

/* =====================================================
   Award Category Cards (Podium Style)
   ===================================================== */
.award-category-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.award-category-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
}

.award-category-header.oral {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
}

.award-category-header.poster {
    background: linear-gradient(135deg, var(--accent-teal), #0891b2);
}

.award-category-header i {
    font-size: 1.75rem;
}

.award-category-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #ffffff;
}

/* Open Style (No Frame) - Option C: Icon Glow + Separator */
.award-category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    padding-bottom: 1rem;
    position: relative;
}

.award-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    border-radius: 3px;
    background: var(--gradient-cta);
}

.award-category-title i {
    font-size: 1.75rem;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: icon-glow-cta 2s ease-in-out infinite;
}

@keyframes icon-glow-cta {
    0%, 100% {
        filter: drop-shadow(0 0 3px rgba(236, 72, 153, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.6));
    }
}

.award-category-title h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.award-podium-open {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
}

.award-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    flex: 1;
    max-width: 140px;
}

.podium-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.podium-item.first {
    /* border: 2px solid rgba(251, 191, 36, 0.3); */
    padding: 1.5rem 1.25rem;
    transform: translateY(-15px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.1) 0%, var(--bg-white) 100%);
}

.podium-item.first:hover {
    transform: translateY(-20px);
}

.podium-item.second {
    /* border: 2px solid rgba(148, 163, 184, 0.3); */
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.1) 0%, var(--bg-white) 100%);
}

.podium-item.third {
    /* border: 2px solid rgba(217, 119, 6, 0.3); */
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.1) 0%, var(--bg-white) 100%);
}

.podium-medal {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.podium-medal.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.podium-medal.silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.4);
}

.podium-medal.bronze {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.podium-item.first .podium-medal {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.podium-rank {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.podium-item.first .podium-rank {
    color: #ca8a04;
    font-size: 0.9rem;
}

.podium-prize {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.podium-item.first .podium-prize {
    font-size: 1.15rem;
    color: var(--primary-blue);
}

/* Split Layout Announcement */
.announcement-trophy {
    position: relative;
    display: inline-block;
}

.announcement-trophy i {
    font-size: 8rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: trophy-pulse 2s ease-in-out infinite;
}

@keyframes trophy-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.trophy-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.5) 0%, rgba(251, 191, 36, 0.2) 40%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.announcement-desc {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.gala-highlight {
    font-weight: 700;
    color: var(--accent-pink);
    border-bottom: 2px solid var(--accent-pink);
    padding-bottom: 2px;
}

.venue-text {
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.venue-text i {
    color: var(--accent-pink);
}

/* =====================================================
   Registration Page
   ===================================================== */

/* Override btn-outline-primary for light backgrounds */
.reg-action-buttons .btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.reg-action-buttons .btn-outline-primary:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

/* Registration - Clean Section Design (New Flow) */
.reg-welcome-section {
    padding: 3rem 0 2rem;
    text-align: center;
}
.reg-welcome-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0077b6, #00a8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0,119,182,0.25);
}
.reg-welcome-icon i {
    font-size: 2rem;
    color: #fff;
}
.reg-welcome-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16,185,129,0.25);
}
.reg-welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
}
.reg-welcome-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 0;
}
.reg-deadline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fed7aa;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.reg-deadline-badge i {
    color: #ea580c;
}
.reg-deadline-badge .date {
    font-weight: 700;
    color: #c2410c;
}
.reg-success-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16,185,129,0.1);
    color: #059669;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Steps Section */
.reg-steps-section {
    padding: 2.5rem 0;
    background: #f8fafc;
}
.reg-steps-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.4rem;
    color: #0077b6;
    margin-bottom: 2rem;
}
.reg-steps-title i {
    color: #ff6b35;
}
.reg-steps-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.reg-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 160px;
}
.reg-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #cbd5e1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #94a3b8;
    transition: all 0.3s;
}
.reg-step-item.active .reg-step-icon {
    border-color: #ff6b35;
    color: #ff6b35;
    box-shadow: 0 0 0 5px rgba(255,107,53,0.12);
}
.reg-step-item.completed .reg-step-icon {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
}
.reg-step-label {
    font-size: 1rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.85rem;
}
.reg-step-item.active .reg-step-label { color: #ff6b35; }
.reg-step-item.completed .reg-step-label { color: #10b981; }
.reg-step-desc {
    font-size: 1rem;
    color: #64748b;
    margin-top: 0.3rem;
}
.reg-step-arrow {
    flex: 0 0 36px;
    color: #e2e8f0;
    padding-top: 26px;
    font-size: 1.2rem;
}
.reg-step-arrow.done { color: #10b981; }

/* Action Section */
.reg-action-section {
    padding: 3rem 0 4rem;
    text-align: center;
}
.reg-action-buttons .btn {
    min-width: 180px;
}
.reg-user-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.reg-user-row:last-child { border-bottom: none; }
.reg-user-label { font-size: 0.9rem; color: #64748b; }
.reg-user-value { font-weight: 600; color: #1e293b; }
.reg-signout-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.reg-signout-link a { color: #64748b; }
.reg-signout-link a:hover { color: #0077b6; }

@media (max-width: 768px) {
    .reg-steps-flow {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .reg-step-item {
        flex: 0 0 40%;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .reg-step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .reg-step-label {
        font-size: 0.75rem;
    }
    .reg-step-desc {
        font-size: 0.7rem;
    }
    /* 隱藏箭頭 */
    .reg-step-arrow {
        display: none;
    }
    .reg-action-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .reg-action-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Success Card Variant */
.reg-success-card .reg-card-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .award-podium {
        gap: 0.25rem;
        padding: 1.5rem 0.5rem 1rem;
    }
    
    .podium-item {
        padding: 0.75rem;
        max-width: 110px;
    }
    
    .podium-item.first {
        padding: 1rem 0.75rem;
    }
    
    .podium-medal {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .podium-item.first .podium-medal {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .podium-prize {
        font-size: 0.85rem;
    }
    
    .podium-item.first .podium-prize {
        font-size: 0.95rem;
    }
    
    .award-category-header h3 {
        font-size: 1rem;
    }
    
    .reg-card-header {
        padding: 1.5rem;
    }
    
    .reg-card-body {
        padding: 1.5rem;
    }
    
    .reg-user-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .reg-user-value {
        text-align: left;
    }
}

/* =====================================================
   Program Timeline
   ===================================================== */
.program-tabs {
    border: none;
    gap: 1rem;
}

.program-tabs .nav-link {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition-normal);
}

.program-tabs .nav-link:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.program-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: #ffffff;
}

.day-label {
    display: block;
    font-size: 1rem;
}

.day-date {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}



/* =====================================================
   Sponsors Page
   ===================================================== */


/* =====================================================
   Registration Page
   ===================================================== */
.registration-table {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.registration-table thead {
    background: var(--gradient-primary);
}

.registration-table thead th {
    color: #ffffff;
    font-weight: 600;
    padding: 1.25rem 1rem;
    border: none;
    text-align: center;
    vertical-align: middle;
}

.fee-period {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.fee-date {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.registration-table tbody td {
    padding: 1rem;
    border-color: var(--border-light);
    text-align: center;
    vertical-align: middle;
}

.registration-table tbody tr:hover {
    background: var(--bg-light);
}

.best-price {
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent-teal);
    font-weight: 700;
}

.registration-includes {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
}

.registration-includes h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.includes-list i {
    color: var(--accent-teal);
    margin-right: 0.5rem;
}

.payment-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.payment-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.payment-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.policy-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.policy-card h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list strong {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.policy-list span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--bg-white);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-white);
    color: var(--primary-blue);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
    background: var(--bg-white);
}

/* Responsive adjustments for new pages */
@media (max-width: 991.98px) {
    .page-title {
        font-size: 2.25rem;
    }
    

    
    .news-featured-content {
        padding: 2rem;
    }
    
    .news-featured-image {
        min-height: 250px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: calc(var(--navbar-height) + 40px) 0 60px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .registration-table {
        font-size: 0.875rem;
    }
    
    .registration-table thead th {
        padding: 1rem 0.5rem;
    }
    
    .fee-period {
        font-size: 0.875rem;
    }
    
    .fee-date {
        font-size: 0.65rem;
    }
}

/* =====================================================
   Welcome Message Page Styles
   ===================================================== */
/* Welcome Message Page Styles */
.welcome-president-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: var(--shadow-lg); */
    text-align: center;
    position: sticky;
    top: calc(var(--navbar-height) + 20px);
    /* border: 1px solid var(--border-light); */
}

.president-image-wrapper {
    background: var(--bg-light);
    padding: 0;
    position: relative;
    /* Maintain a nice aspect ratio container */
    aspect-ratio: 4/5;
    overflow: hidden;
    width: 60%;
    margin: 1.5rem auto 0;
    border-radius: 12px;
}

/* Remove the curve after element */
.president-image-wrapper::after {
    display: none;
}

.president-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Focus on top center typically for portraits */
    object-position: center top;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: transform 0.5s ease;
}

/* Add a subtle zoom on hover */
.welcome-president-card:hover .president-image {
    transform: scale(1.05);
}

.president-info {
    padding: 1.5rem 1.5rem 0 1.5rem ;
    position: relative;
    z-index: 1;
    background: var(--bg-white);
}

.president-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.president-title {
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.president-role {
    display: inline-block;
    background: rgba(26, 95, 164, 0.1);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Welcome Message Content */
.welcome-message-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 6rem;
    color: var(--primary-blue);
    opacity: 0.1;
    line-height: 1;
}

.welcome-greeting {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.welcome-text strong {
    color: var(--primary-dark);
}

.welcome-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.signature-regards {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.signature-image {
    max-width: 150px;
    margin-bottom: 0.5rem;
}

.signature-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.signature-title {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Welcome Page Responsive */
@media (max-width: 991.98px) {
    .welcome-president-card {
        position: relative;
        top: 0;
        margin-bottom: 0.5rem;
    }
    
    .president-image {
        /* Reset any fixed dimensions from old styles */
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .president-image-wrapper {
        width: 50%; /* Smaller width on mobile/tablet to not look huge */
        margin: 1.5rem auto 0;
    }
    
    .quote-icon {
        font-size: 4rem;
    }
}

/* =====================================================
   Gallery Page Styles
   ===================================================== */
.gallery-coming-soon {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.gallery-coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(26, 95, 164, 0.3);
}

.coming-soon-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.coming-soon-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.coming-soon-date {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 95, 164, 0.1);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Gallery Category Cards */
.gallery-category-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    height: 100%;
}

.gallery-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.gallery-category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 95, 164, 0.1), rgba(0, 180, 216, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--primary-blue);
    transition: var(--transition-normal);
}

.gallery-category-card:hover .gallery-category-icon {
    background: var(--gradient-primary);
    color: #ffffff;
}

.gallery-category-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.gallery-category-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* =====================================================
   News List Styles (No Images)
   ===================================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-list-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.news-list-item:first-child {
    border-radius: 16px 16px 0 0;
}

.news-list-item:last-child {
    border-radius: 0 0 16px 16px;
    border-bottom: none;
}

.news-list-item:only-child {
    border-radius: 16px;
}

.news-list-item:hover {
    background: var(--bg-light);
}

.news-list-item.featured {
    background: linear-gradient(135deg, rgba(26, 95, 164, 0.03) 0%, rgba(0, 180, 216, 0.03) 100%);
    border-left: 4px solid var(--primary-blue);
}

.news-list-item.featured:hover {
    background: linear-gradient(135deg, rgba(26, 95, 164, 0.06) 0%, rgba(0, 180, 216, 0.06) 100%);
}

/* Date Block */
.news-list-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    flex-shrink: 0;
}

.news-list-date .date-day {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.news-list-date .date-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.news-list-date .date-year {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Content */
.news-list-content {
    flex: 1;
    min-width: 0;
}

.news-list-badge {
    display: inline-block;
    background: var(--accent-pink);
    color: #ffffff;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.news-list-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-list-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-list-title a:hover {
    color: var(--primary-blue);
}

.news-list-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-list-link:hover {
    color: var(--accent-teal);
    gap: 0.6rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .news-list-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .news-list-date {
        flex-direction: row;
        gap: 0.5rem;
        min-width: auto;
        padding: 0.5rem 1rem;
        width: fit-content;
    }
    
    .news-list-date .date-day {
        font-size: 1.25rem;
    }
    
    .news-list-date .date-month,
    .news-list-date .date-year {
        font-size: 0.7rem;
        margin-top: 0;
    }
    
    .news-list-title {
        font-size: 1.1rem;
    }
    
    .news-list-excerpt {
        font-size: 0.9rem;
    }
}

/* =====================================================
   News Detail Page Styles
   ===================================================== */
.news-detail {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.news-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-detail-date,
.news-detail-category {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin: 0;
}

.news-detail-content {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.9;
}

.news-detail-content p {
    margin-bottom: 1.5rem;
}

.news-detail-content .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.news-detail-content h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.news-detail-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.news-detail-content li {
    margin-bottom: 0.5rem;
}

.news-detail-content a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.news-detail-content a:hover {
    color: var(--accent-teal);
}

/* Navigation */
.news-navigation {
    margin-top: 2rem;
}

.news-nav-back {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-nav-back:hover {
    color: var(--accent-teal);
}

.recent-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-news-list li {
    border-bottom: 1px solid var(--border-light);
}

.recent-news-list li:last-child {
    border-bottom: none;
}

.recent-news-list a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.recent-news-list a:hover .recent-news-title {
    color: var(--primary-blue);
}

.recent-news-title {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.recent-news-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .news-detail {
        padding: 2rem 1.5rem;
    }
    
    .news-detail-title {
        font-size: 1.5rem;
    }
    
    .news-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .news-detail {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .news-detail-title {
        font-size: 1.25rem;
    }
    
    .news-detail-content {
        font-size: 1rem;
    }
    
    .news-detail-content .lead {
        font-size: 1.05rem;
    }
}

/* =====================================================
   News Page Enhanced Styles
   ===================================================== */
/* Section Header */
.news-section-header {
    margin-bottom: 1.25rem;
}

.news-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-section-title i {
    color: var(--primary-blue);
}

/* Pinned News Grid */
.news-grid.pinned {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .news-grid.pinned {
        grid-template-columns: 1fr;
    }
}

/* Modern News Card */
.news-card-modern {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-card-modern.pinned {
    border-top: 4px solid var(--primary-blue);
    background: linear-gradient(180deg, rgba(26, 95, 164, 0.03) 0%, var(--bg-white) 100%);
}

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.news-meta-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.news-meta-pin {
    font-size: 0.7rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(26, 95, 164, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.news-card-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-card-title a:hover {
    color: var(--primary-blue);
}

.news-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-card-link:hover {
    color: var(--accent-teal);
    gap: 0.6rem;
}

.news-card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-pink);
    background: rgba(244, 114, 182, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Compact News List */
.news-list-compact {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.news-item-compact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.news-item-compact:last-child {
    border-bottom: none;
}

.news-item-compact:hover {
    background: rgba(26, 95, 164, 0.05); /* 原變數使用 fallback */
}

.news-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f1f3f5;
    color: #666;
    margin-bottom: 5px;
    display: inline-block;
}

/* Custom Interactive Extensions */
.news-card-link-wrapper, .news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.news-card-link-wrapper:hover {
    transform: translateY(-5px);
}

.news-item-link {
    border-bottom: 1px solid var(--border-light);
}

.news-item-link:last-child {
    border-bottom: none;
}

.news-item-link:hover .news-item-compact {
    background: rgba(26, 95, 164, 0.05);
}

.news-card-modern.pinned:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-item-compact {
    border-bottom: none !important;
}

.news-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    padding: 0.5rem;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: #ffffff;
    flex-shrink: 0;
}

.news-item-date .day {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.news-item-date .month {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
}

.news-item-content {
    flex: 1;
    min-width: 0;
}

.news-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.news-item-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-item-title a:hover {
    color: var(--primary-blue);
}

.news-item-excerpt {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.news-item-compact:hover .news-item-arrow {
    background: var(--primary-blue);
    color: #ffffff;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-normal);
    text-align: center;
}

.quick-link-item:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

.quick-link-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.quick-link-item:hover i {
    color: #ffffff;
}

.quick-link-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.quick-link-item:hover span {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 767.98px) {
    .news-item-compact {
        padding: 1rem;
        gap: 1rem;
    }
    
    .news-item-date {
        min-width: 45px;
        padding: 0.4rem;
    }
    
    .news-item-date .day {
        font-size: 1.1rem;
    }
    
    .news-item-excerpt {
        display: none;
    }
    
    .news-item-arrow {
        width: 32px;
        height: 32px;
    }
}

/* =====================================================
   Custom Pagination Styles
   ===================================================== */
.pagination {
    gap: 0.5rem;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    border: none;
    border-radius: 10px;
    padding: 0.625rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    min-width: 42px;
    text-align: center;
}

.pagination .page-link:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 3px rgba(26, 95, 164, 0.15);
    outline: none;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(26, 95, 164, 0.3);
}

.pagination .page-item.active .page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 95, 164, 0.4);
}

.pagination .page-item.disabled .page-link {
    background: var(--bg-light);
    color: var(--text-muted);
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Previous/Next with icons */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 0.625rem 1.25rem;
}

/* Responsive */
@media (max-width: 575.98px) {
    .pagination {
        gap: 0.35rem;
    }
    
    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 38px;
        border-radius: 8px;
    }
    
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 0.5rem 1rem;
    }
}

/* =====================================================
   Coming Soon Banner (Shared Component)
   ===================================================== */
.coming-soon-section {
    padding: 0;
}

.coming-soon-banner {
    background: var(--bg-light);
    padding: 4rem 2rem;
    text-align: center;
}

.coming-soon-content {
    max-width: 500px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(26, 95, 164, 0.3);
}

.coming-soon-banner h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.coming-soon-banner p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 1rem;
}

.coming-soon-date {
    display: inline-flex;
    align-items: center;
    background: var(--bg-white);
    color: var(--primary-blue);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
}

@media (max-width: 767.98px) {
    .coming-soon-banner {
        padding: 3rem 1.5rem;
    }
    
    .coming-soon-banner h3 {
        font-size: 1.25rem;
    }
}

/* Program Coming Soon (within tabs) */
.program-coming-soon {
    background: var(--bg-white);
    border: 2px dashed var(--border-light);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
}

.program-coming-soon-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: #ffffff;
}

.program-coming-soon h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.program-coming-soon p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =====================================================
   Speaker Card Enhancements (Clickable)
   ===================================================== */
.speaker-card {
    cursor: pointer;
    position: relative;
}

.speaker-image {
    position: relative;
    overflow: hidden;
}

.speaker-action {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.speaker-action i {
    font-size: 1.1rem;
    color: #ffffff;
}

.speaker-card:hover .speaker-action {
    opacity: 1;
    transform: scale(1);
}

/* =====================================================
   Speaker Modal Styles
   ===================================================== */
.speaker-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.speaker-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.speaker-modal-close:hover {
    background-color: #ffffff;
    opacity: 1;
}

.speaker-modal-image {
    height: 100%;
    min-height: 350px;
    background: var(--bg-light);
}

.speaker-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-modal-info {
    padding: 2rem;
}

.speaker-modal-title {
    display: inline-block;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.speaker-modal-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.speaker-modal-affiliation {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.speaker-modal-bio {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px; /* Prevent text from hitting scrollbar */
}

/* Custom Scrollbar for bio */
.speaker-modal-bio::-webkit-scrollbar {
    width: 6px;
}
.speaker-modal-bio::-webkit-scrollbar-track {
    background: transparent;
}
.speaker-modal-bio::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.speaker-modal-bio::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.bio-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.bio-text {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0;
    margin-bottom: 0;
}

.bio-text p {
    margin-bottom: 0.8rem;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

.bio-text ul, .bio-text ol {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
}

.bio-text li {
    margin-bottom: 0.3rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .speaker-modal-content {
        overflow: visible !important;
        margin-top: 80px;
    }

    .speaker-modal-close {
        top: 10px;
        right: 10px;
        z-index: 20;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(4px);
    }

    .speaker-modal-image {
        min-height: auto;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        margin: -80px auto 0;
        overflow: hidden;
        border: 4px solid #fff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-white);
        position: relative;
        z-index: 10;
    }
    
    .speaker-modal-info {
        padding: 1.5rem;
        text-align: center;
    }
    
    .speaker-modal-name {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }

    .speaker-modal-bio {
        text-align: left;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
    }
}

/* =====================================================
   Member Dashboard Styles
   ===================================================== */
.dashboard-sidebar {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.dashboard-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.dashboard-info-item i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.dashboard-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.dashboard-card.status-success {
    border-left: 4px solid var(--accent-green);
}

.dashboard-card.status-warning {
    border-left: 4px solid var(--accent-gold);
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.status-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.status-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-gold);
}

.dashboard-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-normal);
}

.dashboard-link-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dashboard-link-card i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.dashboard-link-card:hover {
    color: var(--text-dark);
}

/* =====================================================
   Member Sidebar Styles
   ===================================================== */
.member-sidebar {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: sticky;
    top: calc(var(--navbar-height) + 20px);
}

.member-profile-summary {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(26, 95, 164, 0.05) 100%);
    border-bottom: 1px solid var(--border-light);
}

.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.member-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.member-nav {
    padding: 0.5rem 0;
}

.member-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.member-nav-item:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.member-nav-item.active {
    background: rgba(26, 95, 164, 0.08);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    font-weight: 600;
}

.member-nav-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.member-sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-light);
}

/* Responsive */
@media (max-width: 991.98px) {
    .member-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }
    
    .member-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 0.5rem;
    }
    
    .member-nav-item {
        flex: 1 0 auto;
        justify-content: center;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.75rem 1rem;
    }
    
    .member-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-blue);
    }
    
    .member-nav-item span {
        display: none;
    }
    
    .member-sidebar-footer {
        display: none;
    }
}
