/* Prevent horizontal scrolling */
/* html, body {
    max-width: 100%;
    overflow-x: hidden;
} */

/*Page header bg*/
        .about-page-header {
            background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 24, 63, 0.8)),
                url('../images/donate-bg.jpg') center/cover;
            color: var(--white);
            padding: 120px 0 80px;
            text-align: center;
        }

        /* Additional donate page specific styles */
        .donation-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .donation-card {
            background: var(--white);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            text-align: center;
        }

        .donation-card:hover {
            transform: translateY(-10px);
        }

        .donation-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .donation-amounts {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin: 20px 0;
        }

        .amount-btn {
            padding: 10px 20px;
            border: 2px solid var(--primary);
            border-radius: 50px;
            background: transparent;
            color: var(--primary);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .amount-btn:hover,
        .amount-btn.active {
            background: var(--primary);
            color: var(--white);
        }

        .custom-amount {
            width: 100%;
            margin-top: 15px;
        }

        .custom-amount input {
            width: 100%;
            padding: 12px 20px;
            border: 2px solid var(--dark-gray);
            border-radius: 50px;
            font-size: 1rem;
            text-align: center;
        }

        .payment-methods {
            margin-top: 40px;
        }

        .payment-tabs {
            display: flex;
            border-bottom: 1px solid var(--dark-gray);
            margin-bottom: 20px;
        }

        .payment-tab {
            padding: 10px 20px;
            cursor: pointer;
            position: relative;
        }

        .payment-tab.active {
            color: var(--primary);
            font-weight: 600;
        }

        .payment-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--primary);
        }

        .payment-content {
            display: none;
        }

        .payment-content.active {
            display: block;
        }

        .bank-details {
            background: rgba(106, 13, 173, 0.05);
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
        }

       

        .bank-details p {
            margin-bottom: 10px;
        }

        .bank-details strong {
            color: var(--primary);
        }

        .donation-section {
            padding-top: 50px;
        }

        .donor-h2 {
            color: var(--purply) !important;
        }

        .donor-p {
            color: var(--black) !important;
        }


/* Add these to your existing main.css */
@media (max-width: 768px) {
    /* Make payment tabs full width */
    .payment-tab {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
    
    /* Stack mobile payment options */
    #mobile-content > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust testimonial layout */
    .testimonial-slide {
        padding: 0 10px;
    }
    
    /* Fix form input spacing */
    .form-group {
        margin-bottom: 15px;
    }
}

/* Ensure inputs are mobile-friendly */
input, select {
    min-width: 0;
    box-sizing: border-box;
}


/* ========== DONATE PAGE RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    /* Donation cards */
    .donation-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Payment tabs */
    .payment-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .payment-tab {
        border-bottom: 1px solid var(--dark-gray);
        text-align: center;
    }
    
    .payment-tab.active::after {
        display: none;
    }
    
    /* Mobile money options */
    #mobile-content .payment-option {
        grid-template-columns: 1fr;
    }
    
    /* Impact cards */
    .impact-card {
        margin-bottom: 20px;
    }
    
    /* Testimonial controls */
    .testimonial-controls {
        margin-top: 20px;
    }
    
    /* Form inputs */
    .form-group {
        margin-bottom: 15px;
    }
    
    .your-cvv {
        width: 100%;
    }
}

@media (max-width: 576px) {
    /* Header adjustments */
    .about-page-header {
        padding: 100px 0 60px;
    }
    
    /* Amount buttons */
    .donation-amounts {
        flex-wrap: wrap;
    }
    
    .amount-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Custom amount inputs */
    .custom-amount input {
        padding: 10px 15px;
    }
    
    /* Donate buttons */
    .donation-card .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Bank details */
    .bank-details {
        padding: 15px;
    }
    
    /* Testimonial author */
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    /* Form layout */
    #donation-form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Reduce animation distances for mobile */
    .animate-section[data-animation="slide-up"],
    .animate-section[data-animation="slide-down"] {
        transform: translateY(20px);
    }
    
    .animate-section[data-animation="slide-left"],
    .animate-section[data-animation="slide-right"] {
        transform: translateX(20px);
    }
}