/* Modal/Popup Styles */
.about-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.about-modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
}

.about-modal-close {
    color: #aaa;
    float: left;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    position: absolute;
    left: 20px;
    top: 15px;
}

.about-modal-close:hover,
.about-modal-close:focus {
    color: #667eea;
}

.about-modal-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.about-modal-profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    margin-bottom: 20px;
}

.about-modal-content h2 {
    color: #667eea;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-modal-content p {
    color: #333;
    line-height: 1.8;
    text-align: right;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .about-modal-profile img {
        width: 120px;
        height: 120px;
    }
    
    .about-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .about-modal-content p {
        font-size: 0.95rem;
    }
}

