.clinic-doctor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.doctor-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 350px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.doctor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.doctor-header h3 {
    margin: 0;
    font-size: 1.3em;
}

.doctor-details p {
    font-size: 0.9em;
    margin: 5px 0;
}

.doctor-footer {
    text-align: center;
    margin-top: 10px;
}

.clinic-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.clinic-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    position: relative;
}

.clinic-close {
    position: absolute;
    top: 10px; right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.clinic-close:hover { color: #000; }
