/* --- Developer Modal --- */
.developer-modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
    align-items: center;
    justify-content: center;
}

.developer-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
    animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    left: 20px; /* RTL: left side */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    outline: 2px solid var(--primary-color);
    border-radius: 4px;
}

.dev-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.dev-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.dev-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.dev-text {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.dev-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    font-size: 1rem;
}

.dev-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-phone {
    background-color: var(--primary-color);
    color: white;
}

.btn-email {
    background-color: #f0f2f5;
    color: var(--text-dark);
}
