/* Contact Page Styles */

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.contact-intro p {
    font-size: 1.0rem;
    color: #666;
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.form-label {
    font-weight: 500;
    color: #333;
}

.form-control {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

#company {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    /* background: linear-gradient(135deg, #f9f9fd 0%, #f5f7fa 100%); */
}

.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-select {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-check-label {
    color: #666;
}

.form-check-label a {
    color: #4a90e2;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-primary {
    background: #4a90e2;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
    100% {
        background-position: 500px 500px, 500px 510px, 510px 490px, 490px 500px;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Methods Section */
.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    color: #4a90e2;
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-method p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .btn-primary {
        width: 100%;
    }
}

/* Section Background */
section {
    background-color: #ffebee; /* 淡粉色 */
    position: relative;
    overflow: hidden;
}

/* Sakura Animation Styles */
.sakura {
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url('../images/sakura.png');
    background-size: cover;
    opacity: 0.6;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(50vh) rotate(360deg);
        opacity: 0;
    }
}