/* Donate Page Styles */

.donate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.donate-hero {
    position: relative;
    height: 200px;
    background: url('/images/about/volunteer-helping-elderly.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 40, 58, 0.85), rgba(89, 169, 234, 0.7));
}

.donate-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.donate-hero-content h1 {
    font-family: 'Yeseva One', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.donate-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Form Section */
.donate-form-section {
    padding: 60px 0;
    background: rgb(237, 241, 245);
    position: relative;
    overflow: hidden;
}

.donate-form-section .arc {
    position: absolute;
    top: -450px;
    left: -350px;
    width: 750px;
    height: 750px;
    border: 80px solid rgba(200, 215, 230, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.donate-form-section .circle-1 {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(200, 215, 230, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.donate-form-section .donate-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: start;
}

.donate-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #eee;
}

/* Frequency Toggle */
.frequency-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 30px;
    border: 2px solid #59A9EA;
    border-radius: 10px;
    overflow: hidden;
}

.frequency-option input {
    display: none;
}

.frequency-btn {
    display: block;
    padding: 14px 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #59A9EA;
    cursor: pointer;
    transition: all 0.2s ease;
}

.frequency-option input:checked + .frequency-btn {
    background: #59A9EA;
    color: #fff;
}

.frequency-btn:hover {
    background: rgba(89, 169, 234, 0.1);
}

.frequency-option input:checked + .frequency-btn:hover {
    background: #59A9EA;
}

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

.form-group > label {
    display: block;
    font-weight: 600;
    color: #25283a;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.form-group .optional {
    font-weight: 400;
    color: #888;
    font-size: 0.9rem;
}

/* Cause Options */
.cause-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cause-option input {
    display: none;
}

.cause-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.cause-card i {
    font-size: 1.5rem;
    color: #59A9EA;
}

.cause-card span {
    font-size: 0.9rem;
    color: #333;
}

.cause-option input:checked + .cause-card {
    border-color: #59A9EA;
    background: rgba(89, 169, 234, 0.08);
}

.cause-card:hover {
    border-color: #59A9EA;
}

/* Amount Options */
.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-option input[type="radio"] {
    display: none;
}

.amount-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-option input:checked + .amount-btn {
    border-color: #59A9EA;
    background: #59A9EA;
    color: #fff;
}

.amount-btn:hover {
    border-color: #59A9EA;
}

/* Other/Custom button - more subtle */
.amount-custom .amount-btn {
    background: #f5f5f5;
    border-style: dashed;
    color: #888;
}

.amount-custom input:checked + .amount-btn {
    background: #59A9EA;
    border-style: solid;
    color: #fff;
}

/* Custom Amount Wrapper */
.custom-amount-wrapper {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 14px 18px;
    border: 2px solid #59A9EA;
    border-radius: 10px;
    background: rgba(89, 169, 234, 0.05);
}

.custom-amount-wrapper .currency-symbol {
    font-size: 1.2rem;
    font-weight: 600;
    color: #59A9EA;
    margin-right: 8px;
}

.custom-amount-wrapper input[type="number"] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    outline: none;
}

.custom-amount-wrapper input[type="number"]::placeholder {
    color: #999;
    font-weight: 400;
}

/* Details Row */
.details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.details-row input {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.details-row input:focus {
    outline: none;
    border-color: #59A9EA;
}

/* Submit Button */
.btn-donate-submit {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #59A9EA, #4a94d1);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-donate-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(89, 169, 234, 0.4);
}

.btn-donate-submit i {
    font-size: 1rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    color: #888;
    font-size: 0.85rem;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-badges i {
    color: #59A9EA;
}

/* Sidebar */
.donate-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #eee;
}

.sidebar-card h3 {
    font-family: 'Yeseva One', serif;
    font-size: 1.3rem;
    color: #25283a;
    margin-bottom: 15px;
}

.sidebar-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.sidebar-card p:last-child {
    margin-bottom: 0;
}

/* Sidebar Impact Grid */
.impact-subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.sidebar-impact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sidebar-impact-item {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sidebar-impact-item .impact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 8px;
}

.sidebar-impact-item .impact-amount {
    font-family: 'Yeseva One', serif;
    font-size: 1.3rem;
    color: #59A9EA;
}

.sidebar-impact-item .impact-icon {
    color: #f9a826;
    font-size: 1rem;
}

.sidebar-impact-item > span:last-child {
    display: block;
    color: #555;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Promise Section */
.donate-promise {
    padding: 50px 0;
    background: #25283a;
    color: #fff;
}

.promise-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.promise-content i {
    font-size: 2.5rem;
    color: #f9a826;
    margin-bottom: 15px;
}

.promise-content h3 {
    font-family: 'Yeseva One', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.promise-content p {
    opacity: 0.9;
    line-height: 1.7;
}

/* Success/Cancel Pages */
.donate-result {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.result-container {
    text-align: center;
    max-width: 500px;
    margin: auto;
}

.result-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.donate-result.success .result-icon {
    color: #28a745;
}

.donate-result.cancel .result-icon {
    color: #dc3545;
}

.result-container h1 {
    font-family: 'Yeseva One', serif;
    font-size: 2.5rem;
    color: #25283a;
    margin-bottom: 15px;
}

.result-amount {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.result-message {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.result-submessage {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-result {
    padding: 14px 30px;
    background: #59A9EA;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-result:hover {
    background: #4a94d1;
    color: #fff;
}

.btn-result-outline {
    padding: 14px 30px;
    background: transparent;
    color: #59A9EA;
    text-decoration: none;
    border: 2px solid #59A9EA;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-result-outline:hover {
    background: #59A9EA;
    color: #fff;
}

/* Share Section */
.share-section {
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.share-section p {
    color: #888;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

/* Contact Help */
.contact-help {
    color: #666;
}

.contact-help p {
    margin-bottom: 8px;
}

.contact-help a {
    color: #59A9EA;
    text-decoration: none;
}

.contact-help i {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .donate-form-section .donate-container {
        grid-template-columns: 1fr;
    }

    .donate-sidebar {
        flex-direction: row;
    }

    .sidebar-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .donate-hero {
        height: 300px;
    }

    .donate-hero-content h1 {
        font-size: 2rem;
    }

    .impact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cause-options {
        grid-template-columns: 1fr;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-row {
        grid-template-columns: 1fr;
    }

    .donate-sidebar {
        flex-direction: column;
    }

    .result-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .donate-form-wrapper {
        padding: 25px;
    }

    .impact-cards {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }
}
