/* Modern Donate Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/background.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ecf0f1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Donation Section */
.donation-section {
    background: transparent;
    padding: 5rem 0;
}

.donation-form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 500px;
    margin: 0 auto;
}

/* Form Steps */
.form-step {
    margin-bottom: 3rem;
}

.form-step h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Support Options */
.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Organization Selection */
.organization-selection {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.organization-selection h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.organization-selection .form-group {
    margin-bottom: 0;
}

.organization-selection .form-group label {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

.organization-selection select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
    cursor: pointer;
}

.organization-selection select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.organization-selection select:hover {
    border-color: #adb5bd;
}

.organization-selection select option {
    padding: 0.5rem;
    color: #495057;
}

/* Province Selection */
.province-selection {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 12px;
    border: 1px solid #b8daff;
    transition: all 0.3s ease;
}

.province-selection h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.province-selection .form-group {
    margin-bottom: 0;
}

.province-selection .form-group label {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

.province-selection select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
    cursor: pointer;
}

.province-selection select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.province-selection select:hover {
    border-color: #adb5bd;
}

.province-selection select option {
    padding: 0.5rem;
    color: #495057;
}

/* Church Selection */
.church-selection {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0fff0 0%, #e6ffe6 100%);
    border-radius: 12px;
    border: 1px solid #b8ffb8;
    transition: all 0.3s ease;
}

.church-selection h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.church-selection .form-group {
    margin-bottom: 0;
}

.church-selection .form-group label {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

.church-selection input[type="text"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
}

.church-selection input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.church-selection input[type="text"]:hover {
    border-color: #adb5bd;
}

.church-selection input[type="text"]::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Support Target Selection */
.support-target-selection {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff9f0 0%, #ffede0 100%);
    border-radius: 12px;
    border: 1px solid #ffcc99;
    transition: all 0.3s ease;
}

.support-target-selection h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.target-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.target-card {
    position: relative;
    cursor: pointer;
    display: block;
    transition: all 0.3s ease;
}

.target-card input[type="radio"] {
    display: none;
}

.target-card .card-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.target-card:hover .card-content {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.target-card input[type="radio"]:checked + .card-content {
    border-color: #3498db;
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.target-card .card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.target-card input[type="radio"]:checked + .card-content .card-icon {
    background: #3498db;
}

.target-card .card-icon svg {
    width: 24px;
    height: 24px;
    fill: #7f8c8d;
    transition: all 0.3s ease;
}

.target-card input[type="radio"]:checked + .card-content .card-icon svg {
    fill: white;
}

.target-card .card-text h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.target-card input[type="radio"]:checked + .card-content .card-text h4 {
    color: #3498db;
}

.target-card .card-text p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.target-card input[type="radio"]:checked + .card-content .card-text p {
    color: #5a6c7d;
}

.support-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.support-card input[type="radio"] {
    display: none;
}

.support-card .card-content {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

.support-card:hover .card-content {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.support-card input[type="radio"]:checked + .card-content {
    border-color: #3498db;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.support-card input[type="radio"]:checked + .card-content .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.card-icon svg {
    fill: #3498db;
    transition: all 0.3s ease;
}

.support-card input[type="radio"]:checked + .card-content .card-icon svg {
    fill: white;
}

.card-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.support-card input[type="radio"]:checked + .card-content .card-text h4 {
    color: white;
}

.card-text p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.5;
}

.support-card input[type="radio"]:checked + .card-content .card-text p {
    color: rgba(255, 255, 255, 0.9);
}

/* Amount Selection */
.amount-selection {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.preset-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.amount-btn {
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.amount-btn:hover {
    border-color: #3498db;
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.amount-btn.selected {
    border-color: #3498db;
    background: #3498db;
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.amount-btn:active {
    transform: translateY(0);
}

.amount-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.custom-amount {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-amount label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.custom-amount input {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 0.3s ease;
}

.custom-amount input:focus {
    outline: none;
    border-color: #3498db;
}

/* Frequency Options */
.frequency-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.frequency-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.frequency-card input[type="radio"] {
    display: none;
}

.frequency-card .card-content {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.frequency-card:hover .card-content {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.frequency-card input[type="radio"]:checked + .card-content {
    border-color: #3498db;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.frequency-card .card-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.frequency-card input[type="radio"]:checked + .card-content h4 {
    color: white;
}

.frequency-card .card-content p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

.frequency-card input[type="radio"]:checked + .card-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Monthly Options */
.monthly-options {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.monthly-options label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.monthly-options select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
}

/* Donor Info */
.donor-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.form-group input {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

/* Consent Checkbox */
.consent-checkbox {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: white;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.donate-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.donate-btn:active {
    transform: translateY(0);
}

.btn-icon svg {
    fill: currentColor;
}

/* Impact Section */
.impact-section {
    background: transparent;
    padding: 5rem 0;
}

.impact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 700;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.impact-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-icon svg {
    fill: white;
}

.impact-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Submit Button Styles */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:disabled {
    background-color: #ccc;
    color: #999;
    cursor: not-allowed;
}

.submit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn .btn-text {
    display: inline-block;
}

/* Payment Method Selector Container */
.payment-method-selector {
    margin-top: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.payment-method-selector h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* Mobile optimizations for payment method selector */
@media (max-width: 768px) {
    .payment-method-selector {
        margin-top: 1rem;
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .payment-method-selector h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .payment-method-selector {
        margin-top: 0.5rem;
        padding: 0.75rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .payment-method-selector h3 {
        font-size: 1.2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .donation-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .organization-selection {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .organization-selection h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .organization-selection select {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .province-selection {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .province-selection h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .province-selection select {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .church-selection {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .church-selection h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .church-selection input[type="text"] {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .support-target-selection {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .support-target-selection h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .target-options {
        grid-template-columns: 1fr;
    }
    
    .preset-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .frequency-options {
        grid-template-columns: 1fr;
    }
    
    .impact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .donation-form-container {
        padding: 1.5rem;
    }
    
    .organization-selection {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .organization-selection h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .organization-selection select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .province-selection {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .province-selection h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .province-selection select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .church-selection {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .church-selection h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .church-selection input[type="text"] {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .support-target-selection {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .support-target-selection h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .target-card .card-content {
        padding: 1rem;
    }
    
    .preset-amounts {
        grid-template-columns: 1fr;
    }
    
    .support-card .card-content {
        padding: 1.5rem;
    }
    
    .impact-card {
        padding: 2rem;
    }
} 