:root {
    --primary: #2C1810;
    --secondary: #8B4513;
    --accent: #D2691E;
    --background: #1A1A1A;
    --text: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #2C1810 0%, #8B4513 100%);
    --gradient-2: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}


h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -1px;
    position: relative;
    white-space: nowrap;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a i {
    font-size: 1rem;
}

nav a:hover {
    color: var(--text);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    background: radial-gradient(circle at center, rgba(44, 24, 16, 0.8) 0%, rgba(26, 26, 26, 1) 100%);
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1450778869180-41d0601e046e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2086&q=80') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
    z-index: 1;
}

.cta-button.primary {
    background: var(--gradient-2);
    color: var(--text);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
    border: none;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: transform 0.6s ease;
    z-index: -1;
    transform: translateX(-100%);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* Actions Section */
.actions-section {
    padding: 6rem 0;
    background: var(--background);
    position: relative;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.action-card {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.action-card:hover::before {
    transform: translateX(100%);
}

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

.action-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.action-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.action-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 2rem;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    nav ul.active {
        transform: translateX(0);
    }

    nav a {
        width: 100%;
        justify-content: center;
        font-size: 1.3rem;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .action-card,
    .goal-card,
    .volunteer-roles li,
    .donate-option {
        max-width: 100%;
    }

    .cta-button {
        min-width: 180px;
        padding: 0.8rem 1.5rem;
    }

    .about-section,
    .volunteer-section,
    .donate-section,
    .actions-section {
        padding: 4rem 0;
    }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--background);
    position: relative;
}

.about-section .section-content {
    max-width: 1400px;
    margin: 0 auto;
}


.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.goal-card {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

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

.goal-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.goal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.goal-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Volunteer Section */
.volunteer-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
    position: relative;
}

.volunteer-section .section-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


.volunteer-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.volunteer-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.volunteer-roles li {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.volunteer-roles li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    color: var(--text);
}

/* Donate Section */
.donate-section {
    padding: 6rem 0;
    background: var(--background);
    position: relative;
}

.donate-section .section-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


.donate-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.donate-option {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.donate-option:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.donate-option h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.donate-option p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3 i {
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--text);
    transform: translateX(5px);
}

.footer-section ul li i {
    color: var(--accent);
    width: 20px;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .section-content {
        padding: 0 1rem;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .action-card,
    .goal-card,
    .volunteer-roles li,
    .donate-option {
        max-width: 100%;
    }

    .cta-button {
        min-width: 180px;
        padding: 0.8rem 1.5rem;
    }

    .about-section,
    .volunteer-section,
    .donate-section,
    .actions-section {
        padding: 4rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3,
    .footer-section ul li a {
        justify-content: center;
    }
}

/* Development Section */
.development-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.05) 0%, rgba(26, 26, 26, 1) 100%);
    position: relative;
    overflow: hidden;
}

.development-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem auto;
    padding: 0 2rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phase-card {
    position: absolute;
    width: 350px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    left: 50%;
    transform-origin: center center;
}

.phase-card.active {
    transform: translateX(-50%) scale(1) translateZ(0);
    z-index: 3;
}

.phase-card.prev {
    transform: translateX(-150%) scale(0.8) translateZ(-100px);
    z-index: 2;
}

.phase-card.next {
    transform: translateX(50%) scale(0.8) translateZ(-100px);
    z-index: 2;
}

.phase-card.hidden {
    transform: translateX(-250%) scale(0.6) translateZ(-200px);
    z-index: 1;
    opacity: 0;
}

.phase-card.future {
    transform: translateX(150%) scale(0.6) translateZ(-200px);
    z-index: 1;
    opacity: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

.phase-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--gradient-2);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
}

.phase-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 1.5rem;
    color: var(--text);
    padding-top: 0.5rem;
}

.phase-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-card ul li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.5;
}

.phase-card ul li i {
    color: var(--accent);
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .development-carousel {
        height: 400px;
        padding: 0 1rem;
    }

    .phase-card {
        width: 280px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Register Section */
.register-section {
    padding: 8rem 2rem 6rem;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
    position: relative;
    overflow: hidden;
}

.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    z-index: 1;
}

.register-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1450778869180-41d0601e046e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2086&q=80') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.register-section .section-content {
    position: relative;
    z-index: 2;
}

.register-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.register-section .section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.register-form-container,
.register-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.register-form-container:hover,
.register-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1.2rem;
    color: var(--accent);
    font-size: 1.2rem;
    transition: var(--transition);
}

