* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-nav {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #00AEEF;
}

.nav-donate {
    background-color: #e84a5f;
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.nav-donate:hover {
    background-color: #d43f54 !important;
}

.background {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1200&q=80') center/cover;
    background-attachment: fixed;
}

.header {
    padding: 30px 40px;
    background-color: rgba(44, 62, 80, 0.85);
    backdrop-filter: blur(10px);
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #00AEEF;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 60px 20px;
}


.modal-container {
    display: flex;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-left {
    flex: 1;
    padding: 35px;
    position: relative;
}

.modal-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
}

.modal-badge {
    position: absolute;
    top: 55px;
    left: 55px;
    background-color: #00AEEF;
    color: white;
    padding: 12px 18px;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 174, 239, 0.4);
}

.unicef-badge {
    font-size: 13px;
    text-transform: lowercase;
}

.modal-content {
    margin-top: 25px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #2c3e50;
    line-height: 1.3;
}

.modal-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.modal-description strong {
    color: #2c3e50;
    font-weight: 600;
}

.impact-breakdown {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.impact-breakdown h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.impact-list {
    list-style: none;
    padding-left: 0;
}

.impact-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: #555;
}

.impact-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #52C41A;
    font-weight: bold;
}

.testimonial {
    background-color: #fff9e6;
    border-left: 4px solid #00AEEF;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.testimonial-text {
    font-style: italic;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.testimonial-author {
    font-size: 13px;
    color: #777;
    font-weight: 600;
}

.modal-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.modal-right {
    width: 400px;
    background-color: #f8f9fa;
    padding: 35px;
}

.donation-panel {
    display: flex;
    flex-direction: column;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
}

.trust-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

.donation-type-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    background-color: #e8e8e8;
    padding: 4px;
    border-radius: 8px;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.toggle-btn.active {
    background-color: #5b6fe8;
    color: white;
    box-shadow: 0 2px 8px rgba(91, 111, 232, 0.3);
}

.toggle-btn:hover:not(.active) {
    background-color: #d0d0d0;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 16px;
    border: 2px solid #d0d0d0;
    background-color: white;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #333;
    position: relative;
}

.amount-btn:hover {
    border-color: #5b6fe8;
    background-color: #f0f2ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(91, 111, 232, 0.2);
}

.amount-btn.selected {
    border-color: #5b6fe8;
    background-color: #5b6fe8;
    color: white;
    box-shadow: 0 4px 12px rgba(91, 111, 232, 0.3);
}

.custom-amount {
    position: relative;
    margin-bottom: 18px;
}

.amount-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.amount-input:focus {
    border-color: #5b6fe8;
    box-shadow: 0 0 0 3px rgba(91, 111, 232, 0.1);
}

.currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    font-weight: 600;
}

.designation-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.btn-donate-monthly {
    width: 100%;
    padding: 18px;
    background-color: #5b6fe8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(91, 111, 232, 0.3);
}

.btn-donate-monthly:hover {
    background-color: #4a5ed6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 111, 232, 0.4);
}

.btn-donate-monthly:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.payment-methods {
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
}

.payment-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.payment-icon {
    padding: 6px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    background-color: #f9f9f9;
}

.payment-icon.visa {
    color: #1A1F71;
}

.payment-icon.mastercard {
    color: #EB001B;
}

.payment-icon.amex {
    color: #006FCF;
}

.payment-icon.paypal {
    color: #003087;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    text-align: center;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #5b6fe8;
    text-decoration: underline;
}

.main-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #00AEEF;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00AEEF;
}

.ein {
    font-size: 13px;
    color: #bdc3c7;
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #34495e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #00AEEF;
}

.footer-certifications {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 25px 0;
    border-top: 1px solid #34495e;
    border-bottom: 1px solid #34495e;
    margin: 0 auto;
    max-width: 1200px;
}

.cert-badge {
    text-align: center;
    font-size: 13px;
    color: #bdc3c7;
}

.cert-badge strong {
    display: block;
    color: #00AEEF;
    font-size: 16px;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 12px;
    color: #95a5a6;
}

@media (max-width: 968px) {
    .modal-container {
        flex-direction: column;
        max-width: 600px;
    }

    .modal-right {
        width: 100%;
    }

    .impact-stats {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-certifications {
        flex-direction: column;
        gap: 15px;
    }
}
