/* Bio Modal Specific Styles */
.bio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bio-modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translate(-50%, -60%); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%); 
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .bio-modal-content {
        padding: 15px;
        width: 95%;
    }
}

/* Add after line 91 */
.modal-image {
    text-align: center;
    margin-bottom: 20px;
}

.modal-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid #5F07B3;
    border-radius: 50%;
}

.bio-text {
    line-height: 1.6;
    margin-top: 20px;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    border: none;
    background: none;
}

.close-btn:hover {
    color: #000;
}

/* Fundraising Popup Styles */
.fundraising-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.fundraising-popup.show {
    display: flex;
}

.fundraising-popup-container {
    width: 70vw;
    height: 90vh;
    background: white;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

.fundraising-popup .fundraising-popup-container .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fundraising-popup .fundraising-popup-container .close-btn:hover {
    color: #000;
    background: white;
    transform: scale(1.1);
}

.fundraising-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fundraising-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fundraising-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fundraising-btn-overlay {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: linear-gradient(90deg, #5F07B3, #008DBB);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(95, 7, 179, 0.3);
    z-index: 10;
}

.fundraising-btn-overlay:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(95, 7, 179, 0.4);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

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

/* Responsive Design for Fundraising Popup */
@media (max-width: 768px) {
    .fundraising-popup-container {
        width: 90vw;
        height: 80vh;
    }
    
    .fundraising-content {
        padding: 15px;
    }
    
    .fundraising-btn-overlay {
        bottom: 40px;
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .fundraising-popup-container {
        width: 95vw;
        height: 75vh;
    }
    
    .fundraising-content {
        padding: 10px;
    }
    
    .fundraising-btn-overlay {
        bottom: 30px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
