/* Donation Page Specific Styles */

* {
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Intro Section */
.intro {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #2D3436;
    white-space: pre-line;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #2D3436;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.back-link:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    color: #2D3436;
    margin-top: 20px;
    text-align: center;
}

.donation-form {
    max-width: 600px;
    margin: 0 auto;
}

.donation-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.donation-card:hover {
    border-color: rgba(45, 52, 54, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.donation-card h2 {
    font-size: 24px;
    color: #2D3436;
    margin-bottom: 30px;
    text-align: center;
}

/* Donation Type Selection */
.donation-type {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(45, 52, 54, 0.05);
    border: 2px solid rgba(45, 52, 54, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.type-btn:hover {
    background: rgba(45, 52, 54, 0.1);
    transform: translateY(-2px);
}

.type-btn.active {
    background: #2D3436;
    color: white;
    border-color: #2D3436;
}

.type-btn .icon {
    font-size: 24px;
}

.type-btn strong {
    display: block;
    font-size: 16px;
}

.type-btn small {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

/* Amount Selection */
.amount-selection {
    margin-bottom: 30px;
}

.amount-selection h3 {
    font-size: 18px;
    color: #2D3436;
    margin-bottom: 20px;
    text-align: center;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.amount-btn {
    padding: 15px;
    background: rgba(45, 52, 54, 0.05);
    border: 2px solid rgba(45, 52, 54, 0.1);
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #2D3436;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    background: rgba(45, 52, 54, 0.1);
    transform: translateY(-2px);
}

.amount-btn.active {
    background: #2D3436;
    color: white;
    border-color: #2D3436;
}

.custom-amount {
    text-align: center;
}

.custom-amount label {
    display: block;
    font-size: 14px;
    color: #2D3436;
    margin-bottom: 10px;
}

.amount-input-group {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 2px solid rgba(45, 52, 54, 0.1);
    border-radius: 10px;
    padding: 5px;
    max-width: 150px;
}

.currency {
    padding: 10px 5px 10px 15px;
    font-weight: bold;
    color: #2D3436;
}

#custom-amount {
    border: none;
    outline: none;
    padding: 10px 15px 10px 5px;
    font-size: 16px;
    width: 80px;
    background: transparent;
}

/* Payment Form */
.payment-form {
    margin-top: 30px;
}

.form-section h3 {
    font-size: 18px;
    color: #2D3436;
    margin-bottom: 20px;
    text-align: center;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(45, 52, 54, 0.1);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #FFB703;
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.1);
}

/* Stripe Elements */
.stripe-element {
    background: white;
    padding: 12px 15px;
    border: 2px solid rgba(45, 52, 54, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stripe-element:focus-within {
    border-color: #FFB703;
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.1);
}

.error-message {
    color: #E74C3C;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* Donation Summary */
.donation-summary {
    background: rgba(255, 183, 3, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin: 25px 0;
    border: 2px solid rgba(255, 183, 3, 0.2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    padding-top: 10px;
    border-top: 2px solid rgba(255, 183, 3, 0.3);
    margin-top: 15px;
}

/* Donate Button */
.donate-btn {
    width: 100%;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.donate-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #C0392B, #A93226);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.donate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid white;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Team Section */
.team-section {
    margin: 60px 0;
    text-align: center;
}

.team-section h2 {
    font-size: 28px;
    color: #2D3436;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFB703;
    flex-shrink: 0;
}

.team-info h3 {
    font-size: 20px;
    color: #2D3436;
    margin-bottom: 10px;
}

.team-info p {
    font-size: 14px;
    color: #636E72;
    line-height: 1.5;
    margin: 0;
}

.team-info a {
    color: #FFB703;
    text-decoration: none;
    font-weight: 600;
}

.team-info a:hover {
    color: #E6A502;
    text-decoration: underline;
}

/* Why Donate Section */
.why-donate {
    margin: 60px 0;
    text-align: center;
}

.why-donate h2 {
    font-size: 28px;
    color: #2D3436;
    margin-bottom: 40px;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.reason {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.reason-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
}

.reason h4 {
    font-size: 16px;
    color: #2D3436;
    margin-bottom: 10px;
}

.reason p {
    font-size: 14px;
    color: #636E72;
    line-height: 1.4;
}

/* Security Info */
.security-info {
    background: rgba(46, 204, 113, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(46, 204, 113, 0.2);
    text-align: center;
}

.security-info p:first-child {
    font-weight: bold;
    color: #27AE60;
    margin-bottom: 5px;
}

.security-info p:last-child {
    font-size: 14px;
    color: #2D3436;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: #2D3436;
    margin-bottom: 20px;
}

.modal-content p {
    color: #636E72;
    margin-bottom: 15px;
    line-height: 1.5;
}

.modal-btn {
    background: #FFB703;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: #E6A502;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-card {
        padding: 25px;
        margin: 0 10px;
    }
    
    .donation-type {
        flex-direction: column;
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reasons {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-members {
        gap: 20px;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .team-photo {
        width: 60px;
        height: 60px;
    }
    
    .back-link {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }
    
    .header .language-switcher {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .donation-card {
        padding: 20px;
    }
    
    .amount-buttons {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 24px;
    }
}