/* Page Header - matching site design */
.page-header {
    background: linear-gradient(135deg, #2395a0 0%, #1a7580 100%);
    padding: 80px 0 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.page-header h1 {
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Cairo', sans-serif;
    font-size: 1.3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Donate Section */
.donate-section {
    background: #f8f9fa;
}

/* Payment Methods Section */
.payment-methods {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.payment-methods h2 {
    color: #2395a0;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
}

.payment-methods h2 i {
    margin-left: 10px;
}

.payment-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.payment-images img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.payment-images img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(35, 149, 160, 0.3);
}

/* Donation Card */
.donation-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

.form-group label i {
    margin-left: 8px;
    color: #2395a0;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
    direction: rtl;
    text-align: right;
}

.form-control:focus {
    outline: none;
    border-color: #2395a0;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(35, 149, 160, 0.1);
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: #2395a0;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232395a0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 45px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2395a0 0%, #1a7580 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(35, 149, 160, 0.3);
    font-family: 'Cairo', sans-serif;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(35, 149, 160, 0.4);
    background: linear-gradient(135deg, #1a7580 0%, #2395a0 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit i {
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .donation-card {
        padding: 30px 20px;
    }

    .payment-methods {
        padding: 25px 20px;
    }

    .payment-methods h2 {
        font-size: 1.5rem;
    }

    .payment-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn-submit {
        font-size: 1.1rem;
        padding: 15px;
    }

    .form-control {
        padding: 12px 15px;
    }
}