/* Donate Today 页面样式 */
.donate-container {
    padding: 50px 0;
}

.donate-container h1 {
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;
    color: #2e7d32;
}

.donate-container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

/* 捐赠选项样式 */
.donation-options {
    max-width: 900px;
    margin: 0 auto 50px;
}

.option-container {
    margin-bottom: 30px;
}

.option-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.options {
    display: flex;
    gap: 20px;
}

.option {
    flex: 1;
    padding: 30px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.option.selected {
    border-color: #2e7d32;
    background-color: rgba(46, 125, 50, 0.1);
}

.option h3 {
    margin-bottom: 10px;
    color: #333;
}

.option p {
    color: #666;
}

/* 捐赠表单样式 */
.donation-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.flex-inputs {
    display: flex;
    gap: 15px;
}

.flex-inputs .form-group {
    flex: 1;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.amount-btn {
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.amount-btn.active,
.amount-btn:hover {
    background-color: #e0e0e0;
}

.custom-amount {
    flex: 1;
    min-width: 120px;
    margin-left: 10px;
}

.custom-amount input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.payment-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.card-inputs {
    margin-top: 15px;
}

/* 影响部分样式 */
.impact-section {
    margin: 60px auto;
    max-width: 1000px;
    text-align: center;
}

.impact-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

.impact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.impact-card {
    flex: 0 0 calc(25% - 30px);
    min-width: 200px;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-icon img {
    max-width: 50%;
    max-height: 50%;
}

.impact-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2e7d32;
}

.impact-card p {
    color: #555;
}

/* 捐赠者故事部分样式 */
.donor-stories {
    max-width: 900px;
    margin: 60px auto;
}

.donor-stories h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.stories-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.story-image {
    flex: 0 0 200px;
}

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

.story-content {
    flex: 1;
    padding: 30px;
}

.story-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.story-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

/* 合作伙伴部分样式 */
.trusted-partners {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.trusted-partners h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partners-logos img {
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partners-logos img:hover {
    opacity: 1;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .options {
        flex-direction: column;
    }

    .story-card {
        flex-direction: column;
    }

    .story-image {
        flex: 0 0 200px;
    }

    .impact-cards {
        gap: 20px;
    }

    .impact-card {
        flex: 0 0 calc(50% - 20px);
    }

    .flex-inputs {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .impact-card {
        flex: 0 0 100%;
    }
}

/* 弹窗样式 */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.close-btn {
    background-color: #2E7D32;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 40%;
}

.green-btn {
    background-color: #2e7d32;
    color: white;
}

.green-btn:hover {
    background-color: #1b5e20;
}