/*
================================================
DONATION PAGE - PREMIUM STYLES
================================================
*/

/* Hero Banner */
.donation-hero {
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 6rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}


.donation-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.donation-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

.donation-hero .heart-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Language Toggle */
.language-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.language-toggle button {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-surface);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.language-toggle button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.language-toggle button:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Content Sections */
.donation-section {
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-main);
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

/* Donation Cards */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.donation-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.donation-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.donation-card.bkash {
    border-top: 4px solid #e2136e;
}

.donation-card.whatsapp {
    border-top: 4px solid #25d366;
}

.donation-card.resources {
    border-top: 4px solid #2563eb;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.bkash .card-icon {
    background: linear-gradient(135deg, #e2136e, #ff4181);
    color: white;
}

.whatsapp .card-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.resources .card-icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
}

.donation-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.donation-card .description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Number Display */
.number-display {
    background: var(--bg-subtle);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border: 2px dashed var(--border-color);
}

.number-display .number {
    font-family: 'Outfit', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #059669;
}

/* Steps List */
.steps-list {
    list-style: none;
    counter-reset: step;
}

.steps-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 0.75rem;
    counter-increment: step;
    color: var(--text-muted);
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Action Buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.action-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.action-btn.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.contribution-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.contribution-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.appreciation-btn {
    background: white;
    color: #ec4899;
    border: 1px solid #ec4899;
}

.appreciation-btn:hover {
    background: #ec4899;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.2);
}

.contribution-btn-solid {
    background: #f59e0b;
    color: white;
}

.contribution-btn-solid:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
    color: white;
}

/* Message Section */
.motivation-section {
    padding: 4rem 2rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: 5rem;
    border: 1px solid var(--border-color);
}

.motivation-section h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.motivation-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.motivation-text strong {
    color: #059669;
}

/* Resource Examples */
.resource-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.resource-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-tag i {
    font-size: 0.9rem;
}

/* Impact Stats */
.impact-section {
    text-align: center;
    margin: 3rem 0;
}

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

.impact-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.impact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.impact-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.5rem;
}

.impact-item .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bilingual Text Styles */
.bilingual-text {
    background: var(--bg-subtle);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.text-en {
    color: var(--text-main);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-color);
}

.text-bn {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content Visibility */
.content-en,
.content-bn {
    display: none;
}

.content-en.active,
.content-bn.active {
    display: block;
}

/* Thank You Note */
.thank-you-section {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 2px solid #fbbf24;
}

.thank-you-section h3 {
    color: #92400e;
    margin-bottom: 1rem;
}

.thank-you-section p {
    color: #a16207;
    max-width: 100%;
}

.thank-you-section i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-hero h2 {
        font-size: 1.8rem;
    }

    .donation-hero p {
        font-size: 1rem;
    }

    .donation-grid {
        grid-template-columns: 1fr;
    }

    .number-display {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .motivation-section {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .language-toggle button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Dark Mode Overrides */
body.dark-theme .donation-hero {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
}

body.dark-theme .donation-card {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

body.dark-theme .donation-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

body.dark-theme .number-display {
    background: var(--bg-subtle);
    border-color: var(--border-color);
}

body.dark-theme .motivation-section {
    background: rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.3);
}

body.dark-theme .motivation-section h3 {
    color: #34d399;
}

body.dark-theme .motivation-text {
    color: #a7f3d0;
}

body.dark-theme .motivation-text strong {
    color: #6ee7b7;
}

body.dark-theme .impact-item {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

body.dark-theme .bilingual-text {
    background: var(--bg-subtle);
}

body.dark-theme .thank-you-section {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

body.dark-theme .thank-you-section h3 {
    color: #fbbf24;
}

body.dark-theme .thank-you-section p {
    color: #fde68a;
}

body.dark-theme .text-en,
body.dark-theme .text-bn {
    color: var(--text-main);
    border-bottom-color: var(--border-color);
}

body.dark-theme .language-toggle button {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-main);
}