.input-group input:focus + i,
.input-group select:focus + i,
.input-group textarea:focus + i {
    color: var(--accent-hover);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group textarea {
    padding: 1.2rem;
    resize: vertical;
    min-height: 150px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.register-info h3 {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.register-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 3px;
}

.register-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.register-info li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.register-info li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: var(--transition);
}

.register-info li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.register-info li:hover::before {
    opacity: 1;
}

.register-info i {
    color: var(--accent);
    font-size: 1.8rem;
    margin-top: 0.2rem;
    transition: var(--transition);
}

.register-info li:hover i {
    transform: scale(1.1);
}

.register-info h4 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.register-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.submit-button {
    background: var(--gradient-2);
    color: var(--text);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

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

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .contact-container,
    .register-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Ensure proper width on mobile and tablet */
    .contact-form-container,
    .contact-info {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-section,
    .register-section {
        padding: 60px 15px;
    }
    
    .contact-section h2,
    .register-section h2 {
        font-size: 28px;
    }
    
    .contact-form-container,
    .register-form-container,
    .contact-info,
    .register-info {
        padding: 20px;
        width: 100%;
    }
    
    .contact-info li,
    .register-info li {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    /* Ensure contact info appears below form in mobile */
    .contact-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .contact-form-container {
        order: 1;
        margin-bottom: 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    /* Reduce input padding on mobile */
    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 1rem 1rem 1rem 3rem;
    }
    
    /* Make submit button full width on mobile */
    .submit-button {
        width: 100%;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 8rem 2rem 6rem;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    z-index: 1;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1450778869180-41d0601e046e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2086&q=80') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.contact-section .section-content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.contact-section .section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    box-sizing: border-box;
    width: 100%;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1.2rem;
    color: var(--accent);
    font-size: 1.2rem;
    transition: var(--transition);
}

.input-group input:focus + i,
.input-group select:focus + i,
.input-group textarea:focus + i {
    color: var(--accent-hover);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group textarea {
    padding: 1.2rem;
    resize: vertical;
    min-height: 150px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 3px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-info li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: var(--transition);
}

.contact-info li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.contact-info li:hover::before {
    opacity: 1;
}

.contact-info i {
    color: var(--accent);
    font-size: 1.8rem;
    margin-top: 0.2rem;
    transition: var(--transition);
}

.contact-info li:hover i {
    transform: scale(1.1);
}

.contact-info h4 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.submit-button {
    background: var(--gradient-2);
    color: var(--text);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

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

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

/* Taiwan Map Section */
.rescue-map-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--background) 0%, rgba(44, 24, 16, 0.9) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rescue-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1590930138347-e79586bd7ce3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.rescue-map-section .section-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rescue-map-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.rescue-map-section p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1000px;
    gap: 2rem;
}

@media (min-width: 768px) {
    .map-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

.taiwan-map {
    position: relative;
    width: 300px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.taiwan-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.map-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 100;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    border: 1px solid rgba(210, 105, 30, 0.5);
}

.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.8);
}

.map-info {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    min-width: 250px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.map-info h3 {
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

#region-name {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: rgba(210, 105, 30, 0.2);
    border: 1px solid rgba(210, 105, 30, 0.3);
    text-align: center;
    color: var(--text-primary);
}

#region-name.pulse {
    animation: pulse 0.5s ease-in-out;
}

.info-item {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.info-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.map-legend {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.level-high {
    background-color: rgba(210, 105, 30, 0.9);
}

.level-medium {
    background-color: rgba(210, 105, 30, 0.6);
}

.level-low {
    background-color: rgba(210, 105, 30, 0.3);
}

.map-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
    max-width: 80%;
    margin: 1rem auto;
}

area {
    cursor: pointer;
    outline: none;
}

area:hover {
    outline: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Override map section button styles */
.rescue-map-section .cta-button {
    background: var(--gradient-2);
    color: var(--text);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rescue-map-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.rescue-map-section .cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.rescue-map-section .cta-button.secondary:hover {
    background: rgba(210, 105, 30, 0.1);
}

/* Mobile-specific CSS for contact page */
@media (max-width: 768px) {
    .contact-section {
        padding: 6rem 1rem 4rem;
    }
    
    .contact-section .section-content {
        padding: 0;
    }
    
    .contact-container {
        gap: 2rem;
    }
    
    .contact-form-container, 
    .contact-info {
        padding: 1.5rem;
    }
    
    .input-group input, 
    .input-group select, 
    .input-group textarea {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 0.9rem;
    }
    
    .input-group i {
        left: 1rem;
        font-size: 1rem;
    }
} 